Is the C:/glassfish4/glassfish directory in which glassfish is installed?
Yes it is.
The same procedure worked with Glassfish 3.1.
Support for GlassFish 4 might not have been added. Does making the directory name the same as for glassfish 3.1 create the server?
Could you let us know where you installed the GlassFish tools plugins from ?
Glassfish 4 support in OEPE has been available since Glassfish was released in June. But it looks like a bug may have been introduced in the latest build available on http://download.java.net/glassfish/ which does not exist in the version available at http://download.oracle.com/otn_software/oepe/184.108.40.206/kepler/repository
The workaround on the version you are running is to enter a dummy password value and this should allow you to create the Glassfish 4 server.
I will be filing a bug to track this issue
dvohra21 : having glassfish 3 installed under C:\glassfish3\glassfish does the job. But I want to use the glassfish 4 server. The option does exist.
Raj Alag-Oracle : I installed from http://marketplace.eclipse.org/content/glassfish-tools-kepler#.UjQoHT84gyg, drag & dropped.
I do not have the opportunity to enter any password, I can't get to that step. I just select the correct repository and should be able to click 'next', but the button remains grey.
I didn't figure out how to send screenshots, would have been easier to explain.
Install GlassFish 4 in directory C:\glassfish3\glassfish
I did that, and it didn't help.
Thanks for the idea though.
Thanks for the update. I was able to reproduce the issue and based on initial findings it seems to be related to the user possibly hitting back in the new server creation wizard or editing the server host name field in the new Server wizard.
Could you try the same operation on a new workspace with the default values . Note that GlassFish 4 server requires a 1.7 JDK instead of JRE. We already a bug filed to update the label in that dialog.