[jboss-jira] [JBoss JIRA] Commented: (JBAS-3350) NPE on <service-ref> in web.xml

Remy Maucherat (JIRA) jira-events at jboss.com
Thu Oct 19 06:55:41 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBAS-3350?page=comments#action_12345496 ] 
            
Remy Maucherat commented on JBAS-3350:
--------------------------------------

To save you time, you can set the "org.apache.catalina.STRICT_SERVLET_COMPLIANCE" system property to "false".

> NPE on <service-ref> in web.xml
> -------------------------------
>
>                 Key: JBAS-3350
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3350
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>         Assigned To: Remy Maucherat
>            Priority: Critical
>             Fix For: JBossAS-5.0.0.Beta
>
>
> tdiesler at TDDELL /cygdrive/d/svn/jbossws/trunk/src/test
> $ ant -Dtest=org.jboss.test.ws.wsse.WebClientTestCase one-test
> 2006-06-29 11:02:35,953 ERROR [org.apache.catalina.startup.ContextConfig] Parse error in application web.xml file at jndi:/localhost/jbossws-wsse-rpc/WEB-INF/web.xml
> java.lang.NullPointerException
> 	at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
> 	at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
> 	at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
> 	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> <web-app version='2.4' xmlns='http://java.sun.com/xml/ns/j2ee' 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/web-app_2_4.xsd'>
>  <servlet>
>   <servlet-name>Hello</servlet-name>
>   <servlet-class>org.jboss.ws.integration.jboss.JBossServiceEndpointServlet</servlet-class>
>   <init-param>
>    <param-name>ServiceEndpointImpl</param-name>
>    <param-value>org.jboss.test.ws.wsse.HelloJavaBean</param-value>
>   </init-param>
>  </servlet>
>  <servlet>
>   <servlet-name>RpcTestClientServlet</servlet-name>
>   <servlet-class>org.jboss.test.ws.wsse.RpcTestClientServlet</servlet-class>
>  </servlet>
>  <servlet-mapping>
>   <servlet-name>Hello</servlet-name>
>   <url-pattern>/Hello</url-pattern>
>  </servlet-mapping>
>  <servlet-mapping>
>   <servlet-name>RpcTestClientServlet</servlet-name>
>   <url-pattern>/RpcTestClientServlet</url-pattern>
>  </servlet-mapping>
>  <service-ref>
>   <service-ref-name>service/HelloService</service-ref-name>
>   <service-interface>javax.xml.rpc.Service</service-interface>
>   <wsdl-file>WEB-INF/wsdl/HelloService.wsdl</wsdl-file>
>   <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
>   <port-component-ref>
>    <service-endpoint-interface>org.jboss.test.ws.wsse.Hello</service-endpoint-interface>
>   </port-component-ref>
>  </service-ref>
> </web-app>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list