Thanks Heikki,
This does seem to be the case. Nice debugging work. Thank you very much for the feedback.
user@anonymised.com:~$ ps aux | grep java
user 2732 24.7 37.1 899576 189048 ? Sl 04:54 0:46 java -Xms48m -Xmx512m -Xss2M -XX:MaxPermSize=128m -DSTOP.PORT=8879 -Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar ../bin/jetty.xml
user 2845 0.0 0.1 3040 804 pts/0 S+ 04:57 0:00 grep --color=auto java
user@anonymised.com:~$ which java
/usr/bin/java
user@anonymised.com:~$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
Now what we need to do is update our geoserver install script [1] so that it accesses the correct java version. We can probably do something similar to the geoserver install script [2].
Is someone able to have a look at that?
[1] https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/bin/install_geoserver.sh
[2] https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/bin/install_geonetwork.sh
heikki wrote:
hello,
somehow I fail to connect to your IRC channel, so therefore this email.
Could it be that you're using OpenJDK ? Is it possible to change to Sun's ? I think your error is related to that.. see for example http://codingexplorer.wordpress.com/2009/07/12/interface-was-expected-for-jpegimageencoder/.
Kind regards
Heikki Doeleman
On Wed, Mar 17, 2010 at 8:46 AM, Cameron Shorter <cameron.shorter@anonymised.com <mailto:cameron.shorter@anonymised.com>> wrote:
GeoNetwork developers,
We are cutting the final version of the OSGeo Live DVD this
Friday, and GeoNetwork is the last application which is triggering
errors.
Is there any chance someone could step forward and help our
packages explain and hopefully fix what is going on.
We are hanging out at irc://freenode.net#foss4g
<http://freenode.net#foss4g>
Results of geonetwork tests are at:
http://wiki.osgeo.org/wiki/Live_GIS_Disc_Testing#geonetwork
geonetwork
Tests written for
Geonetwork, LiveDVD 3.0 Test Description last updated
14 March 2010 Steps
* Click icon "Start Geonetwork" - wait until the server
intializes (see load graph in the upper right hand corner)
* open FireFox http://localhost:8880/>
* you should see a list of active URLs, choose /geonetwork
Result
* see the opening page of the Geonetwork server
* Intermap is failing, it appears port reconfigure is correct
but something else is off, going directly to intermap
results in the following:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
−
<error id="error">
−
<message>
Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected
</message>
<class>IncompatibleClassChangeError</class>
−
<stack>
<at class="org.wfp.vam.intermap.kernel.map.images.ImageMerger" file="ImageMerger.java" line="185" method="encodeJPG"/>
<at class="org.wfp.vam.intermap.kernel.map.images.ImageMerger" file="ImageMerger.java" line="114" method="saveImage"/>
<at class="org.wfp.vam.intermap.kernel.map.images.ImageMerger" file="ImageMerger.java" line="82" method="mergeAndSave"/>
<at class="org.wfp.vam.intermap.kernel.map.MapMerger" file="MapMerger.java" line="621" method="merge"/>
<at class="org.wfp.vam.intermap.services.map.Update" file="Update.java" line="80" method="exec"/>
<at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="238" method="execService"/>
<at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="141" method="execServices"/>
<at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="377" method="dispatch"/>
<at class="jeeves.server.JeevesEngine" file="JeevesEngine.java" line="621" method="dispatch"/>
<at class="jeeves.server.sources.http.JeevesServlet" file="JeevesServlet.java" line="174" method="execute"/>
</stack>
−
<request>
<language>en</language>
<service>main</service>
</request>
</error>
-- Cameron Shorter
Geospatial Systems Architect
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254
Think Globally, Fix Locally
Commercial Support for Geospatial Open Source Solutions
http://www.lisasoft.com/LISAsoft/SupportedProducts.html
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
<mailto:GeoNetwork-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
------------------------------------------------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
------------------------------------------------------------------------
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
Cameron Shorter
Geospatial Systems Architect
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254
Think Globally, Fix Locally
Geospatial Solutions enhanced with Open Standards and Open Source
http://www.lisasoft.com