Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to migrate j2ee application from tomcat to jboss.

Posted on 2006-07-18
3
Medium Priority
?
524 Views
Last Modified: 2013-11-24
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.
0
Comment
Question by:ly_uwo
  • 2
3 Comments
 
LVL 10

Expert Comment

by:jagadeesh_motamarri
ID: 17131357
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....
0
 
LVL 10

Accepted Solution

by:
jagadeesh_motamarri earned 2000 total points
ID: 17131365
URL: http://access1.sun.com/techarticles/simple.WAR.html

This link will help you to create war files.
0
 

Author Comment

by:ly_uwo
ID: 17132097
thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question