dev@glassfish.java.net

Re: AS 8.1 UR2 on Vista ?

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Wed, 30 May 2007 17:57:31 -0700

That did the trick :)

Instead of completely disabling it, can I plug a hole in the firewall
instead ?

-Arun

kedar wrote:
> Are you running Firewall (Windows or other)?
>
> If yes, please disable it.
>
> Kedar
>
> Arun Gupta wrote:
>> I downloaded and installed AS 8.1 UR 2 [1] on Windows Vista Ultimate.
>> Even though it gave me an unsupported platform error, the installation
>> succeeded. But when I try to start the App Server, I get the following
>> error: (See at the end for more information)
>>
>> -- cut here --
>> LAUNCHER005:Spaces in your PATH have been detected. The PATH must be
>> consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or
>> the Appserver may not be able to start and/or stop. Mixed quoted
>> spaces in your PATH can cause problems, so the launcher will remove
>> all double quotes before invoking the process. The most reliable
>> solution would be to remove all spaces from your path before starting
>> the Appservers components.
>> C:/testbed/jdk1.5.0_11\bin\java
>> -client
>> -Xmx512m
>> -XX:NewRatio=2
>> -Dcom.sun.aas.defaultLogFile=C:/testbed/AppServer81UR2/domains/domain1/logs/server.log
>>
>> -Djava.endorsed.dirs=C:/testbed/AppServer81UR2/lib/endorsed
>> -Djava.security.policy=C:/testbed/AppServer81UR2/domains/domain1/config/server.policy
>>
>> -Djava.security.auth.login.config=C:/testbed/AppServer81UR2/domains/domain1/config/login.conf
>>
>> -Dsun.rmi.dgc.server.gcInterval=3600000
>> -Dsun.rmi.dgc.client.gcInterval=3600000
>> -Djavax.net.ssl.keyStore=C:/testbed/AppServer81UR2/domains/domain1/config/keystore.jks
>>
>> -Djavax.net.ssl.trustStore=C:/testbed/AppServer81UR2/domains/domain1/config/cacerts.jks
>>
>> -Djava.ext.dirs=C:/testbed/jdk1.5.0_11/jre/lib/ext;C:/testbed/AppServer81UR2/domains/domain1/lib/ext
>>
>> -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
>> -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
>>
>> -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
>>
>> -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
>> -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
>> -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
>>
>> -Dcom.sun.aas.configName=server-config
>> -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
>> -Ddomain.name=domain1
>> -Djmx.invoke.getters=true
>> -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
>>
>> -Dcom.sun.aas.promptForIdentity=true
>> -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
>> -Dcom.sun.aas.instanceRoot=C:/testbed/AppServer81UR2/domains/domain1
>> -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
>>
>> -Dcom.sun.aas.domainName=domain1
>> -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
>>
>> -Dproduct.name=Sun-Java-System/Application-Server
>> -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
>>
>> -Dcom.sun.aas.configRoot=C:/testbed/AppServer81UR2/config
>> -Djava.library.path=C:\testbed\jdk1.5.0_11\jre\bin\client;C:\testbed\AppServer81UR2\lib;C:\testbed\AppServer81UR2\lib;C:\testbed\jdk1.5.0_11\bin;.;C:\Windows\system32;C:\Windows;C:\testbed\AppServer81UR2\lib;C:\testbed\AppServer81UR2\bin;C:\testbed\AppServer81UR2\lib;C:\testbed\AppServer81UR2\bin;C:\testbed\AppServer81UR2\bin;C:\testbed\AppServer81UR2\bin;C:\testbed\jdk1.5.0_11\bin;c:\testbed\ruby\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
>> Files\CVSNT\
>> -Dcom.sun.aas.instanceName=server
>> -Dcom.sun.aas.processLauncher=SE
>> -cp
>> C:/testbed/jdk1.5.0_11/lib/tools.jar;C:/testbed/AppServer81UR2/lib/appserv-rt.jar;C:/testbed/AppServer81UR2/lib\activation.jar;C:/testbed/AppServer81UR2/lib\admin-cli.jar;C:/testbed/AppServer81UR2/lib\appserv-admin.jar;C:/testbed/AppServer81UR2/lib\appserv-cmp.jar;C:/testbed/AppServer81UR2/lib\appserv-ext.jar;C:/testbed/AppServer81UR2/lib\appserv-jstl.jar;C:/testbed/AppServer81UR2/lib\appserv-upgrade.jar;C:/testbed/AppServer81UR2/lib\commons-launcher.jar;C:/testbed/AppServer81UR2/lib\commons-logging.jar;C:/testbed/AppServer81UR2/lib\dom.jar;C:/testbed/AppServer81UR2/lib\j2ee-svc.jar;C:/testbed/AppServer81UR2/lib\j2ee.jar;C:/testbed/AppServer81UR2/lib\jax-qname.jar;C:/testbed/AppServer81UR2/lib\jaxr-api.jar;C:/testbed/AppServer81UR2/lib\jaxr-impl.jar;C:/testbed/AppServer81UR2/lib\jaxrpc-api.jar;C:/testbed/AppServer81UR2/lib\jaxrpc-impl.jar;C:/testbed/AppServer81UR2/lib\jmxremote.jar;C:/testbed/AppServer81UR2/lib\jmxremote_optional.jar;C:/testbed/AppServer81UR2/lib\jsf-api.
j!
>>
> ar
>>
>> ;C:/testbed/AppServer81UR2/lib\jsf-impl.jar;C:/testbed/AppServer81UR2/lib\mail.jar;C:/testbed/AppServer81UR2/lib\relaxngDatatype.jar;C:/testbed/AppServer81UR2/lib\rmissl.jar;C:/testbed/AppServer81UR2/lib\saaj-api.jar;C:/testbed/AppServer81UR2/lib\saaj-impl.jar;C:/testbed/AppServer81UR2/lib\xalan.jar;C:/testbed/AppServer81UR2/lib\xercesImpl.jar;C:/testbed/AppServer81UR2/lib\xsdlib.jar;C:/testbed/AppServer81UR2/lib/install/applications/jmsra/imqjmsra.jar;C:/testbed/AppServer81UR2/imq/lib/jaxm-api.jar;C:/testbed/AppServer81UR2/imq/lib/fscontext.jar;C:/testbed/AppServer81UR2/lib/ant/lib/ant.jar;C:/testbed/AppServer81UR2/pointbase/lib/pbclient.jar;C:/testbed/AppServer81UR2/pointbase/lib/pbembedded.jar
>>
>> com.sun.enterprise.server.PEMain
>> start
>> display
>> native
>> JMS5023: JMS service successfully started. Instance Name = imqbroker,
>> Home = [C:\testbed\AppServer81UR2\imq\bin].
>> CORE5098: AS Socket Service Initialization has been completed.
>> ADM0001:MBeanServer initialized successfully
>> SEC1143: Loading policy provider
>> com.sun.enterprise.security.provider.PolicyWrapper.
>> Created virtual server server
>> Created virtual server __asadmin
>> "IOP00710299: (INTERNAL) Successfully created IIOP listener on the
>> specified host/port: all interfaces/3700"
>> "IOP00710299: (INTERNAL) Successfully created IIOP listener on the
>> specified host/port: all interfaces/3820"
>> "IOP00710299: (INTERNAL) Successfully created IIOP listener on the
>> specified host/port: all interfaces/3920"
>> JTS5014: Recoverable JTS instance, serverId = [3700]
>> DPL5400:Exception occurred : error in opening zip file.
>> ADM1079: Initialization of AMX MBeans successful
>> Instantiated container for: ejbName: MEJBBean; containerId:
>> 77369227239030784
>> LDR5010: All ejb(s) of [MEjbApp] loaded successfully!
>> Instantiated container for: ejbName: TimerBean; containerId:
>> 77369227542724608
>> EJB5109:EJB Timer Service started successfully for datasource
>> [jdbc/__TimerPool]
>> LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
>> WEB0302: Starting Sun-Java-System/Application-Server.
>> WEB0100: Loading web module [__default-admingui] in virtual server
>> [__asadmin] at [/]
>> WEB0500: default-locale attribute of locale-charset-info element has
>> been deprecated and is being ignored. Use default-charset attribute of
>> parameter-encoding element instead
>> WEB0100: Loading web module [adminapp] in virtual server [__asadmin]
>> at [/web1]
>> WEB0100: Loading web module [admingui] in virtual server [__asadmin]
>> at [/asadmin]
>> WEB0500: default-locale attribute of locale-charset-info element has
>> been deprecated and is being ignored. Use default-charset attribute of
>> parameter-encoding element instead
>> WEB0100: Loading web module [com_sun_web_ui] in virtual server
>> [__asadmin] at [/com_sun_web_ui]
>> Starting Servlet Engine: Sun-Java-System/Application-Server
>> WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1
>> on 8080
>> WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080
>> WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1
>> on 8181
>> WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181
>> WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1
>> on 4848
>> WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848
>> Service
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_bc5aea
>> cannot be started! : com.sun.appserv.server.ServerLifecycleException:
>> Cannot bind to URL [rmi://iamfine:8686/management/rmi-jmx-connector]:
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host: iamfine; nested
>> exception is:
>> java.net.ConnectException: Connection timed out: no further
>> information]
>> CORE5071: An error occured during initialization
>> com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL
>> [rmi://iamfine:8686/management/rmi-jmx-connector]:
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host: iamfine; nested
>> exception is:
>> java.net.ConnectException: Connection timed out: no further
>> information]
>> at
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:101)
>>
>> at
>> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
>>
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
>> Caused by: java.io.IOException: Cannot bind to URL
>> [rmi://iamfine:8686/management/rmi-jmx-connector]:
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host: iamfine; nested
>> exception is:
>> java.net.ConnectException: Connection timed out: no further
>> information]
>> at
>> javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
>>
>> at
>> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
>>
>> at
>> com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:173)
>>
>> at
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:93)
>>
>> ... 3 more
>> Caused by: javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host: iamfine; nested
>> exception is:
>> java.net.ConnectException: Connection timed out: no further
>> information]
>> at
>> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
>> at
>> com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
>>
>> at javax.naming.InitialContext.bind(InitialContext.java:359)
>> at
>> javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
>>
>> at
>> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
>>
>> ... 5 more
>> Caused by: java.rmi.ConnectException: Connection refused to host:
>> iamfine; nested exception is:
>> java.net.ConnectException: Connection timed out: no further
>> information
>> at
>> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
>> at
>> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>> at
>> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
>> at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
>> at
>> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)
>> ... 9 more
>> Caused by: java.net.ConnectException: Connection timed out: no further
>> information
>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>> at
>> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:527)
>> at
>> com.sun.enterprise.server.ss.ASClientSocketImpl.connect(ASClientSocketImpl.java:175)
>>
>> at java.net.Socket.connect(Socket.java:519)
>> at java.net.Socket.connect(Socket.java:469)
>> at java.net.Socket.<init>(Socket.java:366)
>> at java.net.Socket.<init>(Socket.java:179)
>> at
>> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
>>
>> at
>> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
>>
>> at
>> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
>> ... 14 more
>> Server Startup failed. Exiting...
>> Server shutdown in progress...
>> CORE5061: Exception :
>> com.sun.appserv.server.ServerLifecycleException
>> at
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:118)
>>
>> at
>> com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
>>
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
>> WEB0303: Stopping Sun-Java-System/Application-Server.
>> WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080
>> WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181
>> WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848
>> CORE5051: Shutting down all J2EE applications ...
>> EJB5122:EJB Timer Service shutdown at [2007/05/30 15:08:14]
>> CORE 5060 : Stopping all J2EE Connector 1.5 Compliant resource
>> adapters ...
>> RAR7094: __xa shutdown successfully.
>> CORE 5061 : Resource adapters Stop() Complete
>> CORE5052: Application shutdown complete.
>> JMS5025: JMS service shutting down.
>> JMS5026: JMS service shutdown complete.
>> Server stopped due to Server startup failure.
>> -- cut here --
>>
>> - I start GlassFish multiple times during a day on this machine.
>> - The first error seems pretty basic for a Windows machine.
>> - Is this not supposed to work at all on Vista ?
>>
>> [1]
>> http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=sjsas_pe-8_1_02_2005Q2-oth-JPR&SiteId=JSC&TransactionId=noreg
>>
>>
>> Thanks,
>> -Arun
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Technology Evangelist
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta