Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat to JBoss

 
Milan Jagatiya
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Milan Jagatiya
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks mark. got my answer.

milan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic