Hi,
I have a stateless sessionbean that needs to call an external service (implemented with Delphi).
If I use the following code in an application it works without problems, but not as a ejb.
...
if (orb == null) {
orb = org.omg.CORBA.ORB.init((String[])null, null);
}
...
I get the following Trace:
15:23:45,417 ERROR [STDERR] java.lang.NullPointerException
15:23:45,417 ERROR [STDERR] at com.sun.corba.se.internal.core.IOR.getCodebas
e(IOR.java:256)
15:23:45,417 ERROR [STDERR] at com.sun.corba.se.internal.core.IOR.read(IOR.j
ava:215)
15:23:45,417 ERROR [STDERR] at com.sun.corba.se.internal.iiop.CDRInputStream
.read_Object(CDRInputStream.java:585)
15:23:45,447 ERROR [STDERR] at com.sun.corba.se.internal.iiop.CDRInputStream
.read_Object(CDRInputStream.java:578)
15:23:45,447 ERROR [STDERR] at com.sun.corba.se.internal.corba.ORB.string_to
_object(ORB.java:1075)
15:23:45,447 ERROR [STDERR] at de.netpioneer.klebc.corbatestclient.IConfigEn
gineClientImpl.init(IConfigEngineClientImpl.java:76)
15:23:45,447 ERROR [STDERR] at de.netpioneer.klebc.corbatestclient.IConfigEn
gineClientImpl.TestConfig(IConfigEngineClientImpl.java:109)
15:23:45,447 ERROR [STDERR] at de.netpioneer.klebc.configurator.ConfigEngine
Bean.test(ConfigEngineBean.java:71)
15:23:45,467 ERROR [STDERR] at de.netpioneer.klebc.configurator.ConfigEngine
Bean.getCommentedComponentList(ConfigEngineBean.java:47)
15:23:45,467 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)
What do I need to do.
thl-mot