• Post Reply Bookmark Topic Watch Topic
  • New Topic

Open JMS and Tomcat :Connection  RSS feed

prem karun gopal
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

I am facing problems with OpenJMS and Tocat.
I have an appilication which can run standalone and also a
a webapplication.Application needs to connect to
a JMS Queue to work.
It wirks fine in standalone mode.But...when deployed as a
servlet ,it fails to create JMS Session with Open JMS
Can anybody suggest a solution to this ?

Tomcat 5.5
JDK 5.0

Thanking you.

This is the exception that iam getting

InitializeJNDI with org.exolab.jms.jndi.InitialContextFactory and rmi://localhost:1099/
javax.jms.JMSException: Failed to createSession java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: Files/Apache
at org.exolab.jms.client.rmi.RmiJmsConnectionStub.createSession(RmiJmsConnectionStub.java:155)
at org.exolab.jms.client.JmsSession.<init>(JmsSession.java:225)
at org.exolab.jms.client.JmsQueueSession.<init>(JmsQueueSession.java:80)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!