[Users] Jboss messaging and Petals-bc-jms

Yann2 petals-components at ebmwebsourcing.com
Wed Mar 16 10:27:38 CET 2011


Hi, 

I'm a new PEtALS user and I want to use JBoss Messaging with PEtALS.

I use petals-bc-jms 3.0 and JBoss 5.0.0.

When I try to deploy my Service Unit I have a class not found exception
(org.jnp.interfaces.naming.NamingContextFactory not found)
I placed the jar jnp-client.jar, which contain the class
org.jnp.interfaces.naming.NamingContextFactory, in my SU.

I haven't found any sample in Internet, and the samples links in the
petals-bc-jms documentation are downs.

Anyone can help me ?

Thx ,
Yann Marechal


JBI.xml files :

<?xml version="1.0" encoding="UTF-8" ?> 
<jbi:jbi version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
			xmlns:jbi="http://java.sun.com/xml/ns/jbi" 
			xmlns:petals="http://petals.ow2.org/extensions" 
			xmlns:*****MSBJMS=**********">

	<jbi:services binding-component="true">
	   <jbi:provides interface-name="thalesMSBJMS:JMSWriter"
				 service-name="thalesMSBJMS:JMSWriter"
				 endpoint-name="JMSWriterEndpoint">	
			<petals:params>
				<petals:param
name="address">tcp://localhos:4457</petals:param>
				<petals:param
name="initial-context-factory">org.jnp.interfaces.naming.NamingContextFactory</petals:param>
				<petals:param
name="connection-factory">ConnectionFactory</petals:param>
				<petals:param
name="destination-name">queue/ExpiryQueue</petals:param>
			</petals:params>
		</jbi:provides>
	</jbi:services>
</jbi:jbi>

-----------------------------------------------------------------------------------------------
sa-jms-Queue.zip.failed : 
java.lang.Exception: The deployment of the Service Assembly
'file:/C:/SOA_DEV/PEtALS/petals-platform-2.3/work/sa-jms-Queue.zip' failed.
Caused by:Error occured during the deployment of a Service Unit
Caused by:The ServiceUnit listener failed to process.
Caused by:Error creating a connection pool for SU:
/C:/SOA_DEV/PEtALS/petals-platform-2.3/repository/service-assemblies/sa-jms-Queue-02-23-2009-054851343/install/jmsQueueSU/
Caused by:JNDI context can not be created.java.lang.ClassNotFoundException:
org.jnp.interfaces.naming.NamingContextFactory
Caused by:org.jnp.interfaces.naming.NamingContextFactory
	at
org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:510)
	at
org.objectweb.fractal.julia.generated.C5f4a178e_0.deploy(INTERCEPTOR[DeploymentServiceMBean])
	at
org.objectweb.fractal.julia.generated.Cb5afc8ac_0.deploy(INTERCEPTOR[DeploymentServiceMBean])
	at
org.objectweb.fractal.julia.generated.C7566203_0.deploy(INTERFACE[DeploymentServiceMBean])
	at
org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:369)
	at
org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:207)
	at
org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:56)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)




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

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

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


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


More information about the Users mailing list