...
- To undeploy the ServiceMix WAR file, use the Geronimo
deployer.jar
tool found in thebin
directory of the Geronimo base directory.
From a command shell:Code Block cd [geronimo_install_dir] java -jar bin/deployer.jar --user system --password manager undeploy servicemix-web
The output in the Geronimo console window should show the ServiceMix WAR file being undeployed. Output will be similar to the following:Code Block Module servicemix-web stopped. Module servicemix-web unloaded. Module servicemix-web uninstalled. Undeployed servicemix-web
Deploying JBI Components
Deploying Components on servicemix-web.war
This is just an example of one way to deploy components. The preferred method is in the next section, however, the deployment tool
is still under development, so this section is included for the interim.
Wiki Markup |
---|
Let's use one of the existing examples and modify it to make it a deployment unit.
The quartz example is a good one.
For a source distribution"
cd \[servicemix_install_dir\]\assembly\target\servicemix-2.0.2\bin\servicemix-2.0.2\examples\quartz-binding
create a directory elsewhere, such as \temp\JBIcomponent
copy servicemix.xml to \temp\JBIcomponent
cd \temp\JBIcomponent
edit servicemix.xml
-- need to change a few things to make this a service unit |
Deploying JBI Components on Geronimo Using the Geronimo Deployment Tool
This section discusses using the Geronimo deployment tool to deploy components. This is separate from the previous sections
dealing with the servicemix-web.war file. When the deployment tool is fully developed this will be the preferred method.
Currently only geronimo-1.0-SNAPSHOT can be used to perform this method.
The JBI spec describes in detail how to create a valid JBI deployment unit. In essence, it is a jar file with a META-INF/jbi.xml with other resource jars inside it. Please see Deployment Units for more information.
...
Code Block |
---|
11:44:24,865 INFO [Configuration] Started configuration example-engine-1 11:44:24,869 INFO [ServiceMixDeployment] Starting: /Users/chirino/sandbox/geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT/config-store/20/META-INF/jbi.xml ... 11:44:25,783 INFO [DefaultListableBeanFactory] Creating shared instance of singleton bean 'jbi' |
...
Related Documentation
...