J2EE deployment successful

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.