That's a normal message in startup. However, the directory looks a bit
suspect - there should be a WEB-INF/lib somewhere in there. eg here is mine:
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN',
'jar:file:/home/bporter/cvs/shopping/product-db/tomcat/webapps/shopping/WEB-
INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'

for me, CATALINA_BASE = /home/bporter/cvs/shopping/product-db/tomcat

-----Original Message-----
From: Lily Zou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 22 November 2001 9:24 AM
To: Struts Users Mailing List
Subject: RE: All the jar files cann't be read


  Thank you very much, Brett. The jar file did corrupted even though I just
copied from somewhere else. This time I got:  


   register('-//Apache Software Foundation//DTD Struts Configuration
1.0//EN',         
 
'jar:file:/C:/opt/redknee/product/s2100/1_0_1/lib/struts.jar!/org/apache/str
uts/resources/struts-config_1_0.dtd'

    New org.apache.struts.action.ActionMapping


   May I ask why I got this ?

   
Lily


-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 5:09 PM
To: 'Struts Users Mailing List'
Subject: RE: All the jar files cann't be read


My guess is that it got corrupted in the download, or perhaps because you
have two paths in the webapp name (s2100\si) - I've never seen that before,
not sure if it should work.

Can you unjar the struts.jar file manually into a temp dir to check it is
not corrupt?

- Brett

-----Original Message-----
From: Lily Zou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 22 November 2001 9:06 AM
To: 'Struts Users Mailing List'
Subject: All the jar files cann't be read


        I put struts.jar and commons-*.jar file under WEB-INF\lib folder.
However every time I started tomcat, I got following error msg ( every time
it complains different jar file name ) and the page is just blank.   Could
anybody tell me what is the most likely reseason for this ? I am the first
person in my company to try struts so I have no help around. Looking forward
to any advice.  

        cannot load servlet name: jsp:
C:\opt\redknee\product\s2100\1_0_1\webapps\s2100\si\WEB-INF\lib\struts.jar
is not a directory or zip/jar file or if it's a zip/ja
r file then it is corrupted.

        register('-//Apache Software Foundation//DTD Struts Configuration
1.0//EN',
'jar:file:/C:/opt/redknee/product/s2100/1_0_1/lib/struts.jar!/org/apache/str
uts/resources/struts-config_1_0.dtd'

        resolveEntity('-//Apache Software Foundation//DTD Struts
Configuration 1.0//EN',
'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
 Resolving to alternate DTD
'jar:file:/C:/opt/redknee/product/s2100/1_0_1/lib/struts.jar!/org/apache/str
uts/resources/struts-config_1_0.dtd'

         New org.apache.struts.action.ActionMapping

         Set org.apache.struts.action.ActionMapping properties

        Call
org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin/
addFormBean, type=org.apache.struts.actions.AddFormBeanAction])

        Pop org.apache.struts.action.ActionMapping


       
    Lily 




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

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

Reply via email to