wiki:UTGBPortable

wiki:Devel/Index

UTGB Portable

  • UTGB Portable (UTGBServer) is a local Tomcat web server launcher

Usage:

 -h,  --help             display help message                                             
 -v,  --verbose          display verbose log messages                                     
 -p,  --port=PORT_NUMBER specify the port number of the local web server (default = 8989) 
 -c,  --path=PATH        context path. default=/utgb                                      
 -w,  --webapp=DIR       webapp directory. default = src/main/webapp                      
 -d,  --workdir=DIR      working directory (tomcat base). default = target/utgb-portable  
 -r,  --resource=DIR     databse resource directory. default = resource                 
[GUI]
 -g,  --gui              launch in GUI mode                                               
[CUI]
 -i,  --cui              launch in CUI mode      
  • UTGBPortable generates context.xml files to specify the resource folder of UTGB

context.xml: $resource$ will be replaced with the file path to the resource folder

<Context>
    <Environment description="absolute path to the resource folder" 
	        name="resource" 
	        type="java.lang.String" 
	        value="$resource$"/>
</Context>

In order to deploy your UTGB appliction to non-local Tomcat servers, you have to tell the location of your context.xml file to Tomcat Deployer (Tomcat Manager) when deploying the war (web application archive) file.

Within this context.xml file, you might have to specify the location of your resource folder, which might be required to run your UTGB web application.

Last modified 17 years ago Last modified on 10/12/07 20:43:00

Attachments (1)

Download all attachments as: .zip