Sun App Server won't stop
When I press the Start/Stop Server icon in the toolbar I get a dialog box that comes up titled "Server Status". A progress bar inside the dialog says "Server is Running". I press the "Stop Server" button and the progress bar advances from left to right, appearing to be shutting down the server, but then it returns to the initial state and says "Server is Running" again.
The server is indeed running before and after I try the stop procedure because I can still load my web pages.
Any idea what is happening?
[529 byte] By [
Skrelton] at [2007-11-26 9:32:25]

# 1
Application Server creates log files to help diagnose problems that may occur, either with its own installation or with applications that are deployed to them.
check the log files , might give a clue:
The log file for the Creator IDE is located as follows:
$HOME\.Creator\2_0\var\log\message.log
You can also open this file from the IDE Tools menu by choosing Tools > Java Studio Creator Log File.
The log file for the Sun Java System Application Server Platform Edition 8 is located as follows:
$Creator_Dir\SunAppServer8\domains\creator\logs\server.log
# 2
Well, today the problem is a bit different. I've rebooted my machine, and now when I try to run my sample web application the server fails to start.
I get an error on the Deployment Progress Monitor that says:
"Deployment error: Failed to start server localhost 25848. See the server log for details"
The server log contains the following (this is the tail end of the log):
[#|2006-08-18T11:09:05.812+0900|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core|_ThreadID=10;|Application server startup complete.|#]
[#|2006-08-18T11:09:56.484+0900|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.tools.admin|_ThreadID=11;|ADM5815:Error initializing admin channel client.|#]
[#|2006-08-18T11:10:56.640+0900|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.tools.admin|_ThreadID=11;|ADM5815:Error initializing admin channel client.|#]
[#|2006-08-18T11:11:56.734+0900|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.tools.admin|_ThreadID=11;|ADM5815:Error initializing admin channel client.|#]
[#|2006-08-18T11:12:56.812+0900|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.tools.admin|_ThreadID=11;|ADM5815:Error initializing admin channel client.|#]
Any ideas from this?
Regards
# 3
Is it possible that you two installations of Creator? This is what I am guessing.
If you don't, maybe this workaround will help anyway. I will assume you are windows.
If you don't mind, rename your current user directory which is at c:\documents and settings\<your useraccountname>\.Creator\2_1 to e.g. backup2_1; reboot and start up Creator. If you are not on Windows you could forego reboot and kill Creator/appserv related processes. Start up Creator anew and It will create a fresh userdir .
hth!
/krys
Creator Team
# 4
Hi, thanks for your reply.
Actually I have Java Studio Enterprise 8 installed on this same system (Windows XP).I recently installed and have been trying out Creator. I do not run both at the same time. Does your advice mentioned above still stand for this situation? Also, could you explain to me why having two installations, but only running one, would start the server twice?
Thanks.