WebLogic Beginner Note 2-Deploy projects on Linux

Source: Internet
Author: User

One, these two days in the deployment project to the Linux server.

There are war packages deployed on the Internet, and the war packages are also deployed after decompression. For example: http://www.cnblogs.com/xdp-gacl/p/4143413.html because I use Tomcat locally, compiling the generated files and WebLogic is actually the same, the directory is the same. So copy the entire code folder directly from the WebApps under Tomcat and upload it to the WebLogic domain on the linux server. It is also convenient to update the project code later, and not to pack and unpack like a war package. Directly to the local tomcat file corresponding to upload updates.

WebLogic A domain can deploy multiple projects. Each domain corresponds to a port number. But put the project too much time to start weblogic the longer, will also cause inconvenience, you can classify different project categories to put different domains.

Deployment methods There are already existing articles on the web that are written in detail: http://www.cnblogs.com/xdp-gacl/p/4143413.html http://tlinle.blog.51cto.com/251944/839935 Don't dwell on it, just record your feelings in use.

Database connection mode:

1. Use JDBC in the project. You can start directly.

2. Use Jndi in the project. You need to configure the data source datasource.

If you deploy 2 versions of a project in the same domain, giving two folders different names, such as WebA1 and webA2, when deployed to WebLogic, will be deployed to a different path by default, which is equivalent to 2 independent projects without any impact.

Second, the problems encountered

1. There is no problem with the deployment and operation, but the access to the homepage is wrong:

Cause: WebLogic in the same domain, using struts only needs to load once Xerces-2.6.2.jar can, more words will be problematic. The previously deployed project already has, so to delete this jar package under this lib. Reboot.

There are still some questions to smattering, and then write again after figuring it out ...

WebLogic Beginner Note 2-Deploy projects on Linux

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.