Hi,

I'm trying to deploy the JEE6
https://github.com/tikalk/jee6-pet-catalog-sample pet-catalog example  on
TomEE plus. 
So I create the war file with maven and I deploy it on webapps. Everything
is ok, it works well.

But, when I change the name of the war file to "ROOT" and deploy it to TomEE
plus server, I've got an weird error:

SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path
[] threw exception [javax.el.ELException: Error reading 'pagingInfo' on type
controller.Catalog] with root cause
java.lang.NullPointerException
        at controller.Catalog.getItemCount(Catalog.java:77)
        at controller.Catalog.getPagingInfo(Catalog.java:37)
        at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
...

I looked for the reason of this error but nothing found... I guess there is
something to change in the web.xml file but I can't figure out what.

Any help is welcome!

Thanks


--
View this message in context: 
http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to