During the run execution in directory example Command prompt return:
 
Topic name is bob
JNDI lookup failed: javax.naming.CommunicationException [Root exception is java
rmi.UnmarshalException: error unmarshalling return; nested exception is:
        java.net.MalformedURLException: no protocol: Files/Jboss/jboss/dist/con
/default/]
Connection problem: javax.naming.CommunicationException [Root exception is java
rmi.UnmarshalException: error unmarshalling return; nested exception is:
        java.net.MalformedURLException: no protocol: Files/Jboss/jboss/dist/con
/default/]
javax.naming.CommunicationException.  Root exception is java.rmi.UnmarshalExcep
ion: error unmarshalling return; nested exception is:
        java.net.MalformedURLException: no protocol: Files/Jboss/jboss/dist/con
/default/
java.net.MalformedURLException: no protocol: Files/Jboss/jboss/dist/conf/defaul
/
        at java.net.URL.<init>(URL.java:473)
        at java.net.URL.<init>(URL.java:376)
        at java.net.URL.<init>(URL.java:330)
        at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:374)
        at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132)
        at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.ja
a:143)
        at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.jav
:918)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
        at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
        at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
        at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:22
2)
        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:5
9)
        at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
        at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:22
2)
        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:5
9)
        at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
        at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:300)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:134)
        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:295)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
        at javax.naming.InitialContext.lookup(InitialContext.java:350)
        at SampleUtilitiesTopic.jndiLookup(SampleUtilitiesTopic.java:135)
        at SampleUtilitiesTopic.getTopicConnectionFactory(SampleUtilitiesTopic.
ava:80)
        at InvioTopic.Invia(InvioTopic.java:57)
 
What is the Problem?
 
Another information:
In the example the message in a queue remain in for one time and not remaining for forward calls.
How command i must use to make this?
 
Thanks
theo

Reply via email to