Ok, deleted the jar in the repository and maven then downloaded a new
jar (which is not corrupt) into the repository.  So I thought
everything would be fine.  But when I run maven allBuild it downloads
the new jar and reports BUILD SUCCESSFUL. I then cd portal and run
maven deploy and pam.deploy.  I bring up Tomcat and try to access the
portal.  No luck.  Check the logs and I still see the Zip error.  I
check .../jetspeed/WEB-INF/lib/xalan-2.4.1.jar and it is corrupt!  It
is still the previous jar.  Is maven caching this jar someplace?  I ran
maven clean to see if that might help and then rebuilt and deployed
again.  Still get the zip error.  The offending jar looks like this:
-rw-r--r--    1 root     root       296053 Nov  8 00:15 xalan-2.4.1.jar

Gerry Reno


--- Gerry Reno <[EMAIL PROTECTED]> wrote:
> Scott,
>   Sorry about that, I wasn't looking in dot directories - Yes, I do
> have a xalan-2.4.1.jar located in
> ${USER_HOME}/.maven/repository/xalan/jars and it too is corrupt.  It
> is
> dated Nov 8th 00:08.  That must have been when maven loaded it in
> here
> the first time.  Can I just delete this jar from the repository area
> and then will maven go out and download another one?
> 
> Gerry
> 
> --- "Weaver, Scott" <[EMAIL PROTECTED]> wrote:
> > Hi Gerry,
> > 
> > > Where is maven sourcing this jar from?  I don't have a
> > xalan-2.4.1.jar
> > > anywhere else on my system.
> > 
> > If a jar is not on your system, maven will attempt to download it
> to
> > your local repository from the remote repository server, which
> > defaults to www.ibiblio.com/maven.
> > 
> > The xalan jar, once downloaded, should be located in your
> > ${USER_HOME}/.maven/repository/xalan/jars.
> > 
> > If you need a copy of xalan-2.4.1.jar, I would be more than happy
> > send you the one that I use which isn't corrupt.  All you would
> have
> > to do then is drop it in the location specified above.  Maven will
> > not try to download a jar that already is present locally.
> > 
> > Regards,
> > *================================* 
> > | Scott T Weaver                 |
> > | <[EMAIL PROTECTED]>            | 
> > | Apache Jetspeed Portal Project |
> > | Apache Pluto Portlet Container |
> > *================================*
> > 
> > > -----Original Message-----
> > > From: Gerry Reno [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, November 13, 2003 1:35 PM
> > > To: Jetspeed Users List
> > > Subject: Re: Jetspeed-2 install problems
> > > 
> > >    Ok, did another resync with the HEAD and then ran maven
> allBuild
> > > again.  This time it says BUILD SUCESSFUL.  Ran maven deploy and
> > > pam.deploy.  Both worked.  But when I try to run /jetspeed I'm
> > still
> > > getting the error about the zipfile:
> > > 
> > > Nov 13, 2003 1:07:24 PM
> > org.apache.catalina.core.StandardHostDeployer
> > > install
> > > INFO: Installing web application at context path /jetspeed from
> URL
> > > file:/usr/local/jakarta-tomcat/webapps/jetspeed
> > > java.util.zip.ZipException: error in opening zip file
> > >         at java.util.zip.ZipFile.open(Native Method)
> > >         at java.util.zip.ZipFile.<init>(ZipFile.java:112)
> > >         at java.util.jar.JarFile.<init>(JarFile.java:127)
> > >         at java.util.jar.JarFile.<init>(JarFile.java:92)
> > > 
> > > I checked the xalan-2.4.1.jar in WEB-INF/lib and sure enough it's
> > > corrupt again:
> > > 
> > > Ran jar -tf xalan-2.4.1.jar and saw this:
> > > ...
> > > org/apache/xalan/templates/ElemParam.class
> > > org/apache/xalan/templates/ElemPI.class
> > > java.io.EOFException: Unexpected end of ZLIB input stream
> > >         at
> > >
> >
> java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
> > >         at
> > >
> >
> java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
> > >         at
> > java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> > >         at
> > > java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
> > >         at sun.tools.jar.Main.list(Main.java:744)
> > >         at sun.tools.jar.Main.run(Main.java:192)
> > >         at sun.tools.jar.Main.main(Main.java:904)
> > > 
> > > Where is maven sourcing this jar from?  I don't have a
> > xalan-2.4.1.jar
> > > anywhere else on my system.
> > > 
> > > Gerry Reno
> > > 
> > > 
> > > 
> > > 
> > > --- Gerry Reno <[EMAIL PROTECTED]> wrote:
> > > > That's exactly the document that I am following.
> > > >
> > > > I'll give it another try this afternoon.
> > > >
> > > > --- Roger Ruttimann <[EMAIL PROTECTED]> wrote:
> > > > > Please follow all steps in the /doc/Getting-Started.htm
> > document.
> > > > > It seems that some of your dependencies are not correct.
> > > > >
> > > > > Roger
> > > > >
> > > > > -----Original Message-----
> > > > > From: Gerry Reno <[EMAIL PROTECTED]>
> > > > > Sent: Nov 12, 2003 7:55 PM
> > > > > To: Jetspeed Users List <[EMAIL PROTECTED]>
> > > > > Cc: [EMAIL PROTECTED]
> > > > > Subject: Re: Jetspeed-2 install problems
> > > > >
> > > > > I resynced with the HEAD and now when I run maven allBuild
> I'm
> > > > seeing
> > > > > other errors:
> > > > >
> > > > > BUILD FAILED
> > > > > File......
> > > > >
> file:/home/greno/projects/workspace/jakarta-jetspeed-2/portal/
> > > > > Element... copy
> > > > > Line...... 105
> > > > > Column.... 97
> > > > > Warning: Could not find file
> > > > >
> > > >
> > > /home/greno/projects/workspace/jakarta-jetspeed-
> > > 2/portal/commons/target/jetspeed-commons-2.0-a1-dev.jar
> > > > > to copy.
> > > > > Total time: 3 seconds
> > > > > Finished at: Wed Nov 12 22:40:48 EST 2003
> > > > >
> > > > > I looked under .../jakarta-jetspeed-2/portal and there isn't
> > even a
> > > > > commons directory. ????
> > > > > There's a commons under .../jakarta-jetspeed-2.
> > > > >
> > > > > I'll try again tomorrow.
> > > > >
> > > > >
> > > > > --- Gerry Reno <[EMAIL PROTECTED]> wrote:
> > > > > > Hi Scott,
> > > > > >   No, it's not.  Do I need to manually copy it there? 
> Where
> > > > should
> > > > > I
> > > > > > go to get the correct commons-configuration jar?  Shouldn't
> > Maven
> > > > > > have
> > > > > > taken care of this dependency?
> > > > > >
> > > > > > rgds,
> > > > > > Gerry
> > > > > >
> > > > > >
> > > > > > --- Gerry Reno <[EMAIL PROTECTED]> wrote:
> > > > > > > Is the commons-configuration jar in your
> > > > $TOMCAT_HOME/shared/lib
> > > > > > > directory?
> > > > > > >
> > > > > > > Regards,
> > > > > > > *================================*
> > > > > > > | Scott T Weaver                 |
> > > > > > > | <[EMAIL PROTECTED]>            |
> > > > > > > | Apache Jetspeed Portal Project |
> > > > > > > | Apache Pluto Portlet Container |
> > > > > > > *================================*
> > > > > > >
> > > > > > >
> > > > > > > --- Gerry Reno <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Installed Pluto - runs fine.
> > > > > > > > Checked out Jetspeed-2 from CVS and built and deployed
> it
> > > > using
> > > > > > > maven
> > > > > > > > (maven allBuild deploy pam.deploy) but it will not
> start.
> > > > > > > > Maven said everything built successful with no errors.
> > > > > > > >
> > > > > > > > First startup error received was:
> > > > > > > > 2003-11-08 12:06:26 ContextConfig[/jetspeed] Exception
> > > > > processing
> > > > > > > JAR
> > > > > > > > at resource path /WEB-INF/lib/xalan-2.4.1.jar
> > > > > > > > javax.servlet.ServletException: Exception processing
> JAR
> > at
> > > > > > > resource
> > > > > > > > path /WEB-INF/lib/xalan-2.4.1.jar
> > > > > > > >         at
> > > > > > > >
> > > > > > >
> > > > > >
> 
=== message truncated ===


=====
Gerry Reno
mailto: grenoml at@ yahoo dot. com
(if mail bounces please retry later - spam rapidly fills up mailbox)

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to