Hi,
Thanks for the reply. People here don’t want to use the "autodeploy" for some reasons which I yet don’t understand. Can I do something similar in say "deploy" instead of using "autodeploy". Although, "deploy" does not exist ?
Thanks,
Mona
-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Thursday, March 05, 2009 1:08 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Migration from JBoss
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net