aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Glassfish: asadmin start-domain domain1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Glassfish: asadmin start-domain domain1" Watch "Glassfish: asadmin start-domain domain1" New topic
Author

Glassfish: asadmin start-domain domain1

Chandra Bhatt
Ranch Hand

Joined: Feb 28, 2007
Posts: 1707
Hi Guys,

I am glassfish-v2ur2. My server is not starting. I fire following command to
start the server:

>asadmin start-domain domain

I get following LOG message, just after that:
...
Profiler Agent: Waiting for connection on port 5140 (Protocol version: 8)

and after sometime it says TImeout waiting for domain domain1 to go to
starting state.

I see the log file server.log where I file following:


...
v2ur2/domains/domain1/logs/jvm.log
-cp
G:/NetbeansServer/glassfish-v2ur2/lib/jhall.jar;G:\NetbeansServer\glassfish-v2ur2\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
Dec 9, 2008 8:55:23 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
C:/Program Files/Java/jdk1.6.0_10\bin\java
-Dcom.sun.aas.instanceRoot=G:/NetbeansServer/glassfish-v2ur2/domains/domain1
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
...



Second time when I fire the same command it says
BindException, port already in use.


Any idea? what is going wrong with this, to make the server up.



cmbhatt
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Glassfish: asadmin start-domain domain1