• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

default username and password for the glassfish administrator at 4848

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've just installed glassfish 3.1.2.2 and the local server works. However I am presented with a login screen when I run the administrator. I was never ask for it and i cant find it in any notepad++ readable files. Could some on tell me what they are or where to find them?
Thanks,
Paul
 
Paul Handley
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
that link took me to a commercial site that has no relation to my problem. The reply came too quick after I had posted and I think it's spam. I saw the identical reply when I searched for a prior post on finding the default username and password!
 
Greenhorn
Posts: 15
Mac Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul,

Default Glassfish admin username is 'admin' and password is 'admin'. It is highly recommended to change it once you are in admin panel. If you can't get in with default username and password then it seems that you have set your own admin username and password when you installed Glassfish. Try those default values and let us know if you still can't get in. Hope this helps
 
Paul Handley
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried that one also. AFAIK I was never given the opportunity to choose a username/password during the installation. I installed the EXE version. I would just uninstall and then reinstall the software but it is not listed in "Programs and Features" in the control panel of Win7. There is an uninstall file in the program directory but when I tried that I just got an error. Glassfish is definitely a weird fish! FTM so is this website. I have never seen a forum that automatically posts inane comments and links like this one does! I guess it's supposed to be funny but all it is is confusing.
Thanks for helping!
Paul
 
Amir Al Take
Greenhorn
Posts: 15
Mac Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Handley wrote:I tried that one also. AFAIK I was never given the opportunity to choose a username/password during the installation. I installed the EXE version. I would just uninstall and then reinstall the software but it is not listed in "Programs and Features" in the control panel of Win7. There is an uninstall file in the program directory but when I tried that I just got an error. Glassfish is definitely a weird fish! FTM so is this website. I have never seen a forum that automatically posts inane comments and links like this one does! I guess it's supposed to be funny but all it is is confusing.
Thanks for helping!
Paul



Hi Paul,

If you have installed it straightly from installer then you can't give admin username and password during installation because they are never asked. However if you install it through IDE, for example NetBeans, then during installation of Glassfish there you will be asked to input admin username and password.

So first of all, I assume that you are developing an application that uses Glassfish as virtual server. If that's the case what IDE are you using?

Secondly, if it is okay for you to install Glassfish through IDE that would be very easy and simple process. Would it be okay for you to do it that way? If yes, then you can install your Glassfish there by providing Glassfish directory in your computer.

What error you get when you try to uninstall your Glassfish?
 
Paul Handley
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess I have it in Netbeans 7.4 It will run my applets anyway. I was trying to install it stand-a-lone so I could run servlets and JSP on Localhost. It works as a server, I just wanted to run the administrator to see what I needed to configure. Here is the error I ge when I try to run uninstall.exe
glassfish.JPG
[Thumbnail for glassfish.JPG]
 
Amir Al Take
Greenhorn
Posts: 15
Mac Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Handley wrote:I guess I have it in Netbeans 7.4 It will run my applets anyway. I was trying to install it stand-a-lone so I could run servlets and JSP on Localhost. It works as a server, I just wanted to run the administrator to see what I needed to configure. Here is the error I ge when I try to run uninstall.exe



Hi Paul,

Thanks for providing the error message. It seems you are missing Java Runtime from your Glassfish. When you install Glassfish with installer it will ask you the Java Runtime folder. You need to provide that during installation process. Java Runtime is included with Java Development Kit which you can download from Oracle JDK Download Page. Once you download JDK and install it, take up or remember the folder location. The Java Runtime location is if you are using Windows would be c:\(Your Java installation folder location)\bin.

In NetBeans you can edit your admin username and password by going first to "Services" tab. This tab is located in same window where your projects are displayed (left panel). Once you are there, go to Servers and right click your mouse over Glassfish server and from the menu choose Properties. Once you are in Properties you can see right away Common tab. If you look into that tab you will notice input fields of User Name and Password. Type here your desired User Name and Password, then hit Close. You might need to restart your server in order new values to be applied if it is running. If this is the case then right click your mouse on server again and choose from the menu "Restart".

If you want to access to admin page you should go to following address http://localhost:4848 and login with your new user name and password. If you don't see administration console login page then you have been probably directed to a page where you can read that Glassfish is running. If that's the case then you need to click a link called "Go to Administration Page" or something like that. When you click the link you will be directed to Admin console login page.

Hope this helps
 
Paul Handley
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK I Just deleted everything and downloaded glassfish 4 zip file I unzipped it to c:\glassfish4 and ran asadmin start-domain. Every thing works as a stand-a-lone server now.

ONE problem though: When I try to add it as a server to Netbeans 7.4 it accepts it but when I right-click, "Start" and "Stop are grayed out. any thoughts on this?
Thanks,
Paul
 
Amir Al Take
Greenhorn
Posts: 15
Mac Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Handley wrote:OK I Just deleted everything and downloaded glassfish 4 zip file I unzipped it to c:\glassfish4 and ran asadmin start-domain. Every thing works as a stand-a-lone server now.

ONE problem though: When I try to add it as a server to Netbeans 7.4 it accepts it but when I right-click, "Start" and "Stop are grayed out. any thoughts on this?
Thanks,
Paul



Hi Paul,

This means that your server is not running even though you clicked Start. It probably means that you got an error while you tried to start your server. Stop will always be available when Glassfish is running up successfully.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all the geeks,
I still stumble with the user name / password.

1) I installed the netbeans 7.4 with glassfish. I tried admin/adminadmin or admin/nothing nothing/nothing. Neither works

I saw the logs the server starts but some crazy cert expired. I check login, it keeps asking providing correct username/password. I do 8080, it indicates the server is running but I can't go into admin console

I tried. remove and add back in , go dom glassfish/domains/domain1/key-file, modifed user name/password, no luck, tried to regenerate keystore with some site from oracle, no luck

Reinstall java_ee don't work either.

Why such installation is so hard. I tried many many ways many many times. I don't what Oracle server engineer do. Documentation is not direct on the spot

Any simple solution, step that I can get the monster server to work? Thank you very much.
 
Paul Handley
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
John Nicer: Please don't hijack my thread!

OK I can run glassfish 4 just fine I can start and stop it just fine FROM the commandline. I have even opened webpages with it.BUT I can't start it from Netbeans 7.4. "start" and "stop" are grayed out.
 
Amir Al Take
Greenhorn
Posts: 15
Mac Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

John Nicer wrote:Hi all the geeks,
I still stumble with the user name / password.

1) I installed the netbeans 7.4 with glassfish. I tried admin/adminadmin or admin/nothing nothing/nothing. Neither works

I saw the logs the server starts but some crazy cert expired. I check login, it keeps asking providing correct username/password. I do 8080, it indicates the server is running but I can't go into admin console

I tried. remove and add back in , go dom glassfish/domains/domain1/key-file, modifed user name/password, no luck, tried to regenerate keystore with some site from oracle, no luck

Reinstall java_ee don't work either.

Why such installation is so hard. I tried many many ways many many times. I don't what Oracle server engineer do. Documentation is not direct on the spot

Any simple solution, step that I can get the monster server to work? Thank you very much.



I think I will create a tutorial in my blog about this issue, since it seems to be difficult.
 
Amir Al Take
Greenhorn
Posts: 15
Mac Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Handley wrote:John Nicer: Please don't hijack my thread!

OK I can run glassfish 4 just fine I can start and stop it just fine FROM the commandline. I have even opened webpages with it.BUT I can't start it from Netbeans 7.4. "start" and "stop" are grayed out.



You probably have configs issues. There are many things that can cause it. Need to inspect it more. Can you check your Glassfish properties?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Having the same issue. Tried changing the password as recommended above by Amir, but even after restarting new password wouldn't work. The only thing that solves it is uninstall/install of NetBeans (including Glassfish). After which just use the password as shown in NetBeans GUI (but don't change it!)
 
Ranch Hand
Posts: 185
Netbeans IDE Firefox Browser Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

no idea if this will help anyone but I downloaded Glassfish 4.1 and default user/pass is admin/<blank> i.e. there is no password.
 
reply
    Bookmark Topic Watch Topic
  • New Topic