Activities

January 2012
M T W T F S S
« Dec   Feb »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Glasshfish error : EMBEDDED Broker start failure:code

You may got the following errors when you start the glasshfish server where files are copied it from some other servers. The error exact look likes as follows.

[#|2012-01-02T03:43:44.999-0500|SEVERE|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;_RequestID=a405530f-501e-4486-a1d4-92d05f49976e;|MQJMSRA_RA4001: start:Aborting:Exception starting EMBEDDED broker=EMBEDDED Broker start failure:code = 1|#]

Solution

Just delete the “lock” file from the glassfish directory. The location of this file is “imq/instances/imqbroker/lock” under glassfish.

[root@fc-web04 domain1]# rm imq/instances/imqbroker/lock
rm: remove regular file `imq/instances/imqbroker/lock'? y
[root@fc-web04 domain1]# /var/glassfish/bin/asadmin start-domain domain1

Then try to restart the web server.

[root@domain1]# /var/glassfish/bin/asadmin start-domain domain1
Starting Domain domain1, please wait.
Log redirected to /var/glassfish/domains/domain1/logs/server.log.
Redirecting output to /var/glassfish/domains/domain1/logs/server.log
Killed
[root@ domain1]# /var/glassfish/bin/asadmin start-domain domain1
Starting Domain domain1, please wait.
Log redirected to /var/glassfish/domains/domain1/logs/server.log.
Redirecting output to /var/glassfish/domains/domain1/logs/server.log
Domain domain1 is ready to receive client requests. Additional services are being started in background.
Domain [domain1] is running [Sun Java System Application Server 9.1_01 (build b09d-fcs)] with its configuration and logs at: [/var/glassfish/domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[https://localhost:80 https://localhost:443 ].
Following web-contexts are available:
[/web1  /__wstx-services myapp ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://web:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[80 443 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other standalone instances.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>