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