Resin Getting Started

xiaoxiao2021-03-06  66

Getting start

Home Site Map FAQ Download Documentation Sales

Search

Reference

Getting Started Configuration IDE Topics JSP XML / XSLT

Resin Web Server Unix Apache Windows Apache Unix Netscape IIS WebSite Resin provides several configuration options. We suggest you use the Resin web server option first. If you need a specific feature of another web server, you can later configure Resin to work with that web server .

. Quick Start for the Impatient The Resin standalone web server starts listening to HTTP requests on port 8080 and listens on port 6802 for any Apache or IIS plugin Resin can then be used for development or evaluation The steps are.:

Install JDK 1.2 or Later. On UNIX, Set The Java_Home Variable or Link / USR / Java To The Java Home. Start Resin-2.1.0 / bin / httpd.sh on unix or resin-2.1.0 / bin / httpd on Win32 Browse http: // localhost: 8080 Add JSP Files Like Resin-2.1.0 / Doc / Hello.jsp Add servlets like resin-2.1.0 / doc / web-inf / class / test / helloservlet.java add .war files like Resin-2.1.0 / webapps / hello.war create web-apps directly like resin-2.1.0 / webapps / hello / hello.jsp if needed, modify the configuration in conf / resin.conf unsin.conf unchil you're ready to deploy the Server, Those area all the steps needed to get started with resin.

PRECONDITIONS RESIN NEEDS JAVA BEFORE IT CAN Run. IT Needs JDK 1.2 OR a Later JDK. Sun's JDK for Windows, Solaris, And Linux Can Be Found At http://java.sun.com. Sun Also Has Links To Some Other Ports of The JDK. Linux Users Can Also Check Out The IBM JDK.

Configuration Overview Resin Has A Number of Major Configuration Options, Each with a Separate Page:

Standalone web server (recommended) Unix Apache Windows Apache Windows IIS Netscape iPlanet The httpd executable starts Resin for all configurations. If you have any trouble starting Resin, check the FAQ at http://www.caucho.com/quercus/faq.Standalone Web Server The Easies THE RESIN HTTPD. THIS Configuration Provides A Java Http Server. We Recommend You Start with this Before Trying Any Other Configuration.

The Server Listens At Port 8080 in The Standard Configuration. On Windows:

Install JDK 1.2 or Later. Unzip resin-2.1.0.zip Execute resin-2.1.0 / bin / httpd browse http: // localhost: 8080 on UNIX (include Linux and macos-x):

Install JDK 1.2 or Later and link / usr / java to the java home. Tar -vzxf resin-2.1.0.tar.gz execute resin-2.1.0 / bin / httpd.sh browse http: // localhost: 8080 for more Details, See The Resin Standalone Configuration Page.

Resin with Apache If you are already using Apache for your web server, you can use Resin with Apache on Unix or Win32. This configuration uses Apache to serve html, images, PHP, or Perl, and Resin to serve JSPs and Servlets. The Apache Configuration Uses TWO PIECHE (MOD_CAUCHO) AND JAVA Program Supporting Servlets and JSP (srun) The Two Pieces Communicate With a Special High-Speed ​​Protocol.

To configure apache with resin, you must configure Both apache and rate. The resin configuration is identical to resin's httpd configuration. The apache configuration tells apache how to find resin.

Compile mod_caucho.so using ./configure --with-apache; make Any needed Apache httpd.conf changes Any needed Resin resin.conf changes Restart Apache Start Resin with resin-2.1.0 / bin / httpd.sh on Unix or resin- 2.1.0 / bin / httpd on window, you'll run configure us --with-apache and then make: UNIX> ./configure --with-apache = / usr / local / apache

UNIX> Make

UNIX> Make Install

Resin with Netscape On unix, Resin can also be configured to run with Netscape. The idea is the same as for Apache. On Unix, you'll run configure using --with-netscape and then make. The argument to --with- Netscape is The Directory Containing The Netscape Start and Stop Scripts, IE The Parent of The Config Directory.

UNIX> ./configure --with-netscape = / usr / local / netscape / https-your-hostname

UNIX> Make

ON Windows, The Setup Program Should Configure Netscape's Obj.conf Correctly.

Resin with IIS You can also combine IIS and Resin IIS serves static content like html and images and Resin serves JSPs and Servlets The IIS configuration requires two pieces:.. Isapi_srun.dll, an ISAPI extension which lets IIS talk to Resin, and srun, RESIN's Java Support.

For this setup You Must Configure Both IIS and RESIN. The Resin Configuration is Identical To Resin's Httpd Configuration. The IIS Configuration Tells Iis How To Find Resin.

Setup the registry and iis using resin-2.1.0 / bin / setup any needed resin resin.conf Changes Restart IIS Start Resin with resin-2.1.0 / bin / httpd.

Resin with O'Reilly WebSite You can also combine WebSite and Resin WebSite serves static content like html and images and Resin serves JSPs and Servlets The WebSite configuration requires two pieces:.. Isapi_srun.dll, an ISAPI extension which lets IIS talk to Resin, And Srun, Resin's Java Support.configuration is identical to the IIS configuration.

User Commentsan Error IN A Page by Anonymous On Wed, 03 Sep 2003 08:56:51 -0700 (PDT) http://www.caucho.com/resin/ref/starting.xtp

Add Documentation Note

Reference

Reference

Resin Web Server

HOME |

Documentation |

Download |

Sales |

FAQ |

Site map |

Contact Caucho

Copyright © 1998-2004 Caucho Technology, Inc. All Rights Reserved.resin® IS A Registered Trademark, And Ambertm and QuercustM Arermarks of Caucho Technology, Inc.

转载请注明原文地址:https://www.9cbs.com/read-111224.html

New Post(0)