Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2-M3
-
Fix Version/s: 1.2 final
-
Component/s: None
-
Labels:None
-
Environment:WINDOWS SP sp2, Glassfish v2.1, NetBeans 6.7.1
Description
Using Netbeans 6.7.1, Glassfish v2.1, WINDOWS Xp sp2. Default installation of Netbeans and Glassfish (but uses http port 8081)
In NetBeans: create new Grails project, uninstall-plugin tomcat (not sure if this was essential but I believe it is), create new domain
class (Person, with Strings name, givenName and familyName), ran generate-all, build GrailsApp2.war
Ran Glassfish from command prompt, and admin console from browser (Opera or Firefox); Common Tasks -> Web Applications (empty), press Deploy button and Browse for GrailsApp2.war and press OK - then goes to processing for some seconds. Returns to Web Applications page with GrailsApp2 showing. Press Launch, GrailsApp2 runs. Close GrailsApp2 page.
Return to Glassfish WebApplications page, press Redeploy button against GrailsApp2. after a few seconds popup is displayed "An error has occurred Deploying application in domain failed; N/A N/A" as attached
Click on Cancel and return to WebApplications with no application entry present (GrailsApp2 not present)
But trying to stop glassfish (asadmin stop-domain domain1) returns
java.lang.NullPointerException
CLI157 Could not stop the domain domain1.
I cannot find a Glassfish log file with any relevant entries
(I have not extensively tested with Tomcat 6, but I believe that it will re-deploy correctly)
In previous versions of Grails I have regularly used the re-deploy facility without this sort of problem.
It's the same on Solaris.