root/trunk/README-Server.txt

Revision 1506, 3.7 KB (checked in by kohlhaas, 13 months ago)

updated some of the documentation

  • Property svn:eol-style set to native
Line 
1This README is for running rapla as server. You will find more information on our
2documentation pages on
3
4http://rapla.sourceforge.net/documentation.html
5
6
7The rapla server:
8---------------------------
9
10Since version 0.10.2 rapla server installation is very easy:
11Download the binary-distribution or build one with "build dist-bin"
12
13You can start it with:
14
15raplaserver.bat (Windows)
16call raplaserver.bat (NT)
17raplaserver.sh run (Unix)
18
19If you want to install Rapla-Server as a SERVICE on Win NT/2000/XP/Vista/7
20use the scripts in the service folder to test/install/uninstall rapla as a service.
21
22
23With a running server point your browser to
24http://localhost:8051
25
26You should see the rapla welcome screen. Click on start with webstart
27and the webstart client should launch. If not launched automatically,
28you should choose the webstart program from your
29java installation (e.g. C:\Programme\Java\jre1.5.0_06\bin\webstart.exe under Windows).
30
31You can login with username "admin" and empty password
32
33Thats it.
34
35Installing into another servlet container
36-----------------------------------------
37
38If you want to use another servlet container (e.g. tomcat) you can
39copy the webapp (without s) folder to the webapps (with s) folder of
40your servlet container and rename webapp (without s) to rapla.
41See the documentation of your servelt-container for more details
42
43Installing in Apache or IIS
44----------------------------
45
46You can install Jetty with apache or IIS by uncommenting
47the AJP13 listener in jetty/conf/main.xml.
48
49See http://jetty.mortbay.org/ for more information
50
51Troubleshooting:
52----------------
531. The most commen error will be long stacktrace with
54  "Caused by: java.net.BindException: Could not bind to port 8051"
55  somewhere hidden between the lines. This means that either another
56  rapla server is running (so stop or kill this process) or that this
57  port is blocked by another application.  You need to configure
58  another the port in jetty/conf/main.xml
59
60  <Call name="addListener">
61    <Arg>
62      <New class="org.mortbay.http.SocketListener">
63        <Set name="Port"><SystemProperty name="jetty.port" default="8051"/></Set>
64
652. look in the troubleshooting faq under http://rapla.sourceforge.net/documentation.html
66
673. Post a question to rapla-developers@lists.sourceforge.net
68
69
70Running Multiple Rapla servers:
71-------------------------------
72
73There is no Problem running multiple rapla servers on one computer. You just need to copy the webapp folder and rename it e.g. webapp2
74and add a new webapplication to jetty/jetty.xml
75 
76  <New class="org.mortbay.jetty.webapp.WebAppContext">
77      <Arg><Ref id="contexts"/></Arg>
78      <Arg><SystemProperty name="jetty.home" default="."/>/webapp2</Arg>
79      <Arg>/rapla2</Arg>
80      <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/jetty/webdefault.xml</Set>
81      <Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/webapp2</Set>
82    </New>
83 
84  Of course you need to change the context of the first webapp from / to /rapla
85 
86    <New class="org.mortbay.jetty.webapp.WebAppContext">
87      <Arg><Ref id="contexts"/></Arg>
88      <Arg><SystemProperty name="jetty.home" default="."/>/webapp</Arg>
89      <Arg>/rapla</Arg>
90      <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/jetty/webdefault.xml</Set>
91      <Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/webapp</Set>
92    </New>
93 
94 
95 
96   
97Now you should have two applications running
98http://localhost:8051/rapla/
99http://localhost:8051/rapla2/
100 
101
102Acknowlegdement
103-----------------
104
105Rapla includes free software developed by the Apache Software Foundation
106(http://www.apache.org/) and other organizations
107For more Information see legal/LIBRARIES-FAQ
108
Note: See TracBrowser for help on using the browser.