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" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: JBoss-2.4.8_Tomcat-4.0.4  not working by default
>Date: Wed, 25 Sep 2002 08:37:46 +0530
>



_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to