After a common MVC servlet application is deployed on the sun application server. Migrate to IBM WebSphere 5.
Encountered various problems .. To record.
1. For WebSphere J2EE applications, it is best to use WebSphere Studio for deployment. : P
2. Note that the properties file must be placed in the % was_root %/appserver/properties directory to load: S
3. Pay attention to the jdbc jndi.
MSSQL datasource is com. Microsoft. jdbcx. sqlserver. sqlserverdatasource
You must add a custom attribute to the pool settings:
Url = JDBC: Microsoft: sqlserver: // localhost: 1433; databasename = platform; selectmethod = cursor
4. Note the mssqlserver_jdbc_driver_path in the environment variable. You must set the path of libjar.
Refer:
|
Use tables and data source creation programs in WebSphere Studio Application Developer version 5.1 to test CMP Use tables and data source creation programs in WebSphere Studio Application Developer 5.0 to test the persistent EJB of container management. |
Write this first.