Arun,
Did u check if application.xml exists in META-INF? It's worth if you can look 
into JBoss Admin pdf, where it says 

The context root for an application is determined by how it is deployed. When a 
web application is deployed inside
an EAR file, the context root is specified in the application.xml file of the 
EAR, using a context-root element
inside of a web module. In the following example, the context root of the 
web-client.war application is set to
bank.

<application xmlns="http://java.sun.com/xml/ns/j2ee"; version="1.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd";>
<display-name>JBossDukesBank</display-name>

bank-ejb.jar



<web-uri>web-client.war</web-uri>
<context-root>bank</context-root>




For web applications that are deployed outside an EAR file, the context root 
can be specified in two ways. First, the
context root can be specified in the WEB-INF/jboss-web.xml file. The following 
example shows what the jbossweb.
xml file would look like if it weren't bundled inside of an EAR file.

<jboss-web>
<context-root>bank</context-root>
</jboss-web>

Finally, if no context root specification exists, the context root will be the 
base name of the WAR file. For webclient.
war, the context root would default to web-client. The only special case to 
this naming special name ROOT.
To deploy an application under the root context, you simply name it ROOT.war. 
JBoss already contains a ROOT.war
web application in the jbossweb-tomcat55.sar directory. You will need to remove 
or rename that one to create
your own root application.
Not sure, if this will help.
cheers

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924952#3924952

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924952


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to