|
Couple more thoughts... - corrupt struts.jar and/or tld file(s). - permissions to the the jar or tld. - the tld files are not in the the application classpath On a slightly different note... Eclipse is a dev tool not a deployment tool. If you build a war file in ant (http://ant.apache.org) and deploy it to Tomcat that should take care of the problem assuming that the war file includes everything needed to run the web application. Tim Gosnell -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]On Behalf Of Ivan Hurtado Sent: Wednesday, June 30, 2004 2:19 PM To: Java Programming on and around the iSeries / AS400 Subject: RE: Tomcat 5.0.25 Exception - zip file closed I am developing my app using Eclipse IDE on my Windows XP machine and I deploy it to the Tomcat server on the iSeries. When I started my project in Eclipse, I added Struts capabilities, and all of those files are deployed with the app to the server. This works with the 4.1.29 Tomcat server. But to answer your question, I have not done anything to manually install Struts in the new Tomcat 5.0.25 server, assuming that the Eclipse deployment would handle all of that. The files do seem to be there. Thanks, Ivan --- Tim Gosnell <tgosnell@xxxxxxxxxxxx> wrote: > > Have you installed Struts and the Struts taglibs for > the application on the > new Tomcat Server? > > Tim Gosnell > Computer Research > > -----Original Message----- > From: java400-l-bounces@xxxxxxxxxxxx > [mailto:java400-l-bounces@xxxxxxxxxxxx]On Behalf Of > Ivan Hurtado > Sent: Wednesday, June 30, 2004 1:38 PM > To: JAVA400-L@xxxxxxxxxxxx > Subject: Tomcat 5.0.25 Exception - zip file closed > > > Hi folks, > > I have a working app that I'm developing, which runs > fine with Tomcat 4.1.29 on my iSeries. I downloaded > and installed Tomcat 5.0.25, and the same app > generates the following error when I try to hit my > logon page... any ideas suggestions? > > org.apache.jasper.JasperException: Unable to read > TLD > "META-INF/tlds/struts-bean.tld" from JAR file > "file:/home/jakarta-tomcat-5.0.25/webapps/USA/WEB-INF/lib/struts.jar": > java.lang.IllegalStateException: zip file closed > > java/lang/Throwable.<init>(Ljava/lang/String;)V+4 > (Throwable.java:90) > > java/lang/Exception.<init>(Ljava/lang/String;)V+1 > (Exception.java:38) > > javax/servlet/ServletException.<init>(Ljava/lang/String;Ljava/lang/Throwable > ;)V+0 > (ServletException.java:87) > > org/apache/jasper/JasperException.<init>(Ljava/lang/String;Ljava/lang/Throwa > ble;)V+0 > (JasperException.java:36) > > org/apache/jasper/compiler/DefaultErrorHandler.jspError(Ljava/lang/String;Lj > ava/lang/Exception;)V+0 > (DefaultErrorHandler.java:50) > > org/apache/jasper/compiler/ErrorDispatcher.dispatch(Lorg/apache/jasper/compi > ler/Mark;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Exception;)V+0 > (ErrorDispatcher.java:336) > > org/apache/jasper/compiler/ErrorDispatcher.jspError(Ljava/lang/String;Ljava/ > lang/String;Ljava/lang/String;Ljava/lang/String;)V+0 > (ErrorDispatcher.java:183) > > org/apache/jasper/compiler/TagLibraryInfoImpl.<init>(Lorg/apache/jasper/JspC > ompilationContext;Lorg/apache/jasper/compiler/ParserController;Ljava/lang/St > ring;Ljava/lang/String;[Ljava/lang/String;Lorg/apache/jasper/compiler/ErrorD > ispatcher;)V+0 > (TagLibraryInfoImpl.java:136) > > org/apache/jasper/compiler/Parser.parseTaglibDirective(Lorg/apache/jasper/co > mpiler/Node;)V+0 > (Parser.java:401) > > org/apache/jasper/compiler/Parser.parseDirective(Lorg/apache/jasper/compiler > /Node;)V+0 > (Parser.java:463) > > org/apache/jasper/compiler/Parser.parseElements(Lorg/apache/jasper/compiler/ > Node;)V+0 > (Parser.java:1527) > > org/apache/jasper/compiler/Parser.parse(Lorg/apache/jasper/compiler/ParserCo > ntroller;Lorg/apache/jasper/compiler/JspReader;Lorg/apache/jasper/compiler/N > ode;ZZLjava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/jasper > /compiler/Node$Nodes;+0 > (Parser.java:107) > > org/apache/jasper/compiler/ParserController.doParse(Ljava/lang/String;Lorg/a > pache/jasper/compiler/Node;Ljava/net/URL;)Lorg/apache/jasper/compiler/Node$N > odes;+0 > (ParserController.java:160) > > org/apache/jasper/compiler/ParserController.parse(Ljava/lang/String;)Lorg/ap > ache/jasper/compiler/Node$Nodes;+0 > (ParserController.java:99) > > org/apache/jasper/compiler/Compiler.generateJava()[Ljava/lang/String;+0 > (Compiler.java:151) > > org/apache/jasper/compiler/Compiler.compile(ZZ)V+0 > (Compiler.java:456) > > org/apache/jasper/compiler/Compiler.compile(Z)V+0 > (Compiler.java:442) > > org/apache/jasper/compiler/Compiler.compile()V+0 > (Compiler.java:430) > > org/apache/jasper/JspCompilationContext.compile()V+0 > (JspCompilationContext.java:508) > > org/apache/jasper/servlet/JspServletWrapper.service(Ljavax/servlet/http/Http > ServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+0 > (JspServletWrapper.java:258) > > org/apache/jasper/servlet/JspServlet.serviceJspFile(Ljavax/servlet/http/Http > ServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Lja > va/lang/Throwable;Z)V+0 > (JspServlet.java:265) > > org/apache/jasper/servlet/JspServlet.service(Ljavax/servlet/http/HttpServlet > Request;Ljavax/servlet/http/HttpServletResponse;)V+0 > (JspServlet.java:178) > > javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/ > servlet/ServletResponse;)V+0 > (HttpServlet.java:805) > > org/apache/catalina/core/ApplicationFilterChain.internalDoFilter(Ljavax/serv > let/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 > (ApplicationFilterChain.java:166) > > org/apache/catalina/core/ApplicationFilterChain.doFilter(Ljavax/servlet/Serv > letRequest;Ljavax/servlet/ServletResponse;)V+0 > (ApplicationFilterChain.java:132) > > org/apache/catalina/core/StandardWrapperValve.invoke(Lorg/apache/catalina/Re > quest;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0 > (StandardWrapperValve.java:100) > > org/apache/catalina/core/StandardValveContext.invokeNext(Lorg/apache/catalin > a/Request;Lorg/apache/catalina/Response;)V+0 > (StandardValveContext.java:97) > > org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Reques > t;Lorg/apache/catalina/Response;)V+0 > (StandardPipeline.java:512) > > org/apache/catalina/core/StandardContextValve.invokeInternal(Lorg/apache/cat > alina/Wrapper;Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+ > 0 > (StandardContextValve.java:168) > > org/apache/catalina/core/StandardContextValve.invoke(Lorg/apache/catalina/Re > quest;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0 > (StandardContextValve.java:112) > > org/apache/catalina/core/StandardValveContext.invokeNext(Lorg/apache/catalin > a/Request;Lorg/apache/catalina/Response;)V+0 > (StandardValveContext.java:97) > > org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Reques > t;Lorg/apache/catalina/Response;)V+0 > (StandardPipeline.java:512) > > org/apache/catalina/core/StandardHostValve.invoke(Lorg/apache/catalina/Reque > st;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0 > (StandardHostValve.java:117) > > org/apache/catalina/core/StandardValveContext.invokeNext(Lorg/apache/catalin > a/Request;Lorg/apache/catalina/Response;)V+0 > (StandardValveContext.java:97) > > org/apache/catalina/valves/ErrorReportValve.invoke(Lorg/apache/catalina/Requ > est;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0 > (ErrorReportValve.java:117) > > org/apache/catalina/core/StandardValveContext.invokeNext(Lorg/apache/catalin > a/Request;Lorg/apache/catalina/Response;)V+0 > (StandardValveContext.java:97) > > org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Reques > t;Lorg/apache/catalina/Response;)V+0 > (StandardPipeline.java:512) > > org/apache/catalina/core/StandardEngineValve.invoke(Lorg/apache/catalina/Req > uest;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0 > (StandardEngineValve.java:99) > > org/apache/catalina/core/StandardValveContext.invokeNext(Lorg/apache/catalin > a/Request;Lorg/apache/catalina/Response;)V+0 > (StandardValveContext.java:97) > > org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Reques > t;Lorg/apache/catalina/Response;)V+0 > (StandardPipeline.java:512) > > org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;L > org/apache/catalina/Response;)V+0 > (ContainerBase.java:929) > > org/apache/coyote/tomcat5/CoyoteAdapter.service(Lorg/apache/coyote/Request;L > org/apache/coyote/Response;)V+0 > (CoyoteAdapter.java:125) > > org/apache/coyote/http11/Http11Processor.process(Ljava/io/InputStream;Ljava/ > io/OutputStream;)V+0 > === message truncated === __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.712 / Virus Database: 468 - Release Date: 6/27/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.712 / Virus Database: 468 - Release Date: 6/27/2004
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.