Hi all,
I am running Jetspeed on geronimo-tomcat-j2ee-1.0-2005-12-22. My jetspeed web app context is jetspeed and I also have a servlet named   "jetspeed" defined in web.xml. When there is request for url: http://localhost:8080/jetspeed/. The private method getServletName(Request request) defined in TomcatGeronimoRealm will return a "default" string, is that what it expects?(I know default is configured by tomcat, http://tomcat.apache.org/tomcat-5.5-doc/default-servlet.html)
Why it does not return "jetspeed", I did have a servlet named that. The following is a snippet from my web.xml.

<servlet>
    <servlet-name>jetspeed</servlet-name>
    <servlet-class>org.apache.jetspeed.engine.JetspeedServlet</servlet-class>
    <init-param>
      <param-name>properties</param-name>
      <param-value>/WEB-INF/conf/jetspeed.properties</param-value>
    </init-param>
    <init-param>
      <param-name>applicationRoot</param-name>
      <param-value>webContext</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
......
<servlet-mapping>
       <servlet-name>jetspeed</servlet-name>
       <url-pattern>/jetspeed/*</url-pattern>
</servlet-mapping>

Any help would be appreciated!

- Jian Liao


Reply via email to