Unpack the Mule iBeans archive inside your Tomcat directory. This creates the /mule-ibeans directory.
Set either the IBEANS_HOME or CATALINA_HOME environment variable. There is no need to set both.
If you want to set IBEANS_HOME, CATALINA_HOME will be interpolated from that. IBEANS_HOME should point to the mule-ibeans directory you just created
If you want to set CATALINA_HOME, IBEANS_HOME is interpreted as a mule-ibeans subdirectory from that. CATALINA_HOME should point to the root of your <TomcatDir>.
Run the <TomcatDir>/mule-ibeans/bin/install script. This will add some classpath entries to your <TomcatDir>/conf/catalina.properties file and copy the Mule iBeans example applications into the Tomcat webapps directory.
Optionally, add IBEANS_HOME/bin or CATALINA_HOME/mule-ibeans/bin to your PATH environment variable. This will allow you to use the iBeans Shell (ibeanssh), an interactive bean testing console.
Start Tomcat, and then go to http://localhost:8080/ibeans to view the iBeans Console, adjusting your host/port as needed. From here you can run examples and add iBeans to your container.
Uninstalling iBeans
From Tomcat
When you use the Tcat Server uninstaller to uninstall Tcat Server, Mule iBeans is also uninstalled. To manually uninstall just iBeans and not Tcat Server, or to uninstall from Apache Tomcat do the following:
Stop Tcat Server or Apache Tomcat.
Run the <TomcatDir/>mule-ibeans/bin/uninstall script. This will revert any changes made to the catalina.properties, remove webapps installed by iBeans and delete the {{<TomcatDir>/mule-ibeans}) directory. Your Tcat Server or Apache Tomcat install will not be affected.
Add Comment