On Tue, 2003-06-17 at 15:14, aman wrote:
> $ant generateDD 
> gives me the following error and it goes into infinite loop.
> Can anyone please help???????????
> [webdoclet] java.util.zip.ZipException: error in opening zip file
> [webdoclet]     at java.util.zip.ZipFile.open(Native Method)
> [webdoclet]     at java.util.zip.ZipFile.<init>(ZipFile.java:112)
> [webdoclet]     at java.util.zip.ZipFile.<init>(ZipFile.java:128)
> [webdoclet]     at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
> ader.java:867)
> [webdoclet]     at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoade
> r.java:796)
> [webdoclet]     at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
> [webdoclet]     at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
> [webdoclet]     at org.apache.log4j.Category.getInstance(Category.java:514)
> [webdoclet]     at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4

Looks to me like Common Logging tried to create a Log4J Category
instance; this tried to load some resource (probably looking for the
log4j.properties file) using the current classloader (which, since
you're running within Ant is an AntClassLoader).  That tried to search
some zip/jar file (presumably on the classpath), but couldn't open it
due to some "error in opening zip file".  Probably a corrupt or invalid
zip/jar on the classpath (or no read rights to it, or something already
has it open and a lock on it...) which it hadn't needed to look in up
until that point (if there's no log4j.properties file to be found
anywhere, that would end up searching everything on the classpath for
it).

>     <target name="generateDD">
>       <taskdef name="webdoclet"
>            classname="xdoclet.modules.web.WebDocletTask" 
>            classpathref="xdocpath"
>       />

So what's in your xdocpath?


Andrew.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to