• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat JMS

 
Ola Daniel
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys, I need a quick solution, I want to use JMS in a tomcat server. I am looking for a solution where I can add some libraries to my tomcat library and have JMS available for use in the server. Is this possible?

I do not want to install something external to the tomcat installation folder.

Thanks guys in anticipation of advice and a nudge in the right direction.
 
Scott Selikoff
author
Bartender
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ola Daniel:
I am looking for a solution where I can add some libraries to my tomcat library and have JMS available for use in the server. Is this possible?


No. Use JBoss or Geronimo if you need it. You can get Geronimo with Tomcat built in.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either OpenJMS or ActiveMQ would work; both are open source JMS implementations. You could start them from a ContextListener.
 
Bear Giles
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for a solution where I can add some libraries to my tomcat library and have JMS available for use in the server. Is this possible?

I do not want to install something external to the tomcat installation folder.


I'm not 100% certain of what you're asking. Are you asking about client libraries (e.g., so you can make container-managed JMS session available to applications via JNDI?), or are you asking about a full-blown JMS broker that lives entirely within the app server?

We've successfully put the activemq client libraries in the tomcat library and then gotten our JMS sessions via JNDI lookup. I'm sure you can do the same thing with openjms.

If it's the latter... that might be hard to find since it's a really weird combination (imho). Not quite hot-dog flavored ice cream, but it's headed in that direction. Most people want their services completely decoupled -- separate system processes for database, email, jms, etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!