users@glassfish.java.net

Re: Jersey NullPointerException (one in a series)

From: <glassfish_at_javadesktop.org>
Date: Tue, 28 Sep 2010 11:11:17 PDT

Now what's really weird is that when our application.xml file has the order of its modules changed, the problem goes away.

This is even though we aren't using the initialize-in-order element.

Is there some kind of initialization order we SHOULD be specifying?

Oddly enough, the application.xml ordering that [i]works[/i] places the EJB module at the [i]end[/i] of the list, [i]after[/i] the JAX-RS classes and web module (housing the JAX-RS Application class).

Best,
Laird
[Message sent by forum member 'ljnelson']

http://forums.java.net/jive/thread.jspa?messageID=483863