wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Tomcat to JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Tomcat to JBoss" Watch "Tomcat to JBoss" New topic
Author

Tomcat to JBoss

Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
Hi,
I am using tomcat 5.5.7 and for transaction purpose i want to deploy my web application in JBoss AS.
I am new to JBoss AS. what should i need to know to deploy my war file to JBoss. Is there any other configuration do i need to deploy ???
waiting for your kind reply..
thanks
milan.


Milan.<br />I can because I think I can...
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

So Tomcat is in the JBoss AS, the JBoss Web Server is basically a wrapper around Tomcat. To deploy your war file you just copy and paste it into the deploy directory of your server.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
Hi mark,
yeah, i know that JBoss is basically a wrapper around Tomcat. but i had confusion whether the deployment procedure are same in both servers. i got the answer ...thanks...

milan.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Originally posted by Milan Jagatiya:
Hi mark,
yeah, i know that JBoss is basically a wrapper around Tomcat. but i had confusion whether the deployment procedure are same in both servers. i got the answer ...thanks...

milan.


Yes, but instead of copying your .war into the webapps directory in tomcat, it is the deploy directory in JBoss. Development is the same, but you might also have a jboss-web.xml to point to a security domain and any other configuration that is JBoss specific.

Mark
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164

but you might also have a jboss-web.xml to point to a security domain and any other configuration that is JBoss specific.


yeah...but is it necessary to put jboss-web.xml in all web application???

milan.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Originally posted by Milan Jagatiya:


yeah...but is it necessary to put jboss-web.xml in all web application???

milan.


Only if you want to use a JBoss Security Domain, since it is specific to JBoss it is not part of the J2EE spec which defines the web.xml.

Each vendor has their own vendor specific information that needs to be put into its own xml file.
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
thanks mark. got my answer.

milan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat to JBoss