4

I thought that Glass Fish server came with Eclipse when you install the Glass fish tools for Java EE. However, after trying to install the Glass fish tools, it said there was nothing to update. Ok, so when I try to start the server, it asks for the server root. Does the glass fish server come with Eclipse? If so, how would I locate it? Or if I need to install it on my computer, which I did, why does it not recognize the folder where I installed Glass fish server as a valid installation of Glass Fish Server? Thanks in advance for any help, Bruce

Bruce Whealton
  • 1,051
  • 2
  • 14
  • 25

2 Answers2

5

Download the Glassfish4 and extract it. When adding glassfish server to the Eclipse locate the glassfish folder inside the Glassfish4 folder. And there you go. Eclipse EE doesn't come with any server, only with tools for EE development.

Mladen Uzelac
  • 1,173
  • 1
  • 10
  • 14
4

After installing 'GlassFish Tools for Luna' from marketplace, get glassfish-4.0.zip, extract it (folder glassfish4 appeared). Select Window - Preferences - Server - Runtime Environment - Add..., select GlassFish4 - Next, specify Server Root as absolute path glassfish subfolder for glassfish4 folder that appeared after extract (like /home/(username)/glassfish4/glassfish - I use Xubuntu). Click Finish. Setup is completed.

Peggy
  • 394
  • 6
  • 22
  • What is your question? – x4nd3r Nov 12 '14 at 23:01
  • You are welcome to post solutions to problems that you believe others may have, but in order to do so please adhere to the Question-Answer format of the site. i.e. your initial post should be posed as a Question. You can then provide the solution in response by submitting, and accepting and Answer. – x4nd3r Nov 12 '14 at 23:41
  • 1
    Funny thing is, answer marked correct doesn't answer the question. And here voidHead is complaining about the actual correct answer. Thanks Vitali, this helped me. Stick to solving problems. This is just more proof programmers are often glorified professional tinkerers. –  Oct 09 '15 at 20:04
  • before the time you said "select glassfish 4", we are asked what type of server it is, whatshould we do then? – Peggy Mar 30 '16 at 12:14
  • This might need another question but how does one choose between the different Java EE servers or containers? There is Tomcat, JBoss, GlassFish, etc. – Bruce Whealton Dec 03 '16 at 23:22
  • Bruce Whealton what do you mean? You can choose any server or container. EJB jar, WAR and EAR work on servers, WAR file on containers. – Vitali Naumov Dec 06 '16 at 18:51