Application Server-WebLogic installation and configuration
Source: Internet
Author: User
Application Server-WebLogic installation and configuration-Linux Enterprise Application-Linux server application information. The following is a detailed description. WebLogic installation and configuration
As we all know, a website developed by JSP/SERVLET is released, in addition to the corresponding WEB server to respond to requests from common WEB pages, a dedicated application server is also required to respond to requests from dynamic WEB pages JSP/SERVLET. For commercial users, the most popular application server software is WebLogic developed by BEA. The following describes the version of WebLogic5.1.
First, decompress WebLogic to the/usr directory. You need to modify the StartWebLogic. sh script file in the WebLogic installation directory to set your CLASSPATH and JAVA_HOME. Finally, you can use this script file to start the service. Currently, the started service does not support JSP, EJB, Servlet, and other technologies. Therefore, you must modify the WebLogic. properties file in the weblogic installation directory. The following describes how to configure this file.
Set the jdbc pool you want to use. It is not allowed by default. If you want to use the jdbc pool, you can remove the preceding comment. However, your JDBC driver must be in StartWebLogic. sh CLASSPATH already exists. Among them, lines 663 set the jdbc pool name (such as db2Pool); lines 664 and 665 register the JDBC driver and connected database; and 667 act the default number of connections; 668 maximum number of connections in the behavior connection pool; 674 username and password used to connect to the database
This row is used to set the directory for storing class files such as Servlet. Of course, this directory must also exist in the CLASSPATH of StartWebLogic. sh
These lines are used to support JHTML technology. By default, JHTML Extensions cannot be used. To use JHTML, remove the preceding annotations. The *. jhtml following row 861 is used to register any file with the jhtml extension. The javac directory is set in row 866.
Rows 3-878th:
Row 878: # weblogic. httpd. register. *. jsp =
Row 3: # weblogic. servlet. JSPServlet
Row 880: # weblogic. httpd. initArgs. *. jsp =
Row 3: # pageCheckSeconds = 1,
Row 3: # compileCommand =/usr/java/bin/javac,
Row 3: # workingDir =/home,
Row 3: # verbose = true
These lines are used to support JSP. By default, the JSP extension cannot be used. To use JSP, remove the preceding comment. *. Jsp is used to register any file whose extension is jsp. The javac directory is set in line 882. If you want to run test. jsp file, which is first compiled into _ test. the class is running, so the directory set in line 883rd is used to put the compiled directory. class File
So far, WebLogic has been basically configured. You can use the StartWebLogic. sh script to start the service and use the technology that is already allowed.
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.