0 Replies Latest reply: Apr 4, 2014 1:37 AM by a4c523a1-ed0d-4c3a-8f0a-2990baf35e5b RSS

    deploy sip servlet to Occas5.0(weblogic) occurs exception: com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException

    a4c523a1-ed0d-4c3a-8f0a-2990baf35e5b

      hi,

       

      I install Occas on OS win7 64bit, jdk 1.6.0.45.

      I got the following error message while I start Occas server:

      because error occurs when parsing sip related annotations of "testservicecomplexobject-application"

      WLST-WLS-1396579151484: com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException

      at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init><SipAnnotationData.java:155>



      Also, when I deploy a sip servlet package(sar) to the Occas server, after deploy finish, at the deployment manager page,

      health term is none.

      and also I found many error info in AdminServer/logs/domain.log as below blue font:


      ####<Apr 4, 2014 11:09:21 AM CST> <Error> <WLSS.Setup> <E76C3BE51B4188> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1396580961513> <BEA-331210> <Skip SIP related logic, because error occurs when parsing sip related annotations of "b2bua-sip-servlet-1.0.0-SNAPSHOT"

      com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:

          at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnotationData.java:155)

          at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(DeploymentUtil.java:74)

          at com.bea.wcp.sip.util.DeploymentUtil.getAnnotationData(DeploymentUtil.java:89)

          at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTailModule.java:129)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(SipServerTailModule.java:112)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.initialize(SipServerTailModule.java:137)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.prepare(SipServerTailModule.java:69)

          at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)

          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)

          at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)

          at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)

          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

          at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

       

      Caused By: java.lang.LinkageError: loader constraint violation: when resolving overridden method "antlr.debug.LLkDebuggingParser.removeMessageListener(Lantlr/debug/MessageListener;)V" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, antlr/debug/LLkDebuggingParser, and its superclass loader (instance of sun/misc/Launcher$AppClassLoader), have different Class objects for the type antlr/debug/MessageListener used in the signature

          at java.lang.Class.getDeclaredMethods0(Native Method)

          at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)

          at java.lang.Class.privateGetPublicMethods(Class.java:2556)

          at java.lang.Class.getMethods(Class.java:1412)

          at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.classAnnotationParsing(SipAnnotationData.java:344)

          at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.jarAnnotationParsing(SipAnnotationData.java:288)

          at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.annotationParsing(SipAnnotationData.java:223)

          at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnotationData.java:144)

          at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(DeploymentUtil.java:74)

          at com.bea.wcp.sip.util.DeploymentUtil.getAnnotationData(DeploymentUtil.java:89)

          at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTailModule.java:129)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(SipServerTailModule.java:112)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.initialize(SipServerTailModule.java:137)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.prepare(SipServerTailModule.java:69)

          at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)

          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)

          at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)

          at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)

          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

          at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

      >

      ####<Apr 4, 2014 11:09:21 AM CST> <Error> <WLSS.Engine> <E76C3BE51B4188> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1396580961523> <BEA-330004> <Failed to deploy SIP application "b2bua-sip-servlet-1.0.0-SNAPSHOT"

      java.lang.NullPointerException

          at com.bea.wcp.sip.engine.server.setup.SipDeploymentDescriptor.<init>(SipDeploymentDescriptor.java:285)

          at com.bea.wcp.sip.engine.server.setup.SipDeploymentDescriptor.parse(SipDeploymentDescriptor.java:148)

          at com.bea.wcp.sip.engine.server.CanaryContext.initContext(CanaryContext.java:396)

          at com.bea.wcp.sip.engine.server.CanaryContext.<init>(CanaryContext.java:334)

          at com.bea.wcp.sip.engine.server.CanaryServer.installContext(CanaryServer.java:1001)

          at com.bea.wcp.sip.engine.server.SipService.setupSipServletContext(SipService.java:126)

          at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTailModule.java:130)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(SipServerTailModule.java:112)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.initialize(SipServerTailModule.java:137)

          at com.bea.wcp.sip.engine.server.SipServerTailModule.prepare(SipServerTailModule.java:69)

          at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)

          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)

          at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)

          at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)

          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

          at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

       

       

      Can anyone give some suggession?

      Thanks in advance!

       

      BR//Margin