JBoss Community

Re: POJO Endpoint causes NPE at JBossWebMetaDataParser.parse

created by manish suriya in JBoss Web Services - View the full discussion

Hi I am still getting the same error with jboss 7.0.2 and jboss 7.1.1 . when using following in  jboss-web.xml

 

<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_7_0.xsd" 
           version="7.0.2">  
 
<passivation-config>
      <use-session-passivation>true</use-session-passivation>
      <passivation-min-idle-time>60</passivation-min-idle-time>
      <passivation-max-idle-time>600</passivation-max-idle-time>
   </passivation-config> 
 
</jboss-web>

 

Caused by: java.lang.NullPointerException
        at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:98)
        at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:66)

 

 

and with

<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_6_0.xsd"
           version="6.0">                                     

 

I am  getting parsing error...for <passivation-config> tags.  Please help. Thanks

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community