Heiko, Jon, Ethan,
I saw similar behavior during my upgrade (in my case I was not able to
do an undeploy via the tomcat admin interface). After deleting
work/Catalina/localhost/thredds directory the problem was resolved.
Using Tomcat 6.0 here.
- Dave
On 8/20/2010 10:58 AM, Ethan Davis wrote:
Hi Heiko, Jon,
The thredds.war file on the FTP site contains
/WEB-INF/jsp/wms/capabilities_xml.jsp. So I'm wondering if this error
message was caused by an old version of the compiled JSP page getting in
the way of the new version.
Aug 20, 2010 2:12:00 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Heiko, could you take a look at the compiled JPS, probably in
TOMCAT_HOME/work/Catalina/localhost/thredds/org/apache/jsp/WEB_002dINF/jsp/wms/,
and see if it is newer than your 4.2 install?
Did you do a full undeploy of any old TDS installs before deploying the
new TDS 4.2? I'm not actually sure that a full undeploy removes the
working directory (work/Catalina/localhost/thredds). But most
unexplained class not found kinds of problems I've seen seem to clear up
when any old version is undeployed before deploying the new version.
Also, are you running Tomcat 6.0? Tomcat 7.0 is in beta but I understand
it has changed the way it does some of the things that in 6.0 were
stored in the working directories.
Ethan
On 8/20/2010 9:08 AM, Jon Blower wrote:
Looks like the /WEB-INF/jspcapabilities_xml.jsp file is missing from the
WAR file for some reason. It's present in my copy of the source code -
Ethan, could you see if it's somehow getting missed out of the build
process?
Thanks for reporting this Heiko,
Jon
-----Original Message-----
From: Heiko Klein [mailto:Heiko.Klein@xxxxxx]
Sent: 20 August 2010 15:41
To: thredds@xxxxxxxxxxxxxxxx
Cc: Jonathan Blower
Subject: Re: Problems with wms-getCapabilities in thredds4.2 snapshot
A short update. WMS version 1.1.1 getCapabilities works:
http://dev-vm188:8080/thredds/wms/osisaf/met.no/ice/ice_conc_nh_20091129
1200_CF.nc?service=WMS&version=1.1.1&request=GetCapabilities
Heiko
On 2010-08-20 16:28, Heiko Klein wrote:
Hi,
I just tried upgrading to thredds4.2 snapshot (2010-08-05). I followed
the changes described in
http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.2/UpgradingTo4.2.
html
I left the wmsConfig.xml file unchanged, and just copied it to the
content/thredds catalog.
Requesting a wms-map works well:
http://dev-vm188:8080/thredds/wms/osisaf/met.no/ice/ice_conc_nh_20091129
1200_CF.nc?REQUEST=GetMap&LAYERS=ice_conc&PALETTE=redblue&SERVICE=WMS&FO
RMAT=image/png&VERSION=1.3.0&CRS=EPSG:4326&BBOX=-30,-60,30,90&WIDTH=400&
HEIGHT=400&STYLES=BOXFILL/ncview
though the colors look a bit different (different scale?) than in
thredds 4.1.
Requesting a capabilities document for the same file (or some others,
too) gives a 500 internal server error:
http://dev-vm188:8080/thredds/wms/osisaf/met.no/ice/ice_conc_nh_20091129
1200_CF.nc?service=WMS&version=1.3.0&request=GetCapabilities
Error in catalina.out:
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp
I attach the complete catalina.out file of a freshly rebootet server
after one request.
Best regards,
Heiko
_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/