Manually Install Customer Service in WebSphere 6.1
Manually install the service:
- Open the console of WebSphere. Go to Servers -> Application Servers. Select server1 for example.
- On Configuration tab, select Server Infrastructure -> Administration -> Administration Services.
- On Configuration tab, select Extension MBean Provider.
- Click New.
- 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.
- Select the record MyServiceMBean just created. The bean name MyServiceMBean is defined in the XML MyService.xml file.
- Select the extensionMBeans on Additional Properties column.
- Click New.
- Input DescriptorURI as MyService.xml, type as MyServiceMBean. Click OK, and save the changes.
- Go to Servers -> Application Servers. Select server1.
- On Configuration tab, select Server Infrastructure -> Administration -> Custom Services.
- Click New.
- 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.
- Restart WebSphere server.

1 Comments:
just for test.
Post a Comment
<< Home