Code Monkey home page Code Monkey logo

mdaniel / svn-caucho-com-resin Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 17.0 142.28 MB

*UNOFFICIAL* git-svn mirror of the (now dead) svn://svn.caucho.com/resin/ -- If you are looking for their modern repo, it lives on git://git.caucho.com/resin.git (see: http://resin.caucho.com/v5.0/manual/release-notes/5.0/5.0.0/ )

Home Page: http://caucho.com/products/resin

License: GNU General Public License v2.0

Java 93.44% Shell 1.69% Python 0.02% C 0.65% C++ 0.11% C# 0.68% HTML 0.06% ActionScript 1.11% PHP 0.64% Makefile 0.05% CSS 0.10% JavaScript 0.84% XSLT 0.51% PostScript 0.11% Batchfile 0.01%
git-svn java mirror

svn-caucho-com-resin's Introduction

Copyright (c) 1998-2012 Caucho Technology. All Rights Reserved.

This is the README file for Resin 4.0(tm)
=========================================

The documentation included with Resin is in XTP format starting at
http://localhost:8080/resin-doc/index.xtp.

For more information about configuring Resin, the full documentation is
also available online at:

  http://www.caucho.com/resin-4.0/

Questions should go to our mailing list or forums.

  http://maillist.caucho.com  -- mailing lists
  http://forum.caucho.com     -- forum
  http://bugs.caucho.com      -- bug reports


I) Licensing/Support
--------------------

For pricing and licensing information for Resin 4.0 Professional,
see http://www.caucho.com/resin/sales.  Resin Professional contains
additional performance and reliability features beyond the Resin Open
Source version.

Resin 4.0 Open Source is released under the GPL.

Resin licenses do not include technical support. However, we offer several
technical support options to fit your support and budget needs.

  http://www.caucho.com/resin/sales  -- licenses and support


II) Preconditions
-----------------

  1) Resin needs a Java JDK before it can run.  Resin 4.0 works with 
     JDK 1.6 or greater.

     Some locations for JDKs include:

     Oracle:
       http://www.oracle.com/technetwork/java/javase/downloads/index.html

  2) On Windows, you'll need an unzip tool available at http://www.winzip.com
 
  3) A HTML 5 browser is needed for some features of the /resin-admin tool.

III) Getting Started
--------------------

The included HTTP/1.1 server makes it easy to evaluate Resin, JSP
and servlets.  Just start it up.  The default configuration
file is found in resin-4.0.x/conf/resin.xml.

  1) On Unix, you'll want to build the JNI libraries:

     resin-4.0.x> ./configure --prefix=`pwd`
     resin-4.0.x> make
     resin-4.0.x> make install

  2) To start the server:

       unix> bin/resin.sh start

     or

       C:\> java -jar lib/resin.jar start

     The server listens to port 8080.  Port 8080 is the default specified
     in the configuration file resin-4.0.x/conf/resin.xml

     Log files are in resin-4.0.x/log

  3) Usually, Resin can find the JDK, but you may need to set JAVA_HOME in some
     configurations. 

     Starting Resin with -verbose is a great way to see what environment
     Resin is running.

  4) Browse http://localhost:8080 or equivalently http://127.0.0.1:8080.

  5) Go through the documentation at http://localhost:8080/resin-doc


IV) Application Deployment
--------------------------

  1) You can use the command-line to deploy a .war file:
  
       unix> bin/resin.sh deploy foo.war

  2) You can also copy the war file to the webapps directory.

     To deploy a war file, place the file in resin-4.0.x/webapps/foo.war
     Resin will expand the war file, and the application will be available
     with the url http://localhost:8080/foo/

  3) Resin supports the development of applications without requiring a war
     file deployment.  Create a directory resin-4.0.x/webapps/bar to
     correspond to url http://localhost:8080/bar/.  Java source files
     placed in resin-4.0.x/webapps/bar/WEB-INF/classes/ are automatically 
     compiled by Resin.

     resin-4.0.x/webapps/bar/index.jsp
       --> http://localhost:8080/bar/
       --> http://localhost:8080/bar/index.jsp

    resin-4.0.x/webapps/bar/WEB-INF/web.xml
       -- servlet/jsp configuration file

    resin-4.0.x/webapps/bar/WEB-INF/resin-web.xml
       -- Resin specific configuration

    resin-4.0.x/webapps/bar/WEB-INF/classes/example/HelloServlet.java
       -- java source file, automatically compiled by Resin
     
  4) For PHP, create test.php in resin-4.0.x/webapps/ROOT/test.php and browse
     http://localhost:8080/test.php.


IV) PDF Reports
---------------

  With Resin-Pro, you can get a PDF snapshot report of the server with the
  command-line:

    unix> bin/resin.sh pdf-report

  You can also get a watchdog restart report with the -watchdog option
  
    unix> bin/resin.sh pdf-report -watchdog

    
V) /resin-admin browser-based administration
--------------------------------------------

  An administration application is available at

     http://localhost:8080/resin-admin

  Instructions are provided for setting a password.

svn-caucho-com-resin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.