2007-01-11

Manually Install Customer Service in WebSphere 6.1

Manually install the service:
  1. Open the console of WebSphere. Go to Servers -> Application Servers. Select server1 for example.
  2. On Configuration tab, select Server Infrastructure -> Administration -> Administration Services.
  3. On Configuration tab, select Extension MBean Provider.
  4. Click New.
  5. Input Name as MyServiceMBean, Classpath as ${WAS_LIBS_DIR}/myjar.jar, Description as Administration MBean. Click OK, and save the changes. The JAR file contains the classes implementing this service.
  6. Select the record MyServiceMBean just created. The bean name MyServiceMBean is defined in the XML MyService.xml file.
  7. Select the extensionMBeans on Additional Properties column.
  8. Click New.
  9. Input DescriptorURI as MyService.xml, type as MyServiceMBean. Click OK, and save the changes.
  10. Go to Servers -> Application Servers. Select server1.
  11. On Configuration tab, select Server Infrastructure -> Administration -> Custom Services.
  12. Click New.
  13. Check the option Enable service at server startup. Input Classname as mypackage.MyServiceMBean, Display Name as "My Service MBean", Classpath as ${WAS_LIBS_DIR}/myjar.jar. Click OK, and save the changes.
  14. Restart WebSphere server.

1 Comments:

Anonymous Anonymous said...

just for test.

1/11/2007 11:08 PM  

Post a Comment

<< Home