You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sean Owen (JIRA)" <ax...@ws.apache.org> on 2005/09/09 09:14:30 UTC
[jira] Created: (AXIS-2214) JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
------------------------------------------------------------------------------
Key: AXIS-2214
URL: http://issues.apache.org/jira/browse/AXIS-2214
Project: Apache Axis
Type: Bug
Components: Deployment / Registries
Versions: 1.2.1
Environment: Mac OS X 10.4.2
Apple JDK 1.5.0_02
Tomcat 5.5
Reporter: Sean Owen
I've deployed a simple service as a JWS file in a web application on Tomcat 5. When I access the web service's WSDL file, I get this error:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultSubcode:
faultString: Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
faultActor:
faultNode:
faultDetail:
{}Errors:Error compiling /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java:
Line 0, column 0:
error: error reading /System/Library/Java/Extensions/libJ3D.jnilib; java.util.zip.ZipException: error in opening zip file
1 error
It's trying to unzip files that aren't JARs in /System/Library/Java/Extensions. In fact I see that several of these .jnilib files have shown up very recently here, right after I installed the Quicktime 7 SDK update tonight:
$ ls -l /System/Library/Java/Extensions
total 21848
-rw-r--r-- 1 root wheel 129915 Mar 20 19:45 CoreAudio.jar
-rw-r--r-- 1 root wheel 28066 Mar 20 22:41 MRJToolkit.jar
-rw-r--r-- 1 root wheel 114875 Aug 23 22:37 QTJSupport.jar
-rw-r--r-- 1 root wheel 1179798 Aug 23 22:37 QTJava.zip
-rw-r--r-- 1 root wheel 15429 Mar 20 23:32 dns_sd.jar
-rw-r--r-- 1 root wheel 1245745 Mar 20 22:09 j3daudio.jar
-rw-r--r-- 1 root wheel 1340635 Mar 20 22:08 j3dcore.jar
-rw-r--r-- 1 root wheel 788867 Mar 20 22:09 j3dutils.jar
-rw-r--r-- 1 root wheel 328411 Mar 20 18:16 jai_codec.jar
-rw-r--r-- 1 root wheel 1907996 Mar 20 18:17 jai_core.jar
-rwxr-xr-x 1 root wheel 125396 Sep 9 00:06 libJ3D.jnilib
-rwxr-xr-x 1 root wheel 288620 Sep 9 00:06 libJ3DAudio.jnilib
-rwxr-xr-x 1 root wheel 8856 Sep 9 00:06 libJ3DUtils.jnilib
-rwxr-xr-x 1 root wheel 3451280 Sep 7 22:42 libmlib_jai.jnilib
-rw-r--r-- 1 root wheel 41239 Mar 20 18:22 mlibwrapper_jai.jar
-rw-r--r-- 1 root wheel 153831 Mar 20 22:08 vecmath.jar
I assume that the fix is just to ignore these files. Here's the stack trace, if it helps:
Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:232)
at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:294)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:454)
at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
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:585)
at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1217)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (AXIS-2214) JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2214?page=all ]
Tom Jordahl closed AXIS-2214:
-----------------------------
Resolution: Invalid
There isn't much that Axis can do. The compilation of JWS is done by the tools.jar javac compiler which comes with the JDK. See the org.apache.axis.components.compiler/*.java source code for details on how Axis finds a compiler to use.
Please reopen if you can show how an Axis code change can fix this.
> JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
> ------------------------------------------------------------------------------
>
> Key: AXIS-2214
> URL: http://issues.apache.org/jira/browse/AXIS-2214
> Project: Apache Axis
> Type: Bug
> Components: Deployment / Registries
> Versions: 1.2.1
> Environment: Mac OS X 10.4.2
> Apple JDK 1.5.0_02
> Tomcat 5.5
> Reporter: Sean Owen
>
> I've deployed a simple service as a JWS file in a web application on Tomcat 5. When I access the web service's WSDL file, I get this error:
> AXIS error
> Sorry, something seems to have gone wrong... here are the details:
> Fault - Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.compileError
> faultSubcode:
> faultString: Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> faultActor:
> faultNode:
> faultDetail:
> {}Errors:Error compiling /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java:
> Line 0, column 0:
> error: error reading /System/Library/Java/Extensions/libJ3D.jnilib; java.util.zip.ZipException: error in opening zip file
> 1 error
> It's trying to unzip files that aren't JARs in /System/Library/Java/Extensions. In fact I see that several of these .jnilib files have shown up very recently here, right after I installed the Quicktime 7 SDK update tonight:
> $ ls -l /System/Library/Java/Extensions
> total 21848
> -rw-r--r-- 1 root wheel 129915 Mar 20 19:45 CoreAudio.jar
> -rw-r--r-- 1 root wheel 28066 Mar 20 22:41 MRJToolkit.jar
> -rw-r--r-- 1 root wheel 114875 Aug 23 22:37 QTJSupport.jar
> -rw-r--r-- 1 root wheel 1179798 Aug 23 22:37 QTJava.zip
> -rw-r--r-- 1 root wheel 15429 Mar 20 23:32 dns_sd.jar
> -rw-r--r-- 1 root wheel 1245745 Mar 20 22:09 j3daudio.jar
> -rw-r--r-- 1 root wheel 1340635 Mar 20 22:08 j3dcore.jar
> -rw-r--r-- 1 root wheel 788867 Mar 20 22:09 j3dutils.jar
> -rw-r--r-- 1 root wheel 328411 Mar 20 18:16 jai_codec.jar
> -rw-r--r-- 1 root wheel 1907996 Mar 20 18:17 jai_core.jar
> -rwxr-xr-x 1 root wheel 125396 Sep 9 00:06 libJ3D.jnilib
> -rwxr-xr-x 1 root wheel 288620 Sep 9 00:06 libJ3DAudio.jnilib
> -rwxr-xr-x 1 root wheel 8856 Sep 9 00:06 libJ3DUtils.jnilib
> -rwxr-xr-x 1 root wheel 3451280 Sep 7 22:42 libmlib_jai.jnilib
> -rw-r--r-- 1 root wheel 41239 Mar 20 18:22 mlibwrapper_jai.jar
> -rw-r--r-- 1 root wheel 153831 Mar 20 22:08 vecmath.jar
> I assume that the fix is just to ignore these files. Here's the stack trace, if it helps:
> Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:232)
> at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:294)
> at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
> at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:454)
> at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
> 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:585)
> at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1217)
> at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2214) JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
Posted by "Tim Henrion (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2214?page=comments#action_12323228 ]
Tim Henrion commented on AXIS-2214:
-----------------------------------
Reported to Apple as Problem ID 4252893. https://bugreport.apple.com
Note that I tested this issue under the Apple JDK 1.4.2 and 1.4.2 appears to work correctly.
Workaround is to back out to JDK 1.4.2.
> JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
> ------------------------------------------------------------------------------
>
> Key: AXIS-2214
> URL: http://issues.apache.org/jira/browse/AXIS-2214
> Project: Apache Axis
> Type: Bug
> Components: Deployment / Registries
> Versions: 1.2.1
> Environment: Mac OS X 10.4.2
> Apple JDK 1.5.0_02
> Tomcat 5.5
> Reporter: Sean Owen
>
> I've deployed a simple service as a JWS file in a web application on Tomcat 5. When I access the web service's WSDL file, I get this error:
> AXIS error
> Sorry, something seems to have gone wrong... here are the details:
> Fault - Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.compileError
> faultSubcode:
> faultString: Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> faultActor:
> faultNode:
> faultDetail:
> {}Errors:Error compiling /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java:
> Line 0, column 0:
> error: error reading /System/Library/Java/Extensions/libJ3D.jnilib; java.util.zip.ZipException: error in opening zip file
> 1 error
> It's trying to unzip files that aren't JARs in /System/Library/Java/Extensions. In fact I see that several of these .jnilib files have shown up very recently here, right after I installed the Quicktime 7 SDK update tonight:
> $ ls -l /System/Library/Java/Extensions
> total 21848
> -rw-r--r-- 1 root wheel 129915 Mar 20 19:45 CoreAudio.jar
> -rw-r--r-- 1 root wheel 28066 Mar 20 22:41 MRJToolkit.jar
> -rw-r--r-- 1 root wheel 114875 Aug 23 22:37 QTJSupport.jar
> -rw-r--r-- 1 root wheel 1179798 Aug 23 22:37 QTJava.zip
> -rw-r--r-- 1 root wheel 15429 Mar 20 23:32 dns_sd.jar
> -rw-r--r-- 1 root wheel 1245745 Mar 20 22:09 j3daudio.jar
> -rw-r--r-- 1 root wheel 1340635 Mar 20 22:08 j3dcore.jar
> -rw-r--r-- 1 root wheel 788867 Mar 20 22:09 j3dutils.jar
> -rw-r--r-- 1 root wheel 328411 Mar 20 18:16 jai_codec.jar
> -rw-r--r-- 1 root wheel 1907996 Mar 20 18:17 jai_core.jar
> -rwxr-xr-x 1 root wheel 125396 Sep 9 00:06 libJ3D.jnilib
> -rwxr-xr-x 1 root wheel 288620 Sep 9 00:06 libJ3DAudio.jnilib
> -rwxr-xr-x 1 root wheel 8856 Sep 9 00:06 libJ3DUtils.jnilib
> -rwxr-xr-x 1 root wheel 3451280 Sep 7 22:42 libmlib_jai.jnilib
> -rw-r--r-- 1 root wheel 41239 Mar 20 18:22 mlibwrapper_jai.jar
> -rw-r--r-- 1 root wheel 153831 Mar 20 22:08 vecmath.jar
> I assume that the fix is just to ignore these files. Here's the stack trace, if it helps:
> Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:232)
> at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:294)
> at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
> at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:454)
> at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
> 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:585)
> at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1217)
> at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2214) JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
Posted by "Sean Owen (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2214?page=comments#action_12323092 ]
Sean Owen commented on AXIS-2214:
---------------------------------
Yeah, this appears to be a javac issue -- I see the same bug filed against Tomcat. Leave it closed, thanks!
> JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
> ------------------------------------------------------------------------------
>
> Key: AXIS-2214
> URL: http://issues.apache.org/jira/browse/AXIS-2214
> Project: Apache Axis
> Type: Bug
> Components: Deployment / Registries
> Versions: 1.2.1
> Environment: Mac OS X 10.4.2
> Apple JDK 1.5.0_02
> Tomcat 5.5
> Reporter: Sean Owen
>
> I've deployed a simple service as a JWS file in a web application on Tomcat 5. When I access the web service's WSDL file, I get this error:
> AXIS error
> Sorry, something seems to have gone wrong... here are the details:
> Fault - Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.compileError
> faultSubcode:
> faultString: Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> faultActor:
> faultNode:
> faultDetail:
> {}Errors:Error compiling /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java:
> Line 0, column 0:
> error: error reading /System/Library/Java/Extensions/libJ3D.jnilib; java.util.zip.ZipException: error in opening zip file
> 1 error
> It's trying to unzip files that aren't JARs in /System/Library/Java/Extensions. In fact I see that several of these .jnilib files have shown up very recently here, right after I installed the Quicktime 7 SDK update tonight:
> $ ls -l /System/Library/Java/Extensions
> total 21848
> -rw-r--r-- 1 root wheel 129915 Mar 20 19:45 CoreAudio.jar
> -rw-r--r-- 1 root wheel 28066 Mar 20 22:41 MRJToolkit.jar
> -rw-r--r-- 1 root wheel 114875 Aug 23 22:37 QTJSupport.jar
> -rw-r--r-- 1 root wheel 1179798 Aug 23 22:37 QTJava.zip
> -rw-r--r-- 1 root wheel 15429 Mar 20 23:32 dns_sd.jar
> -rw-r--r-- 1 root wheel 1245745 Mar 20 22:09 j3daudio.jar
> -rw-r--r-- 1 root wheel 1340635 Mar 20 22:08 j3dcore.jar
> -rw-r--r-- 1 root wheel 788867 Mar 20 22:09 j3dutils.jar
> -rw-r--r-- 1 root wheel 328411 Mar 20 18:16 jai_codec.jar
> -rw-r--r-- 1 root wheel 1907996 Mar 20 18:17 jai_core.jar
> -rwxr-xr-x 1 root wheel 125396 Sep 9 00:06 libJ3D.jnilib
> -rwxr-xr-x 1 root wheel 288620 Sep 9 00:06 libJ3DAudio.jnilib
> -rwxr-xr-x 1 root wheel 8856 Sep 9 00:06 libJ3DUtils.jnilib
> -rwxr-xr-x 1 root wheel 3451280 Sep 7 22:42 libmlib_jai.jnilib
> -rw-r--r-- 1 root wheel 41239 Mar 20 18:22 mlibwrapper_jai.jar
> -rw-r--r-- 1 root wheel 153831 Mar 20 22:08 vecmath.jar
> I assume that the fix is just to ignore these files. Here's the stack trace, if it helps:
> Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:232)
> at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:294)
> at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
> at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:454)
> at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
> 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:585)
> at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1217)
> at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2214) JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
Posted by "Tim Henrion (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2214?page=comments#action_12323050 ]
Tim Henrion commented on AXIS-2214:
-----------------------------------
Just saw this same thing. I'm running an environment virtually identical to yours. It appears that the compilation of the JWS is enumerating/introspecting everything in the Java extensions path and assuming it's a ZIP file. I had the compiler crap out on a .DS_Store file that was in one of my extensions directories. For those not Mac-aware, a .DS_Store file holds GUI information on how to display the directory in the Mac Finder.
> JWS deployment fails on OS X: libJ3D.jnilib causes "error in opening zip file"
> ------------------------------------------------------------------------------
>
> Key: AXIS-2214
> URL: http://issues.apache.org/jira/browse/AXIS-2214
> Project: Apache Axis
> Type: Bug
> Components: Deployment / Registries
> Versions: 1.2.1
> Environment: Mac OS X 10.4.2
> Apple JDK 1.5.0_02
> Tomcat 5.5
> Reporter: Sean Owen
>
> I've deployed a simple service as a JWS file in a web application on Tomcat 5. When I access the web service's WSDL file, I get this error:
> AXIS error
> Sorry, something seems to have gone wrong... here are the details:
> Fault - Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.compileError
> faultSubcode:
> faultString: Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> faultActor:
> faultNode:
> faultDetail:
> {}Errors:Error compiling /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java:
> Line 0, column 0:
> error: error reading /System/Library/Java/Extensions/libJ3D.jnilib; java.util.zip.ZipException: error in opening zip file
> 1 error
> It's trying to unzip files that aren't JARs in /System/Library/Java/Extensions. In fact I see that several of these .jnilib files have shown up very recently here, right after I installed the Quicktime 7 SDK update tonight:
> $ ls -l /System/Library/Java/Extensions
> total 21848
> -rw-r--r-- 1 root wheel 129915 Mar 20 19:45 CoreAudio.jar
> -rw-r--r-- 1 root wheel 28066 Mar 20 22:41 MRJToolkit.jar
> -rw-r--r-- 1 root wheel 114875 Aug 23 22:37 QTJSupport.jar
> -rw-r--r-- 1 root wheel 1179798 Aug 23 22:37 QTJava.zip
> -rw-r--r-- 1 root wheel 15429 Mar 20 23:32 dns_sd.jar
> -rw-r--r-- 1 root wheel 1245745 Mar 20 22:09 j3daudio.jar
> -rw-r--r-- 1 root wheel 1340635 Mar 20 22:08 j3dcore.jar
> -rw-r--r-- 1 root wheel 788867 Mar 20 22:09 j3dutils.jar
> -rw-r--r-- 1 root wheel 328411 Mar 20 18:16 jai_codec.jar
> -rw-r--r-- 1 root wheel 1907996 Mar 20 18:17 jai_core.jar
> -rwxr-xr-x 1 root wheel 125396 Sep 9 00:06 libJ3D.jnilib
> -rwxr-xr-x 1 root wheel 288620 Sep 9 00:06 libJ3DAudio.jnilib
> -rwxr-xr-x 1 root wheel 8856 Sep 9 00:06 libJ3DUtils.jnilib
> -rwxr-xr-x 1 root wheel 3451280 Sep 7 22:42 libmlib_jai.jnilib
> -rw-r--r-- 1 root wheel 41239 Mar 20 18:22 mlibwrapper_jai.jar
> -rw-r--r-- 1 root wheel 153831 Mar 20 22:08 vecmath.jar
> I assume that the fix is just to ignore these files. Here's the stack trace, if it helps:
> Error while compiling: /usr/local/tomcat/webapps/taste/WEB-INF/jwsClasses/RecommenderService.java
> at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:232)
> at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:294)
> at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
> at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:454)
> at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
> 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:585)
> at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1217)
> at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira