ejb@glassfish.java.net

glassfish bug on OS X running sless example.

From: <joel_at_exitcertified.com>
Date: Mon, 26 Feb 2007 14:24:41 -0500 (EST)

I have seen some mention of this problem on the Internet,
but none of the postings have proposed a solution.

I am running the sun appserver, version 9 on Mac OS X.
(Downloaded with netbeans.)

I have set up your sless example as described in the web
page. I can compile, build and deploy the example without
a problem. However, when I run the application client, I
get an infinite stream of exceptions, a slice of which is
illustrated below this description.

I get this error on any program that tries to run inside of
a client container run on the OS X platform. (I have tried
other demonstration programs and all give me the same error).

Is there some configuration issue of which I should be aware
or is this a Mac related bug?

Thanks,
Joel Budgor

     [exec] WARNING: "IOP00410201: (COMM_FAILURE) Connection failure:
socketType: IIOP_CLEAR_TEXT; hostname: macintosh-local.local; port:
3700"
     [exec] org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201
completed: No
     [exec] at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2348)
     [exec] at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2369)
     [exec] at
com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:212)
     [exec] at
com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:225)
     [exec] at
com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
     [exec] at
com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:159)
     [exec] at
com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:156)
     [exec] at
com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:296)
     [exec] at
org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
     [exec] at
org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
     [exec] at
com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:110)
     [exec] at
com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:164)
     [exec] at
com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
     [exec] at
com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:833)
     [exec] at
com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:156)
     [exec] at
com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
     [exec] at
javax.naming.InitialContext.lookup(InitialContext.java:351)
     [exec] at
com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:274)
     [exec] at
com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
     [exec] at
com.sun.enterprise.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:131)
     [exec] at
com.sun.enterprise.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:123)
     [exec] at
com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:325)
     [exec] at com.sun.enterprise.appclient.Main.main(Main.java:180)
     [exec] Caused by: java.lang.RuntimeException:
java.nio.channels.UnresolvedAddressException
     [exec] at
com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:356)
     [exec] at
com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:195)
     [exec] ... 20 more
     [exec] Caused by: java.nio.channels.UnresolvedAddressException
     [exec] at sun.nio.ch.Net.checkAddress(Net.java:30)
     [exec] at
sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:451)
     [exec] at
java.nio.channels.SocketChannel.open(SocketChannel.java:146)
     [exec] at
com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
     [exec] ... 21 more
     [exec] Feb 26, 2007 11:16:30 AM
com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>

... The aforementioned stack trace repeats infinitely.