I. Preface
Orion is small, but has a lot of functions. If you don't talk about it, you can see its current support:
(1) servlets/jsp
(2) EJB
(3) HTTP (Note: Web servers such as Apache or IIS are no longer needed)
Ii. Download and install
For the Orion Application Server official site: http://www.orionserver.com/, I download orion1.4.pdf.
After the download, decompress the package to a directory. Here I use E: Orion as an example.
Iii. Configuration
(1) According to the installation instructions on the official site of Orion, If JSP and other technologies are to be supported, the JDK tools should be used. jar to E: Orion directory, tools. the jar file is in the Lib subdirectory of the JDK directory you have installed.
Now, the default configuration has been successfully completed. If your port 80 is not occupied and you want to use port 80 as the port, you have completed it here. Otherwise, continue with the following configuration.
(2) configure the port
There is a default-web-site.xml file under the E: orionconfig directory, find the following line in the file:
Change this line:
Note that port 8008 is used here.
Iv. Test
(1) Start Orion:
Run the following command in the Orion directory:
Java-jar Orion. Jar
Orion/x. x. x initialized will appear. Here the version is 1.4, so it is displayed:
Orion/1.4.0 initialized
By now, you have succeeded.
(2) execute JSP files
Enter:
Http: // localhost: 8008/
Appears: Orion Application Server 1.4.0-up and running. You can try to run jsp examples below. (Source: viphot.com)