JAVA/JSP Learning Series IV (Installation of Orion APP server) _jsp programming

Source: Internet
Author: User
First, the preface

Orion this thing, small, but the function is very much, nonsense not to say, look at its current support to know:
(1) servlets/jsp

(2) Ejb

(3) HTTP (Note: The description no longer requires a web Server such as Apache or IIS)

Second, download, install

Download address for Orion Application Server official site: http://www.orionserver.com/, I downloaded the Orion1.4 version.

After downloading, extract to a directory, I use E:\Orion as an example.



Third, the configuration

(1) According to the Orion official site installation instructions, if you want to support technology such as JSP, to the JDK Tools.jar copy to the E:\orion directory, Tools.jar files in your installed JDK directory in the Lib subdirectory.

By now, the default configuration has been successfully completed, if your 80 port is not occupied, and you want to use 80 as a port, you have finished here, otherwise, please continue to the following configuration.

(2) Configuration port

There is a default-web-site.xml file in the E:\orion\config directory that finds the following line in the file:

<web-site host= "[All]" port= "display-name=" "Default Orion WebSite" >

Change this line to:

<web-site port= "8008" display-name= "Default Orion WebSite" >

Note that I am using port 8008.

Four, test

(1) Launch Orion:

Under the Orion directory, the command mode runs:

Java-jar Orion.jar

will appear orion/x.x.x initialized, my version here is 1.4 so show:

orion/1.4.0 initialized

That means you have succeeded.






(2) Execute JSP file

In the browser, enter:

http://localhost:8008/

Appears: Orion application Server 1.4.0-up and running, below are JSP examples you can try to run.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.