• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception processing JAR at resource path /WEB-INF/lib/xmlParserAPIs  RSS feed

 
SambaSiva Goud
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,

i am getting javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/xmlParserAPIs.jar error when i am accessing an application through tomcat server. how can overcome with this problem .please give me reply as soon as possible.


the error is

2009-03-11 12:42:52 WebappLoader[/rems]: Deploy JAR /WEB-INF/lib/xmlParserAPIs.jar to C:\apps\horizon\tomcat-rems\webapps\rems\WEB-INF\lib\xmlParserAPIs.jar
2009-03-11 12:42:52 ContextConfig[/rems] Exception processing JAR at resource path /WEB-INF/lib/xmlParserAPIs.jar
javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/xmlParserAPIs.jar
at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
----- Root Cause -----
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1314)
at java.io.File.createTempFile(File.java:1402)
at java.io.File.createTempFile(File.java:1439)
at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:69)
at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

2009-03-11 12:42:52 ContextConfig[/rems]: Marking this application unavailable due to previous error(s)
2009-03-11 12:42:52 StandardManager[/rems]: Seeding random number generator class java.security.SecureRandom
2009-03-11 12:42:52 StandardManager[/rems]: Seeding of random number generator has been completed
2009-03-11 12:42:52 StandardContext[/rems]: Context startup failed due to previous errors
2009-03-11 12:42:53 HostConfig[localhost]: Deploying web application directory ROOT
2009-03-11 12:42:53 StandardHost[localhost]: Installing web application at context path from URL file:C:\apps\horizon\tomcat-rems\webapps\ROOT
2009-03-11 12:42:53 WebappLoader[]: Deploying class repositories to work directory C:\apps\horizon\tomcat-rems\work\Standalone\localhost\_
2009-03-11 12:42:53 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2009-03-11 12:42:53 StandardManager[]: Seeding of random number generator has been completed
2009-03-11 12:42:53 StandardWrapper[:default]: Loading container servlet default
2009-03-11 12:42:53 StandardWrapper[:invoker]: Loading container servlet invoker
2009-03-11 12:42:53 HostConfig[localhost]: Deploying web application directory samba
2009-03-11 12:42:53 StandardHost[localhost]: Installing web application at context path /samba from URL file:C:\apps\horizon\tomcat-rems\webapps\samba
2009-03-11 12:42:53 WebappLoader[/samba]: Deploying class repositories to work directory C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba
2009-03-11 12:42:53 ContextConfig[/samba]: Missing application web.xml, using defaults only
2009-03-11 12:42:53 StandardManager[/samba]: Seeding random number generator class java.security.SecureRandom
2009-03-11 12:42:53 StandardManager[/samba]: Seeding of random number generator has been completed
2009-03-11 12:42:53 StandardWrapper[/samba:default]: Loading container servlet default
2009-03-11 12:42:53 StandardWrapper[/samba:invoker]: Loading container servlet invoker
2009-03-11 12:42:53 HostConfig[localhost]: Deploying web application directory webdav
2009-03-11 12:42:53 StandardHost[localhost]: Installing web application at context path /webdav from URL file:C:\apps\horizon\tomcat-rems\webapps\webdav
2009-03-11 12:42:53 WebappLoader[/webdav]: Deploying class repositories to work directory C:\apps\horizon\tomcat-rems\work\Standalone\localhost\webdav
2009-03-11 12:42:53 StandardManager[/webdav]: Seeding random number generator class java.security.SecureRandom
2009-03-11 12:42:53 StandardManager[/webdav]: Seeding of random number generator has been completed
2009-03-11 12:42:53 StandardWrapper[/webdav:default]: Loading container servlet default
2009-03-11 12:42:53 StandardWrapper[/webdav:invoker]: Loading container servlet invoker
2009-03-11 13:00:55 Internal Error: File /WEB-INF/web.xml not found
2009-03-11 13:00:55 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /jsp/rems_home_page.jsp(0,0) File "/WEB-INF/struts-bean.tld" not found
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:307)
at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:340)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:378)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:795)
at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)

2009-03-11 13:01:37 Could not load TagExtraInfo class org.apache.struts.taglib.html.MessagesTei: org.apache.struts.taglib.html.MessagesTei
2009-03-11 13:01:37 Could not load TagExtraInfo class org.apache.struts.taglib.html.MessagesTei: org.apache.struts.taglib.html.MessagesTei
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.struts.taglib.nested.logic.NestedIterateTei: org.apache.struts.taglib.nested.logic.NestedIterateTei
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.struts.taglib.tiles.UseAttributeTei: org.apache.struts.taglib.tiles.UseAttributeTei
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.taglibs.request.RequestTEI: org.apache.taglibs.request.RequestTEI
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.taglibs.request.AttributesTEI: org.apache.taglibs.request.AttributesTEI
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.taglibs.request.CookiesTEI: org.apache.taglibs.request.CookiesTEI
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.taglibs.request.HeadersTEI: org.apache.taglibs.request.HeadersTEI
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.taglibs.request.HeaderValuesTEI: org.apache.taglibs.request.HeaderValuesTEI
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.taglibs.request.ParametersTEI: org.apache.taglibs.request.ParametersTEI
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.taglibs.request.ParameterValuesTEI: org.apache.taglibs.request.ParameterValuesTEI
2009-03-11 13:01:38 Could not load TagExtraInfo class org.apache.taglibs.request.QueryStringsTEI: org.apache.taglibs.request.QueryStringsTEI
2009-03-11 13:01:44 Error compiling file: C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\/rems_home_page_jsp.java [javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:8: package rems.util does not exist
[javac] import rems.util.*;
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:9: package rems.ui.forms does not exist
[javac] import rems.ui.forms.*;
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:10: package rems.ui.data does not exist
[javac] import rems.ui.data.*;
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:11: package rems.ui.actions does not exist
[javac] import rems.ui.actions.*;
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:13: package rems.security does not exist
[javac] import rems.security.*;
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:14: package rems.util does not exist
[javac] import rems.util.*;
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:90: cannot resolve symbol
[javac] symbol : variable Constants
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] if (session.getAttribute(Constants.USER_ID) != null ) {
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:91: cannot resolve symbol
[javac] symbol : variable Constants
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] Integer.parseInt((String)session.getAttribute(Constants.USER_ID));
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:136: cannot resolve symbol
[javac] symbol : variable UserSessionInfo
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] if ( UserSessionInfo.isUserLogon(iu,iua, ""+System.currentTimeMillis() ) )
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:139: cannot resolve symbol
[javac] symbol : variable Constants
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] request.getSession(true).setAttribute(Constants.USER_ID,iu);
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:140: cannot resolve symbol
[javac] symbol : class UserSessionInfo
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] UserSessionInfo userObj = new UserSessionInfo(iu);
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:140: cannot resolve symbol
[javac] symbol : class UserSessionInfo
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] UserSessionInfo userObj = new UserSessionInfo(iu);
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:141: cannot resolve symbol
[javac] symbol : variable Constants
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] request.getSession().setAttribute(Constants.USER_SESSION_OBJ, userObj);
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:146: cannot resolve symbol
[javac] symbol : variable Constants
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] out.print(Constants.JSP_PATH);
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:159: cannot resolve symbol
[javac] symbol : variable Constants
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] request.getSession(true).removeAttribute(Constants.USER_ID);
[javac] ^
[javac] C:\apps\horizon\tomcat-rems\work\Standalone\localhost\samba\jsp\rems_home_page_jsp.java:160: cannot resolve symbol
[javac] symbol : variable Constants
[javac] location: class org.apache.jsp.rems_home_page_jsp
[javac] request.getSession().removeAttribute(Constants.USER_SESSION_OBJ);
[javac] ^
[javac] 16 errors
 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think jar has got corrupted.Replace the jar with new one
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!