JRun3.0 with the entire installation of IIS

Source: Internet
Author: User
Tags config iis version

Hi! Long time no see, do you know what the most popular network programming language is now? Right is asp.net and JSP. In particular, JSP, it is a lot of people are recognized as the future of the most promising network programming language. So at the moment many friends are starting to use JSP, and JSP is a cross-platform programming language, it can run on many Web servers, such as: apachetomcat,ibmwebsphereserver,beaweblogic6.0 and so on. Of course, some friends like to use Microsoft's IIS to run, but IIS itself does not explain the execution JSP, it needs a plug-in to support the JSP, such as: JRun or servletexec. But many friends are having trouble installing JRun. I also looked at a lot of information on the web, there are a lot of information is not accurate, in order to help you solve this problem, I will talk today JRun with IIS installation and settings.
JRun is a Java server software developed by Allaire Corporation, which supports JSP1.1, Servlet2.2 specification, the latest version is JRUN4, but it's download is to pay, and JRun3 now on the Internet is difficult to find download address, there are many download address is unable to download, small make me a fee Dickens finally found a free download JRun3 address, now and everyone cent!
Http://202.109.97.84/GCWeb/Downloads.nsf/0/246D6552F0B5E83A48256DCC0038AD67?OpenDocument
The filename is: Jrun3.exe size: 19.8M
Now let's take JRun3 as an example to say it's installed!


A installation process
jrun3.0 with IIS installation is very simple, first the IIS installed (difficulty coefficient is 0), and then to install JRUN3. Double-click Jrun3.exe into the installation screen, you need to set up a listening port in the installation, the general default listener port is 8000, and also need to set the user's password, where the user name is the default admin, serial number can not be set, of course, can also use the Enterprise version of the code: jr300ee-9900-6270-0000 . The last option is to select the SDK directory. The other steps are done by default, and after the installation is successful, the image shown below is displayed as Figure 1, which completes the installation after clicking Finish.

Figure 1
Two Settings for JRun
After completing the installation, the system will automatically start JRun's homepage, and ask you to enter the password set at the time of installation, and then enter the JRun Setup interface as shown in Figure 2

Figure 2
This is the default setting value of JRun, we want to change the jrunservername to Jrundefaultserver, here I would like to emphasize that a lot of information on the Internet is to let everyone in this step, in addition to changing the value of Jrunservername, other then use the default value. In fact, this is completely wrong, you think, we are now installed on the basis of IIS installed JRun Plug-ins, but you look at the Webservertype value in the picture, it is apachewebserver by default, Of course the version is also the Apache server version, in the confirmation of this step the system will not error, but in the third step we will not find apacheconfig path. Because we didn't have it installed. So please be sure to remember to change the value of the webserver type to IIS. and the version changes automatically. As shown in Figure 3

Figure 3
When you click Next. You will be prompted to shut down the IIS server, and you should immediately jump to the IIS server and turn IIS off. Then come back and click OK, then go to the next page, that is, set jrunserveripaddress, in general we all set our own computer for the server. So here should enter 127.0.0.1, and set the Jrunserverconnectorport set to 9000, of course, this is their own casually filled out, as long as the port is not used on it. Click Next to go to the page where you set up the IIS config file, as shown in Figure 4:

Figure 4
We choose C:\Inetpub\Scripts here, and then click Next. Of course, if you are a friend of the Apache server, you can default the server type in the second step, and this step should be the path of the apacheconfig. If you do not make a mistake according to the above, you should see the prompts in step 4th you have successfully installed to the connector for IIS. You are must restart your WEB server to complete the JRun Connection Module installation. Click the Done button to jrun into the server's home page. A small window will pop up and you can turn it off. Then you just need to restart the JRun Default server.
Three Settings for IIS
Once you have finished setting up the JRRN, we will set up IIS again. Restart the IIS service first, then click on the Web site, select Properties, view the ISAPI tab in the property box, and you will find an ISAPI filter with a "Jrrn Connector" name, and after confirming, we select the Home Directory tab, where we choose to configure, In the Application program configuration panel, we clicked on the add, and then entered the adding/Editing Application extension mapping panel, in the Executable column we select the C:\Inetpub\Scripts\Jrun.dll file, the extension is. jsp other values are all by default. As shown in Figure 5

Figure 5
Where the executable file is the path to the Jrrn IIS config set in step two, and after we click OK, our configuration of JRun and IIS is complete. The next step is to create a virtual directory in IIS (this directory is used to store JSP files) to test the settings we just made, put a JSP file in the directory, set the document options, turn off IIS or restart IIS, open IE Browser, and enter http:/in the address bar /localhost , you will find that the browser is showing the effect of your JSP file when you enter the car. It's finally done.
This time to say here, I hope you will like my explanation, if there are any problems, I am very happy to discuss with you, see you next time!



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.