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:

[root@host.areadigital.org] 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.

eZ debug

Timing: Jan 18 2025 04:58:15
Script start
Timing: Jan 18 2025 04:58:15
Module start 'layout'
Timing: Jan 18 2025 04:58:15
Module start 'content'
Timing: Jan 18 2025 04:58:15
Module end 'content'
Timing: Jan 18 2025 04:58:15
Script end

Main resources:

Total runtime0.0158 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.0547152.6406
Module start 'layout' 0.00510.0045 740.695339.4609
Module start 'content' 0.00950.0043 780.156398.4922
Module end 'content' 0.01390.0019 878.648442.3047
Script end 0.0158  920.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.1858140.0002
Check MTime0.00106.3727140.0001
Mysql Total
Database connection0.00074.203810.0007
Mysqli_queries0.003723.423030.0012
Looping result0.00010.714410.0001
Template Total0.001610.010.0016
Template load0.00084.856410.0008
Template processing0.00085.120210.0008
Override
Cache load0.00053.243710.0005
General
dbfile0.00021.511880.0000
String conversion0.00000.076940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs