[Geoserver-devel] About http://localhost:8080/geoserver/

Hi, everyone, I installed JDK and Geoserver.I can enter http://localhost:8080/geoserver/wfs/GetCapabilities and http://localhost:8080/geoserver/data/mbdemos/demo/wfs-t/index.html, but I can not enter http://localhost:8080/geoserver/. I got the following error message: HTTP ERROR: 500 Unable+to+compile+class+for+JSP%0A%0AAn+error+occurred+at+line%3A+%2D1+in+the+jsp+file%3A+null%0A%0AGenerated+servlet+error%3A%0A++++%5Bjavac%5D+Compiling+1+source+file%0A%0A%0A

RequestURI=/geoserver/. It seems I can not go on anything without the step. I will be very appreciated if someone can help me. Thanks!

Cathy

_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com

On 1/27/06, gwx cathy <gwx_cathy@anonymised.com…21…> wrote:

Hi, everyone, I installed JDK and Geoserver.I can enter
http://localhost:8080/geoserver/wfs/GetCapabilities and
http://localhost:8080/geoserver/data/mbdemos/demo/wfs-t/index.html, but I
can not enter http://localhost:8080/geoserver/. I got the following error
message: HTTP ERROR: 500
Unable+to+compile+class+for+JSP%0A%0AAn+error+occurred+at+line%3A+%2D1+in+the+jsp+file%3A+null%0A%0AGenerated+servlet+error%3A%0A++++%5Bjavac%5D+Compiling+1+source+file%0A%0A%0A

you need to have a full JDK not a JRE installed so that the jsp pages can be compiled.

If that is the only reason the jdk is needed couldn’t we start precompiling the jsps in the war to save people needing a full install?

Ian

Ian Turton
http://www.geotools.org

If that is the only reason the jdk is needed couldn't we start
precompiling
the jsps in the war to save people needing a full install?

Well, we definitely can't do it for the war, since I think different
servlet containers do things differently.

It's up for debate if you could do it with a single servlet container,
or if different versions of java compile the jsps differently. I
looked in to precompilation a long while ago, and found it to be a big
bitch. If anyone wants to look in to doing it, and testing against
sun's 1.4 and 1.5 jre's, as well as a few of the other jre's, then I
think we'd be happy to roll it in.

Chris

Ian
--

Ian Turton
http://www.geotools.org

***
Chris Holmes
The Open Planning Project
thoughts at: http://cholmes.wordpress.com

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

Chris Holmes wrote:

If that is the only reason the jdk is needed couldn't we start
precompiling
the jsps in the war to save people needing a full install?
   
Well, we definitely can't do it for the war, since I think different
servlet containers do things differently.

This is true, we did try making a ready to go release for resin at one point. The solution we have in place is apparently common for low volume websites. Although often it is an external applicaiton that you run, that requests pages forcing them to be compiled.

It's up for debate if you could do it with a single servlet container,
or if different versions of java compile the jsps differently. I
looked in to precompilation a long while ago, and found it to be a big
bitch. If anyone wants to look in to doing it, and testing against
sun's 1.4 and 1.5 jre's, as well as a few of the other jre's, then I
think we'd be happy to roll it in.

The different JDKs are okay, it is the servlet containers that are a problem.

To wit GeoServer is not working in the Oracle servelet containers, because some of our variable names are "reservered" when the JSPs are compiled in that environment (as I recall "label" is in conflict").

Jody