dev@glassfish.java.net

standalone apps & new InitialContext()

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 25 Oct 2006 12:11:52 +0200

Hi,

I'm trying to use GF JNDI namespace repository in standalone application
(GFv2 b20).
And have 2 problems:
1) Screens of logging text appear (Level.INFO).
2) After program completes execution it just hangs... And System.exit()
is only solution, which helps.

Are there any thoughts? May be I'm doing something wrong?

Here is my code:
/ env.put("org.omg.CORBA.ORBInitialHost", host);
        env.put("org.omg.CORBA.ORBInitialPort", String.valueOf(port));
        InitialContext ic = new InitialContext(env);
/
Thanks.

WBR,
Alexey.