You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "José Maria Tiñana (JIRA)" <ca...@jakarta.apache.org> on 2009/05/11 16:07:45 UTC

[jira] Commented: (CACTUS-263) Empty servlet-class generated in cactify war task

    [ 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-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org