Re: Noob having problems with tool (getting java.util.zip.ZipExcepiton)

Douglas WF Acheson <[email protected]>
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
Thx for the email.  I thought I got a bad jar, so I downloaded it twice, on two different machines (work and home), and got the same error.  Now, it might be that posted archive is bad, but I would expect other would be screaming.  As well, I manually tested a number of the jars and they seemed okay.

Regards,
Douglas WF Acheson

----- Original Message ----
From: Konstantin Priblouda <[email protected]>
To: Douglas WF Acheson <[email protected]>; End-user support for the XDoclet code generator <[email protected]>
Sent: Tuesday, July 4, 2006 12:08:15 PM
Subject: Re: [Xdoclet-user] Noob having problems with tool (getting java.util.zip.ZipExcepiton)



--- Douglas WF Acheson <[email protected]> wrote:

> Hello,
> 
>   I am very new to using Xdoclet, I was introduced
> to it on my last project and thought I would learn a
> bit more.  Here is the scenario:  I have created a
> SSB, the three parts (home, impl, and interface),
> and want to generate a DD (ejb-jar.xml) from my
> marked up java code.  The error I am getting is:
> 
> ... <snip snip> ...
> [ejbdoclet] java.util.zip.ZipException: error in
> opening zip file
> [ejbdoclet] at java.util.zip.ZipFile.open(Native
> Method)
> [ejbdoclet] at
> java.util.zip.ZipFile.<init>(ZipFile.java:203)
> [ejbdoclet] at
> java.util.zip.ZipFile.<init>(ZipFile.java:234)
> [ejbdoclet] at
>
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
> [ejbdoclet] at
>
org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
> [ejbdoclet] at
>
org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
> [ejbdoclet] at
>
org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
> [ejbdoclet] at
>
org.apache.log4j.Category.getInstance(Category.java:514)
> [ejbdoclet] at
>
org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:153)
> [ejbdoclet] at
>
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:285)
> [ejbdoclet] at
>
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
> [ejbdoclet] at
> xdoclet.util.LogUtil.getLog(LogUtil.java:26)
> [ejbdoclet] at
>
xdoclet.loader.ModuleFinder.findModules(ModuleFinder.java:116)
> [ejbdoclet] at
>
xdoclet.DocletTask.registerModules(DocletTask.java:545)
> [ejbdoclet] at
>
xdoclet.DocletTask.createDynamicElement(DocletTask.java:336)
> ... <snip snip> ...


Maybe you got bogus jar? 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.