File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) 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

Glassfish: asadmin start-domain domain1

Chandra Bhatt
Ranch Hand

Joined: Feb 28, 2007
Posts: 1710
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:

Dec 9, 2008 8:55:23 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
C:/Program Files/Java/jdk1.6.0_10\bin\java

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.

I agree. Here's the link:
subject: Glassfish: asadmin start-domain domain1
It's not a secret anymore!