users@glassfish.java.net

Running a web start deployed on glassfish

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Dec 2009 13:52:39 PST

I have a web start application deployed on glassfish. I'm able to run it locally but when I run it using another computer I get the following exception the in Java Console:
[code]
Dec 29, 2009 4:45:44 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 127.0.1.1; port: 3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2783)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2804)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:261)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:274)
        at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:130)
        at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:192)
        at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:184)
        at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:328)
        at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
[/code]

My jnlp file looks like this:
[code]
<jnlp spec="1.0+" codebase="http://buckthorn:8080/__JWSappclients/__appclient/handheldProductBuilder-ear-1.0-SNAPSHOT/handheldProductBuilder-appclient-1.0-SNAPSHOT/" href="http://buckthorn:8080/__JWSappclients/__appclient/handheldProductBuilder-ear-1.0-SNAPSHOT/handheldProductBuilder-appclient-1.0-SNAPSHOT/main.jnlp">
  <information>
    <title>Handheld</title>
    <vendor>Application Client</vendor>
    <homepage href="http://buckthorn:8080/main-jnlp.html"/>
    <description kind="short">Application description</description>
    <description kind="one-line">Handheld</description>
    <offline-allowed/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <java version="1.5+"/>
    <jar href="http://buckthorn:8080/__JWSappclients/__appserver/aslib/appserv-jwsacc.jar" download="eager" main="true"/>
    <extension href="http://buckthorn:8080/__JWSappclients/__appclient/handheldProductBuilder-ear-1.0-SNAPSHOT/handheldProductBuilder-appclient-1.0-SNAPSHOT/main-ext.jnlp" name="mainext"/>
    <extension href="http://buckthorn:8080/__JWSappclients/__appclient/handheldProductBuilder-ear-1.0-SNAPSHOT/handheldProductBuilder-appclient-1.0-SNAPSHOT/client-client.jnlp" name="appclient"/>
    <property name="javax.xml.parsers.SAXParserFactory" value="com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/>
    <property name="javax.xml.parsers.DocumentBuilderFactory" value="com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
    <property name="javax.xml.transform.TransformerFactory" value="com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"/>
    <property name="org.xml.sax.parser" value="org.xml.sax.helpers.XMLReaderAdapter"/>
    <property name="org.xml.sax.driver" value="com.sun.org.apache.xerces.internal.parsers.SAXParser"/>
    <property name="java.util.logging.manager" value="com.sun.enterprise.server.logging.ACCLogManager"/>
    <property name="javax.enterprise.resource.corba.level" value="FINE"/>
    <property name="java.naming.factory.initial" value="com.sun.enterprise.naming.SerialInitContextFactory"/>
    <property name="java.naming.factory.url.pkgs" value="com.sun.enterprise.naming"/>
    <property name="java.naming.factory.state" value="com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl"/>
    <property name="com.sun.aas.jws.iiop.defaultHost" value="buckthorn"/>
    <property name="com.sun.aas.jws.iiop.defaultPort" value="3700"/>
    <property name="com.sun.aas.jws.retainTempFiles" value="false"/>
    <property name="com.sun.aas.jws.isJWS" value="true"/>
    <property name="com.sun.aas.jws.download.host" value="buckthorn"/>
    <property name="com.sun.aas.user.code.signed" value="true"/>
  </resources>
  <application-desc main-class="com.sun.enterprise.appclient.jws.boot.JWSACCMain">
    <argument>-mainclass</argument>
    <argument>com.lexi.handheldProductBuilder.App</argument>
  </application-desc>
</jnlp>
[/code]

I'm confused why the web start application is trying to connect to 127.0.1.1. I can't find anywhere I have this set.

Thanks,

Jerry
[Message sent by forum member 'djgerbavore' (gerald.stralko_at_lexi.com)]

http://forums.java.net/jive/thread.jspa?messageID=377965