MyEclipse: Error deploying web application archive java.lang.IllegalArg

jamessta - Sep 07, 2008 - 05:07 PM
Post subject: Error deploying web application archive java.lang.IllegalArg
I am stuck trying to solve the following error (catalina log)

java.lang.IllegalArgumentException
at java.util.zip.ZipInputStream.getUTF8String(Unknown Source)
at java.util.zip.ZipInputStream.readLOC(Unknown Source)
at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
at java.util.jar.JarInputStream.<init>(Unknown Source)
at java.util.jar.JarInputStream.<init>(Unknown Source)
at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:373)
at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:184)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4064)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Unknown Source)

At first I thought this was an issue with the .war file - and then with the JDK version - but I think I have ruled these out and now suspect something in the IDE
support-nipun - Sep 08, 2008 - 11:44 AM
Post subject: RE: Error deploying web application archive java.lang.Illega
Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

If you create a new MyEclipse Web Project and try deploying it without adding any code to it, does it deploy without errors?
jamessta - Sep 09, 2008 - 03:16 PM
Post subject: RE: Error deploying web application archive java.lang.Illega
*** Date:
Tuesday, September 9, 2008 10:15:12 PM CST

** System properties:
OS=WindowsVista
OS version=6.0
Java version=1.5.0_11


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.1 GA
Build id: 6.5.1-GA-20080715


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 6.5.1 GA
Build id: 6.5.1-GA-20080715




Eclipse Project SDK

Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800


Eclipse Platform

Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800


Eclipse Java Development Tools

Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800


Eclipse Graphical Editing Framework

Version: 3.3.2.v20080129
Build id: 20080221-1602


Eclipse RCP

Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800


Eclipse Plug-in Development Environment

Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\jamessta\AppData\Local\Pulse\Software\MyEclipse 6.5\eclipse.exe
-name
Eclipse
--launcher.library
C:\Users\jamessta\AppData\Local\Pulse\Software\MyEclipse 6.5\../../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\Users\jamessta\AppData\Local\Pulse\Software\MyEclipse 6.5\../../Common\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-configuration
../../../../../../configuration
-clean
-configuration
C:\Users\jamessta\AppData\Local\Pulse\Software\MyEclipse 6.5\configuration
-vm
C:\Users\jamessta\AppData\Local\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
jamessta - Sep 09, 2008 - 03:21 PM
Post subject: RE: Error deploying web application archive java.lang.Illega
I have the IDE running on Ubuntu (Hardy) as well - and get the same error (using JDK5);
Simple new Web Project deploys just fine.
support-nipun - Sep 09, 2008 - 07:56 PM
Post subject: RE: Error deploying web application archive java.lang.Illega
Can you give me some information about the project that you are trying to deploy. Was it created using MyEclipse ? What capabilities are added to your project?
tantunes - Dec 12, 2008 - 03:37 PM
Post subject:
Hi!

This thread seems to be dead but I have a similar problem. I don't know if I should open a new one or post this reply...

My situation is the following:

- The .war package is correctly deployed in Glassfish (on my local machine);

- I'm trying now to manually deploy it in IBM Websphere 6.1 on a remote machine;

- When installing as a new app under Websphere i get a java.lang.IllegalArgumentException at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:325).

- An empty web project deploys without any exception in Websphere.


Can you help me? Need more info?

Thank you,
Tiago

support-nipun - Dec 12, 2008 - 06:27 PM
Post subject:
You are deploying it manually or via MyEclipse?
tantunes - Dec 12, 2008 - 06:29 PM
Post subject:
I create the war in MyEclipse and then submit it to Websphere in it's administration console (web).
tantunes - Dec 15, 2008 - 09:45 AM
Post subject:
I'm sorry to insist but I am really short on time...
Can you help me?

Tiago
support-nipun - Dec 15, 2008 - 05:14 PM
Post subject:
Tiago,
I know you ruled out the possibility of this being a JDK related issue but have you tried using a different version of JDK ? I tried doing some googling and seems like this could be a JDK related issue.
tantunes - Dec 15, 2008 - 05:20 PM
Post subject:
support-nipun wrote:
Tiago,
I know you ruled out the possibility of this being a JDK related issue but have you tried using a different version of JDK ? I tried doing some googling and seems like this could be a JDK related issue.


Yes, I did try... But got the same error.

I found two pages that could bring some (little) little to this subject:

- The Java bug that is probably originating it: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4820807

- A problem submited in the Websphere support page that is a bit simmilar to the one I'm getting: http://www-01.ibm.com/support/docview.wss?uid=swg21260968.

Any idea? :S
tantunes - Jan 19, 2009 - 02:56 PM
Post subject:
Hi!
Sorry to get back this late but I guess it can help someone. I forgot to post right after I 've managed to deploy.

I solved this problem, eventhough I'm not aware of the exact reason. I did it by deleting some binary files that I included in the war. I'm almost sure that there was no special characters in those file's names, but the truth is, it finally deployed successfully.

When I finish these other tasks that have higher priority I intend to look a bit deeper in this matter and hopefully try to explain this problem/solution better.

Thank you for your help.
support-nipun - Jan 19, 2009 - 07:01 PM
Post subject:
Your welcome.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits