1 Reply Latest reply on Mar 28, 2010 10:59 PM by Steve Button-Oracle

    Error when using Weblogic Http PubSub

    257479
      Hi,

      I am using Weblogic 10.3 with Weblogic Http PubSub with JMS. Weblogic doesn't start if configuration file WEB-INF/weblogic.xml contains the following tag:

      <wls:container-descriptor>
           <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
      </wls:container-descriptor>

      Here follows the stack trace:

      <16-mar-2010 16.40.31 CET> <Error> <HTTP Pubsub Server JMS support> <BEA-2152102> <Cannot initialize topic listener for JMS channel
      javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
           at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
           at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:2914)
           at weblogic.jms.client.JMSSession.setupConsumer(JMSSession.java:2687)
           at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2628)
           Truncated. see log file for complete stacktrace
      javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
           at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
           at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
           at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
           at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:219)
           Truncated. see log file for complete stacktrace
      javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
           at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
           at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer.java:259)
           at weblogic.jms.frontend.FESession$2.run(FESession.java:989)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
           Truncated. see log file for complete stacktrace
      javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
           at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
           at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
           at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
           at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:219)
           Truncated. see log file for complete stacktrace
      javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.backend.BETopicImpl.activateSubscriptionQueue(BETopicImpl.java:225)
           at weblogic.jms.backend.BETopicImpl.createConsumer(BETopicImpl.java:373)
           at weblogic.jms.backend.BESessionImpl.createBEConsumer(BESessionImpl.java:390)
           at weblogic.jms.backend.BESessionImpl.createConsumer(BESessionImpl.java:400)
           at weblogic.jms.backend.BESessionImpl.invoke(BESessionImpl.java:297)
           Truncated. see log file for complete stacktrace
      >
      <16-mar-2010 16.40.31 CET> <Error> <HTTP Pubsub Server> <BEA-2150029> <ControllerServlet initialization failed: Cannot create JMS ChannelManager [com.bea.httppubsub.jms.internal.JmsChannelManagerImpl].
      java.lang.RuntimeException: Cannot create JMS ChannelManager [com.bea.httppubsub.jms.internal.JmsChannelManagerImpl].
           at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.createJmsChannelManager(ChannelManagerFactoryImpl.java:54)
           at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.<init>(ChannelManagerFactoryImpl.java:27)
           at com.bea.httppubsub.internal.PubSubServerFactoryImpl.createPubSubServer(PubSubServerFactoryImpl.java:116)
           at com.bea.httppubsub.internal.PubSubServerFactoryImpl.createPubSubServer(PubSubServerFactoryImpl.java:60)
           at com.bea.httppubsub.servlet.ControllerServlet.init(ControllerServlet.java:171)
           Truncated. see log file for complete stacktrace
      java.lang.reflect.InvocationTargetException
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
           at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.createJmsChannelManager(ChannelManagerFactoryImpl.java:51)
           Truncated. see log file for complete stacktrace
      java.lang.RuntimeException: [HTTP Pubsub Server JMS support:2152102]Cannot initialize topic listener for JMS channel
      javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
           at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
           at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:2914)
           at weblogic.jms.client.JMSSession.setupConsumer(JMSSession.java:2687)
           at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2628)
           at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2617)
           at weblogic.jms.client.WLSessionImpl.createConsumer(WLSessionImpl.java:908)
           at com.bea.httppubsub.jms.internal.TopicListener.initialize(TopicListener.java:52)
           at com.bea.httppubsub.jms.internal.JmsChannelManagerImpl.initJmsTopicListeners(JmsChannelManagerImpl.java:68)
           at com.bea.httppubsub.jms.internal.JmsChannelManagerImpl.<init>(JmsChannelManagerImpl.java:37)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
           at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.createJmsChannelManager(ChannelManagerFactoryImpl.java:51)
           at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.<init>(ChannelManagerFactoryImpl.java:27)
           at com.bea.httppubsub.internal.PubSubServerFactoryImpl.createPubSubServer(PubSubServerFactoryImpl.java:116)
           at com.bea.httppubsub.internal.PubSubServerFactoryImpl.createPubSubServer(PubSubServerFactoryImpl.java:60)
           at com.bea.httppubsub.servlet.ControllerServlet.init(ControllerServlet.java:171)
           at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(Unknown Source)
           at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
           at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
           at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
           at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
           at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893)
           at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870)
           at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790)
           at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
           at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
           at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
           at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
           at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
           at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
           at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
           at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
           at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:219)
           at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
           ... 58 more
      Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
           at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
           at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer.java:259)
           at weblogic.jms.frontend.FESession$2.run(FESession.java:989)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
           at weblogic.security.service.SecurityManager.runAs(Unknown Source)
           at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:985)
           at weblogic.jms.frontend.FESession.invoke(FESession.java:2931)
           at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
           ... 61 more
      Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
           at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
           at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
           at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
           at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:219)
           at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
           ... 68 more
      Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
           at weblogic.jms.backend.BETopicImpl.activateSubscriptionQueue(BETopicImpl.java:225)
           at weblogic.jms.backend.BETopicImpl.createConsumer(BETopicImpl.java:373)
           at weblogic.jms.backend.BESessionImpl.createBEConsumer(BESessionImpl.java:390)
           at weblogic.jms.backend.BESessionImpl.createConsumer(BESessionImpl.java:400)
           at weblogic.jms.backend.BESessionImpl.invoke(BESessionImpl.java:297)
           at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
           ... 71 more

      If I remove the tags above, everything works correctly. I cannot understand what is the problem.

      I am adding Weblogic Http PubSub to an existent application (so I do not know why tags have been inserted).

      Does anyone can help me understand this problem?

      Thanks in advance.
      Regards,
      Giuseppe