From: "Peter White" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [OS-webwork] Struggling with WebWork2/XWork configuration... Date: Tue, 16 Sep 2003 15:18:25 -0700
I've been struggling with getting WebWork2 running for the last 2 days and
am currently stuck with the xwork.xml file not being recognized as evidenced
by the following logfile segment:
SEVERE: Could not load XWork configuration file, failing Sep 16, 2003 3:02:00 PM com.opensymphony.xwork.config.impl.DefaultConfiguration <init> SEVERE: Caught ConfigurationException while initializing ConfigurationProvider. Sep 16, 2003 3:02:00 PM com.opensymphony.webwork.dispatcher.ServletDispatcher se rvice SEVERE: Could not execute action com.opensymphony.xwork.config.ConfigurationException: Error loading configuratio n file xwork.xml with nested exception java.lang.NullPointerException at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init (XmlConfigurationProvider.java:118) at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(Defaul tConfiguration.java:130) at com.opensymphony.xwork.config.impl.DefaultConfiguration.<init>(Defaul tConfiguration.java:48) at com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(C onfigurationManager.java:53) . . .
My xwork.xml is listed as follows:
<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" "http://localhost/fullcircle/xwork-1.0.dtd" > <xwork> <include file="xwork-default.xml"/> <package name="default" extends="xwork-default"> <action name="formTest" class="net.sf.fullcircle.businesstier.FormAction" method="processForm" > <result name="success" type="dispatcher"> <param name="location">WEB-INF/success.jsp</param> </result>
<interceptor-ref name="defaultStack"/> <interceptor-ref name="token-session"/> </action> </package> </xwork>
My xwork.xml and xwork-default.xml both exist in tomcat's WEB-INF/classes directory so I'm assuming they'd be located since they're in the classpath. I'm really starting to get frustrated by this because I know it has to be a simple configuration issue - otherwise, everyone else would be having this problem. Does anyone have any idea what I'm doing wrong?
Thanks in advance! Peter
_________________________________________________________________
Express yourself with MSN Messenger 6.0 -- download now! http://www.msnmessenger-download.com/tracking/reach_general
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork