Asked By
Dalon james
230 points
N/A
Posted on - 05/23/2011
Hi,
I am trying to get my hands on a web application with java.
I have installed Netbeans IDE for java EE with Glassfish server bundled.
Unfortunately, when I create a new Webapp from template and run it, it waits for a few minutes then gives the message, "Glassfish server failed to start”.
I don’t know what is wrong.
I reinstalled Glassfish and Netbeans again but the problem persists.
Glassfish server starting problem java
Which version are you using? Have you tried to start the server manually? Go to the services tab, expand the servers accordingly.
Right click Glassfish and start it. See if it starts.
Glassfish server starting problem java
I am using netbeans 7. Its not even starting up manually, gives the same message.
Glassfish server starting problem java
I faced a similar problem with netbeans 7. It seems that the default server is not created properly. Create a new glassfish server on your own. It should solve the problem.
Glassfish server starting problem java
How do I create a new one? Do I have to install it again?
Glassfish server starting problem java
Browse for the installation directory, (where you already installed glassfish) if it is not automatically detected; open up your IDE. Go to the services tab; Right click servers and “ADD server";
In the next wizard select glassfish; Set a new domain name and you are good to go.
Glassfish server starting problem java
Thank you very much. That solved my problem.