Please uninstall both versions of GeoServer and ensure that the installation folder is empty. This will remove the old Jetty version which I think came with geoserver-2.8.5; this old version is now unsupported and might be mixed with your geoserver-2.10.1 installation, giving you two incompatible versions of various GeoServer components. Removing everything will fix this.
Once you have a clean installation directory, install geoserver-2.10.1 and try starting it as you did below. If you still encounter problems, the console output will help diagnose any problems. Kind regards, Ben. On 30/12/16 15:09, 丁楠 wrote: > Thank you Ben! > > I downloaded geoserver-2.10.1 and installed it first and it did not work. I > was thinking maybe the version is a little bit out of date, so I download > geoserver-2.8.5 and install it again without uninstalling the 2.10.1 version. > But in the [program files (x86)] folder, I only see the [GeoServer 2.10.1] > folder, maybe I did not install the 2.8.5 version successfully...? > Also I don't know about the jetty, I did not install it by myself. > Shall I uninstall all the geoserver and then install again? > Thank you! > > > Best regards, > > -- > Nan Ding > > > > > > > At 2016-12-30 02:51:10, "Ben Caradoc-Davies" <[email protected]> wrote: >> On 28/12/16 18:37, dingnan wrote: >>> C:\Program Files (x86)\GeoServer 2.10.1\bin>call "C:\Program >>> Files\Java\jre1.8.0_112\bin\java.exe" -DGEOSERVER_DATA_DIR="C:\Program >>> Files (x86)\GeoServer 2.10.1\data_dir" -Xmx512m -XX:MaxPermSize=128m >>> -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -Djetty.port=8080 >>> -Djetty.logs="C:\Program Files (x86)\GeoServer 2.10.1\logs" -jar >>> "C:\Program Files (x86)\GeoServer 2.10.1\start.jar" >>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option >>> MaxPermSize=128m; support was removed in 8.0 >> [...] >>> 2016-12-28 13:29:51.604::INFO: jetty-6.1.8 >> [...] >>> at org.mortbay.start.Main.main(Main.java:115) >> >> Aha! I see an unexpected Jetty version. >> >> Both the log information and the presence of the "org.mortbay" package >> name in the stack trace indicate to me that GeoServer is being started >> by Jetty 6. This is most unusual. Recent versions of GeoServer are >> designed to run with Jetty 9, and geoserver-2.10.1-bin.zip includes >> Jetty 9. In Jetty 9, the package name starts with "org.eclipse". >> >> - Exactly which GeoServer package did you install? >> >> - Have you installed any other GeoServer packages? >> >> - Was the installation directory empty? >> >> - Have you installed any other Jetty packages? >> >> Kind regards, >> >> -- >> Ben Caradoc-Davies <[email protected]> >> Director >> Transient Software Limited <http://transient.nz/> >> New Zealand -- Ben Caradoc-Davies <[email protected]> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
