Re: trying to run IDL from a Servlet using Tomcat 5.0 under OS X [message #38688] |
Tue, 23 March 2004 09:57 |
Michael Wallace
Messages: 409 Registered: December 2003
|
Senior Member |
|
|
>> If the problem goes away, it could be that there's another environmental
>> variable you need to set. Another check would be to verify that your
>
> which env. variables ...?
>
Since the call works for you when run as a stand-alone application, take
a look at all of your environmental variables (you can do this with the
'env' command). Take any of them that deal with IDL (e.g. $IDL_DIR,
$IDL_PATH) and include them in your script.
Another thing you might try is to set the environmental variables
regarding the location of RSI in the tomcat startup script itself. That
shouldn't really make a difference, but you never know.
-Mike
|
|
|
Re: trying to run IDL from a Servlet using Tomcat 5.0 under OS X [message #38697 is a reply to message #38688] |
Mon, 22 March 2004 19:23  |
kanekalsgk
Messages: 2 Registered: March 2004
|
Junior Member |
|
|
Michael Wallace <mwallace.removethismunge@swri.edu.invalid> wrote in message news:<105us31q9i4oncf@corp.supernews.com>...
> What you're doing appears okay, but do you have the same problem if you
> run from a stand-alone Java application rather than through a servlet?
No. Stand-alone program calls IDL fine - it is only the servlet that craps out.
> If the problem goes away, it could be that there's another environmental
> variable you need to set. Another check would be to verify that your
which env. variables ...?
> environmental variables being set in the script are really visible to
> IDL. Also, as a sanity check, verify that the library really exists
> where the error says it doesn't.
>
Yep. Library exists. :-(
> While we're on the topic, it'd be wonderful to have a callable IDL
> interface from Java. (RSI, are you listening?) The IDL-Java Bridge is
> nice, but it only goes one direction (the wrong direction for most of my
> work).
>
> -Mike
|
|
|
Re: trying to run IDL from a Servlet using Tomcat 5.0 under OS X [message #38699 is a reply to message #38697] |
Mon, 22 March 2004 15:02  |
Michael Wallace
Messages: 409 Registered: December 2003
|
Senior Member |
|
|
What you're doing appears okay, but do you have the same problem if you
run from a stand-alone Java application rather than through a servlet?
If the problem goes away, it could be that there's another environmental
variable you need to set. Another check would be to verify that your
environmental variables being set in the script are really visible to
IDL. Also, as a sanity check, verify that the library really exists
where the error says it doesn't.
While we're on the topic, it'd be wonderful to have a callable IDL
interface from Java. (RSI, are you listening?) The IDL-Java Bridge is
nice, but it only goes one direction (the wrong direction for most of my
work).
-Mike
|
|
|