[Users] Problem with JMS BC
fouquet.f
petals-components at ebmwebsourcing.com
Wed Mar 16 10:28:06 CET 2011
Hi ,
I have retry the operation with the JORAM 5.2.1 sample ant script to have the same JORAM server.
So I have start an instance of JORAM by
ant reset single_server
and in other term
ant classic_admin
After that I have compile the JMS BC SNAPSHOT
On version quickstart I have a classNotfoundexception : javax.jms.topic
and on Plateform 2.4 I have error connecting to localhost 16010 ...
my JBI.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
JBI descriptor for the PEtALS' "petals-bc-jms" component (JMS).
Originally created for the version 3.0 of the component.
-->
<jbi:jbi version="1.0"
xmlns:generatedNs="http://www.capgemini.com/dam"
xmlns:jbi="http://java.sun.com/xml/ns/jbi"
xmlns:jms="http://petals.ow2.org/components/jms/version-3.0"
xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Import a Service into PEtALS or Expose a PEtALS Service => use a BC. -->
<jbi:services binding-component="true">
<!-- Expose a PEtALS Service => consumes a Service. -->
<jbi:consumes
interface-name="generatedNs:pojo"
service-name="generatedNs:pojoS"
endpoint-name="pojoSEndpoint">
<!-- CDK specific elements -->
<petalsCDK:mep xsi:nil="true" />
<!-- Component specific elements -->
<jms:jndi-provider-url>scn://localhost:16400</jms:jndi-provider-url>
<jms:jndi-initial-context-factory>fr.dyade.aaa.jndi2.client.NamingContextFactory</jms:jndi-initial-context-factory>
<jms:jndi-destination-name>queue</jms:jndi-destination-name>
<jms:jndi-connection-factory>cf</jms:jndi-connection-factory>
<jms:user>anonymous</jms:user>
<jms:password>anonymous</jms:password>
<jms:transacted>false</jms:transacted>
</jbi:consumes>
</jbi:services>
</jbi:jbi>
and the log
Code:
SEVERE 2009-03-20 12:18:18,453 org.objectweb.joram.client.jms.Client
java.lang.NullPointerException
at org.objectweb.joram.client.jms.FactoryParameters.fromReference(FactoryParameters.java:295)
at org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.fromReference(AbstractConnectionFactory.java:173)
at org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.fromReference(AbstractConnectionFactory.java:165)
at org.objectweb.joram.client.jms.admin.ObjectFactory.getObjectInstance(ObjectFactory.java:53)
at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
at fr.dyade.aaa.jndi2.msg.LookupReply.resolveObject(LookupReply.java:56)
at fr.dyade.aaa.jndi2.msg.LookupReply.getObject(LookupReply.java:48)
at fr.dyade.aaa.jndi2.client.NamingContextImpl.lookup(NamingContextImpl.java:112)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.ow2.petals.bc.jms.connection.AbstractJMSConnection.lookupConnectionFactory(AbstractJMSConnection.java:193)
at org.ow2.petals.bc.jms.connection.AbstractJMSConnection.init(AbstractJMSConnection.java:104)
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.GeneratedMethodAccessor31.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.GeneratedMethodAccessor30.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)
-------------------- m2f --------------------
Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=575#575
-------------------- m2f --------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/f93003f5/attachment.htm>
More information about the Users
mailing list