« Return to Thread: Using JBoss messaging with PEtALS

Using JBoss messaging with PEtALS

by yann.marechal :: Rate this Message:

Reply to Author | View in Thread


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)


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 « Return to Thread: Using JBoss messaging with PEtALS