Install Glassfish On Windows

Posted on  by
Install Glassfish On Windows 3,7/5 8303 votes

Aug 19, 2009  tweetmeme source=”gosub3000” 1. Download GlassFish Download the installation jar for GlassFish. I went with GlassFish V2, since this is the latest stable release, though I think this technique will work with any version listed on the download page. Install it The GlassFish V2 Installation instructions show how to install it once download is complete. To Install GlassFish Server Using the Self-Extracting File Download the desired GlassFish Server 3.1.2 bundle. Change to the directory where you downloaded the self-extracting file. Start the installer. Choose the Installation Type. Specify where to install GlassFish Server.

Active5 years, 8 months ago

When i tried to install glassfish server on windows 2008 R2 server, it shows the following error message.JRE already installed in my system and set environment variables as follows

JAVA_HOME - C:Program FilesJavajdk1.7.0_17CLASSPATH - %JAVA_HOME%jrelibPath - ;%JAVA_HOME%bin

Your help will be highly appreciated.

sareeshmnairsareeshmnair
4061 gold badge5 silver badges18 bronze badges

1 Answer

You just need to set the 'JAVA_HOME' environment variable (at least in my installation it was enough).

In 64 operating systems you must install from a command line. The command should be something like C:Installer>glassfish-4.0-windows.exe -j 'C:Program FilesJavajdk1.7.0_45'

You just need to change to your actual glassfish installer version and jdk home.

Victor_MagalhaesVictor_Magalhaes

Not the answer you're looking for? Browse other questions tagged javaglassfish or ask your own question.

Active2 years, 9 months ago

Before I start I wanted to say, I have to put a space in many of the links because I am new to superuser & have restrictions. You'll find the spaces http:// (HERE) localhost:4848/. I'm sorry for the inconvenience, I hope this restriction will be lifted soon.

I can not start, Glassfish 4.1 server.
I'm running, Windows 8.1, 64x.

I downloaded, Java EE 7 Full Platform glassfish-4.1.zip
From here:https://glassfish.java.net/download.html

Unzipped with, 7-Zip 9.20. Put zipped in a folder with my other zipped.
Put unzipped in C.

Path:C:glassfish-4.1
Next inside, glassfish4.

Path:C:glassfish-4.1glassfish4

Next inside, bin.

Path:C:glassfish-4.1glassfish4bin

Now in, asadmin Windows Batch File, opens Command prompt, C:Windowssystem32cmd.exe, asadmin>.

Enter, start-domain, Then cmd.exe outputs Waiting for domain1 to start....(lots of these)...serverNoStartCommand start-domain failded.

Opened, pkg, ran it, it installed.

Opened, updatetools ran it, it installed.

Install Glassfish 4.1 On Windows

Again, in asadmin Windows Batch File, opens Command prompt, C:Windowssystem32cmd.exe, asadmin>.

Get started with editing and advance your skills with Media Composer First - free video editing software designed for aspiring editors, moviemakers, and hobbyists. Learn editing and become a better storyteller using the same tools the pros use. Download it now for free. Avid media composer 6 torrent. Media Composer is the industry’s best video editing and finishing software for movie, TV, and indie production. Work with any type of media and get the advanced tools independent editors, moviemakers, and freelancers need to confidently create and deliver better stories faster.

Enter, start-domain, Then cmd.exe outputs Waiting for domain1 to start....(lots of these)...serverNoStartCommand start-domain failded.

If I try asadmin start-domain or glassfish4/bin/asadmin start-domain from this location I get the following.

I'd like to better understand the nature of this problem. Suggestions on how to fix/start server?

P.S. when I check http://localhost:4848/

P.S.S. when I try to start GlassFish from Netbeans..

Nifle
28.9k23 gold badges97 silver badges132 bronze badges
ReedWilliams8404ReedWilliams8404

2 Answers

Excel vba download from website. The last screenshot where you try to start GlassFish through Netbeans suggests that there is already something running which is bound to port 8080 and/or port 8443. Check if there's no other application server (Tomcat etc) currently running.

Aside from that, your server log should tell you what is going wrong:

MikeMike

The main reason is that another server is using the port 8080, that is the one per default (to check in windows if those ports are being used in the commands line: netstat -a -o)

You would need to change it in:

/glassfish/domains/domain1/config/domain.xml

Then, remove the server from your framework (Eclipse for example), close it, start it and add the Glashfish again.

Before starting your framework make sure there is no file such:

In case it exists, remove it, you may stop any Java process for removing it.

These steps worked for me.

Community
Jesus GuillenJesus Guillen

Install Glassfish 5 On Windows 10

Not the answer you're looking for? Browse other questions tagged windowscommand-linejavazipglassfish or ask your own question.