Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

`How to deploy Petstore on Tomcat and Weblogic  RSS feed

 
Ian B Anderson
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I've been playing around with Sun's Petstore application on Weblogic 7 and would like to deploy it on Tomcat and Weblogic.
I would like to know where to start in splitting the application. I know I need to run the WAR file on Tomcat and the EJBs on weblogic but what I don't know it what changes I need to make so that Tomcat can find the EJBs on Weblogic. (I'm assuming this must mean changing JNDI properties). What else do I need to change? Are there any changes in the Tomcat server.xml file?
I've searched through many mail archives and forums and it seems that many people have done this but there is no how to guide anywhere.
All help on this would be greatly appreciated.
Many thanks
Ian Anderson
 
Douglas Kent
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ian,
Petstore comes already installed on Weblogic 7 if you choose a full install. Can you not start it from the start menu? Never had a problem with either 6.1 or 7. Hey, thanks for the mock SCEA exam!
 
Ian B Anderson
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Douglas,
I have petstore working fine with weblogic 7.0 on it's own but I'd really like to run the Servlets/JSPs on Tomcat and the EJBs on Weblogic.
I "think" all I need to do is tell Tomcat to use the weblogic JNDI context. Does this have to be set in the Tomcat server.xml or can it be done in the web.xml?
Any links would also be useful. I'm sure lots of people must have tried this but I can't find any good documents anywhere.
I'm glad you like the mock.
Regards
Ian
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!