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

Home » Public Forums » archive » Java Connector
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
Java Connector [message #50994] Thu, 02 November 2006 02:52 Go to next message
aldoma.aitor is currently offline  aldoma.aitor
Messages: 2
Registered: November 2006
Junior Member
Hi group!

Trying to use the Java Connector examples I am getting some ugly
troubles.

IDL version : 6.3
OS version : Fedora Linux on Solaris Ultra 40 machine

Error

Failed to load javaidlb from from default location.
Exception in thread "main" java.lang.UnsatisfiedLinkError:
nativeInitJPAL
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
com.idl.javaidl.java_IDL_connect.<init>(java_IDL_connect.java:23)
at arrays_example.<init>(arrays_example.java:43)
at arrays_example.main(arrays_example.java:121)

I guess I have configured my machine correctly setting LD_LIBRARY_PATH,
PATH, CLASSPATH and IDL_PATH the values proposed in the Bridges
documentation.

Have you tried Java Connector and had the same problem?

Another question,

I want to use Java Connector to include IDL processing power in a
larger Java Application. This application should finally run on a
client machine with JRE and the IDL Virtual Machine.
However, reading the documentation some of the methods of the Wrapper
Object are not available in the IDL Virtual Machine (setVariable,
getVariable and executeString).

Is it possible with the standard wrapper object to call the IDL object
wrapped methods?? I surely will need to get some data from the IDL
object.

This is why, I think I should try using Export Bridge Assistant
(license needed).

Any suggestion or solution will be appreciated.

Thanks in advance.
Re: Java Connector [message #51062 is a reply to message #50994] Fri, 03 November 2006 03:47 Go to previous message
Aitor Aldoma is currently offline  Aitor Aldoma
Messages: 3
Registered: February 2005
Junior Member
Wow thanks,

the problem was not in configuration.

It has something to do with 32bit and 64bit versions of Java, IDL and
operating system libraries. The -DIDL_LOAD_DEBUG was really useful.

Need to talk with my sysadmin to fix this.

C u.

pskellicker@ameritech.net wrote:
> There are setup scripts for the bridge on Unix systems. If I remember
> correctly, first source idl_setup then source bridge_setup
>
> Then, make sure you are pointing to the javaidlb.jar where it lives in
> the IDL distribution. For example:
>
> % java -classpath
> '/blah/idl63/resources/bridge/export/java/javaidlb.jar:<others >'
> myClass
>
> You can also specify a command-line option to help debug any library
> loading issues:
> % java -DIDL_LOAD_DEBUG -classpath
> '/blah/idl63/resources/bridge/export/java/javaidlb.jar:<others >'
> MyClass
>
>
> aldoma.aitor@gmail.com wrote:
>
>> Hi group!
>>
>> Trying to use the Java Connector examples I am getting some ugly
>> troubles.
>>
>> IDL version : 6.3
>> OS version : Fedora Linux on Solaris Ultra 40 machine
>>
>> Error
>>
>> Failed to load javaidlb from from default location.
>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>> nativeInitJPAL
>> 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
>> com.idl.javaidl.java_IDL_connect.<init>(java_IDL_connect.java:23)
>> at arrays_example.<init>(arrays_example.java:43)
>> at arrays_example.main(arrays_example.java:121)
>>
>> I guess I have configured my machine correctly setting LD_LIBRARY_PATH,
>> PATH, CLASSPATH and IDL_PATH the values proposed in the Bridges
>> documentation.
>>
>> Have you tried Java Connector and had the same problem?
>>
>> Another question,
>>
>> I want to use Java Connector to include IDL processing power in a
>> larger Java Application. This application should finally run on a
>> client machine with JRE and the IDL Virtual Machine.
>> However, reading the documentation some of the methods of the Wrapper
>> Object are not available in the IDL Virtual Machine (setVariable,
>> getVariable and executeString).
>>
>> Is it possible with the standard wrapper object to call the IDL object
>> wrapped methods?? I surely will need to get some data from the IDL
>> object.
>>
>> This is why, I think I should try using Export Bridge Assistant
>> (license needed).
>>
>> Any suggestion or solution will be appreciated.
>>
>> Thanks in advance.
>
>
Re: Java Connector [message #51074 is a reply to message #50994] Thu, 02 November 2006 12:15 Go to previous message
pskellicker is currently offline  pskellicker
Messages: 2
Registered: September 2006
Junior Member
There are setup scripts for the bridge on Unix systems. If I remember
correctly, first source idl_setup then source bridge_setup

Then, make sure you are pointing to the javaidlb.jar where it lives in
the IDL distribution. For example:

% java -classpath
'/blah/idl63/resources/bridge/export/java/javaidlb.jar:<others >'
myClass

You can also specify a command-line option to help debug any library
loading issues:
% java -DIDL_LOAD_DEBUG -classpath
'/blah/idl63/resources/bridge/export/java/javaidlb.jar:<others >'
MyClass


aldoma.aitor@gmail.com wrote:
> Hi group!
>
> Trying to use the Java Connector examples I am getting some ugly
> troubles.
>
> IDL version : 6.3
> OS version : Fedora Linux on Solaris Ultra 40 machine
>
> Error
>
> Failed to load javaidlb from from default location.
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> nativeInitJPAL
> 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
> com.idl.javaidl.java_IDL_connect.<init>(java_IDL_connect.java:23)
> at arrays_example.<init>(arrays_example.java:43)
> at arrays_example.main(arrays_example.java:121)
>
> I guess I have configured my machine correctly setting LD_LIBRARY_PATH,
> PATH, CLASSPATH and IDL_PATH the values proposed in the Bridges
> documentation.
>
> Have you tried Java Connector and had the same problem?
>
> Another question,
>
> I want to use Java Connector to include IDL processing power in a
> larger Java Application. This application should finally run on a
> client machine with JRE and the IDL Virtual Machine.
> However, reading the documentation some of the methods of the Wrapper
> Object are not available in the IDL Virtual Machine (setVariable,
> getVariable and executeString).
>
> Is it possible with the standard wrapper object to call the IDL object
> wrapped methods?? I surely will need to get some data from the IDL
> object.
>
> This is why, I think I should try using Export Bridge Assistant
> (license needed).
>
> Any suggestion or solution will be appreciated.
>
> Thanks in advance.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: dialog_pickfile problem
Next Topic: Running GDL under windows with colinux

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

Current Time: Wed Oct 08 16:00:58 PDT 2025

Total time taken to generate the page: 0.00529 seconds