users@glassfish.java.net

Re: Glassfish fails to start when JMS configured to LOCAL

From: <glassfish_at_javadesktop.org>
Date: Sun, 04 Jan 2009 23:20:02 PST

Hrm, the link seems to work for me on different machines.

I've included the contents in-line...

<b>Glassfish hangs when started</b>

[STAGING: ~] sudo /etc/init.d/glassfish start
Starting Glassfish...Starting Domain staging, please wait.
Log redirected to /usr/local/glassfish/domains/staging/logs/server.log.
Redirecting output to /usr/local/glassfish/domains/staging/logs/server.log
<i><< Process hangs indefinitely, domain is unresponsive >></i>

Output of ps aux | grep glassfish: See http://pastie.org/private/uybmu3bket0w9dsffyxrq

<b>Output of server.log during startup</b>

[#|2009-01-04T12:59:18.434-0800|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1_02 (build b04-fcs) ...|#]

[#|2009-01-04T12:59:18.523-0800|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.DynamicInterceptor;|MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor|#]

[#|2009-01-04T12:59:19.082-0800|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) 64-Bit Server VM;1.6.0_12-ea;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.6.0_12-ea] from [Sun Microsystems Inc.]|#]

[#|2009-01-04T12:59:19.128-0800|INFO|sun-appserver9.1|javax.enterprise.resource.jms|_ThreadID=12;_ThreadName=pool-1-thread-6;|Using MQ RA for Broker lifecycle control|#]

[#|2009-01-04T12:59:19.132-0800|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=13;_ThreadName=pool-1-thread-3;|SEC1002: Security Manager is OFF.|#]

[#|2009-01-04T12:59:19.928-0800|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|/usr/local/glassfish/domains/staging/config/.__com_sun_appserv_pid|#]

[#|2009-01-04T12:59:20.499-0800|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor is now enabled|#]

[#|2009-01-04T12:59:20.611-0800|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2009-01-04T12:59:20.919-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]

[#|2009-01-04T12:59:20.928-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;bones;|WEB0114: SSO is disabled in virtual server [bones]|#]

[#|2009-01-04T12:59:20.930-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;involver;|WEB0114: SSO is disabled in virtual server [involver]|#]

[#|2009-01-04T12:59:21.583-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;|EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false|#]

[#|2009-01-04T12:59:22.234-0800|INFO|sun-appserver9.1|javax.enterprise.system.core.transaction|_ThreadID=10;_ThreadName=main;3700;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]

[#|2009-01-04T12:59:22.460-0800|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]

[#|2009-01-04T12:59:22.631-0800|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=14;_ThreadName=Thread-15;service:jmx:rmi:///jndi/rmi://XXX.XXX.XXX.com:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://XXX.XXX.XXX.com:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]

[#|2009-01-04T12:59:22.632-0800|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=14;_ThreadName=Thread-15;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]

[#|2009-01-04T12:59:22.910-0800|INFO|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=10;_ThreadName=main;|JMS Service Connection URL is :mq://XXX.XXX.XXX.com:7676/|#]

[#|2009-01-04T12:59:22.921-0800|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...|#]

[#|2009-01-04T12:59:22.954-0800|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_LB1101: Looking for Broker Running at:localhost:7676|#]

[#|2009-01-04T12:59:23.006-0800|WARNING|sun-appserver9.1|javax.jms|_ThreadID=10;_ThreadName=main;_RequestID=ee380073-2e90-407f-9848-dfb5b6d0e747;|[C4003]: Error occurred on connection creation [localhost:7676]. - cause: java.net.ConnectException: Connection refused|#]

[#|2009-01-04T12:59:24.145-0800|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMSRA Started:LOCAL|#]

[#|2009-01-04T12:59:24.719-0800|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=pool-1-thread-6;__JWSappclients:sys.war;server;_RequestID=a5d30d23-0b08-49e3-9b40-6d8213db9573;|WEB0127: Web module [__JWSappclients:sys.war] is not loaded in virtual server [server]|#]

[#|2009-01-04T12:59:24.772-0800|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=15;_ThreadName=pool-1-thread-4;|POARemoteRefFactory checking if SFSBVersionPolicy need to be added|#]

[#|2009-01-04T12:59:24.773-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=pool-1-thread-4;|EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false|#]

[#|2009-01-04T12:59:24.773-0800|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=15;_ThreadName=pool-1-thread-4;|POARemoteRefFactory addSFSBVersionPolicy? false|#]

[#|2009-01-04T12:59:24.775-0800|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=15;_ThreadName=pool-1-thread-4;|POARemoteRefFactory checking if SFSBVersionPolicy need to be added|#]

[#|2009-01-04T12:59:24.775-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=pool-1-thread-4;|EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false|#]

[#|2009-01-04T12:59:24.775-0800|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=15;_ThreadName=pool-1-thread-4;|POARemoteRefFactory addSFSBVersionPolicy? false|#]

[#|2009-01-04T12:59:24.982-0800|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=15;_ThreadName=pool-1-thread-4;MEjbApp;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]

[#|2009-01-04T12:59:25.211-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=13;_ThreadName=pool-1-thread-3;jdbc/__TimerPool;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]

[#|2009-01-04T12:59:25.212-0800|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=13;_ThreadName=pool-1-thread-3;__ejb_container_timer_app;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]

[#|2009-01-04T12:59:25.275-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]

[#|2009-01-04T12:59:25.468-0800|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=15;_ThreadName=pool-1-thread-4;|JBIFW0010: JBI framework ready to accept requests.|#]

[#|2009-01-04T12:59:25.551-0800|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__JWSappclients:sys.war;server;_RequestID=ee380073-2e90-407f-9848-dfb5b6d0e747;|WEB0127: Web module [__JWSappclients:sys.war] is not loaded in virtual server [server]|#]

[#|2009-01-04T12:59:25.665-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;80;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 80|#]

[#|2009-01-04T12:59:25.725-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]

[#|2009-01-04T12:59:25.741-0800|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]

[#|2009-01-04T12:59:26.830-0800|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=16;_ThreadName=pool-1-thread-10;|MQJMSRA_MF1101: setAddressList:NOT setting default value=localhost|#]

[#|2009-01-04T12:59:26.830-0800|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=16;_ThreadName=pool-1-thread-10;|MQJMSRA_MF1101: setPassword:NOT setting default value|#]

[#|2009-01-04T12:59:26.830-0800|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=16;_ThreadName=pool-1-thread-10;|MQJMSRA_MF1101: setUserName:NOT setting default value=guest|#]

<b>iMQ broker output when started standalone</b>

[STAGING: /usr/local/glassfish] ./imq/bin/imqbrokerd
[04/Jan/2009:13:28:25 PST]
================================================================================
Sun Java(tm) System Message Queue 4.1
Sun Microsystems, Inc.
Version: 4.1 Patch 1 (Build 4-b)
Compile: Wed Nov 7 22:30:57 PST 2007

Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. Use is
subject to license terms.
================================================================================
Java Runtime: 1.5.0_14 Sun Microsystems Inc. /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre
[04/Jan/2009:13:28:25 PST] IMQ_HOME=/usr/local/glassfish/imq
[04/Jan/2009:13:28:25 PST] IMQ_VARHOME=/usr/local/glassfish/domains/staging/imq
[04/Jan/2009:13:28:25 PST] Linux 2.6.18-6-amd64 amd64 XXX.XXX.XXX.com (4 cpu) involver
[04/Jan/2009:13:28:25 PST] Java Heap Size: max=174784k, current=31424k
[04/Jan/2009:13:28:25 PST] Arguments:
[04/Jan/2009:13:28:25 PST] [B1060]: Loading persistent data...
[04/Jan/2009:13:28:25 PST] Using built-in file-based persistent store: /usr/local/glassfish/domains/staging/imq/instances/imqbroker/
[04/Jan/2009:13:28:25 PST] [B1039]: Broker "imqbroker_at_XXX.XXX.XXX.com:7676" ready.[b][/b][b][/b]
[Message sent by forum member 'mwadhera' (mwadhera)]

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