Link to home
Start Free TrialLog in
Avatar of myare2004
myare2004

asked on

integrate JBoss and Tomcat

Hi there

I have just starting to learn JBoss server.

I downloaded jboss version 2.4.9 and installed in my C:/ drive I have also downloaded tomcat 4.0.3 and installed in C: drive saperately. I set the tomcat path and it is running ok.

I want to develope online application using jsp, server as web client and jboss as romote server
so is there any one help me how would i configure jboss to integrate with tomcat.

many thanks for your quick respond.
ASKER CERTIFIED SOLUTION
Avatar of rama_krishna580
rama_krishna580
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of myare2004
myare2004

ASKER


dear rama

here are all my classpath:

CLASSPATH=  .;%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\common\lib\servlet.jar

CATALINA_HOME=  C:\tomcat

JAVA_HOME=  C:\j2sdk1.4.1_03

PATH=  %CATALINA_HOME%\bin

in order to use JBoss application server and tomcat server, which I installed in different directories in C drive as follow
C:\JBoss-2.4.9
C:\tomcat4.1.3
would you please helpme how would i set all correct paths to compile ejb files

I am newly starting learning this area, so would you explain it step by step.
I dont understand what u meant these following codes:
where u r saying edit classpath:

Tomcat libs must be in classpath; then edit JBOSS_HOME/conf/default/jboss.conf and un-comment ClassPathExtension mbean for the tomcat lib directory to:



<MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar" CODEBASE="../../lib/ext/">
  <ARG TYPE="java.lang.String" VALUE="TOMCAT_HOME/lib/">
  <ARG TYPE="java.lang.String" VALUE="Tomcat">
</MLET>

edit JBOSS_HOME/conf/default/jboss.jcml and uncomment the EmbeddedTomcatService mbean. Locate:


  <mbean code="org.jboss.tomcat.EmbeddedTomcatService" name="DefaultDomain:service=EmbeddedTomcat" />

Always in jboss.jcml, check that J2eeDeployer is:


  <mbean code="org.jboss.deployment.J2eeDeployer" name="J2EE:service=J2eeDeployer">
    <attribute name="DeployerName">Default</attribute>
    <attribute name="JarDeployerName">:service=ContainerFactory</attribute>
    <attribute name="WarDeployerName">:service=EmbeddedTomcat</attribute>
  <mbean>




many thanks again
m Yare










hi there

is there any one, who can help me this question