Link to home
Start Free TrialLog in
Avatar of ly_uwo
ly_uwoFlag for United States of America

asked on

How to migrate j2ee application from tomcat to jboss.

Currently I have an j2ee application  which runs on both jboss and tomcat, both installed separately. I need to start jboss and tomcat at the same time. I thought since jboss has tomcat built in, why can't I just run one instance of jboss? But it won't find the web pages if I just run jboss. I thought I might need to modify some descriptor files in tomcat server to be understood by jboss. Can anyone instruct me where and how to rewrite the descriptor files, or other way, so that I can run just one instance of jboss.
Avatar of Jagadeesh M
Jagadeesh M
Flag of United States of America image

Yes if you create a WAR from your Tomcat files you should be able to deploy it by dropping it in $JBOSS_HOME/server/default/deploy. You DONOT need to deploy as an EAR. It should automagically deploy.

You may need to edit some XML config files but from memory this is
minimal at most....
ASKER CERTIFIED SOLUTION
Avatar of Jagadeesh M
Jagadeesh M
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 ly_uwo

ASKER

thanks