Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't start glassfish v3 on windows 7

I have glassfish v3 on windows 7 installed, but it won't start on 8080. I get typical dead page when I go to 8080 like you would expect if it's not running.

I tried to start it manually. C:\glassfish3\bin asadmin start-domain and what i get is "system cannot find the path specified"

I searched hi and low for an answer but most questions involve glassfish not starting because the port is not free. however that's not my issue.

I've tried reinstalling about a half dozen times and even rebooting. nothing changes

like image 426
kb2tfa Avatar asked Mar 02 '12 18:03

kb2tfa


People also ask

How do I start a GlassFish server in Windows?

From the Windows Start menu, select the command for your distribution of GlassFish Server: If you are using the Full Platform, select Programs -> Oracle GlassFish Server -> Start Admin Server. If you are using the Web Profile, select Programs -> Oracle GlassFish Server Web Profile -> Start Admin Server.

How do I start GlassFish server from command prompt?

To Start GlassFish Server Using the Command LineThe GlassFish Server port number: The default is 8080. The administration server's port number: The default is 4848. An administration user name and password: The default user name is admin , and by default no password is required.

How do I manually open GlassFish server?

Right-click the GlassFish Server instance and select Start. To stop the GlassFish Server using NetBeans IDE, right-click the GlassFish Server instance and select Stop.

How can I tell if GlassFish is running on Windows?

In the Services window, expand the Servers node.If a green arrow icon appears on the GlassFish V2 node, the server is running.


1 Answers

An alternative answer:

Download the zip version here: http://download.java.net/glassfish/3.1.2/release/glassfish-3.1.2.zip

Unzip this to c:\glassfish3

This command will work:

C:\glassfish3\bin\asadmin.bat start-domain domain1
like image 167
Jonathan S. Fisher Avatar answered Sep 23 '22 22:09

Jonathan S. Fisher