I was testing some simple web services code and needed to try it under Open BlueDragon. I was very happy to see a 'Ready2Run' install option. I downloaded, unzipped, and entered one command in Terminal and I was up and running. However, I ran into an error when I tried to run code that made a web service request.
Unrecognized error code: Failed to compile web service generated client classes for http://eval.sugarondemand.com/secret/soap.php?wsdl. The compiler error messages follow: /Applications/jetty-openbd/webroot_cfmlapps/cfmlWebContext_1/WEB-INF/lib/webservices.jar does not exist and is needed to compile web service type.
I searched and I found a few other people with the same problem, but I didn't find any solutions. (I probably gave up too quickly.) I did a quick tweet for help and got some good feedback. The solution is to create a folder under webroot_cfmlapps/cfmlWebContext_1 named WEB-INF. Then make another folder under WEB-INF called libs. I then copied JARs from jetty-openbd/lib/openbd. I copied: jaxrpc.jar, saaj.jar, webservices.jar, and wsdl4.jar. (Basically I copied one jar at a time until the errors went away.)
Anyway, thanks atomi and Joshua Leone for the help!
Archived Comments
fyi~ the link is spelled wrong for openbd
Thanks, fixed.
Glad you got that sorted out--if you run into other issues while using OpenBD *please* let us know on the mailing list (http://groups.google.com/gr.... We're typically very quick to respond once we know there's an issue!
The Ready2Run download is a bit of a reconfigured Jetty that makes it easier for people to use it without a context path, so that probably explains the slight weirdness with the WEB-INF path.
I've just committed a fix to the ReadyToRun build that addresses this. It's available from the nightly build, and will be fixed in 1.0.2 onwards.
As Matt says, ping us on the mailing list, and you'll get responses very quickly. thanks
Will do next time. The twitter responses were real fast though. ;) Nice to hear about the fix Alan. Got to say - being able to download and run quickly made testing BD very nice.
Glad to hear about the fix as well - as I will be working a project that will have a rather intensive webservices communication section in it.
I've done this and get a "unable to find a valid EngineConfigurationFactory"
Is there some additional change?
Thanks
Shane
I'd probably recommend using the OpenBD mailing list.