java.util.zip.ZipException: error in opening zip filein JBOSS Server -
when deploy *.war file in jboss 4.2 server says java.util.zip.zipexception: error in opening zip file working in tomcat server
error log
java.util.zip.zipexception: error in opening zip file @ java.util.zip.zipfile.open(native method) @ java.util.zip.zipfile.<init>(zipfile.java:127) @ java.util.jar.jarfile.<init>(jarfile.java:135) @ java.util.jar.jarfile.<init>(jarfile.java:72) @ org.jboss.deployment.subdeployersupport.processnesteddeployments(subdeployersupport.java:377) @ org.jboss.deployment.subdeployersupport.init(subdeployersupport.java:284) @ org.jboss.deployment.maindeployer.init(maindeployer.java:872) @ org.jboss.deployment.maindeployer.deploy(maindeployer.java:809) @ org.jboss.deployment.maindeployer.deploy(maindeployer.java:782) @ sun.reflect.generatedmethodaccessor25.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.jboss.mx.interceptor.reflecteddispatcher.invoke(reflecteddispatcher.java:155) @ org.jboss.mx.server.invocation.dispatch(invocation.java:94) @ org.jboss.mx.interceptor.abstractinterceptor.invoke(abstractinterceptor.java:133) @ org.jboss.mx.server.invocation.invoke(invocation.java:88) @ org.jboss.mx.interceptor.modelmbeanoperationinterceptor.invoke(modelmbeanoperationinterceptor.java:142) @ org.jboss.mx.server.invocation.invoke(invocation.java:88) @ org.jboss.mx.server.abstractmbeaninvoker.invoke(abstractmbeaninvoker.java:264) @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:659) @ org.jboss.mx.util.mbeanproxyext.invoke(mbeanproxyext.java:210) @ $proxy10.deploy(unknown source) @ org.jboss.deployment.scanner.urldeploymentscanner.deploy(urldeploymentscanner.java:421) @ org.jboss.deployment.scanner.urldeploymentscanner.scan(urldeploymentscanner.java:634) @ org.jboss.deployment.scanner.abstractdeploymentscanner$scannerthread.doscan(abstractdeploymentscanner.java:263) @ org.jboss.deployment.scanner.abstractdeploymentscanner.startservice(abstractdeploymentscanner.java:336) @ org.jboss.system.servicembeansupport.jbossinternalstart(servicembeansupport.java:289) @ org.jboss.system.servicembeansupport.jbossinternallifecycle(servicembeansupport.java:245) @ sun.reflect.generatedmethodaccessor6.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.jboss.mx.interceptor.reflecteddispatcher.invoke(reflecteddispatcher.java:155) @ org.jboss.mx.server.invocation.dispatch(invocation.java:94) @ org.jboss.mx.server.invocation.invoke(invocation.java:86) @ org.jboss.mx.server.abstractmbeaninvoker.invoke(abstractmbeaninvoker.java:264) @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:659) @ org.jboss.system.servicecontroller$serviceproxy.invoke(servicecontroller.java:978) @ $proxy0.start(unknown source) @ org.jboss.system.servicecontroller.start(servicecontroller.java:417) @ sun.reflect.generatedmethodaccessor11.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.jboss.mx.interceptor.reflecteddispatcher.invoke(reflecteddispatcher.java:155) @ org.jboss.mx.server.invocation.dispatch(invocation.java:94) @ org.jboss.mx.server.invocation.invoke(invocation.java:86) @ org.jboss.mx.server.abstractmbeaninvoker.invoke(abstractmbeaninvoker.java:264) @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:659) @ org.jboss.mx.util.mbeanproxyext.invoke(mbeanproxyext.java:210) @ $proxy4.start(unknown source) @ org.jboss.deployment.sardeployer.start(sardeployer.java:304) @ org.jboss.deployment.maindeployer.start(maindeployer.java:1025) @ org.jboss.deployment.maindeployer.deploy(maindeployer.java:819) @ org.jboss.deployment.maindeployer.deploy(maindeployer.java:782) @ org.jboss.deployment.maindeployer.deploy(maindeployer.java:766) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.jboss.mx.interceptor.reflecteddispatcher.invoke(reflecteddispatcher.java:155) @ org.jboss.mx.server.invocation.dispatch(invocation.java:94) @ org.jboss.mx.interceptor.abstractinterceptor.invoke(abstractinterceptor.java:133) @ org.jboss.mx.server.invocation.invoke(invocation.java:88) @ org.jboss.mx.interceptor.modelmbeanoperationinterceptor.invoke(modelmbeanoperationinterceptor.java:142) @ org.jboss.mx.server.invocation.invoke(invocation.java:88) @ org.jboss.mx.server.abstractmbeaninvoker.invoke(abstractmbeaninvoker.java:264) @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:659) @ org.jboss.mx.util.mbeanproxyext.invoke(mbeanproxyext.java:210) @ $proxy5.deploy(unknown source) @ org.jboss.system.server.serverimpl.dostart(serverimpl.java:482) @ org.jboss.system.server.serverimpl.start(serverimpl.java:362) @ org.jboss.main.boot(main.java:200) @ org.jboss.main$1.run(main.java:508) @ java.lang.thread.run(thread.java:662)
jars in web app
aopalliance-1.0.jar commons-beanutils-1.7.0.jar commons-codec-1.3.jar commons-collections-3.2.jar commons-dbcp-1.2.2.jar commons-digester-2.0.jar commons-fileupload-1.2.1.jar commons-httpclient-3.1.jar commons-io-1.4.jar commons-lang-2.4.jar commons-logging-1.1.2.jar commons-pool-1.4.jar commons-validator-1.3.1.jar geronimo-servlet_3.0_spec-1.0.jar jackson-core-asl-1.6.1.jar jackson-jaxrs-1.6.1.jar jackson-mapper-asl-1.6.1.jar jasypt-1.6.jar jdt-compiler-3.1.1.jar jgoodies-common.jar jgoodies-forms.jar json-lib-2.4-jdk15.jar jsp-api.jar jstl-1.2.jar jta-1.1.jar org.apache.commons.el_1.0.0.v200806031608.jar servlet-api.jar sojo-1.0.0.jar spring-aop-3.2.1.release.jar spring-aspects-3.2.1.release.jar spring-aspects.jar spring-beans-3.2.1.release.jar spring-build-src-3.2.1.release.jar spring-context-3.2.1.release.jar spring-context-support-3.2.1.release.jar spring-context.jar spring-core-3.2.1.release.jar spring-expression-3.2.1.release.jar spring-instrument-3.2.1.release.jar spring-json-1.3.1.jar spring-orm-3.2.1.release.jar spring-oxm-3.2.1.release.jar spring-tx-3.2.1.jar spring-tx-3.2.1.release.jar spring-web-3.2.1.release.jar
manifest.mf
manifest-version: 1.0 class-path:
web xml
<web-app xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="webapp_id" version="3.0"> <display-name>mrchartproject</display-name> <servlet> <servlet-name>dispatcher</servlet-name> <servlet-class>org.springframework.web.servlet.dispatcherservlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>dispatcher</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> </web-app>
i increased no of open files in jboss server , above error resolved.. ulimit -n 100000
Comments
Post a Comment