Solved

How to migrate j2ee application from tomcat to jboss.

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
maven java path setting 5 50
Java - Why doesn't this JFrame work 3 18
eclipse java  build path 6 21
Java Timer (static) 9 16
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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 …

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now