Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The following installation was tested with IBM WebSphere (WAS) v6.1 ND.

You need Hudson 1.197 or later to run on WAS!

There are two ways to install hudson on WAS - manually through the Admin console or automated through the WAS scripting interface.

Admin console installation

The installation instructions are simple as for each WAR Module.

  • Start the installation wizard under Applications - Install new application.
  • Select hudson.war and enter the context root for the application - for example hudson

After finishing the wizard go to the installed application (hudson_war for example) and perform the following steps to change the classloader mode:

  • Click Manage Modules
  • Click Hudson
  • From the "Class loader order" drop-down select "Classes loaded with application class loader first"
  • Save the changes
  • Restart the server - this is necessary to apply the changed class loader mode. You need to restart only the server onto which hudson is installed

Installing through wsadmin

A jacl script called hudson.jacl and configuration file config.properties are provided to install and configure hudson on WAS 6.1 ND

Before running hudson.jacl make the necessary changes in the config.properties file - adjust the server envoronment, the context root, the virtual host mapping and optional the hudson home directory. After that run following command from the deployment manager bin directory:

wsadmin(.sh) \-f <path_to_hudson.jacl>/hudson.jacl <path_to_config.properties>/config.properties <command> <path_to_hudson.war>/hudson.war

 where the <command> is:

  • deploy - use it for first time installation. it performs installation only
  • redeploy - use it to upgrade hudson. It uninstalls previously installed hudson instance and installs the new version from the hudson.war
  • undeploy - use to uninstall hudson. In this case the last parameter is not necessary.

The paths must be provided in UNIX style even on Windows - d:/test/hudson/hudson.war instead of d:\test\hudson\hudson.war

After successfully installation the server must be restarted manually - the script doesn't provide this functionality at the moment, but the stopServer and startServer commands can be used for this purpose.

If security is enabled on the server either provide -user and -password arguments to the command or adjust the soap.client.props file with the login information in order to be able to connect to the server's admin interface. 

The script is not tested with the base server edition, but should work on it - the only change is to disable the node synchronization in the saveConfigAndSync procedure - the line to comment can be found in hudson.jacl - search for BASE or for saveConfigAndSync. 

CVS SSH Authentication

For CVS ssh authentification following environment entry is required in the application server: CVS_RSH=ssh. This can be set in the admin console in:

Application Servers / <server> / Java and Process Management / Process Definition / Environment Entries

  • No labels