GWS Deployer 1.9.17 : Reloaded : New Features Part 1
Posted by survivant on August 7, 2009 at 8:19 AM EDT
It has been a while since my last post, but I'm back :)I worked hard on new features that will bring GWS Deployer to another level. You can check the features that were there before 1.9.17 in my previous post here
It will be easier to list the new features by looking at the command line parameters.
Usage: com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
--application=[path]* Application(s) path(s).
--port=[port] Runs Servlet on the specified port.
--context=[context] Force the context for a servlet.
--dontstart=[true/false] Won't start the server.
--libraryPath=[path] Add a libraries folder to the classpath.
--autodeploy=[path] AutoDeploy to each applications
--cometEnabled Starts the AsyncFilter for Comet
--forceWar Force war's deployment over a expanded folder.
--ajpEnabled Enable mod_jk.
--help Show this help message.
--longhelp Show detailled help message.
* are mandatory
The first new parameter is : --longhelpThis parameter will give a better explanation and default values.
java -jar http-servlet-deployer-1.9.17-SNAPSHOT.jar --longhelp
Usage: com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
-a, --application=[path]* Application(s) path(s).
Application(s) deployed can be :
Servlet(s), war(s) and expanded war folder(s).
To deploy multiple applications
use File.pathSeparator
Example : -a /app.war:/servlet/web.xml:/warfolder/
-p, --port=[port] Runs Servlet on the specified port.
Default: 8080
-c, --context=[context] Force the context for a servlet.
Only valid for servlet deployed using
-a [path]/[filename].xml
--dontstart=[true/false] Won't start the server.
You will need to call the start method.
Useful for Unit testing.
Default : false
--libraryPath=[path] Add a libraries folder to the classpath.
You can append multiple folders using
File.pathSeparator
Example : --libraryPath=/libs:/common_libs
--autodeploy=[path] AutoDeploy to each applications.
You could add JSP support.
Just add a web.xml that contains Jasper
Example : --autodeploy=/autodeploy
--cometEnabled=[true/false] Starts the AsyncFilter for Comet.
You need to active this for comet applications.
Default : false
--forceWar=[true/false] Force war's deployment over a expanded folder.
Will deploy the war instead of the folder.
Default : false
--ajpEnabled=[true/false] Enable mod_jk.
Default : false
Default values will be applied if invalid values are passed.
* are mandatory
Follow us on Twitter
Related Topics >>
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- survivant's blog
- 913 reads





