Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

How to integrate JBoss4 and Tomcat5?

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone:
I have several web application developed in Tomcat5.Now I need use EJB in it.But you know Tomcat don't support EJB so I must integrate Jboss with Tomcat5.
I don't want to use the the version jboss4.0-tomcat that in jboss.org.Because it has much different between Tomcat5 and Tomcat4.
Which file I must to set before I use JBoss in tomcat4?
I changed the file "tomcat41-service.xml":
/////////////////////////////////////////////////////////
<server>
<classpath codebase="../&catalina.home;/common/lib/" archives="*"/>
<classpath codebase="../&catalina.home;/server/lib/" archives="*"/>
<classpath codebase="../&catalina.home;/bin/" archives="*"/>
But I failed.Jboss report error and it says:"there is already has "env" in ................."
How to change the setting file?Thks!
 
lyo Yashnoo
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any Idea?
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am a green hand,but I have built my own JBoss-3.2.3 with Tomcat 5 instance
And I think that jboss4.X has not be more different from Jboss3.X when it was integrated with Tomcat 5.
1.Get the JBoss-3.2.3.zip distribution from sourceforge
2.Unzip your jboss distribution to a directory which we now call JBOSS_HOME
3.go to the JBOSS_HOME/docs/examples/tomcat directory
4.do a ant -buildfile docs/examples/tomcat/build-tc5-config.xml
and this is what you should see if your JBOSS_HOME would be c:\jboss-3.2.3 :
Buildfile: build-tc5-config.xml
config:
[copy] Copying 124 files to C:\jboss-3.2.3\server\tomcat5
[copy] Copying 30 files to C:\jboss-3.2.3\server\tomcat5\deploy\jbossweb-tomcat50.sar
BUILD SUCCESSFUL
So now you have next to minimal, default and all a new server configuration called tomcat5 which you can launch using a run -c tomcat5
[ February 06, 2004: Message edited by: AstroWoo Chang ]
 
Hey cool! They got a blimp! But I have a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic