To set up LSPS on IBM WebSphere Application Server, do the following:
Make sure the JVM runs with the recommended memory settings:
The amount of memory required might increase depending on uploaded and used lsps modules.
Create JDBC provider and JDBC XA data source with JNDI name jdbc/LSPS_DS and transaction isolation read-committed.
Example configuration for a DB2 database installed on localhost
Alias: LSPS_DS_AUTH
User ID: db2admin
Password: db2admin
DatabaseType: DB2
Provider type: DB2 Universal JDBC driver provider
Implementation type: XA Datasource
Name: DB2 Universal JDBC Driver Provider (XA) - default name
Look at classpath:
${DB2UNIVERSAL_JDBC_DRIVER_PATH}/db2jcc4.jar
${UNIVERSAL_JDBC_DRIVER_PATH}/db2jcc_license_cu.jar
${DB2UNIVERSAL_JDBC_DRIVER_PATH}/db2jcc_license_cisuz.jar
Make sure the WAS variable DB2UNIVERSAL_JDBC_DRIVER_PATH is set correctly. Data source name: LSPS_DS
JNDI name: jdbc/LSPS_DS
JDBC provider: DB2 Universal JDBC driver provider
Driver type: 4
Database name: LSPS
Server name: localhost
Port number: 50000
Use this data source in container managed persistence (CMP): true
Authentication alias for XA recovery: LSPS_DS_AUTH
Component-managed authentication alias: LSPS_DS_AUTH
fullyMaterializeLobData=true
, fullyMaterializeInputStreams=true
, progressiveStreaming=2
, progresssiveLocators=2
)Create a JMS queue with the JNDI name jms/LSPS_QUEUE, JMS queue connection factory with the JNDI name jms/LSPS_CF, and the corresponding JMS activation specifications with the JNDI names jms/LSPS_AS and jms/LSPS_WS_AS.
Example configuration using the default messaging provider and LSPS database to store messages
Name: LSPS_BUS
Security: NO
Server: default value
Message store: Data store
Use existing data source
Data source JNDI name: jdbc/LSPS_DS
Schema name: empty
Authentication alias: LSPS_DS_AUTH
Destination type: QUEUE
Identifier: LSPS_DEST
Bus member: Your local server node
Destination type: TOPIC SPACE
Identifier: LSPS_TOPIC
Bus member: Your local server node
Provider: Default messaging provider
Name: LSPS_CF
JNDI Name: jms/LSPS_CF
BUS Name: LSPS_BUS
Name: LSPS_QUEUE
JNDI Name: jms/LSPS_QUEUE
Bus name: LSPS_BUS
Queue name: LSPS_DEST
Name: LSPS_TOPIC
JNDI Name: jms/LSPS_TOPIC
Bus name: LSPS_BUS
Queue name: LSPS_TOPIC
Name: LSPS_AS
JNDI Name: jms/LSPS_AS
Destination type: Queue
BUS_NAME: LSPS_BUS
Destination JNDI name: jms/LSPS_QUEUE
Name: LSPS_WS_AS
JNDI Name: jms/LSPS_WS_AS
Destination type: Topic
BUS_NAME: LSPS_BUS
Destination JNDI name: jms/LSPS_TOPIC
Name: LSPS_MAIL
JNDI Name: mail/LSPS_MAIL
Outgoing Mail Properties/Server: <your_mail_server>
Outgoing Mail Properties/Protocol: smtp/smtps
Outgoing Mail Properties/User: <username>
Outgoing Mail Properties/Password: <password>
Outgoing Mail Properties/Verify Password: <password>
Outgoing Mail Properties/Return e-mail address: <return_e-mail_address>
Important: If you are using Microsoft Exchange Server as your mail server, make sure you have enabled the smtp feature.
Now you can upload your modules to the server, for example, with the cli console.