You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Darren Hill <dh...@724.com> on 2002/08/09 14:52:09 UTC

case-sensitive web-inf

Kinda off topic, but anyone figure out how to makes windoze stop making my
web-inf lower-case.  argh!

-----Original Message-----
From: Rajesh P [mailto:rajesh.p@mphasis.com]
Sent: August 9, 2002 8:50 AM
To: Struts Users Mailing List
Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2


Join the club with the dreaded websphere server.
Try placing the latest xerces and xalan jar files in the lib directory.
Rajesh

-----Original Message-----
From: Marco Pöhler [mailto:marco@poehlerpoehler.de]
Sent: Friday, August 09, 2002 6:15 PM
To: Struts Users Mailing List
Subject: Deploying Struts on WebSphere Application Server 4.0.2


Hi,

i have a problem deploying my struts application on WebSphere
Application
Server 4.0.2. I found similar problems in this list relating to Tomcat,
but
no relating to WebSphere.

I have a trace attached, any ideas welcome!

thanks in advance

Marco

---snipp---
**** Der Server wird gestartet ****
IBM WebSphere Application Server, Release 4.0.2
Advanced Single Server Edition for Multiplatforms
Copyright IBM Corp., 1997-2001

************ Start Display Current Environment ************
WebSphere AEs 4.0.2 a0150.05 running with process name localhost/Default
Server and process id 1584
Host Operating System is Windows 2000, version 5.0
Java version = J2RE 1.3.0 IBM build cn130-20010925was (JIT enabled:
jitc),
Java Compiler = jitc, Java VM name = Classic VM
server.root = C:/Programme/IBM/Application
...
[Servlet-Protokoll]: action: Loading application resources from resource
ApplicationResources
[09.08.02 14:29:40:502 GMT+02:00] 551319e2 WebGroup      I SRVE0091I:
[Servlet-Protokoll]: action: Initializing configuration from resource
path
/WEB-INF/struts-config.xml
[09.08.02 14:29:40:542 GMT+02:00] 551319e2 SystemOut     U
register('-//Apache Software Foundation//DTD Struts Configuration
1.0//EN',
'jar:file:/C:/Programme/IBM/Application
Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/o
rg/a
pache/struts/resources/struts-config_1_0.dtd'
[09.08.02 14:29:40:542 GMT+02:00] 551319e2 SystemOut     U
register('-//Sun
Microsystems, Inc.//DTD Web Application 2.2//EN',
'jar:file:/C:/Programme/IBM/Application
Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/o
rg/a
pache/struts/resources/web-app_2_2.dtd'
[09.08.02 14:29:40:562 GMT+02:00] 551319e2 SystemOut     U
register('-//Sun
Microsystems, Inc.//DTD Web Application 2.3//EN',
'jar:file:/C:/Programme/IBM/Application
Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/o
rg/a
pache/struts/resources/web-app_2_3.dtd'
[09.08.02 14:29:40:592 GMT+02:00] 551319e2 SystemOut     U
Digester.getParser:
[09.08.02 14:29:40:592 GMT+02:00] 551319e2 SystemOut     U
java.lang.ClassCastException:
org.apache.xerces.jaxp.SAXParserFactoryImpl

^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - that is where it crashs....

[09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
[09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
org.apache.struts.digester.Digester.getParser(Digester.java:275)
[09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
org.apache.struts.digester.Digester.parse(Digester.java:755)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:13
32)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
r.ja
va:802)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
leSe
rvlet.java:141)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
cycl
eServlet.java:254)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
eSer
vlet.java:107)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:3
88)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
[09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.j
ava:
84)
[09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppSer
vlet
Manager.java:226)
[09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(
WebA
ppServletManager.java:357)
[09.08.02 14:29:40:792 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1010
)
[09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:133)
[09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:234)
[09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:139)
[09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.jav
a:65
2)
[09.08.02 14:29:40:832 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36)
[09.08.02 14:29:40:832 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.Server.startModule(Server.java:617)
[09.08.02 14:29:40:842 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:
333)
[09.08.02 14:29:40:842 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java
:349
)
[09.08.02 14:29:40:852 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
[09.08.02 14:29:40:852 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
[09.08.02 14:29:40:862 GMT+02:00] 551319e2 SystemOut     U 	at
java.lang.reflect.Method.invoke(Native Method)
[09.08.02 14:29:40:872 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
[09.08.02 14:29:40:872 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.etools.websphere.tools.runner.api.ServerRunner$1.run(ServerRunne
r.ja
va)
...
---snapp---


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: case-sensitive web-inf

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Fri, 9 Aug 2002, Darren Hill wrote:

> Date: Fri, 9 Aug 2002 08:52:09 -0400
> From: Darren Hill <dh...@724.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: 'Struts Users Mailing List' <st...@jakarta.apache.org>
> Subject: case-sensitive web-inf
>
> Kinda off topic, but anyone figure out how to makes windoze stop making my
> web-inf lower-case.  argh!
>

Umm, maybe if you stopped using Windoze?   :-)

More seriously, I use Ant to build all my apps (including Struts itself),
including creating the directories with correct case settings).  However,
if you're creating them for the very first time, there's always good old
cmd.exe (from the Start->Run menu).

Craig


> -----Original Message-----
> From: Rajesh P [mailto:rajesh.p@mphasis.com]
> Sent: August 9, 2002 8:50 AM
> To: Struts Users Mailing List
> Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2
>
>
> Join the club with the dreaded websphere server.
> Try placing the latest xerces and xalan jar files in the lib directory.
> Rajesh
>
> -----Original Message-----
> From: Marco Pöhler [mailto:marco@poehlerpoehler.de]
> Sent: Friday, August 09, 2002 6:15 PM
> To: Struts Users Mailing List
> Subject: Deploying Struts on WebSphere Application Server 4.0.2
>
>
> Hi,
>
> i have a problem deploying my struts application on WebSphere
> Application
> Server 4.0.2. I found similar problems in this list relating to Tomcat,
> but
> no relating to WebSphere.
>
> I have a trace attached, any ideas welcome!
>
> thanks in advance
>
> Marco
>
> ---snipp---
> **** Der Server wird gestartet ****
> IBM WebSphere Application Server, Release 4.0.2
> Advanced Single Server Edition for Multiplatforms
> Copyright IBM Corp., 1997-2001
>
> ************ Start Display Current Environment ************
> WebSphere AEs 4.0.2 a0150.05 running with process name localhost/Default
> Server and process id 1584
> Host Operating System is Windows 2000, version 5.0
> Java version = J2RE 1.3.0 IBM build cn130-20010925was (JIT enabled:
> jitc),
> Java Compiler = jitc, Java VM name = Classic VM
> server.root = C:/Programme/IBM/Application
> ...
> [Servlet-Protokoll]: action: Loading application resources from resource
> ApplicationResources
> [09.08.02 14:29:40:502 GMT+02:00] 551319e2 WebGroup      I SRVE0091I:
> [Servlet-Protokoll]: action: Initializing configuration from resource
> path
> /WEB-INF/struts-config.xml
> [09.08.02 14:29:40:542 GMT+02:00] 551319e2 SystemOut     U
> register('-//Apache Software Foundation//DTD Struts Configuration
> 1.0//EN',
> 'jar:file:/C:/Programme/IBM/Application
> Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/o
> rg/a
> pache/struts/resources/struts-config_1_0.dtd'
> [09.08.02 14:29:40:542 GMT+02:00] 551319e2 SystemOut     U
> register('-//Sun
> Microsystems, Inc.//DTD Web Application 2.2//EN',
> 'jar:file:/C:/Programme/IBM/Application
> Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/o
> rg/a
> pache/struts/resources/web-app_2_2.dtd'
> [09.08.02 14:29:40:562 GMT+02:00] 551319e2 SystemOut     U
> register('-//Sun
> Microsystems, Inc.//DTD Web Application 2.3//EN',
> 'jar:file:/C:/Programme/IBM/Application
> Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/o
> rg/a
> pache/struts/resources/web-app_2_3.dtd'
> [09.08.02 14:29:40:592 GMT+02:00] 551319e2 SystemOut     U
> Digester.getParser:
> [09.08.02 14:29:40:592 GMT+02:00] 551319e2 SystemOut     U
> java.lang.ClassCastException:
> org.apache.xerces.jaxp.SAXParserFactoryImpl
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - that is where it crashs....
>
> [09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
> javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
> [09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
> org.apache.struts.digester.Digester.getParser(Digester.java:275)
> [09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
> org.apache.struts.digester.Digester.parse(Digester.java:755)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:13
> 32)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> javax.servlet.GenericServlet.init(GenericServlet.java:258)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
> r.ja
> va:802)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
> leSe
> rvlet.java:141)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
> cycl
> eServlet.java:254)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
> eSer
> vlet.java:107)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:3
> 88)
> [09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
> javax.servlet.GenericServlet.init(GenericServlet.java:258)
> [09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.j
> ava:
> 84)
> [09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppSer
> vlet
> Manager.java:226)
> [09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(
> WebA
> ppServletManager.java:357)
> [09.08.02 14:29:40:792 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1010
> )
> [09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:133)
> [09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:234)
> [09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:139)
> [09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.jav
> a:65
> 2)
> [09.08.02 14:29:40:832 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36)
> [09.08.02 14:29:40:832 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.ws.runtime.Server.startModule(Server.java:617)
> [09.08.02 14:29:40:842 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:
> 333)
> [09.08.02 14:29:40:842 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java
> :349
> )
> [09.08.02 14:29:40:852 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
> [09.08.02 14:29:40:852 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
> [09.08.02 14:29:40:862 GMT+02:00] 551319e2 SystemOut     U 	at
> java.lang.reflect.Method.invoke(Native Method)
> [09.08.02 14:29:40:872 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
> [09.08.02 14:29:40:872 GMT+02:00] 551319e2 SystemOut     U 	at
> com.ibm.etools.websphere.tools.runner.api.ServerRunner$1.run(ServerRunne
> r.ja
> va)
> ...
> ---snapp---
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>