struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter.Kel...@meteoswiss.ch
Subject RE: Error while initializing struts servlet
Date Tue, 06 May 2003 06:35:39 GMT
I had similar problems loading the Tiles factory with Struts v1.1-b3 and v1.1rc1 on Tomcat
4.1.24. using Java JDK 1.4.0_01-b03. The problem did not occur with Struts v1.1-b2 (see my
post from last month; unfortunatelly, nobody answered my question...). Did you try another
Struts version yet?

Tomcat outputs 
Apr 10, 2003 8:48:58 AM org.apache.struts.tiles.TilesPlugin init
  SEVERE: Can't create Tiles definition factory for module ''.
and after browsing the application, it shows
 javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. JAR
entry org/apache/struts/resources/tiles-config_1_1.dtd not found in /home/zue/users/kep/tools1/jakarta-tomcat-4.1.24/webapps/obs/WEB-INF/lib/struts.jar
	at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:233)





-----Original Message-----
From: Joshua McCulloch [mailto:cocoonjosh@yahoo.com] 
Sent: Montag, 5. Mai 2003 18:52
To: struts-user@jakarta.apache.org
Subject: Error while initializing struts servlet


Hello,

I've done some searching on the lists and have found
similar problems. When starting up a web application
using Struts, I'm getting the following (intermittent)
error:

[ERROR] ActionServlet - -null
<java.io.FileNotFoundException: /amansi/opt/orion_ 1.5.4/classloader:/org/apache/struts/resources/web-app_2_2.dtd
(No such file or
directory)>
java.io.FileNotFoundException: /amansi/opt/orion_1.5.4/classloader:/org/apache/s
truts/resources/struts-config_1_1.dtd (No such file or
directory)
        at
org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)
        at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.jav
a:2723)
        at
org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1154)
        at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:488)
        at
org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1543)
        at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:944)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
        at
javax.servlet.GenericServlet.init(GenericServlet.java:44)
        at com.evermind._cp._vnc(.:1630)
        at com.evermind._cp._wxc(.:3891)
        at com.evermind._cp._wkb(.:2068)
        at com.evermind._co._wbb(.:449)
        at com.evermind._co._fs(.:189)
        at com.evermind._bt.run(.:62)
[ERROR] Digester - -Parse Fatal Error at line 5 column
-1: External entity not f
ound: "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd".
<java.io.Fi
leNotFoundException: /amansi/opt/orion_1.5.4/classloader:/org/apache/struts/reso
urces/struts-config_1_1.dtd (No such file or
directory)>
java.io.FileNotFoundException: /amansi/opt/orion_1.5.4/classloader:/org/apache/s
truts/resources/struts-config_1_1.dtd (No such file or
directory)
        at
org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)
        at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.jav
a:2723)
        at
org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1154)

Our application is using RedHat Linux, Orion
Application Server 1.5.4, and Struts 1.1rc1.

Any suggestions?

Thanks,
Josh


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message