ejb@glassfish.java.net

Re: glassfish bug on OS X running sless example.

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Mon, 26 Feb 2007 14:55:33 -0500

joel_at_exitcertified.com wrote:

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

Do you see the same error if you run the stand-alone java client instead?
(ant runjavaclient)

This error typically appears when the server is not available. ( The
fact that there is long stream of exceptions instead of just one is a
usability
issue that we plan to fix.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1026 )


>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.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
>
>
>