Sun Microsystems 820682310 Server User Manual


 
Forum threads: http://forums.java.net/jive/thread.jspa?messageID=301326 and
http://forums.java.net/jive/thread.jspa?messageID=318879
Blog post: “EJB 3.1 in GlassFish v3 Prelude”
(http://blogs.sun.com/kensaks/entry/ejb_3_1_in_glassfish)
Blog post: “Deployment in GlassFish v3 Prelude”
(
http://blogs.sun.com/quinn/entry/deployment_in_glassfish_v3_prelude)
Documentation: Chapter 3, “Extending Enterprise Server,” in Sun GlassFish Enterprise
Server v3 Prelude Administration Guide
Cannot Find SunDeploymentManager
Description
You cannot nd SunDeploymentFactory.java.
Solution
Enterprise Server v3 Prelude does not include the JSR-88 API (SunDeploymentManager is the
implementation of the JSR 88 API). The JSR 88 specication provides a complete description of
the APIs required by the Java EE platform to enable development of platform-independent
deployment tools.
Cannot Undeploy or Redeploy ApplicationWith Open
Streams to jar Files (Windows Only)
Description
On Windows systems, after running an application, subsequent attempts to undeploy it or
redeploy it throw exceptions about the server being unable to delete a le or rename a directory.
On Windows systems, an application may use getClass().getResource or
getResourceAsStream methods to locate a resource inside the application, particularly in jar
les that are in the application or accessible to it. If the streams remain open, subsequent
attempts to redeploy or undeploy the application can fail. In addition, the Java runtime by
default caches streams to jar les for performance reasons.
Solution
Be sure to close streams opened by your applications. Also, if an application needs to be
redeployed or undeployed repeatedly, and also needs to obtain a resource from a jar le using
IssuesRelatedtoApplications
SunGlassFishEnterpriseServerv3PreludeTroubleshootingGuide November200830