-
1. Re: Need to configure Tomcat 6 (standalone) with Jboss 5.0
jfclere Jun 16, 2010 8:40 AM (in response to satech1)You can't Jboss 5.0 doesn't use Tomcat 6 but jbossweb 2.1.x. You can't replace jbossweb by Tomcat 6.
-
2. Re: Need to configure Tomcat 6 (standalone) with Jboss 5.0
peterj Jun 17, 2010 12:22 AM (in response to satech1)Neil, welcome to the JBoss forum!
Not sure if this will work, but you could try removing server/xxx/deploy/jbossweb.sar. You might also need to remove server/xxx/deployers/jbossweb.deployer. Then you might also have to remove the web services stuff: server/xxx/deploy/jbossws.sar and server/xxx/deployers/jbossws.deployer.
Good luck!
-
3. Re: Need to configure Tomcat 6 (standalone) with Jboss 5.0
satech1 Jun 17, 2010 2:30 AM (in response to jfclere)Are you sure? I know people using such a setup (Jboss 5 + tomcat 6)
-
4. Re: Need to configure Tomcat 6 (standalone) with Jboss 5.0
satech1 Jun 17, 2010 2:45 AM (in response to peterj)Thanks Peter :-)
Actually, I started tomcat 6 on different port (9090) without disabling the tomcat instance with jboss. i.e. currenty I am able to aceess http://localhost:8080 (getting the jboss page) and http://localhost:9090 (getting the tomcat page). In this situation, do I need to do anything further to get a connection between Jboss and my standalone tomcat?
Some forums points me to copy the jar files from Jboss to Tomcat lib. Is that a required correct step? I am pretty new to jboss/tomcat so I am not sure what exactly is going on in my setup
-
5. Re: Need to configure Tomcat 6 (standalone) with Jboss 5.0
peterj Jun 18, 2010 6:23 PM (in response to satech1)>>In this situation, do I need to do anything further to get a connection between Jboss and my standalone tomcat?
Here is what I did: I have an EJB JAR file deployed to JBoss AS. I have a WAR file deployed to Tomcat. My servlets (running in Tomcat) look up EJBs (running in JBoss AS) via JNDI and then call on those EJBs. I have to include the JAR files from the JBoss AS client directory in my WAR's WEB-INF/lib directory (I was lazy when I first did this an included them all, but a tool such as JBoss Tattletale should help you find exactly which JARs are required).