7 Replies Latest reply: Aug 8, 2012 9:54 AM by 665356 RSS

    how to receive a msg from jms queue to cep

    953532
      I want to receive message form JMS Queue to OCEP and then print the message into a OCEP screen.can u please help me.thanks in Advance.
        • 1. Re: how to receive a msg from jms queue to cep
          877753
          Hi,
          Use jms-inbound adapter as the event source in EPN and configure the adapter according to the Jms queue you have. If your question is different pls let me know.

          Regards
          Patha
          • 2. Re: how to receive a msg from jms queue to cep
            877753
            Hi,
            Just saw the post made by you in another thread. For this you have to use the same helloworld sample app and instead of the input adapter use a different jms-inbound adapter and change the event type to the event type you will receive from jms queue.

            Regards
            Patha
            • 3. Re: how to receive a msg from jms queue to cep
              953532
              Is there any java code to receivce msg from jms queue to oracle cep? or directly we have to use only jms -inbound adapter in EPN editor itself ok to receive msg.
              • 4. Re: how to receive a msg from jms queue to cep
                665356
                http://docs.oracle.com/cd/E15523_01/doc.1111/e14301/jms.htm
                • 5. Re: how to receive a msg from jms queue to cep
                  953532
                  Hi,


                  I try that code present in oracle delvopers guide Configuring JMS Adapters ,but i have following errors.can you please help me.


                  <Aug 8, 2012 6:43:47 PM IST> <Notice> <Deployment> <BEA-2045000> <The application bundle "Exampleproject" was deployed successfully to file:/C:/Oracle/Middleware/user_projects/domains/jmsss/defaultserver/applications/Exampleproject/Exampleproject.jar with version 1344431627442>
                  <Aug 8, 2012 6:43:47 PM IST> <Warning> <Jetty> <BEA-000000> <AUTH FAILURE: user wlevs>
                  <Aug 8, 2012 6:43:51 PM IST> <Error> <Deployment> <BEA-2045010> <The application context "Exampleproject" could not be started: org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is java.lang.Exception: Error initializing JMS connection: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING']
                  javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING']
                       at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
                       at weblogic.jndi.Environment.getContext(Environment.java:315)
                       at weblogic.jndi.Environment.getContext(Environment.java:285)
                       at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
                       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
                       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                       at javax.naming.InitialContext.init(InitialContext.java:223)
                       at javax.naming.InitialContext.<init>(InitialContext.java:197)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.makeJNDIContext(JmsAdapter.java:184)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.beforeResume(JmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter.beforeResume(InboundJmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$FastClassByCGLIB$$fc18e7ee.invoke(<generated>)
                       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                       at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                       at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$EnhancerByCGLIB$$17678716.beforeResume(<generated>)
                       at com.bea.wlevs.spring.ActivationBeanPostProcessor.preProcessBeforeContextResume(ActivationBeanPostProcessor.java:27)
                       at com.bea.wlevs.spring.DeferredBeanPostProcessor.beforeResume(DeferredBeanPostProcessor.java:33)
                       at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:119)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
                       at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
                       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
                       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
                       at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
                       at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
                       at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
                       at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:61)
                       at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
                       at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
                  Caused by: java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING'
                       at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:216)
                       at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
                       at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
                       at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
                       at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
                       at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
                       at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
                       at weblogic.jndi.Environment.getContext(Environment.java:315)
                       at weblogic.jndi.Environment.getContext(Environment.java:285)
                       at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
                       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
                       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                       at javax.naming.InitialContext.init(InitialContext.java:223)
                       at javax.naming.InitialContext.<init>(InitialContext.java:198)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.makeJNDIContext(JmsAdapter.java:184)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.beforeResume(JmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter.beforeResume(InboundJmsAdapter.java:123)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$FastClassByCGLIB$$fc18e7ee.invoke(<generated>)
                       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                       at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                       at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$EnhancerByCGLIB$$17678716.beforeResume(<generated>)
                       at com.bea.wlevs.spring.ActivationBeanPostProcessor.preProcessBeforeContextResume(ActivationBeanPostProcessor.java:27)
                       at com.bea.wlevs.spring.DeferredBeanPostProcessor.beforeResume(DeferredBeanPostProcessor.java:33)
                       at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:119)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:79)
                       at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
                       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
                       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
                       at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
                       at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
                       at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
                       at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
                       ... 4 more

                  org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is java.lang.Exception: Error initializing JMS connection: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING']
                  javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING']
                       at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
                       at weblogic.jndi.Environment.getContext(Environment.java:315)
                       at weblogic.jndi.Environment.getContext(Environment.java:285)
                       at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
                       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
                       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                       at javax.naming.InitialContext.init(InitialContext.java:223)
                       at javax.naming.InitialContext.<init>(InitialContext.java:197)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.makeJNDIContext(JmsAdapter.java:184)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.beforeResume(JmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter.beforeResume(InboundJmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$FastClassByCGLIB$$fc18e7ee.invoke(<generated>)
                       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                       at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                       at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$EnhancerByCGLIB$$17678716.beforeResume(<generated>)
                       at com.bea.wlevs.spring.ActivationBeanPostProcessor.preProcessBeforeContextResume(ActivationBeanPostProcessor.java:27)
                       at com.bea.wlevs.spring.DeferredBeanPostProcessor.beforeResume(DeferredBeanPostProcessor.java:33)
                       at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:119)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
                       at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
                       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
                       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
                       at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
                       at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
                       at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
                       at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:61)
                       at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
                       at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
                  Caused by: java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING'
                       at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:216)
                       at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
                       at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
                       at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
                       at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
                       at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
                       at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
                       at weblogic.jndi.Environment.getContext(Environment.java:315)
                       at weblogic.jndi.Environment.getContext(Environment.java:285)
                       at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
                       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
                       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                       at javax.naming.InitialContext.init(InitialContext.java:223)
                       at javax.naming.InitialContext.<init>(InitialContext.java:198)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.makeJNDIContext(JmsAdapter.java:184)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.beforeResume(JmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter.beforeResume(InboundJmsAdapter.java:123)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$FastClassByCGLIB$$fc18e7ee.invoke(<generated>)
                       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                       at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                       at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$EnhancerByCGLIB$$17678716.beforeResume(<generated>)
                       at com.bea.wlevs.spring.ActivationBeanPostProcessor.preProcessBeforeContextResume(ActivationBeanPostProcessor.java:27)
                       at com.bea.wlevs.spring.DeferredBeanPostProcessor.beforeResume(DeferredBeanPostProcessor.java:33)
                       at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:119)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:79)
                       at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
                       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
                       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
                       at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
                       at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
                       at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
                       at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
                       ... 4 more

                       at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:145)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:79)
                       at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
                       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
                       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
                       at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
                       at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
                       at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
                       at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
                       at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
                       at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
                  Caused By: java.lang.Exception: Error initializing JMS connection: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING']
                  javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING']
                       at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
                       at weblogic.jndi.Environment.getContext(Environment.java:315)
                       at weblogic.jndi.Environment.getContext(Environment.java:285)
                       at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
                       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
                       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                       at javax.naming.InitialContext.init(InitialContext.java:223)
                       at javax.naming.InitialContext.<init>(InitialContext.java:197)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.makeJNDIContext(JmsAdapter.java:184)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.beforeResume(JmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter.beforeResume(InboundJmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$FastClassByCGLIB$$fc18e7ee.invoke(<generated>)
                       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                       at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                       at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$EnhancerByCGLIB$$17678716.beforeResume(<generated>)
                       at com.bea.wlevs.spring.ActivationBeanPostProcessor.preProcessBeforeContextResume(ActivationBeanPostProcessor.java:27)
                       at com.bea.wlevs.spring.DeferredBeanPostProcessor.beforeResume(DeferredBeanPostProcessor.java:33)
                       at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:119)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
                       at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
                       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
                       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
                       at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
                       at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
                       at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
                       at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:61)
                       at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
                       at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
                  Caused by: java.net.UnknownHostException: Unknown protocol: 'TIBJMSNAMING'
                       at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:216)
                       at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
                       at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
                       at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
                       at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
                       at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
                       at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)
                       at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
                       at weblogic.jndi.Environment.getContext(Environment.java:315)
                       at weblogic.jndi.Environment.getContext(Environment.java:285)
                       at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
                       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
                       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                       at javax.naming.InitialContext.init(InitialContext.java:223)
                       at javax.naming.InitialContext.<init>(InitialContext.java:198)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.makeJNDIContext(JmsAdapter.java:184)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.beforeResume(JmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter.beforeResume(InboundJmsAdapter.java:123)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$FastClassByCGLIB$$fc18e7ee.invoke(<generated>)
                       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                       at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                       at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$EnhancerByCGLIB$$17678716.beforeResume(<generated>)
                       at com.bea.wlevs.spring.ActivationBeanPostProcessor.preProcessBeforeContextResume(ActivationBeanPostProcessor.java:27)
                       at com.bea.wlevs.spring.DeferredBeanPostProcessor.beforeResume(DeferredBeanPostProcessor.java:33)
                       at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:119)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:79)
                       at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
                       at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
                       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
                       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
                       at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
                       at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
                       at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
                       at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
                       at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
                       ... 4 more

                       at com.bea.wlevs.adapters.jms.JmsAdapter.makeJNDIContext(JmsAdapter.java:187)
                       at com.bea.wlevs.adapters.jms.JmsAdapter.beforeResume(JmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter.beforeResume(InboundJmsAdapter.java:121)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$FastClassByCGLIB$$fc18e7ee.invoke(<generated>)
                       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                       at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                       at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
                       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
                       at com.bea.wlevs.adapters.jms.InboundJmsAdapter$$EnhancerByCGLIB$$17678716.beforeResume(<generated>)
                       at com.bea.wlevs.spring.Act
                  • 6. Re: how to receive a msg from jms queue to cep
                    877753
                    Hi,
                    I guess u missed to add those packages in META-INF/MANIFST.MF . If you feel hard to find that just create a helloworld app and check the manifest.mf so that to understand what all stuff to add over there.

                    Regards
                    Patha
                    • 7. Re: how to receive a msg from jms queue to cep
                      665356
                      Looks like you are trying to connect to Tibco JMS. You will need to include the Tibco client jars in your application and use their naming context for this to work. It may even be easier to include the client jars in the bootclasspath of the server.

                      andy