users@glassfish.java.net

Re: Migration from JBoss

From: <glassfish_at_javadesktop.org>
Date: Thu, 05 Mar 2009 11:07:51 PST

You can use the autodeploy mechanism in glassfish to do similar things:

1. Go to the autodeploy directory (GF_INSTALL/domains/domain1/autodeploy)

2. Create a soft link to your application under this directory, for example:

hzhang_at_nmr:~/files/sun/appserver/domains/domain1/autodeploy$ ln -s /home/hzhang/deployment/apps/webapps-simple.war webapps-simple.war

hzhang_at_nmr:~/files/sun/appserver/domains/domain1/autodeploy$ ls
webapps-simple.war

3. Your can then go to the logs directory (domains/domain1/logs) and look at server.log, the log shows the application was successfully deployed.

I tried the above on my linux box (Ubuntu). Note the softlink name could be a different name than the original application, but it needs to have the correct file extension for the autodeployer to recognize.
[Message sent by forum member 'hzhang_jn' (hzhang_jn)]

http://forums.java.net/jive/thread.jspa?messageID=335379