Your trace below is snipped to the relevant pieces...

        The first line is your hint: WAS only knows about the 1.0
configuration in its registrations.  (BTW, for those interested but not
familiar with it, this is WAS 5.0.x--and the admin console is struts 1.0
based.)  I can tell from the trace below you're trying to install a 1.1
based app.

        The next message is the server trying to locate the DTD for the
struts-config.xml file.  It first tries the doctype registrations, which per
the above version 1.1 is not registered.  So it says "OK, I'll use the
system tag" i.e. the full URL provided in the DOCTYPE directive.  If it
can't reach the URL (i.e because you're behind a firewall), parsing will
fail--causing the Action servlet init to fail.

        If you keep a copy of the right DTD version in your web app, you can
change the system path to
http://localhost/<app_context_root>/struts-config_1_1.dtd and it will start,
because the file serving enabler starts before the servlet.  If you have
problems, you can change the web.xml to not load the Action servlet on
startup.

David Hibbs
Staff Programmer / Analyst
American National Insurance Company

> -----Original Message-----
> From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 01, 2003 4:55 AM
> To: Struts Users Mailing List
> Subject: Websphere & Struts -war Deployment problem...

> [10/1/03 15:20:07:406 IST] 51ddb8cf SystemOut     O 
> register('-//Apache
> Software Foundation//DTD Struts Configuration 1.0//EN',
> 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/s
> truts/resource
> s/struts-config_1_0.dtd'

> [10/1/03 15:20:07:406 IST] 51ddb8cf SystemOut     O 
> resolveEntity('-//Apache
> Software Foundation//DTD Struts Configuration 1.1//EN',
> 'http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd')
> [10/1/03 15:20:07:406 IST] 51ddb8cf SystemOut     O  Not 
> registered, use
> system identifier

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to