It's not a secret anymore!
The moose likes JBoss/WildFly and the fly likes How to Separate Tomcat and JBoss 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 » JBoss/WildFly
Bookmark "How to Separate Tomcat and JBoss" Watch "How to Separate Tomcat and JBoss" New topic

How to Separate Tomcat and JBoss

Waqas Noor

Joined: Apr 17, 2006
Posts: 1
Hi.. I have requirement to have separate Tomcat and JBoss. I will have all my jsp code in Tomcat(which is installed in a C:/tomcat5.0). I am having JBoss which is installed in a different machine (d:/jboss3.2.3).
Now I whenever I send a request to tomcat, the tomcat should execute jsp and it has to send to jboss for ejbs.

Please help me in solving this out.

mani vannan
Ranch Hand

Joined: Apr 17, 2006
Posts: 47
Hmm.. you can change your jboss's http port to something else. (or change tomcat's http port)

You can have your webapplications in tomcat, for looking EJB's, you can do remote JNDI lookup..

But, I am not sure that you can run EJB's when not having a EJB container or environment.... and above all, my question to you is, why do you want a separate tomcat, when you have already one inside the Jboss? !!

Mani (SCEA 1.4)<br /><a href="" target="_blank" rel="nofollow"> Is SCJP Useful? Worth? Helps job?</a>
Consider Paul's rocket mass heater.
subject: How to Separate Tomcat and JBoss
jQuery in Action, 3rd edition