• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Open JMS and Tomcat :Connection

Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
Do not set lab on fire. Or this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic