[Live-demo] Re: [OSGeo] #765: rasdaman quickstart demos not working

OSGeo trac_osgeo at osgeo.org
Thu Aug 25 02:41:37 PDT 2011


#765: rasdaman quickstart demos not working
----------------------+-----------------------------------------------------
 Reporter:  camerons  |       Owner:  live-demo@…              
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:                           
Component:  LiveDVD   |    Keywords:  5.0 rasdaman             
----------------------+-----------------------------------------------------

Comment(by hamish):

 notes: seems like tomcat6 is giving us problems right now.

 we needed to set JAVA_HOME better, I put it in rc.local but that gets run
 not sourced so it wasn't exported back to the parent process. now it's in
 /etc/profile.d/ and hopefully it sticks.

 if needed we can hardwire it in /etc/default/tomcat6

 after fixing that, and setting sun's java to be the default with `update-
 alternatives --config java`, I still get a [fail] each time when I do
 `/etc/init.d/tomcat6 start`.

 after changing the shebang in that script to `#!/bin/sh -x` the end of the
 output looks like:

 {{{
 + sleep 5
 + start-stop-daemon --test --start --pidfile /var/run/tomcat6.pid --user
 tomcat6 --exec /usr/lib/jvm/java-6-sun/bin/java
 + [ -f /var/run/tomcat6.pid ]
 + rm -f /var/run/tomcat6.pid
 + log_end_msg 1
 + [ -z 1 ]
 + [ 91 ]
 + [ -x /usr/bin/tput ]
 + log_use_plymouth
 + [ n = y ]
 + plymouth --ping
 + printf \r
 + /usr/bin/tput hpa 91
 + [ 1 -eq 0 ]
 + printf [
 [+ /usr/bin/tput setaf 1
 + printf fail
 fail+ /usr/bin/tput op
 + echo ]
 ]
 + return 1
 }}}


 ??

 also I notice at the end of /var/log/tomcat6/catalina.out
 {{{
 [...]
 Aug 23, 2011 10:55:17 PM org.apache.catalina.startup.HostConfig deployWAR
 INFO: Deploying web application archive wss.war
 Aug 23, 2011 10:55:19 PM org.apache.catalina.loader.WebappClassLoader
 validateJarFile
 INFO: validateJarFile(/var/lib/tomcat6/webapps/wss/WEB-INF/lib/servlet-
 api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
 Offending class: javax/servlet/Servlet.class
 Aug 24, 2011 12:00:29 AM org.apache.catalina.startup.HostConfig
 checkResources
 INFO: Reloading context [/host-manager]
 }}}


 the /var/lib/tomcat6/webapps/wss/WEB-INF/lib/servlet-api-2.4.jar file does
 exist in the filesystem, so I'm not sure if that is a useful clue or not..


 ??,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/765#comment:1>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list