The BTTStartup component is provided as bttstartup.jar in the toolkit.
To take advantage of the BTTStartup component, you need to add it to the .ear
file of your toolkit components. For example, to use the BTTStartup component
to load the dse.ini file and the CHA Formatter Service external definition
files into the memory, do the following:
- Import bttstartup.jar to BTTFormatter.ear, which is the .ear file
of the CHA Formatter Service, as an EJB module.
- Change the JNDI name of com.ibm.btt.misc.LoadMetaDataStartupBean
that is in the .ear file of the formatter service.
Note: You can
change it to any name you prefer, but the JNDI name must not be the same with
any other startup beans existing on the same WebSphere Application Server.
- Add bttbase.jar to the Java Build Path of this EJB
module.
- Add startupbean.jar to the Java Build Path of this EJB module.
To do this:
- Right click the EJB module.
- Select Properties in the pop up menu.
- Click Libraries in the pop-up window
to show the Libraries page.
- Click the Add variable button on right
side of the page. A window pops up.
- Select WAS_EE_V5 in the list in the
window.
- Click the Extend button
at the bottom of the window. A window pops up.
- Select startupbean.jar under the lib directory
and click OK.
- Use the WebSphere Application Server Application Assembly Tool
to open BTTFormatter.ear.
- In the EJB hierarchy view of the tool, select .
- In the Environment Entries, add a variable named dseIniPath,
and input the path of the dse.ini as its value. In the Type text field,
input String.
Note: In Microsoft Windows platform,
use double back slash instead single back slash in the file path. For
example, type c:\\dse\\dse.ini instead of c:\dse\dse.ini.
- Deploy BTTFormatter.ear on WebSphere Application Server.