Hi Stephan
If you just want to run GeoServer, I suggest using the windows installer version.
If you want to use the version from source, and set up a development environment. Then consult this page: http://docs.codehaus.org/display/GEOSDOC/Setup+Geoserver+for+Debugging+or+Programming
To answer your question about jetty, no you do not need to install it. It should come with the geoserver download in the lib directory.
It looks like the source version of geoserver download is missing a couple of directories (bin/, and some build files). I suggest you grab the version from svn. I will report a bug about this issue.
The tutorial I listed above describes how to run geoserver from eclipse. To run it from the command line, you will need that 'bin' directory. It has .bat, .sh, and .jar files that are used to start and stop Geoserver
When you get the version of geoserver from SVN, to build it, run the ant command 'debug from ide' in the build.xml file located at the root of your geoserver directory. This will build a full version of geoserver. If you just want to update the geoserver.jar file (ie. you made some changes to .java files) then run 'geoserver.jar_copy'.
Yeh they should probably be renamed.
There are also 'run' and 'stop' commands in the file.
Maven will come with the 1.4 version of geoserver. Right now it is under development on the 1.4 branch. You do not need the source of either Tomcat or jetty to compile or run geoserver. Just the binaries for jetty that come with geoserver.
If you are still having issues, I'm sure one of the developers could build you a full working source file.
Brent Owens
(The Open Planning Project)
staylor@anonymised.com wrote:
Hi all,
For two days now I've been struggling to try to install GeoServer1.3.0-PR1
from source (onto Windows 2000), including extensive Web searching and
reading from the GeoServer documentation. I've followed the instructions
on the page 'Setup Geoserver for Debugging or Programming' to the letter,
so I have Eclipse running, but right at the end of the section 'Debugging
Setup', after hitting the Apply and Debug buttons, I receive the error
message
java.lang.ClassNotFoundException: org.mortbay.jetty.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.mortbay.start.Main.invokeMain(Main.java:145)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
I can't find any mention in the documentation of having to separately
install Jetty when using the source distribution of GeoServer, nor can I
find instructions on how I would configure Jetty to work with GeoServer.
I've also been tearing my hair out trying to get Tomcat to work, as per
'Setup Geoserver for Debugging or Programming'.
Can someone please answer the following basic questions? Does Jetty need
to be separately installed before it can be used with the source
distribution? Is it possible to use Maven with GeoServer 1.3.0? Can Tomcat
be ignored in favour of Jetty, or do both have to be installed? Does the
source need to be "checked out" using Subversion/Subclipse or Tortoise
before the source can be built?
There also seems to be no explicit mention in the documentation of exactly
how to start and stop GeoServer once it has been successfully built. How
is this done, both in Eclipse and from the command line?
Thanks very much for any help you can give,
Stephen
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel