Sebastien Dionne

  • Increase font size
  • Default font size
  • Decrease font size

GWS Deployer 1.9.17 : Reloaded : New Features Part 1

E-mail Print PDF

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 : --longhelp

This 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

Reddit! Del.icio.us! JoomlaVote! Google! Live! Facebook! Technorati! StumbleUpon! Yahoo! Free social bookmarking plugins and extensions for Joomla! websites!
Comments
Add New Search
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Thursday, 06 August 2009 09:24 )