[jboss-user] [JBoss Web Services] - Re: POJO Endpoint causes NPE at JBossWebMetaDataParser.parse

manish suriya do-not-reply at jboss.com
Mon Jun 18 07:34:39 EDT 2012


manish suriya [https://community.jboss.org/people/techtalk] created the discussion

"Re: POJO Endpoint causes NPE at JBossWebMetaDataParser.parse"

To view the discussion, visit: https://community.jboss.org/message/742329#742329

--------------------------------------------------------------
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
[https://community.jboss.org/message/742329#742329]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120618/c54a0a7b/attachment.html 


More information about the jboss-user mailing list