users@glassfish.java.net

Re: Glassfish bug when accessing context from remote

From: Daniel Bieri <daniel.bieri_at_anea.ch>
Date: Wed, 19 Jan 2011 05:03:46 -0800 (PST)

Hi,

I still get the same error with glassfish-3.1-b38, when I try to connect to
an appclient over webstart from remote. It seems like there is a mixup
between the hostname and the port.

Cheers,
Dani

SCHWERWIEGEND: IOP00410016: Unable to create IIOP listener on the specified
port: 192.168.0.25
org.omg.CORBA.COMM_FAILURE: SCHWERWIEGEND: IOP00410016: Unable to create
IIOP listener on the specified port: 192.168.0.25 vmcid: OMG minor code:
16 completed: No
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at
com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
        at
com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
        at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
        at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
        at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
        at
com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
        at $Proxy34.createListenerFailed(Unknown Source)
        at
com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:98)
        at
com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:243)
        at
com.sun.corba.ee.impl.legacy.connection.LegacyServerSocketManagerImpl.getAcceptorIterator(LegacyServerSocketManagerImpl.java:163)
        at
com.sun.corba.ee.impl.legacy.connection.LegacyServerSocketManagerImpl.legacyIsLocalServerPort(LegacyServerSocketManagerImpl.java:130)
        at
com.sun.corba.ee.impl.ior.iiop.IIOPProfileImpl.isLocal(IIOPProfileImpl.java:341)
        at
com.sun.corba.ee.impl.transport.CorbaContactInfoListImpl.setLocalSubcontract(CorbaContactInfoListImpl.java:425)
        at
com.sun.corba.ee.impl.transport.CorbaContactInfoListImpl.setEffectiveTargetIOR(CorbaContactInfoListImpl.java:258)
        at
com.sun.corba.ee.impl.transport.CorbaContactInfoListImpl.setTargetIOR(CorbaContactInfoListImpl.java:214)
        at
com.sun.corba.ee.impl.transport.CorbaContactInfoListImpl.&lt;init&gt;(CorbaContactInfoListImpl.java:178)
        at
com.sun.corba.ee.spi.transport.TransportDefault$1.create(TransportDefault.java:70)
        at
com.sun.corba.ee.impl.orbutil.ORBUtility.makeClientDelegate(ORBUtility.java:803)
        at
com.sun.corba.ee.impl.resolver.BootstrapResolverImpl.&lt;init&gt;(BootstrapResolverImpl.java:83)
        at
com.sun.corba.ee.spi.resolver.ResolverDefault.makeBootstrapResolver(ResolverDefault.java:89)
        at
com.sun.corba.ee.impl.orb.ORBConfiguratorImpl.initializeNaming(ORBConfiguratorImpl.java:363)
        at
com.sun.corba.ee.impl.orb.ORBConfiguratorImpl.configure(ORBConfiguratorImpl.java:152)
        at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:625)
        at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:704)
        at com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:691)
        at com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:107)
        at
org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:581)
        at
org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:263)
        at
org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:93)
        at
org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:120)
        at
com.sun.enterprise.naming.impl.SerialContext.getORB(SerialContext.java:365)
        at
com.sun.enterprise.naming.impl.SerialContext.getProviderCacheKey(SerialContext.java:372)
        at
com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:402)
        at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
        at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:508)
        at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at
com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:173)
        at
com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1097)
        at
com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:771)
        at
com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
        at
com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:166)
        at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:502)
        at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:597)
        at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:468)
        at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:215)
        at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:207)
        at
org.glassfish.appclient.client.acc.AppClientContainer$ClientMainClassSetting.getClientMainClass(AppClientContainer.java:619)
        at
org.glassfish.appclient.client.acc.AppClientContainer.getMainMethod(AppClientContainer.java:511)
        at
org.glassfish.appclient.client.acc.AppClientContainer.completePreparation(AppClientContainer.java:405)
        at
org.glassfish.appclient.client.acc.AppClientContainer.prepare(AppClientContainer.java:319)
        at
org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:278)
        at
org.glassfish.appclient.client.JWSAppClientContainerMain$ClientRunner.run(JWSAppClientContainerMain.java:167)
        at
org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.net.BindException: Cannot assign requested address: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at
org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:293)
        at
com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:91)
        ... 57 more
-- 
View this message in context: http://old.nabble.com/Re%3A-Glassfish-bug-when-accessing-context-from-remote-tp30456031p30707203.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.