Are you getting the following error when trying to deploy an OSB project through Ant?
[java] Unexpected error: com.bea.wli.config.deployment.server.ServerRestartRequiredException
[java] No stack trace available.
[java] Problem invoking WLST - Traceback (innermost last):
[java] File "/home/oracle/deploy/osb/import_deploy.py", line 257, in ?
[java] File "/home/oracle/deploy/osb/import_deploy.py", line 178, in importToALSBDomain
[java] com.bea.wli.config.deployment.server.ServerRestartRequiredException: Server(s) require restart before session can be activated.
[java] at com.bea.wli.config.deployment.server.ServerDeploymentReceiver$1.run(ServerDeploymentReceiver.java:225)
[java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
[java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
[java] at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.prepare(ServerDeploymentReceiver.java:213)
[java] at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
[java] at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
[java] at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
[java] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
[java] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
[java] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Solution:
1. Restart the OSB managed servers and try again.
Applicable Versions:
- Oracle Service Bus (OSB) 11g (10.3.6+)
No comments:
Post a Comment