1. Preface
Orion is a small thing, but it has many functions. Without further ado, just look at its current support:
(1) Servlets/JSP
(2) EJB
(3) HTTP (Note: Apache is no longer required. Or Web Server such as IIS)
2. Download, the installation
download address is the official website of Orion Application Server: http://www.orionserver.com/ , I downloaded the Orion1.4 version.
After downloading, unzip it to a directory. I use E:Orion as an example here.
3. Configuration
(1) According to the installation instructions on the Orion official website, if you want to support JSP and other technologies, copy the tools.jar of the JDK to the e:orion directory. The tools.jar file is in the lib of the JDK directory you installed. subdirectory.
Up to now, the default configuration has been successfully completed. If your port 80 is not occupied and you also want to use 80 as the port, you are done here. Otherwise, please continue with the configuration below.
(2) Configure the port.
There is a default-web-site.xml file in the E:orionconfig directory. Find the following line in the file:
Change this line to:
Note, I am using port 8008 here.
4. Test
(1) Start Orion:
In the Orion directory, run in command mode:
java -jar orion.jar
will appear Orion/xxx initialized. My version is 1.4, so it displays:
Orion/1.4.0 initialized
.At this point, it means that you Already successful.
(2) Execute the jsp file
and enter it in the browser:
It will appear: Orion Application Server 1.4.0 - Up and running. There are JSP examples below that you can try to run.