Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Commands

Description

help or ?

Display help information

echo or print

Print arguments to STDOUT

source or .

Load a file or URL to the current shell

clear

Clear the terminal screen

set

Set a variable

unset

Unset a variable

exit or quit

Exit GShell

geronimo/start-server

Start a server

geronimo/stop-server

Stop the server

geronimo/wait-for-server

Wait for the server to start

geronimo/start-client

Start an application client

deploy/connect

Connect to a Geronimo server

deploy/login

Save the username and password for this connection

deploy/disconnect

Disconnect from a Geronimo server

deploy/deploy

Deploy a module

deploy/redeploy

Redeploy a module

deploy/undeploy

Undeploy a module

deploy/distribute

Distribute a module

deploy/start

Start a module

deploy/restart

Restart a module

deploy/stop

Stop a module

deploy/list-modules

List modules

deploy/list-targets

List targets

deploy/list-plugins

Install plug-ins into the server

deploy/install-library

Install library

deploy/install-plugin

Install a plug-in

deploy/assemble

Extract a Geronimo server from the current one

deploy/new-instance

Create a new instance

remote/rsh

Connect to a remote GShell server

remote/rsh-server

Start a remote GShell server

cluster/heartbeat

Monitor cluster heartbeat

cluster/deploy

Administer cluster

jaxws/java2ws

Generate JAX-WS artifacts from class

jaxws/wsgen

Generate JAX-WS artifacts from class

jaxws/wsimportwsdl2java

Generate JAX-WS artifacts from WSDL

jaxws/wsdl2javawsimport

Generate JAX-WS artifacts from WSDL

...

Monitoring cluster heartbeat

Administering cluster

...

Generating JAX-WS artifacts from class

The jaxws/java2ws command can be used to creating create JAX-WS artifacts from a Java class, and uses this syntax:

No Format
jaxws/java2ws -databinding <jaxb or aegis> -frontend <jaxws or simple> -wsdl -wrapperbean -client -server -ant -wrapperbean -o 
<output-file> -d <resource-directory> -s <source-directory> -classdir <compile-classes-directoty> -cp <class-path> -soap12 -t 
<target-namespace> -beans <pathname of the bean definition file> -servicename <service-name> -portname <port-name> -address 
<address> -createxsdimports -h -v -verbose -quiet <classname>

The jaxws/wsgen command can be used to create JAX-WS artifacts from a Java class, and uses this syntax:

No Format

jaxws/wsgen -classpath <path> -cp <path> -d <directory> -extension -help -keep -r <directory> -verbose -version -wsdl[:protocol] -servicename <name> -portname <name>

Generating JAX-WS artifacts from WSDL

The jaxws/wsdl2java command can be used to create java classes from WSDL, and uses this syntax:

No Format

jaxws/wsdl2java -fe <front-end-name>* -db <data-binding-name>* -wv <wsdl-version> -p <[wsdl-namespace = ]package-name>* -sn <service-name> -b <bindling-file-name> -d <output-directory> -compile -classdir <compile-classes-directory> -impl -server -client -all -autoNameResolution -defaultValues<=class-name-for-DefaultValueProvider> -ant -nexclude <schema-namespace [=java=package-name]>* -exsh <<true,false>> -dns <Default value is true> -dex <<true,false>> -validate -keep -wsdllocation <wsdlLocation> -xjc <xjc-arguments> -noAddressBinding -h -v -verbose -quiet <wsdlurl>

The jaxws/wsimport command can be used to create java classes from WSDL, and uses this syntax:

No Format

jaxws/wsimport -b <path> -B <jaxBOption> -catalog <file> -d <directory> -extension -help -httpproxy:<host>:<port> -keep -p <pkg> -quiet -s <directory> -target <version> -verbose -version -wsdllocation <location>