comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: trying to run IDL from a Servlet using Tomcat 5.0 under OS X
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
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 is currently offline  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 Go to previous message
kanekalsgk is currently offline  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 Go to previous message
Michael Wallace is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: compiling itools and utilities
Next Topic: Colormap in idl -vm

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 12:07:19 PDT 2025

Total time taken to generate the page: 0.88831 seconds