Re: [thredds] Problems with wms-getCapabilities in thredds4.2 snapshot

Hi,

indeed, the war file contained an older capabilities_xml.jsp than the one installed in work-catalog:

ls -l $TOMCAT/webapps/thredds/WEB-INF/jsp/wms/
...Mar 24 10:43 capabilities_xml.jsp
...Jun  7 00:40 capabilities_xml_1_1_1.jsp
...

ls -l $TOMCAT/work/Catalina/localhost/thredds/org/apache/jsp/WEB_002dINF/jsp/wms/
...Aug 20 14:38 capabilities_005fxml_005f1_005f1_005f1_jsp.class
...Aug 20 14:38 capabilities_005fxml_005f1_005f1_005f1_jsp.java
...May 10 08:58 capabilities_005fxml_jsp.class
...May 10 08:58 capabilities_005fxml_jsp.java

Removing $TOMCAT/work/Catalina/localhost/thredds, and restarting tomcat solved the issue. I'm using tomcat6, but I'm not using the manager, but used the redeploy on startup feature.

Thanks for your help.

Heiko

On 2010-08-20 19:05, David Neufeld wrote:
  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/


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

--
Dr. Heiko Klein                              Tel. + 47 22 96 30 00
Development Section / IT Department          Fax. + 47 22 69 63 55
Norwegian Meteorological Institute           http://www.met.no
P.O. Box 43 Blindern  0313 Oslo NORWAY



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: