This error you are getting, we have seen it with other containers, and it should be fixed in trunk xwork (you can build it yourself, or grab a snapshot). Try setting this in your struts.xml file:
<constant name="struts.devMode" value="false" /> musachy On Wed, Apr 8, 2009 at 6:19 PM, Mick_ <ruaspam...@gmail.com> wrote: > > > > Nils-Helge Garli wrote: >> >> And what does the application log say? >> > Here is the pertinent data from the logs: > > 09/04/08 18:04:41.468 struts2-showcase-2.1.6: Servlet error > java.lang.NullPointerException > at > com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209) > at > com.opensymphony.xwork2.util.FileManager.fileNeedsReloading(FileManager.java:60) > at > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:325) > at > org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:168) > at > com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:220) > at > com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:61) > at > org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774) > at > org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:74) > at > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:59) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) > ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher > .java:621) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) > ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher > .java:370) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) > ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler > .java:871) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) > ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler > .java:453) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) > ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler > .java:221) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) > ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) > ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) > at > oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) > at > oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234) > at > oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29) > at > oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) > ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor > .java:303) > at java.lang.Thread.run(Thread.java:619) > > -- > View this message in context: > http://www.nabble.com/struts2-showcase-on-OC4J-tp22957615p22960839.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org