aspose file tools*
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
Author

Eclipse and Glassfish embedded

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 87
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?

Thanks,
Hans
Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

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.


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

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
 
Similar Threads
Embedded Tomcat
struts and maven
Glassfish - Eclipse - Servlets
Passed SCBCD5 Upgrade 88%
Glassfish Jar file locations?