I made some progress with this: I saw in a previous post that copying tools.jar to the server would fix the problem so I created a new virtual machine, installed tomcat on it. Then I dropped openbd.war into the webapps directory. Everything works great. (Except for that nagging css issue on a fresh install but oh well.)
I created test.cfc in the openbd directory:
<cfcomponent>
<cffunction name="hello" returntype="string" access="remote"
returnformat="json">
<cfreturn "Hello, World!">
</cffunction>
</cfcomponent>
Now from a browser: calling the url test.cfc?method=hello works fine, but
test.cfc?wsdl throws an error.
I copied tools.jar from another server into WEB-INF/lib and voila! the wsdl
now works.
This works on both tomcat6 and tomcat7. The production system is tomcat7 so
that's good.
I repeated this process on the production server first by copying tools.jar
to /var/lib/tomcat7/webapps/openbd/WEB-INF/lib/tools.jar
Then I repeated my test on port 8080 and it works.
Next I copied tools.jar to WEB-INF/lib on the production site which is
accessed via apache2 proxy_ajp and I get
OpenBD Internal Server Error
The page you were executing caused an internal server error.
No other information than this. I attached the actual yellow error box fwiw.
So for right now, I think I could work around this issue by using tomcat as
the web server.
It would be nice to know if I can make it work the way it is currently
setup (apache2->proxy_ajp->tomcat7)
The ability for my customers to be able to call my api using SOAP or REST
is very cool.
Thanks,
John Moss
On Thursday, April 17, 2014 10:17:41 AM UTC-6, Al Holden wrote:
>
> That 'null' is likely a placeholder for a missing variable, like a Tomcat
> root, your Java CLASSPATH or something similar?
> (guessing)
> Al
>
> On 4/17/2014 8:34 AM, John Moss wrote:
>
> Hi guys,
>
> I'm running openbd 3.1 on Ubuntu/Tomcat7 (and loving it BTW)
>
> I'm getting the following error when I try to access the WSDL for a .cfc:
>
> java.io.IOException: JAR: OpenBlueDragon.jar was not found in either
> [nullWEB-INF/lib/] or [null]
>
>
> The cfc itself runs fine and the WSDL actually works fine on a different
> system running FreeBSD but I'm not sure what is happening here.
>
> Any ideas on how to fix this?
>
> Thanks!
> John Moss
>
> --
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
<<attachment: openbd_internal_server_error.png>>
