dev@glassfish.java.net

Re: trouble w/ windows glassfish binary

From: Byron Nevins <byron.nevins_at_Sun.COM>
Date: Thu, 30 Jun 2005 12:40:51 -0700

Delete this file and try to start it again:

D:\<install>\domains\domain1\imq\instances\imqbroker\fs350\property

Jennifer Ball wrote:

> Hi
>
> I installed glassfish for windows and I'm having a couple problems.
> First of all, is the installation program supposed to install the
> start menu items, like for starting the server and launching admin
> console, etc? The quick-start guide (which is version 8.1 BTW)
> instructs us to use the start menu items.
>
> Regardless, when I try to start the server using asadmin start-domain
> domain1, I get a ConnectException, as shown in my server log below.
> Can you give me some suggestions for solving this problem?
>
> thanks very much in advance,
> Jennifer
>
> [#|2005-06-29T09:11:21.612-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.tools.launcher|_ThreadID=10;|
>
> C:/j2sdk5/jre/..\bin\java
> -client
> -Xmx512m
> -XX:NewRatio=2
> -Dcom.sun.aas.defaultLogFile=C:/glassfish/domains/domain1/logs/server.log
> -Djava.endorsed.dirs=C:/glassfish/lib/endorsed
> -Djava.security.policy=C:/glassfish/domains/domain1/config/server.policy
> -Djava.security.auth.login.config=C:/glassfish/domains/domain1/config/login.conf
>
> -Dsun.rmi.dgc.server.gcInterval=3600000
> -Dsun.rmi.dgc.client.gcInterval=3600000
> -Djavax.net.ssl.keyStore=C:/glassfish/domains/domain1/config/keystore.jks
> -Djavax.net.ssl.trustStore=C:/glassfish/domains/domain1/config/cacerts.jks
>
> -Djava.ext.dirs=C:/j2sdk5/jre/../jre/lib/ext;C:/glassfish/domains/domain1/lib/ext;C:/glassfish/derby/lib
>
> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
> -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:/glassfish/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:/glassfish/config
> -Djava.library.path=C:\glassfish\lib;C:\glassfish\lib;C:\j2sdk5\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\glassfish\lib;C:\glassfish\bin;C:\glassfish\bin;C:\glassfish\lib;C:\j2sdk5\bin;%J2EE_HOME%\lib\jaxp-renamed\dom.jar;%J2EE_HOME%\lib\jaxp-renamed\xalan.jar;%J2EE_HOME%\lib\jaxp-renamed\xercesImpl.jar;J2EE_HOME%\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\jwsdp-1.6\jwsdp-shared\bin;C:\jwsdp-1.6\jwsdp-shared\bin;;;;;;;;C:\j2sdk1.4.2_02\bin;C:\unzipped\pic12\inms;C:\unzipped\pic12\inmx;
>
> -Dcom.sun.aas.instanceName=server
> -Dcom.sun.aas.processLauncher=SE
> -cp
> C:/j2sdk5/jre/../lib/tools.jar;C:/glassfish/lib/appserv-rt.jar;C:/glassfish/lib\activation.jar;C:/glassfish/lib\admin-cli.jar;C:/glassfish/lib\appserv-admin-client.jar;C:/glassfish/lib\appserv-admin.jar;C:/glassfish/lib\appserv-cmp.jar;C:/glassfish/lib\appserv-ext.jar;C:/glassfish/lib\appserv-jstl.jar;C:/glassfish/lib\appserv-launch.jar;C:/glassfish/lib\appserv-upgrade.jar;C:/glassfish/lib\commons-launcher.jar;C:/glassfish/lib\commons-logging.jar;C:/glassfish/lib\dbschema.jar;C:/glassfish/lib\j2ee-svc.jar;C:/glassfish/lib\j2ee.jar;C:/glassfish/lib\jax-qname.jar;C:/glassfish/lib\jaxr-api.jar;C:/glassfish/lib\jaxr-impl.jar;C:/glassfish/lib\jaxrpc-api.jar;C:/glassfish/lib\jaxrpc-impl.jar;C:/glassfish/lib\jmxremote_optional.jar;C:/glassfish/lib\jsf-api.jar;C:/glassfish/lib\jsf-impl.jar;C:/glassfish/lib\mail.jar;C:/glassfish/lib\relaxngDatatype.jar;C:/glassfish/lib\saaj-api.jar;C:/glassfish/lib\saaj-impl.jar;C:/glassfish/lib\struts.jar;C:/glassfish/lib\xsdlib.jar;C:/glassfish/lib/install/applications/jmsra/imqjmsra.jar;C:/glassfish/imq/lib/jaxm-api.jar;C:/glassfish/imq/lib/fscontext.jar;C:/glassfish/imq/lib/imqbroker.jar;C:/glassfish/imq/lib/imqjmx.jar;C:/glassfish/lib/ant/lib/ant.jar;
>
> com.sun.enterprise.server.PEMain
> start|#]
>
> [#|2005-06-29T09:11:26.680-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.resource.jms|_ThreadID=10;|Using
> MQ RA for Broker lifecycle control|#]
>
> [#|2005-06-29T09:11:26.700-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.system.core|_ThreadID=10;|CORE5098:
> AS Socket Service Initialization has been completed.|#]
>
> [#|2005-06-29T09:11:30.295-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer
> initialized successfully|#]
>
> [#|2005-06-29T09:11:31.366-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143:
> Loading policy provider
> com.sun.enterprise.security.provider.PolicyWrapper.|#]
>
> [#|2005-06-29T09:11:31.487-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.system.core.selfmanagement|_ThreadID=10;|sgmt.service_initialized|#]
>
>
> [#|2005-06-29T09:11:33.429-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.system.container.web|_ThreadID=10;|Created
> virtual server server|#]
>
> [#|2005-06-29T09:11:33.439-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.system.container.web|_ThreadID=10;|Created
> virtual server __asadmin|#]
>
> [#|2005-06-29T09:11:36.043-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299:
> (INTERNAL) Successfully created IIOP listener on the specified
> host/port: all interfaces/3700"|#]
>
> [#|2005-06-29T09:11:36.063-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299:
> (INTERNAL) Successfully created IIOP listener on the specified
> host/port: all interfaces/3820"|#]
>
> [#|2005-06-29T09:11:36.073-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299:
> (INTERNAL) Successfully created IIOP listener on the specified
> host/port: all interfaces/3920"|#]
>
> [#|2005-06-29T09:11:38.036-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014:
> Recoverable JTS instance, serverId = [3700]|#]
>
> [#|2005-06-29T09:11:38.967-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.system.core|_ThreadID=10;|Broker
> Type EMBEDDED. Starting RA|#]
>
> [#|2005-06-29T09:11:41.150-0800|INFO|TestAbbrevProductName9.0|javax.enterprise.resource.resourceadapter|_ThreadID=10;|JMS
> Service Connection URL is :mq://VENUS:7676/,|#]
>
> [#|2005-06-29T09:11:41.170-0800|INFO|TestAbbrevProductName9.0|javax.resourceadapter.lifecycle.mqjmsra|_ThreadID=10;|MQJMSRA_RA1101:
> SJSMQ JMS Resource Adapter starting...
> ================================================================================
>
> Sun Java(tm) System Message Queue 4 2005Q1
> Sun Microsystems, Inc.
> Version: 4.0 Alpha (Build 10-i)
> Compile: Thu 06/09/2005
> Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
> Use is subject to license terms.
>
> This product includes code licensed from RSA Data Security.
> ================================================================================
>
> |#]
>
> [#|2005-06-29T09:11:42.222-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|[29/Jun/2005:09:11:42
> GMT-08:00]
> ================================================================================
>
> Sun Java(tm) System Message Queue 4 2005Q1
> Sun Microsystems, Inc.
> Version: 4.0 Alpha (Build 10-i)
> Compile: Thu 06/09/2005
> Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
> Use is subject to license terms.
>
> This product includes code licensed from RSA Data Security.
> ================================================================================
>
> Java Runtime: 1.5.0_02 Sun Microsystems Inc. C:\j2sdk5\jre
> |#]
>
> [#|2005-06-29T09:11:42.362-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|[29/Jun/2005:09:11:42
> GMT-08:00] IMQ_HOME=C:\glassfish\imq
> |#]
>
> [#|2005-06-29T09:11:42.362-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|[29/Jun/2005:09:11:42
> GMT-08:00] IMQ_VARHOME=C:\glassfish\domains\domain1\imq
> |#]
>
> [#|2005-06-29T09:11:42.372-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|[29/Jun/2005:09:11:42
> GMT-08:00] Windows XP 5.1 x86 192.168.1.101 (1 cpu) Jennifer Ball
> |#]
>
> [#|2005-06-29T09:11:42.382-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|[29/Jun/2005:09:11:42
> GMT-08:00] Java Heap Size: max=506816k, current=12916k
> |#]
>
> [#|2005-06-29T09:11:42.382-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|[29/Jun/2005:09:11:42
> GMT-08:00] Arguments: -port 7676 -name imqbroker -imqhome
> C:\glassfish\imq\bin\.. -varhome C:/glassfish/domains/domain1\imq
> -startRmiRegistry -rmiRegistryPort 1099
> |#]
>
> [#|2005-06-29T09:11:42.593-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|[29/Jun/2005:09:11:42
> GMT-08:00] [B1060]: Loading persistent data...
> |#]
>
> [#|2005-06-29T09:11:42.593-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|[29/Jun/2005:09:11:42
> GMT-08:00] Using built-in file-based persistent store:
> C:\glassfish\domains\domain1\imq\instances\imqbroker\
> |#]
>
> [#|2005-06-29T09:11:43.554-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|com.sun.messaging.jmq.jmsserver.util.BrokerException:
> Caught exception when starting Connector Server jmxrmi:
> java.io.IOException: Cannot bind to URL
> [rmi://192.168.1.101:1099/192.168.1.101/7676]:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 192.168.1.101;
> nested exception is: java.net.ConnectException: Connection
> refused: no further information]
> at
> com.sun.messaging.jmq.jmsserver.management.agent.ConnectorServerManager.start(ConnectorServerManager.java:294)
>
> at
> com.sun.messaging.jmq.jmsserver.management.agent.ConnectorServerManager.start(ConnectorServerManager.java:307)
>
> at
> com.sun.messaging.jmq.jmsserver.management.agent.Agent.start(Agent.java:127)
>
> at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:837)
> at
> com.sun.messaging.jmq.jmsserver.BrokerProcess.start(BrokerProcess.java:132)
>
> at
> com.sun.messaging.jms.ra.EmbeddedBrokerRunner.start(EmbeddedBrokerRunner.java:159)
>
> at
> com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:350)
> at
> com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:102)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:98)
>
> at
> com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:178)
>
> at
> com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:65)
>
> at
> com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
>
> at
> com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:408)
>
> at
> com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:208)
>
> at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:252)
> at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:609)
> at
> com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:242)
>
> at com.sun.enterprise.server.PEMain.run(PEMain.java:284)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
> |#]
>
> [#|2005-06-29T09:11:43.554-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|
>
> Caught exception when starting JMX Agent:
> com.sun.messaging.jmq.jmsserver.util.BrokerException: Caught exception
> when starting Connector Server jmxrmi: java.io.IOException: Cannot
> bind to URL [rmi://192.168.1.101:1099/192.168.1.101/7676]:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 192.168.1.101;
> nested exception is: java.net.ConnectException: Connection
> refused: no further information]|#]
>
> [#|2005-06-29T09:11:43.964-0800|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.stream.err|_ThreadID=10;|
>
> [29/Jun/2005:09:11:43 GMT-08:00] [B1039]: Broker
> "imqbroker_at_192.168.1.101:7676" ready.
> |#]
>
> [#|2005-06-29T09:11:44.155-0800|INFO|TestAbbrevProductName9.0|javax.resourceadapter.lifecycle.mqjmsra|_ThreadID=10;|MQJMSRA_EB1101:
> run:EMBEDDED broker started with code =0|#]
>
> [#|2005-06-29T09:11:45.497-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:46.488-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:47.490-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:47.550-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:47.610-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:47.670-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:48.691-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:49.693-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:50.694-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:50.754-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#]
>
> [#|2005-06-29T09:11:50.814-0800|WARNING|TestAbbrevProductName9.0|javax.jms|_ThreadID=10;|[I500]:
> Caught JVM Exception: java.net.ConnectException: Connection refused:
> no further information|#
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>