Help required on Java Shared Library - URGENT!

I have a problem with a Java agent which calls a Java Shared Library (Script library for Java). I require help from the Java/Domino Experts in Noida 2.

Just for introduction, I am trying to send a mail to an IME Server (Tumbleweed). It is a messaging server…

The Script library contains the .java file provided by Tumbleweed. It is compiling perfectly fine.

I have written a Java agent which passes some arguments to the main() method in this script library, which is successfully done.

Now when I try to run the Java Agent, I receive the following Exception in the Java Console:

Fri Jun 20 12:33:56 GMT 2003, TID AgentThread: JavaAgent, ERROR: org.omg.CORBA.INITIALIZE: can’t instantiate default ORB implementation org.jacorb.orb.ORB minor code: 0 completed: No; in class com.tumbleweed.ime.corba.util.sample.PackageSend.PackageSend

org.omg.CORBA.INITIALIZE: can’t instantiate default ORB implementation org.jacorb.orb.ORB minor code: 0 completed: No

at org.omg.CORBA.ORB.create_impl(ORB.java:347)



at org.omg.CORBA.ORB.init(ORB.java:398)



at com.tumbleweed.corba.util.JacorbOrbAdapter.initCommon(Unknown Source)



at com.tumbleweed.corba.util.JacorbOrbAdapter.initForClientUsage(Unknown Source)



at com.tumbleweed.corba.util.ClientOrb.init(Unknown Source)



at com.tumbleweed.ime.corba.util.ClientOrb.init(Unknown Source)



at com.tumbleweed.ime.corba.util.sample.PackageSend.PackageSend.main(PackageSend.java:309)



at JavaAgent.NotesMain(JavaAgent.java:26)



at lotus.domino.AgentBase.runNotes(Unknown Source)



at lotus.domino.NotesThread.run(NotesThread.java:208)

java.lang.SecurityException: Exit with code 0

at COM.ibm.JEmpower.applet.AppletSecurity.failSecurity(AppletSecurity.java:556)



at COM.ibm.JEmpower.applet.AppletSecurity.failSecurity(AppletSecurity.java:546)



at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1348)



at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1318)



at java.lang.SecurityManager.checkExit(SecurityManager.java:785)



at java.lang.Runtime.exit(Runtime.java:119)



at java.lang.System.exit(System.java:746)



at com.tumbleweed.ime.corba.util.sample.PackageSend.PackageSend.main(PackageSend.java:353)



at JavaAgent.NotesMain(JavaAgent.java:26)



at lotus.domino.AgentBase.runNotes(Unknown Source)



at lotus.domino.NotesThread.run(NotesThread.java:208)

Please help me out of this problem…

As far as I know, JDK1.3 (Notes R6.0.1) on Domino has an internal ORB class which is overriding the Tumblewood one…

How can I make the script understand that it should access the correct .jar file???