The JavaJSP Learning Series 4 (Orion App Server installation)

zhaozj2021-02-16  53

First, preface orion this thing, small, but the function is very much, nonsense, see its current support: (1) servlets / jsp (2) EJB (3) http (Note: Description no longer need Apache Or IIS, etc. Web Server, two, download, installation download address is the official site of Orion Application Server: http://www.orionserver.com/, I downloaded the Orion1.4 version. Download, unzip it to a directory, I use E: / Orion as an example here. Third, configuration (1) According to the installation instructions of the Orion official site, if you want to support JSP, you must copy the JDK Tools.jar to the E: / Orion directory, Tools.jar files in the JDK directory you install, LIB Under the subdirectory. By now, it has been successfully configured. If your 80-port is not occupied, you also want to use 80 as a port, you have been completed here, otherwise, please continue the following configuration. (2) Configure ports in the E: / Orion / Config directory with a default-web-site.xml file, find the following line:

Change this line to:

Note that I use 8008 port here.

Fourth, test

(1) Start ORION:

In the Orion directory, the Command mode is running:

Java -jar Orion.jar

Orion / x.x.x initialized, I hereaway is 1.4, so it shows:

Orion / 1.4.0 Initialize

Here, you have succeeded.

(2) Perform a JSP file

Enter in the browser:

Http: // localhost: 8008 /

The appearance: Orion Application Server 1.4.0 - UP and Running, there are JSP Examples below you can try to run.

转载请注明原文地址:https://www.9cbs.com/read-19793.html

New Post(0)