Very odd installation problem

Author Message

Fredrik Ardmar

Tuesday 20 May 2008 8:35:40 pm

Hi

We have used ezFInd before with good results but now we moved to a new server and it just wont start. Would not say Im the big Java expert but at least i know a bit. It seems like jetty starts but the actual solr app does not work.

When trying to run java -jar start.jar i get the following errors:

[[email protected]] java >> java -jar start.jar
2008-05-20 23:27:16.877::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2008-05-20 23:27:17.230::INFO: jetty-6.1.3
2008-05-20 23:27:17.738::INFO: Extract jar:file:/home/areadigital/subdomains/demo/extension/ezfind/java/webapps/solr.war!/ to /tmp/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
2008-05-20 23:27:17.860::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@1f78040{/solr,jar:file:/home/areadigital/subdomains/demo/extension/ezfind/java/webapps/solr.war!/}
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:171)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1215)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
2008-05-20 23:27:17.896::INFO: Started SocketConnector @ 0.0.0.0:8983

The java installed is:

java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Server VM (build 1.6.0_02-b05, mixed mode)

Im trying to run the script as root so should be ok with the access rights i guess.

Got an angry customer breading down my neck so any ideas or suggestion would be very appreciated :)

Fredrik

http://www.areadigital.org

Custom google maps with eZ Publish

http://www.meresverige.dk
http://dsbfirst.meresverige.dk

Kåre Køhler Høvik

Wednesday 21 May 2008 12:22:28 am

Hi

Try using Java5, not Java6.

Kåre Høvik

Fredrik Ardmar

Friday 23 May 2008 7:42:30 pm

Thanks for the quick response..

Any specific version that works better than others?
JDK or JRE?

Fredrik

http://www.areadigital.org

Custom google maps with eZ Publish

http://www.meresverige.dk
http://dsbfirst.meresverige.dk

James Chen

Monday 28 July 2008 11:57:59 am

I'm using java.version: 1.6.0_0 and getting the same problem :(

Jean-Luc Chassaing

Friday 08 October 2010 8:15:58 am

I'm actually having the same problem...

Any clue to fix this ?

Paul Borgermans

Sunday 10 October 2010 8:47:19 am

"

I'm actually having the same problem...

Any clue to fix this ?

"

Which version of eZ Find are you running? Noite that the new one (eZ Find 2.3 / eZ Publish 4.4) requires Sun ( now Oracle) Java 1.6

Also use the most recent JVM

The backend server has been tested on quite some platforms, so it is not a general problem

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.