users@glassfish.java.net

GF 3.1.1 using CORBA interoperable naming syntax for JNDI lookup

From: Bernhard Thalmayr <bernhard.thalmayr_at_painstakingminds.com>
Date: Tue, 13 Dec 2011 16:45:48 +0100

Hi experts,

2 apps running in the same GF instance

App 1 exposes JEE 1.4 EJBs

App 2 uses the remote interface of these EJBs

When using the CORBA interoperable naming syntax to lookup the JNDI name ,
calling the 'create()' method of the remote interface results in a
NullPointerException.

However using the global JNDI name everything works.

How can I workaround this issue without changing the code? (Actually it's a
3rd party app ... ).

Everything worked without any issues in GF 2.1.1.

TIA,
Bernhard

-- 
IT-Consulting Bernhard Thalmayr
- Painstaking Minds -
83620 Vagen (Munich area)
Germany