From: Tyler E. <tyl...@mt...> - 2008-06-11 21:46:15
|
I don't think I put the 'old spring jars into the jdk' (because I wouldn't know how to do so). I don't have a great understanding of how to test what java libraries are being used, but I can test with verbose instructions on how to do so. Here is what I have observed (hope this helps)... To the best of my knowledge I am using the standard jdk available from the ubuntu package manager (currently using Ubuntu 8.04). I have the following packages installed: sun-java6-bin, sun-java6-jdk, sun-java6-jre, and sun-java6-plugin Here is what java version I am using... latituded830b ~: java -version java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) Does that indicate that I am using the JRE rather than the JDK? Here are the java alternatives I have available... latituded830b ~: sudo update-java-alternatives -l java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk java-6-sun 63 /usr/lib/jvm/java-6-sun java-gcj 1042 /usr/lib/jvm/java-gcj The init.d script sets the java location as follows... export JAVA_HOME=/usr/lib/jvm/java-6-sun Could we try explicitly setting the classpath in the init.d script. If so, what should the classpath be? Unfortunately, I don't currently have an easy way to test this out on another Ubuntu machine. I could probably find a way to setup another machine, but it would take some time. - Tyler aaime wrote: > > > I just downloaded the -bin version of GeoServer 1.7.0-beta1 from SF and > run it on my Ubuntu headless box, and it worked at first attempt. > > Wondering... did you by any chance put old spring jars into the jdk? > GeoServer 1.6.x works because it uses the same old Spring version, > GeoServer trunk uses the new and there is something putting the old > Spring jars before the new ones in the classpath. I checked, could not > find any of the old ones in the -bin download. > > Can you try on a different machine? There's got to be something special > about the box you're using to run GeoServer. > > Ah, one more thing: GeoServer 1.7.0-beta1 requires at least jdk 1.5 > to run, it won't work on jdk 1.4... I did not mention it before because > the error would have been different but... let's check that too. > > Cheers > Andrea > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > -- View this message in context: http://www.nabble.com/Error-installing-1.7.0-beta1-%28Context-initialization-failed%29-tp17780322p17787997.html Sent from the GeoServer - User mailing list archive at Nabble.com. |