Solved

How to migrate j2ee application from tomcat to jboss.

Posted on 2006-07-18
3
508 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 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java jdbc batch example 8 41
servlet example issue 6 46
web application structure 18 102
American Express @Work site and Java 4 30
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

828 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