Thanks for the feedback. Wow. i would NEVER have expected so much problems from sub-releases of the libs. I'm trying it in Tomcat 5.5. the lib versioning problems there are a big mess too.
I first tried my files from the RAD7/WebSphere and had the same failures. Then I unjarred struts-2.0.11-all.jar and copied the libs to Tomcat5.5/shared/lib. Then i copied the .war examples to Tomcat5.5/webapps. They loaded and worked. Hooray! The other example still did not. But wait.... When I restart Tomcat5.5. it fails. What gives? The libs I had on WebSphere work but the ones from struts-2.0.11-all.jar do not! Oct 17, 2008 11:06:08 AM com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register INFO: Parsing configuration file [struts-default.xml] Oct 17, 2008 11:06:08 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Oct 17, 2008 11:06:08 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/hellostruts] startup failed due to previous errors Here's what i have from WebSphere/before and what works: C:\svnviews\cb35\CORP_BANK_SRC\build>dir /b C:\Tomcat5.5\webapps\hellostruts\WEB -INF\lib freemarker-2.3.8.jar ognl-2.6.11.jar struts-core-1.3.5.jar struts2-codebehind-plugin-2.0.11.jar struts2-config-browser-plugin-2.0.11.jar struts2-core-2.0.11.jar xwork-2.0.4.jar The all match what is in the struts-2.0.11-all.jar. struts-2.0.11-all.jar also has some additional .jar files and looks like these break loading the webapp .war files onto tomcat5.5. So, I do have a working configuration for tomcat5.5. Now for WebSphere/Rad7. WebSphere does not give an error message but does load the .jsp but just not the .action. This must be a websphere configuration issue or an issue with conflicting .jars. i'll continue to investigate. Thanks for your help, TimJowers On Fri, Oct 17, 2008 at 6:09 AM, Struts Two <[EMAIL PROTECTED]> wrote: > Struts 2.0.11.2 has a known issue for running on websphere. Downgrade to > struts 2.0.11.1 [That is the one I am currently using with RAD 7.5 and > Websphere 6.1.0.19 and it works perfect] or upgrade to build 2.0.12 which > is supposed to have fixed the issue [I have not tried it yet] > > > > ----- Original Message ---- > From: Tim Jowers <[EMAIL PROTECTED]> > To: user@struts.apache.org > Sent: Thursday, October 16, 2008 6:52:23 PM > Subject: 404 error in struts 2 blank helloworld example in RAD7 > > Hi, > > Has anyone run the struts2-blank-2.0.11.2.war in RAD7/WebSphere? I get 404 > on calling an action. > First, https://localhost:9444/testo/example/HelloWorld.jsp works. > Then the action 404's: > https://localhost:9444/testo/example/HelloWorld.action?request_locale=en > I validated the HelloWorld.class can be loaded with a JSP scriptlet. > Here is the struts.xml: > <?xml version="1.0" encoding="UTF-8" ?> > <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts > Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> > > <struts> > <constant name="struts.enable.DynamicMethodInvocation" value="true" /> > <constant name="struts.devMode" value="true" /> > > <package name="example" namespace="/example" extends="struts-default"> > > <action name="HelloWorld" class="example.HelloWorld"> > <result>/example/HelloWorld.jsp</result> > </action> > > <action name="*" class="example.ExampleSupport"> > <result>/example/{1}.jsp</result> > </action> > > </package> > > </struts> > > I know it is being loaded as the jsp is being loaded and if I put in a > bogus > class name like example.HelloWorld2 then it emits an error message. > > This is supposed to be simple but I do not see any other logged messages or > anything telling me why it is 404. Maybe this has something to do with > WebSphere taking over "*.action" mappings or something.??? > > Thanks for any insights, > Tim Jowers > > P.S> I note the example.ExampleSupport class is never classloaded. Not sure > why it was in the example as it seems to be ignored always. > > Here's the server log: > [10/16/08 18:45:53:283 EDT] 0000000a WsServerImpl A WSVR0001I: Server > server1 open for e-business > [10/16/08 18:47:17:376 EDT] 00000021 ServletWrappe I SRVE0242I: [samj2ee] > [/testo] [/example/HelloWorld.jsp]: Initialization successful. > [10/16/08 18:47:17:688 EDT] 00000021 XmlConfigurat I > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register > Parsing configuration file [struts-default.xml] > [10/16/08 18:47:17:798 EDT] 00000021 XmlConfigurat I > com..opensymphony.xwork2.config.providers.XmlConfigurationProvider register > Parsing configuration file [struts-plugin.xml] > [10/16/08 18:47:17:813 EDT] 00000021 XmlConfigurat I > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register > Parsing configuration file [struts.xml] > [10/16/08 18:47:17:845 EDT] 00000021 Settings W > org.apache.struts2.config.Settings getLocale Settings: Could not parse > struts.locale setting, substituting default VM locale > [10/16/08 18:47:17:860 EDT] 00000021 DefaultConfig I > > com.opensymphony.xwork2.config.impl.DefaultConfiguration$ContainerProperties > setProperty Overriding property struts.i18n.reload - old value: false new > value: true > [10/16/08 18:47:17:860 EDT] 00000021 DefaultConfig I > > com.opensymphony.xwork2.config.impl.DefaultConfiguration$ContainerProperties > setProperty Overriding property struts.configuration.xml.reload - old > value: > false new value: true > [10/16/08 18:47:18:313 EDT] 00000021 ObjectTypeDet I > com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit> Setting > DefaultObjectTypeDeterminer as default ... > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >