[Users] Problem with JMS BC

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


I have installed the plugin for eclipse version 1.2.0 but I can't deploy my component JMS on PeTaLs ( all distribution )
There is an error on the JBI.xml

this synthaxe generated seems not to be ok

Code:

<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>topic1</jms:jndi-destination-name>

<jms:jndi-connection-factory>cf</jms:jndi-connection-factory>

<jms:user>root</jms:user>

<jms:password>root</jms:password>

<jms:transacted>false</jms:transacted>

<jms:max-active>10</jms:max-active>

<jms:max-idle>5</jms:max-idle>

<jms:max-wait>10000</jms:max-wait>

<jms:test-while-idle>true</jms:test-while-idle>






but this is ok, but I must made it manualy


Code:

<petals:mep>InOnly</petals:mep>

<petals:operation></petals:operation>

<petals:params>

<petals:param name="address">scn://127.0.0.1:16400</petals:param>

<petals:param name="destination-name">topic2</petals:param>

<petals:param name="initial-context-factory">fr.dyade.aaa.jndi2.client.NamingContextFactory</petals:param>

<petals:param name="connection-factory">cf</petals:param>

<petals:param name="user">anonymous</petals:param>

<petals:param name="password">anonymous</petals:param>

<petals:param name="transacted">false</petals:param>

</petals:params>








Then when deploy the modified version on Quickstart 3.0



Code:

Error : can't change service assembly's state : org.ow2.petals.jmx.exception.PerformActionErrorException: java.lang.NullPointerException





I have a null pointer exception cause by a class Def not found JAVAX.JMS.CONNECTIONFACTORY 
Problem with JORAM or JMS lib ?


Then when I trying to test on Plateform 2.4 the connection factory is ok (JORAM lib is in) but JMS can't open the connection to the serveur JORAM . But he working and connection factory is ok , I have another java instance who run and send on it.


Thanks by advance




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

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

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


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


More information about the Users mailing list