You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Manoj Kithany <ma...@hotmail.com> on 2002/09/24 19:34:10 UTC
Re: JBoss-2.4.8_Tomcat-4.0.4 not working by default
Hi Rajesh,
I was also facing same problem for over 2 weeks or so - finally figured out
(after taking some help from this list and JOHN)
Anyways, when you install JBoss 3.0+ there is no DEFAULT WEB application and
no DEFAULT CONTEXT set up (READ JBOSS FAQ...its' mentioned there). What you
have to do is create a simple WEB application, make WAR file and put that in
/jboss/server/default/deploy directory and it should work. This is what I
did and it worked. Say I ahve following directory struct:
/kithany (root - this is my application directory)
/kithany/*.html (any html files)
/kithany/*.jsp (any jsp files)
/kithany/WEB-INF/web.xml
/kithany/WEB-INF/classes/*.java (any JAVA files)
/kithany/WEB-INF/classes/*.class (any CLASS files)
/kithany/META-INF/application.xml
The you creat WAR file as:
#cd /kithany
#jar -cvfM kithany.war . (notice the DOT here!!!)
Then put the "kithany.war" file in /jboss/server/default/deploy directory
and In your browser type:
http://IP_ADDR_ESS:8080/kithany/index.html (or whatever html file)
The other approach is to have a DIRECTORY named say TEST.WAR (notice .WAR
extension!!!) just under webapps directory.
Hope this information helps.
Manoj G. Kithany
>From: "Rajeshkumar.R" <ra...@md3.vsnl.net.in>
>Reply-To: "Tomcat Users List" <to...@jakarta.apache.org>
>To: <to...@jakarta.apache.org>
>Subject: JBoss-2.4.8_Tomcat-4.0.4 not working by default
>Date: Wed, 25 Sep 2002 08:37:46 +0530
>
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>