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 the 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 in the E: \ orion \ config directory, find the following line in the file:
<Web-site host = "[ALL]" port = "80" display-name = "Default Orion WebSite">
Change this line:
<Web-site port = "8008" display-name = "Default Orion WebSite">
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.