Skip to main content

Try to deploy JSF & REST webapp causes java.lang.ArrayIndexOutOfBoundsException

Please note these forums are being decommissioned and use the new and improved forums at
No replies

Hello list,

my name ist christian and i'm new here. I hope anybody on this list
could help
me with my problem.

I try to deploy a webapp (web profile) on glassfish This app
contains JSF, EJB, JPA and REST
artifacts. I added the REST part at last and now every try to deploy
that app results in an
"java.lang.ArrayIndexOutOfBoundsException" which is not very helpful.

I've added the "com.sun.jersey.spi.container.servlet.ServletContainer"
servlet to my web.xml
and let it load on startup. According to the log:

INFO: Scanning for root resource and provider classes in the Web app
resource paths:
SEVERE: WebModule[/webapp]StandardWrapper.Throwable

it tries to scan my app, but ends in the given exception.

I'm lost with that. I have no info about the cause of that exception.
Is there a way to debug this (i'm using netbeans)? Or get more info
about the cause anyway?

Btw. other webapps with the same components (JSF, JPA, EJB and REST) has
successfully been deployed
on the same instance.