WebLogic installation and configuration
It is well known to publish a website developed by JSP/SERVLET, in addition to the corresponding WEB server to respond to requests for ordinary web pages. A dedicated application server is also required to respond to requests for dynamic web page JSP/SERVLET. For business users, the most popular application server software is WebLogic developed by BEA. The following is the version of WebLogic 5.1.
Unzip 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, use this script file to start the service. The services launched now do not support technologies such as JSP/EJB/Servlet, so you need to modify the weblogic.properties file in the WebLogic installation directory. Here's how to configure this file in detail.
Line 98:
weblogic.system.listenPort=80
Set HTTP port, default is 7001
Line 114: < Br>
weblogic.password.system=11111111
Set the password for starting the Console. The default password length is 8 bits
Line 139:
weblogic.system. SSLListenPort=7002
Set the SSL port, the default is 7002
Line 236:
weblogic.system.minPasswordLen=8
Set the minimum password length, The default is 8 bits
Line 495 - Line 508:
Set your own RMI, the command format is as follows:
weblogic.system.startupClass.[virtualName]= [fullPackageName]
Example:
weblogic.system.startupClass.hello=examples.rmi.hello.HelloImpl
Line 524:
#weblogic .ejb.deploy=
# /usr/WebLogic/myserver/Your_Ejb.jar,
The default is to not allow EJBs. If you want to use them, you can remove the previous comments and set you up. EJB path
Line 539 - Line 543:
Add user list, the command format is as follows:
weblogic.password.[usernam e]=XXX
Example:
weblogic.password.xxx=11111111
Line 604:
weblogic.httpd.session.enable=true
Allow session to be used on the server side; session is very useful when developing e-commerce programs
Line 663 - Line 674:
663 lines: #weblogic.jdbc. connectionPool.db2Pool=
664 lines: # url=jdbc:db2//localhost/database,
665 lines: # driver=COM.ibm.db2.jdbc.net.DB2Driver, < Br>
666 lines: #loginDelaySecs=1,
667 lines: # initialCapacity=4,
668 lines: # maxCapacity=10,
669 lines: # capacityIncrement=2,
670 lines: #allowShrinking=true,
671 lines: # shrinkPeriodMins=15,
672 lines: # refreshMinutes=10,
673 lines: # testTable=table,
674 lines: #props=user=db2admin;password=db2admin
Set the JDBC POOL you want to use, the default is not allowed Use, if you want to use JDBC POOL you can remove the previous comments, but first your JDBC driver must already exist in the CLASSPATH of StartWebLogic.sh. 663 lines are the names of the JDBC POOL (such as db2Pool); lines 664 and 665 are the registered JDBC driver and the connected database; 667 acts as the default number of connections; 668 acts as the maximum number of connections in the connection pool; 674 acts to connect to the database Username and Password
Line 767:
weblogic.httpd.register.*.shtml=weblogic.servlet.ServerSideIncludeServlet
Allow SSI, ie allow .shtml to be used Suffix extension
Line 790:
weblogic.httpd.register.servlets=weblogic.servlet.ServletServlet
Allows the use of servlets, such as URL:
http://localhost/servlets/foo/hello
The actual path is:
/home/servlet/foo/hello.class
Line 814:
weblogic.httpd.documentRoot=/home/www/
This behavior sets the publishing directory of the WEB page
Line 831:
weblogic. Httpd.servlet.classpath=/home/servlet
This line is used to set the directory where the Servlet and other class files are placed. Of course, this directory must also exist in the CLASSPATH of StartWebLogic.sh.
Line 861 - Line 868
861 lines: #weblogic.httpd.register.*.jhtml=
862 lines: # weblogic.servlet.jhtmlc.PageCompileServlet
863 lines: #weblogic.httpd .initArgs.*.jhtml=
864 lines: # pageCheckSeconds=1,
865 lines: # packagePrefix=examples.jhtml,
866 lines: # compileCommand=/Usr/java/bin/javac,
867 lines: # workingDir=/home,
868 lines: # verbose=true
These lines are used to support JHTML Technically, the default is that you can't use the JHTML extension. If you want to use JHTML, you can remove the previous comment. The *.jhtml after the 861 line is used to register any file with the extension jhtml; the 866 line sets the javac directory
the 878th line - the 884th line:
878 line: #weblogic .httpd.register.*.jsp=
879 lines: # weblogic.servlet.JSPServlet
880 lines: #weblogic.httpd.initArgs.*.jsp=
Line 881: # pageCheckSeconds=1,
882 lines: # compileCommand=/usr/java/bin/javac,
883 lines: # workingDir=/home,
Line 884: # verbose=true
These lines are used to support JSP. By default, JSP extensions cannot be used. If you want to use JSP, you can remove the previous comments. The *.jsp after the 878 line is used to register any file with the extension jsp; the 882 line sets the javac directory; if you want to run the test.jsp file in WebLogic, the file is compiled into _test.class first. Run, so the directory set in line 883 is used to put the compiled .class file
So far, WebLogic has been basically configured, you can use StartWebLogic.sh script to start the service And use the technology that has been allowed.
Here is a way for you to quickly find a large file in the system. Recently received a users report,
First, download the magent download address: http://pan.baidu.com/s/1eRygtEUmkdir -p /usr/local/mag
Why should there be process priority? This does not seem to require too much explanation. After all,
According to the US technology blog TNW, the well-known Linux vendor Canonical today released and de
Linux system and php related error resolution summary
Talking about the learning direction and method of Linux system
Linux installation method Telnet setting method
RHEL5.4 install nginx-1.0 + php-5.2.17 (fastcgi) + mysql-5.1.40
The principle and function of Redo log
Enhanced Security Devil Linux 1.6.1 Release
Hard disk installation under Win7 Red Hat Enterprise Linux 6.0 ES method
The three most common Windows Vista activation methods in foreign countries
Linux driver development details
The cidaemon.exe process takes up 100% of the CPU solution
Win8.1 system is in the domain environment how to set the automatic boot
Vista shipped models modified XP, the prompt does not recognize the hard drive solution
The problem that the two-machine interconnection can not be accessed
Win8 application installation failure
How to implement DNS service under Linux
Windows XP SP2 Web Trojan Production Ideas Analysis
Win10 system notebook does not display the power icon solution