I've tried to get openBD and blazeDS to play nice with each other in tomcat, and I feel "oh, this close"...
What I did was to first deploy the tomcat/blazeDS turnkey from opensource.adobe.com on my Ubuntu 8.04 (kernel 2.6.27-9) No tomcat manager, but looks good otherwise. No errors anyway. Then I plopped the openbd.war into the new webapps directory and restarted tomcat. Groovy, now it looks like I got both running. There's a pretty blue test page at :8400/openbd/ and - dare I say - outstanding new administrator pages! (The service paths that get set inside my dynamic WSDL files seem a bit odd, but perhaps that's another story about apache ProxyPass tags and such... Should openbd be at a different port than blazeds? Oh well...) Then I've followed Matt's screencast "proof of concept" to use blazeDS, OpenBDAdaptor and ProductService.cfc, etc per the instructions (well, as much as possible, seeing as the paths don't seem to be exactly the same). But I ultimately get something like this: **** MessageBrokerServlet failed to initialize due to runtime exception: Error: java.lang.NoClassDefFoundError: com/naryx/ tagfusion/cfm/engine/javaMethodDataInterface Once I restore the file remoting-config.xml to its original state, the error goes away. Now I'm pretty sure that this means I have CLASSPATH issues, but I'm way too dumb to look at "com/naryx/tagfusion/cfm/engine/ javaMethodDataInterface" and instantly know what class file tomcat is unable to find! You can see my modifications to CLASSPATH below, in this excerpt from my catalina.sh file: [START EXCERPT] # Add on extra jar files to CLASSPATH if [ -n "$JSSE_HOME" ]; then CLASSPATH="$CLASSPATH":"$JSSE_HOME"/lib/jcert.jar:"$JSSE_HOME"/lib/ jnet.jar:"$JSSE_HOME"/lib/jsse.jar fi CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/ bootstrap.jar:"$CATALINA_HOME"/bin/commons-logging-api.jar # AL adds the class path for openDB and blazeDS to play cfc with each other CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/webapps/openbd/WEB-INF/lib/ CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/webapps/blazeds/WEB-INF/lib [END EXCERPT] By now you've probably realized that I'm a noob, a boob, or both. But there's not a lot of research available for this particular error message. May you find it in your hearts to address my woes without too many flames, thank you. Al --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
