1) Open DOS and run GlassFish from working directory (in this case c:\dev\dev2\LRCS)
#domain1 is an arbitrary name. you can name it anything.
c:\dev\dev2\LRCS>asadmin start-domain domain1

2) Perform a package
3) Open up GlassFish and deploy the .war
a) Go to http://localhost:4848

NOTE: Sometimes when you do a redeploy of the war, GlassFish crashes. You have to kill the java.exe process that is running. Glassfish will go away then you will need to issue the "asadmin start-domain domain1" command again.

No comments:
Post a Comment