Hi, 

I need help in getting TransactionCurrent object in my application deloyed in JBoss. I 
tried to get it from the 'jacorb' name service. 

I am using the following code snippet.
============================================
org.omg.CORBA.ORB orb = org.jboss.iiop.CorbaORB.getInstance();
org.omg.CosTransactions.Current current = null;
try {
        current = (org.omg.CosTransactions.Current) 
orb.resolve_initial_references("TransactionCurrent");
} catch(Exception ex) {         
        System.out.println("Could not find TransactionCurrent: "+ex)
}
============================================

I am getting the following exception.

Could not find TransactionCurrent: org.omg.CORBA.ORBPackage.InvalidName

Please let me know whether I am getting the orb instance in the proper way. How can I 
get TransactionCurrent in JBoss server.

Thanx in advance

Nagurva

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830184#3830184

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830184


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to