Run Main Project button and Server Startup Failure

I downloaded Sun Studio Creator about 6 mths ago. A few days ago, I decided to explore its functionality. So I created two simple pages and would test the pages by use of "Run Main Project" button. I was able to test functionality successfully with this approach. I then recognized that there were hotfixes available and decided to download them. I downloaded all available as of 8/30/2006. Then when I try to test after installing all hotfixes, I get the following exception when I click on "Run Main Project" button:

[#|2006-08-30T10:47:12.718-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.re source.jms|_ThreadID=10;|JMS5035: Timed out after 60000 milliseconds while trying to verify if the JMS service startup succeeded.|#]

[#|2006-08-30T10:47:12.734-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.re source.jms|_ThreadID=10;|JMS5037: Check permissions of MQ instance directory C:\Program Files\Sun\Creator2\SunAppServer8\imq\var\instances|#]

[#|2006-08-30T10:47:12.734-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.re source.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.|#]

[#|2006-08-30T10:47:12.734-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise. system.core|_ThreadID=10;|UnknownException during startup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false

com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [127.0.0.1:27676]. - cause: java.net.ConnectException: Connection refused: no further information

at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLif ecycle.java:427)

at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.ja va:54)

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

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

at com.sun.rave.tray.RavePEMain.main(RavePEMain.java:37)

Caused by: com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [127.0.0.1:27676]. - cause: java.net.ConnectException: Connection refused: no further information

at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSConnectException(Excepti onHandler.java:233)

at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(Excepti onHandler.java:180)

at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClie nt.java:191)

at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:116 )

at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient. java:54)

at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>( TCPConnectionHandler.java:61)

at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TC PStreamHandler.java:102)

at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionOld(Connect ionInitiator.java:291)

at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Connection Initiator.java:113)

at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Connection Initiator.java:98)

at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:613)

at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.ja va:1194)

at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.ja va:1949)

at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)

at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java :315)

at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConne ctionImpl.java:33)

at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectio nImpl.java:32)

at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.jav a:72)

at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java: 783)

at com.sun.enterprise.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifec ycle.java:335)

at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLif ecycle.java:396)

... 4 more

Caused by: java.net.ConnectException: Connection refused: no further information

at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:525)

at com.sun.enterprise.server.ss.ASClientSocketImpl.connect(ASClientSocketImpl.java :175)

at java.net.Socket.connect(Socket.java:507)

at java.net.Socket.connect(Socket.java:457)

at java.net.Socket.<init>(Socket.java:365)

at java.net.Socket.<init>(Socket.java:178)

at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClie nt.java:171)

... 22 more

|#]

[#|2006-08-30T10:47:12.796-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise. system.core|_ThreadID=10;|Exception while stoppping Lifecycle.

com.sun.appserv.server.ServerLifecycleException: MQ startup failed :[C4003]: Error occurred on connection creation [127.0.0.1:27676]. - cause: java.net.ConnectException: Connection refused: no further information

at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLif ecycle.java:376)

at com.sun.enterprise.jms.JmsProviderLifecycle.onShutdown(JmsProviderLifecycle.jav a:445)

at com.sun.enterprise.server.ss.ASLazyKernel.stopLifecycle(ASLazyKernel.java:175)

at com.sun.enterprise.server.ss.ASLazyKernel.stopMQ(ASLazyKernel.java:169)

at com.sun.enterprise.server.ss.ASLazyKernel.exitServer(ASLazyKernel.java:74)

at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.ja va:67)

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

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

at com.sun.rave.tray.RavePEMain.main(RavePEMain.java:37)

|#]

[6264 byte] By [gte338m] at [2007-11-26 9:49:48]
# 1

This problem may not be due to applying the hotfixes and may just be because things may have changed on your machine since you installed creator.

You may want to uninstall creator and install the latest version (Creator 2 Update 1):

http://developers.sun.com/prodtech/javatools/jscreator/downloads/index.jsp

and apply its hotfixes.

KarthikR at 2007-7-7 0:59:30 > top of Java-index,Development Tools,Java Tools...