jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes Eclipse and Glassfish embedded Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Eclipse and Glassfish embedded" Watch "Eclipse and Glassfish embedded" New topic

Eclipse and Glassfish embedded

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 114
Hallo I am trying to set up an Eclipse Project which uses Glassfish embedded and JUnit to play around and test some JEE6 features.
I have already put \glassfish\lib\javaee.jar, \glassfish\lib\appserv-rt.jar and \glassfish\lib\embedded\glassfish-embedded-static-shell.jar in the build path.
However none of the JEE classes are found.
Which additional jars do I have to put on the classpath?

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 808

You can put all JARs which are in the same location as the files that you have already added to build path.
I will test the solution within 3 hours so I will let you know about it.

BLOG: http://leakfromjavaheap.blogspot.com
Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 808

I have some problems with Eclipse plugin. I get CREDENTIAL error while starting server.

Instead of that I used Netbeans + Glassfish. It works smooth.
I agree. Here's the link: http://aspose.com/file-tools
subject: Eclipse and Glassfish embedded
It's not a secret anymore!