File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes how do you configure weblogic jms in tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how do you configure weblogic jms in tomcat?" Watch "how do you configure weblogic jms in tomcat?" New topic

how do you configure weblogic jms in tomcat?

kamote ako

Joined: May 02, 2011
Posts: 1
We are in the process of migrating from weblogic 8.1 to tomcat 6 and activeMq.

But we want to do it piece by piece.

Does anybody have a sample server.xml and context.xml that has a jms connection factory and queue jndi stored in weblogic?

I don't know if this is correct, but this is only what I have (from server.xml):


Thanks in advance!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

Welcome to the JavaRanch, kamote!

Migrating from WebLogic to Tomcat is a tricky thing, since WebLogic is a full-stack J2EE server and Tomcat isn't. There are likely to be all sorts of things that people were used to relying on that aren't in Tomcat.

JMS, of course, is a big example. And unless WebLogic's JMS ConnectionFactory is explicitly guaranteed to operate as a stand-alone component in Tomcat, it's extremely unlikely that you can excerpt it from WebLogic and expect it to run in Tomcat. And that's not counting the legal issues, since you'd still have to be in good standing with Oracle to do so - you can't just "borrow" it.

Assuming you can't use WebLogic JMS, however, there are component libraries that add JMS support to Tomcat. I think there's an Apache/jakarta JMS implementation. And unless my memory fails me, the ObjectWeb group has a JMS package called "James". Others probably exist as well. Plus, you can simply use JBoss, which, being a full-stack J2EE implementation has its own JMS subsystem in the container (probably Apache's). JBoss uses an embedded copy of Tomcat as its servlet/JSP container. ObjectWeb uses a similar strategy in its JOnAS server.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: how do you configure weblogic jms in tomcat?
It's not a secret anymore!