Hi,
I am using OC4J.
We are using a stateful bean. Which has got depolyed successfully.
I have started the serer using
java -jar -orion.jar -console
Then when I go to to console and click on Local --->Applications-->Global Applications-->Context
-->java:comp--> User transaction the name and property displays a blank table i.e there is no instance of userTransaction and I get the folowing exception java.lang.NoClassDefFoundError: org/omg/CORBA/TSIdentification
at java.lang.Class.getMethods0(Native Method)
at java.lang.Class.getDeclaredMethods(Class.java:1039)
at java.beans.Introspector$1.run(Introspector.java:852)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.Introspector.getPublicDeclaredMethods
exception,
Cos.jar is in the class path
Due to this when I try to get the a userTransaction I get a error
javax.naming.NameNotFoundException: javax.transaction.UserTransaction not found
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:121)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:182)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:63)
at javax.naming.InitialContext.lookup(Unknown Source)
Can any one please tell me whether I am doing something wrong or is UserTransaction not supported in OC4J.
Thanks in advance.
Cheers,
Moin