The thread that would not die!

OK, so I've been trying a new installation on Ubuntu 8.04.3 using 
Jordan's OpenBD Installer (which version? well, most recently 1.2pl1 - 
although I've tried installing and uninstalling the others too, honestly 
I've lost track). I copy some web services code from my working openbd 
machine install over to this one and I get the dreaded error 
"java.lang.NoClassDefFoundError: sun/tools/javac/Main" when trying to 
call a cfc - either locally or from the working machine.

I've tried the oft-blogged fix, in which I copy the tools.jar from 
/opt/openbd/jdk/lib over to /opt/openbd/lib. (I've even tried the 
tools.jar that's way down in /usr/lib/jvm/java-6-sun-1.6.0.16/lib) But 
when I restart openbd, the error changes to:
*General Runtime Error
Type    Application
Detail    Unrecognized error code: Failed to compile web service 
generated client classes for http://[myfile].cfc?wsdl. The compiler 
error messages follow: 
/opt/openbd/tomcat/webapps/host-manager/WEB-INF/lib/webservices.jar does 
not exist and is needed to compile web service type.
*
But there's no path like this in Jordan's installation. That particular 
WEB-INF directory contains a web.xml file and nothing else. The 
webservices.jar file is over in /opt/openbd/lib with everything else. I 
can try to create my own /lib file there and slowly copy over each jar 
that each subsequent error complains about not being there (saaj.jar, 
webservices.jar, wsdl4j.jar, etc) and eventually arrive at an error 
which informs me that "sun/tools/javac/Main is deprecated".

This is web service code that already works on another version of openbd 
that I installed on tomcat myself (Ubuntu 8.04.1). Everything's 777. The 
catalina.out log looks like this:

INFO: Server startup in 15590 ms
Nov 24, 2009 9:50:19 PM org.apache.commons.httpclient.HttpMethodBase 
processCookieHeaders
WARNING: Cookie rejected: "$Version=0; 
JSESSIONID=E5C73248478F518DB478A08D04B2154C; $Path=/openbd". Illegal path 
attribute "/openbd". Path of origin: "/feed/utility.cfc"

Is this a bug, or PEBKAC on my part?

Alan K. Holden


-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to