Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tomcat + wle 5.1

0 views
Skip to first unread message

james

unread,
Jul 9, 2002, 12:16:53 AM7/9/02
to

i write a c++ corba object in wle5.1,and write a java client (application) to invoke
it,sucess.
but i chage this java client into a servlet.and execute it in tomcat 4.0.3, i use
jdk1.2.2,and put M3envobj.jar and wleclient.jar in the path c:\tomcat\common\lib.
but get a error:
java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate
default ORB implementation com.beasys.CORBA.idl.ORBSingleton minor code: 0 completed:
No
at org.omg.CORBA.ORB.create_impl(ORB.java:298)
at org.omg.CORBA.ORB.(ORB.java:195)
at hello.to_convert(hello.java:45)
at hello.doGet(hello.java:17)

and refresh IE6.0
get error:
java.lang.NoClassDefFoundError: org/omg/CORBA/ORB
at hello.to_convert(hello.java:45)
at hello.doGet(hello.java:17)

can anyone told me why?
thx
james

"mike_iwaskow"_replytonewsgroup.only

unread,
Jul 10, 2002, 10:59:09 AM7/10/02
to

Does TomCat have a policy file similar to BEA WLS
weblogic.policy. If using WLS, you may need to
add permission java.util.PropertyPermission
"org.omg.CORBA.ORBSingletonClass", " write";
in the last grant section of weblogic.policy.

You can also try to add wleorb.jar in the

path c:\tomcat\common\lib.

Developer Relations Engineer

0 new messages