Error connecting to IONA ORB within an EJB

Hi,

I am trying to connect to a remote CORBA server(C++) through my ejb running on PE8.2, but when I init the IONA ORB in the ejb, I get the follwing exception:

Caused by: org.omg.CORBA.INITIALIZE: Exception reading properties, probably this is an applet but no applet parameter supplied to ORB.init vmcid: 0x0 minor code: 0 completed: No

at IE.Iona.OrbixWeb.CORBA.ORB._set_parameters(ORB.java:1573)

at IE.Iona.OrbixWeb.CORBA.ORB.<init>(ORB.java:81)

at IE.Iona.OrbixWeb.CORBA.ORB._create_orb(ORB.java:1611)

at IE.Iona.OrbixWeb.CORBA.ORB._initialise(ORB.java:1545)

at IE.Iona.OrbixWeb.CORBA.ORB.init(ORB.java:1505)

Here is the ORB invocation from my ejb:

publicvoid initOrb(String p_hostName, String p_serverName){

String[] args ={p_hostName, p_serverName};

Properties p =new Properties();

p.setProperty("org.omg.CORBA.ORBClass","IE.Iona.OrbixWeb.CORBA.ORB");

p.setProperty("org.omg.CORBA.ORBSingletonClass","IE.Iona.OrbixWeb.CORBA.singletonORB");

//

// Initialize the ORB

//

ORB orb = (ORB)ORB.init(args,p);

}

All the required libs are included in the appserver lib.

I have tried this with JBOSS and it works fine.

Do I need to replace the SunAS ORB libraries with the IONA ORB that I need to use?

Has anyone seen this before?

[1773 byte] By [enz01a] at [2007-11-15]