Hi folks.

I'm trying to upgrade from JBoss 3.0.6 to 3.2.3.

I have a project that would take the default context before (http://localhost:8080) 
before, and it no longer does that.  I would really like to know how to set the 
default context in a way that 3.2.3 would accept.

Here's the web.xml that works on 3.0.6 but not 3.2.3:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
<web-app>
  <!--distributable/-->
  
    <servlet-name>Warmonger</servlet-name>
    <servlet-class>com.nineci.webapp.Warmonger</servlet-class>
  
  <servlet-mapping>
    <servlet-name>Warmonger</servlet-name>
    <url-pattern>/war</url-pattern>
  </servlet-mapping>
  <session-config>
    <session-timeout>30</session-timeout>
  </session-config>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
  </welcome-file-list>
</web-app>

When you go to http://localhost:8080, the welcome file described in this document is 
used, which redirects me to my /war mapping.

Can someone explain why this no longer works, and better yet how to accomplish the 
same aim?

Thanks.



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

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


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to