[Users] Problem with JMS BC

fouquet.f petals-components at ebmwebsourcing.com
Wed Mar 16 10:28:02 CET 2011


Hi ,

I have build the snapshot version of the JMS component this morning .
So i have now a better version and I don't have to modify the JBI.xml by hand anymore.

I must add the sharing lib activeMQ but it's not a problem.

But I have always a problem to connect to my existing JORAM server (JORAM COLLOCATED in another java prog).
I have create a TCPConnectionFactory and a topic in another JAVA program.

And when starting a consumer on it I have this error log :





Code:

INFO 2009-03-19 14:36:00,143 [Petals.JBI-Management.InstallationServiceImpl]
    Shared Library 'petals-sl-jms-activemq' succesfully installed
INFO 2009-03-19 14:36:14,030 [Petals.JBI-Management.InstallationServiceImpl]
    Component 'petals-bc-jms' succesfully installed
INFO 2009-03-19 14:36:21,029 [Petals.Container.Components.petals-bc-jms]
    Component initialized
INFO 2009-03-19 14:36:21,029 [Petals.Container.Components.petals-bc-jms]
    Start Component
INFO 2009-03-19 14:36:49,944 [Petals.JBI-Management.DeploymentServiceImpl]
    Service Assembly 'sa-JMS-pojoS-consume' succesfully deployed
SEVERE 2009-03-19 14:36:55,068 [Petals.Container.Components.petals-bc-jms]
    Can not retrieve a JMS connection for consumes : org.ow2.petals.component.framework.jbidescriptor.generated.Consumes at f10a53
org.ow2.petals.component.framework.api.exception.PEtALSCDKException: JMS connectionFactory error.
	at org.ow2.petals.bc.jms.connection.AbstractJMSConnection.createConnection(AbstractJMSConnection.java:256)
	at org.ow2.petals.bc.jms.connection.AbstractJMSConnection.init(AbstractJMSConnection.java:110)
	at org.ow2.petals.bc.jms.connection.AbstractJMSConnectionFactory.makeObject(AbstractJMSConnectionFactory.java:106)
	at org.ow2.petals.bc.jms.listener.JMSExternalListener.start(JMSExternalListener.java:56)
	at org.ow2.petals.component.framework.listener.ExternalListenerManager.startListening(ExternalListenerManager.java:98)
	at org.ow2.petals.component.framework.su.BindingComponentServiceUnitManager.start(BindingComponentServiceUnitManager.java:67)
	at org.ow2.petals.container.lifecycle.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:143)
	at org.ow2.petals.container.lifecycle.ServiceAssemblyLifeCycle.doStart(ServiceAssemblyLifeCycle.java:199)
	at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:222)
	at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.start(DeploymentServiceImpl.java:465)
	at org.objectweb.fractal.julia.generated.C5f4a178e_0.start(INTERCEPTOR[DeploymentServiceMBean])
	at org.objectweb.fractal.julia.generated.C7566203_0.start(INTERFACE[DeploymentServiceMBean])
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.reflect.misc.Trampoline.invoke(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(Unknown Source)
	at javax.management.modelmbean.RequiredModelMBean.invoke(Unknown Source)
	at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
	at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
	at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
	at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
	at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.jms.JMSException: javax.jms.IllegalStateException: Could not connect to JMS server with [(hostName=localhost,port=16010)] after 1 attempts during 0 secs: server is not listening
	at org.objectweb.joram.client.jms.connection.RequestMultiplexer.<init>(RequestMultiplexer.java:103)
	at org.objectweb.joram.client.jms.Connection.<init>(Connection.java:173)
	at org.objectweb.joram.client.jms.tcp.TcpConnectionFactory.createConnection(TcpConnectionFactory.java:76)
	at org.ow2.petals.bc.jms.connection.AbstractJMSConnection.createConnection(AbstractJMSConnection.java:249)
	... 49 more
INFO 2009-03-19 14:36:55,099 [Petals.JBI-Management.DeploymentServiceImpl]
    Service Assembly 'sa-JMS-pojoS-consume' succesfully started








-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=561#561

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/0041507d/attachment.htm>


More information about the Users mailing list