Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Open JMS and Tomcat :Connection

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: no protocol: Files/Apache
at org.exolab.jms.client.rmi.RmiJmsConnectionStub.createSession(
at org.exolab.jms.client.JmsSession.<init>(
at org.exolab.jms.client.JmsQueueSession.<init>(
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic