[ 
https://issues.apache.org/jira/browse/CACTUS-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708038#action_12708038
 ] 

José Maria Tiñana commented on CACTUS-263:
------------------------------------------

The fragment of the generated web.xml is:

  <servlet>
    <servlet-name>JspRedirector</servlet-name>
    <jsp-file>/jspRedirector.jsp</jsp-file>
    <servlet-class />
  </servlet>
  <servlet>
    <servlet-name>ServletRedirector</servlet-name>
    
<servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>OpenCmsServlet</servlet-name>
    <url-pattern>/opencms/*</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>OpenCmsServletErrorHandler</servlet-name>
    <url-pattern>/opencms-errorhandler/*</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>JspRedirector</servlet-name>
    <url-pattern>/JspRedirector</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>ServletRedirector</servlet-name>
    <url-pattern>/opencms/servletRedirector</url-pattern>
  </servlet-mapping>

Take a look at the JspRedirector servlet definition. It has the empty 
servlet-class tag.

> Empty servlet-class generated in cactify war task
> -------------------------------------------------
>
>                 Key: CACTUS-263
>                 URL: https://issues.apache.org/jira/browse/CACTUS-263
>             Project: Cactus
>          Issue Type: Bug
>          Components: Ant Integration
>    Affects Versions: 1.8.1
>            Reporter: José Maria Tiñana
>
> when generating a cactify WAR with the ant task, the web.xml generated has an 
> empty servlet-class tag in the JspRedirector one, wich cause the following 
> error during startup:
> SEVERE: Null component 
> Catalina:type=JspMonitor,name=JspRedirector,WebModule=//localhost/[appName],J2EEApplication=none,J2EEServer=none

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: cactus-dev-h...@jakarta.apache.org

Reply via email to