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

Home » Public Forums » archive » IDL on the web?
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
IDL on the web? [message #67915] Sun, 06 September 2009 14:11 Go to next message
Petula Lau is currently offline  Petula Lau
Messages: 4
Registered: September 2009
Junior Member
Hi all,

I currently work for a science institute, and I have been assigned a
task to provide an IDL program on our public website.

The IDL program is a solar energy calculator. It requires inputs such
as latitude, longitude, tilt of the solar panels, months of the year
to calculate etc. It outputs a graph which shows you the expected
position of the sun relative to where you live.

I have been searching for over a day now, but haven't found anything
as to how to put this program on the web.

I thought of maybe two possibilities:
1. Create php front-end input form and shell out to the machine with
IDL installed (we will have to be running IDL the whole time). This
will require us purchasing another IDL licence.
2. Use the IDL VM somehow?

Appreciate your response.

Cheers,
Petula
Re: IDL on the web? [message #67980 is a reply to message #67915] Tue, 15 September 2009 20:24 Go to previous messageGo to next message
Petula Lau is currently offline  Petula Lau
Messages: 4
Registered: September 2009
Junior Member
Hi all,

Cheers for your suggestions. I have read the bridges documentation
and have a better idea as to how to achieve this. Unfortunately the
original application was not written in an object oriented way, so I
suppose we will have to rewrite that part in order to export using the
Export assistant?

Also I am trying to get the examples running on my MAC OS X (I got it
running in windows). And I keep getting this error:

Failed to load javaidlb from from default location.
Exception in thread "main" java.lang.UnsatisfiedLinkError:
com.idl.javaidl.JIDLPAL.nativeInitJPAL()V
at com.idl.javaidl.JIDLPAL.nativeInitJPAL(Native Method)
at com.idl.javaidl.JIDLPAL.<clinit>(JIDLPAL.java:186)
at com.idl.javaidl.JIDLObject.<init>(JIDLObject.java:71)
at helloworldex.helloworldex.<init>(helloworldex.java:17)
at helloworldex.helloworldex_example.<init>(helloworldex_example.java:
42)
at helloworldex.helloworldex_example.main(helloworldex_example. java:
53)

We would really like to use eclipse as our build environment. But I
don't seem to be able to get it to work even if I included the library
in the classpath, set all the environment variables in the idl_setup
and bridge_setup script.

Anybody have ideas? Appreciate your help.

Cheers,
Petula

On Sep 12, 8:08 am, Scott <srel...@viawest.net> wrote:
> Take a look at the following tech tips and they should get you going
> in the right direction.
> Cheers,
> Scott Ellis
>
> 4322    First Primer on IDL-JSP Interface - Embedding a Static IDL
> Visualization on aWebPagehttp://www.ittvis.com/services/techtip.asp?ttid=4322
>
> 4327    Second Primer on IDL-JSPWebApp Interface - Passing Parameters
> to IDLhttp://www.ittvis.com/services/techtip.asp?ttid=4327
>
> 4332    Third Primer on IDL-JSPWebApp Interface - UpdatingWebPage
> IDL Graphics with Ajaxhttp://www.ittvis.com/services/techtip.asp?ttid=4332
>
> 4324    One Proposal for How To Set Up Java-IDL Export Bridge-basedWeb
> Interface Projectshttp://www.ittvis.com/services/techtip.asp?ttid=4324
Re: IDL on the web? [message #68115 is a reply to message #67915] Wed, 16 September 2009 13:33 Go to previous message
Petula Lau is currently offline  Petula Lau
Messages: 4
Registered: September 2009
Junior Member
Thanks Scott - I did use the -DIDL_LOAD_DEBUG and that was very
helpful. The problem was that it was using the 32 bit IDL, but I was
using jvm 1.6.0 (64 bit).


On Sep 17, 3:46 am, Scott <srel...@viawest.net> wrote:
> When you go to your eclipse project's Properties -> Java Build Path ->
> Libraries tab, is javaidlb.jar there and properly resolved?
>
> You can also try adding -DIDL_LOAD_DEBUG to your run configuration's
> jvm arguments to possibly get more debugging info.
>
> -Scott
Re: IDL on the web? [message #68117 is a reply to message #67980] Wed, 16 September 2009 08:46 Go to previous message
Scott[1] is currently offline  Scott[1]
Messages: 33
Registered: September 2009
Member
When you go to your eclipse project's Properties -> Java Build Path ->
Libraries tab, is javaidlb.jar there and properly resolved?

You can also try adding -DIDL_LOAD_DEBUG to your run configuration's
jvm arguments to possibly get more debugging info.

-Scott
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Anybody tried KR's new dll for avi?
Next Topic: Re: Legend for plot

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

Current Time: Wed Oct 08 19:21:53 PDT 2025

Total time taken to generate the page: 0.00724 seconds