solaris 10 bundle application server

My workstation is SUN Blade 100 Sparc

I used solaris 10 bundle appserver and try to start the server.

I could create the domain by

#asadm create-domain --adminport 123 --adminuser root mydomain

when I delete the domain by

#asadm

it shows "/usr/bin/imqbrokerd: not found"

when I start the domain by

#asadm start-domain mydomain

The server doesn't start and log following error:

[#|2004-12-01T16:32:53.767+0800|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0020:Following is the information about the JMX MBeanServer used:|#]

[#|2004-12-01T16:32:54.469+0800|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]

[#|2004-12-01T16:32:55.320+0800|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5034: Could not start the JMS service broker process.|#]

[#|2004-12-01T16:32:55.322+0800|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5036: More details may be available in the log file for the JMS service broker instance imqbroker. Please refer to the JMS provider documentation for the exact location of this log file.|#]

[#|2004-12-01T16:32:55.324+0800|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5024: JMS service startup failed.|#]

[#|2004-12-01T16:32:55.343+0800|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Service com.sun.enterprise.jms.JmsProviderLifecycle@1d381d2 cannot be initialized! : com.sun.appserv.server.ServerLifecycleException: /usr/bin/imqbrokerd: not found|#]

[#|2004-12-01T16:32:55.345+0800|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization

com.sun.appserv.server.ServerLifecycleException: /usr/bin/imqbrokerd: not found

at com.sun.enterprise.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:278)

at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:220)

at com.sun.enterprise.server.PEMain.run(PEMain.java:210)

at com.sun.enterprise.server.PEMain.main(PEMain.java:172)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

Caused by: com.sun.appserv.server.ServerLifecycleException: /usr/bin/imqbrokerd: not found

at com.sun.enterprise.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:265)

... 8 more

Caused by: java.io.IOException: /usr/bin/imqbrokerd: not found

at java.lang.UNIXProcess.forkAndExec(Native Method)

at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)

at java.lang.Runtime.execInternal(Native Method)

at java.lang.Runtime.exec(Runtime.java:566)

at java.lang.Runtime.exec(Runtime.java:491)

at java.lang.Runtime.exec(Runtime.java:457)

at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.startProvider(JMSAdminImpl.java:720)

at com.sun.enterprise.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:258)

... 8 more

|#]

[#|2004-12-01T16:32:55.353+0800|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]

[#|2004-12-01T16:32:55.354+0800|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]

[#|2004-12-01T16:32:55.502+0800|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :

java.lang.NullPointerException

at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:377)

at com.sun.enterprise.jms.JmsProviderLifecycle.onShutdown(JmsProviderLifecycle.java:433)

at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:400)

at com.sun.enterprise.server.PEMain.run(PEMain.java:233)

at com.sun.enterprise.server.PEMain.main(PEMain.java:172)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

|#]

[#|2004-12-01T16:32:55.664+0800|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.admin|_ThreadID=10;|core.tmp_folder_deletion_failed|#]

[#|2004-12-01T16:32:55.670+0800|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Server stopped due to Server startup failure.|#]

[5092 byte] By [paulyip] at [2007-9-30 23:30:36]
# 1

Based on the info you supplied it looks like the /usr/bin/imqbrokerd program could not be found. Does this path exist? If not it looks like the appserver may be configged incorrectly. IMQ may be installed in a different location. Can you find the imqbrokerd program on your system? Once you locate it could you look in your config/asenv.conf file and check the AS_IMQ_LIB and AS_IMQ_BIN properties to make sure they are pointing to appropriate paths. Post back what you find.

caseylou at 2007-7-7 14:33:40 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Put APP_SERVER_INSTALL_DIR/bin as the first element in your PATH and try again. Check the asenv.conf as suggested by caseylou
vijaysr1 at 2007-7-7 14:33:40 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Thank you for you help.

I can't find the imqbrokerd file in my computer today, but it was in yesterday...so I decided to re-install it again.

This time the file is in /usr/bin/imqbrokerd.

Then I #create-domain and #start-domain. It works now.

Thank again for caseylou and vijaysr1's help.

paulyip at 2007-7-7 14:33:40 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...