The Sun Java System Application Server 8.2 could not start.

Hi,

I am using Java Studio Creator 2 Update 1. I get the following error when I try to run the project.

The Sun Java System Application Server 8.2 could not start.

More information about the cause is in the Server log file.

Possible reasons include:

- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)

- Incorrect server configuration (domain.xml to be corrected manually)

- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).

I have red badges for 'Deployment Server' and 'Bundled Database Server' while running the project. I tried using

pe-start.bat -reset

but doesnt help.

I get the following errors while running the command

C:\Program Files\Sun\Creator2_1\bin>pe-start.bat -reset

C:\Program Files\Sun\Creator2_1\SunAppServer8\domains\creator does not correspond to a valid domain directory.

CLI157 Could not stop the domain creator.

Error: Unable to delete domain directory, please remove manually: C:\PROGRA~1\Su

n\CREATO~1\SunAppServer8\domains\creator

WARNING: The --password option is insecure and should not be used since it can compromise your password. Please use either the command prompt or the --password file option.

Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.

CLI137 Command create-jdbc-connection-pool failed.

WARNING: The --password option is insecure and should not be used since it can compromise your password. Please use either the command prompt or the --password file option.

Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.

CLI137 Command create-jdbc-resource failed.

WARNING: The --password option is insecure and should not be used since it can compromise your password. Please use either the command prompt or the --password file option.

Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.

CLI137 Command create-jdbc-connection-pool failed.

WARNING: The --password option is insecure and should not be used since it can compromise your password. Please use either the command prompt or the --password file option.

Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.

CLI137 Command create-jdbc-resource failed.

WARNING: The --password option is insecure and should not be used since it can compromise your password. Please use either the command prompt or the --password file option.

Jul 13, 2006 9:31:21 AM com.sun.appserv.management.client.ProxyFactory getInstance

I found a forum discussing the same error but could not find the fix.

Please help me solve this

Thanks,

S

[3094 byte] By [spotineni] at [2007-11-26 8:42:58]
# 1

Got it working. The fix was 'when resetting JSC using the command, it says

Error: Unable to delete domain directory, please remove manually: C:\PROGRA~1\Su

n\CREATO~1\SunAppServer8\domains\creator

So, I tried removing the 'creator' folder from the path specified. But it showed an error msg saying 'can not remove file as it is still used'. So I removed the process 'appserver' from task manager and ran the command again and it worked.

S

spotineni at 2007-7-6 22:23:15 > top of Java-index,Development Tools,Java Tools...
# 2

For the reset to be successful, the AppServer should be/get stopped.

For some reason, it is aunable to get the AppServer stopped.

Execute this command:

C:\Program Files\Sun\Creator2_1\SunAppServer8\bin\asadmin <enter>

asadmin> stop-appserv

If the AppServer doesn't get stopped, checkout SunAppServer8/domains/creator/logs/server.log for the cause of the error.

You could paste the error here for more help.

After resolving the stopping issue, you could run pe-start.[sh|bat] - reset

This should make the bundled AppServer/PE fine.

HTH,

Sakthi

Message was edited by:

sakthivel.gopal

sakthivelgopal at 2007-7-6 22:23:15 > top of Java-index,Development Tools,Java Tools...
# 3
Thanks Sakthi. Used the same procedure that you mentioned and got it to work.Thanks a lot.S
spotineni at 2007-7-6 22:23:15 > top of Java-index,Development Tools,Java Tools...
# 4

I have run into this domain.xml problem and am trying this suggestion on WinXP (AppServer 8.1). But I am unable to run the pe-start command:

C:\Program Files\Sun\Creator2\bin> pe-start [bat|sh] -reset

'sh]' is not recognized as an internal or external command, operable program or batch file.

C:\Program Files\Sun\Creator2\bin> pe-start bat -reset

Error: Command "bat\bin\asadmin.bat" not found. Is app-server-root argument correct?

C:\Program Files\Sun\Creator2\bin> pe-start sh -reset

Error: Command "sh\bin\asadmin.bat" not found. Is app-server-root argument correct?

Help would be greatly appreciated. Isn't there a simple way to recreate domain.xml?

Thanks

Manish

manishUSF at 2007-7-6 22:23:15 > top of Java-index,Development Tools,Java Tools...
# 5
For the Windows people extra clear.* cd into <Creator_Home>\bin[C:\Program Files\Sun\Creator2\bin by default]* C:\Program Files\Sun\Creator2\bin> pe-start.bat -reset[See the little dot]Thanks,-- Marco
mw46 at 2007-7-6 22:23:15 > top of Java-index,Development Tools,Java Tools...