1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
diff -ur orion.orig/config/application.xml orion/config/application.xml
--- orion.orig/config/application.xml 2004-02-24 18:23:50.000000000 +0100
+++ orion/config/application.xml 2005-01-08 02:43:48.991562592 +0100
@@ -4,18 +4,18 @@
<!-- The global application config that is the parent of all the other
applications in this server. -->
<orion-application>
- <web-module id="defaultWebApp" path="../default-web-app" />
+ <web-module id="defaultWebApp" path="/opt/orion/default-web-app" />
- <persistence path="../persistence" />
+ <persistence path="/opt/orion/persistence" />
<!-- Path to the libraries that are installed on this server.
These will accesible for the servlets, EJBs etc -->
- <library path="../lib" />
+ <library path="/opt/orion/lib" />
- <principals path="./principals.xml" />
+ <principals path="/opt/orion/config/principals.xml" />
<log>
- <file path="../log/global-application.log" />
+ <file path="/var/log/orion/global-application.log" />
</log>
<data-sources path="data-sources.xml" />
diff -ur orion.orig/config/data-sources.xml orion/config/data-sources.xml
--- orion.orig/config/data-sources.xml 2004-02-24 18:23:50.000000000 +0100
+++ orion/config/data-sources.xml 2005-01-08 02:44:43.282309144 +0100
@@ -19,7 +19,7 @@
connection-driver="org.hsqldb.jdbcDriver"
username="sa"
password=""
- url="jdbc:hsqldb:./database/defaultdb"
+ url="jdbc:hsqldb:/opt/orion/database/defaultdb"
inactivity-timeout="30"
/>
</data-sources>
diff -ur orion.orig/config/default-web-site.xml orion/config/default-web-site.xml
--- orion.orig/config/default-web-site.xml 2004-02-24 18:23:50.000000000 +0100
+++ orion/config/default-web-site.xml 2005-01-08 02:45:21.187546672 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE web-site PUBLIC "Orion Web-site" "http://www.orionserver.com/dtds/web-site.dtd">
-<web-site host="[ALL]" port="80" display-name="Default Orion WebSite">
+<web-site host="[ALL]" port="8080" display-name="Default Orion WebSite [Gentoo]">
<!-- The default web-app for this site, bound to the root -->
<default-web-app application="default" name="defaultWebApp" />
@@ -9,5 +9,5 @@
<!-- <web-app application="news" name="news-web" root="/news" /> -->
<!-- Access Log, where requests are logged to -->
- <access-log path="../log/default-web-access.log" />
+ <access-log path="/var/log/orion/default-web-access.log" />
</web-site>
diff -ur orion.orig/config/global-web-application.xml orion/config/global-web-application.xml
--- orion.orig/config/global-web-application.xml 2004-02-24 18:23:50.000000000 +0100
+++ orion/config/global-web-application.xml 2005-01-08 02:46:19.533676712 +0100
@@ -5,14 +5,14 @@
want to debug JSP sources etc -->
<orion-web-app
- jsp-cache-directory="./persistence"
+ jsp-cache-directory="/opt/orion/persistence"
servlet-webdir="/servlet"
development="false"
- persistence-path="./persistence/state.ser"
+ persistence-path="/opt/orion/persistence/state.ser"
>
<!-- The mime-mappings for this server -->
- <mime-mappings path="./mime.types" />
+ <mime-mappings path="/opt/orion/config/mime.types" />
<!-- Enable the below entry for automatic XSLT processing of XML docs (docs without an XSLT tag will pass through untouched but access will be slower -->
<!-- <servlet-chaining servlet-name="xsl" mime-type="text/xml" /> -->
diff -ur orion.orig/config/jms.xml orion/config/jms.xml
--- orion.orig/config/jms.xml 2004-02-24 18:23:50.000000000 +0100
+++ orion/config/jms.xml 2005-01-08 02:41:52.300302360 +0100
@@ -16,6 +16,6 @@
<!-- path to the log-file where JMS-events/errors are stored -->
<log>
- <file path="../log/jms.log" />
+ <file path="/var/log/orion/jms.log" />
</log>
</jms-server>
diff -ur orion.orig/config/rmi.xml orion/config/rmi.xml
--- orion.orig/config/rmi.xml 2004-02-24 18:23:50.000000000 +0100
+++ orion/config/rmi.xml 2005-01-08 02:46:40.350512072 +0100
@@ -7,6 +7,6 @@
<!-- path to the log-file where RMI-events/errors are stored -->
<log>
- <file path="../log/rmi.log" />
+ <file path="/var/log/orion/rmi.log" />
</log>
</rmi-server>
diff -ur orion.orig/config/server.xml orion/config/server.xml
--- orion.orig/config/server.xml 2004-02-24 18:23:50.000000000 +0100
+++ orion/config/server.xml 2005-01-08 02:47:35.156180344 +0100
@@ -2,20 +2,20 @@
<!DOCTYPE application-server PUBLIC "Orion Application Server Config" "http://www.orionserver.com/dtds/application-server.dtd">
<application-server
- application-directory="../applications"
- deployment-directory="../application-deployments"
+ application-directory="/opt/orion/applications"
+ deployment-directory="/opt/orion/application-deployments"
>
<rmi-config path="./rmi.xml" />
<!-- JMS-server config link, uncomment to activate the JMS service -->
<!-- <jms-config path="./jms.xml" /> -->
<log>
- <file path="../log/server.log" />
+ <file path="/var/log/orion/server.log" />
</log>
<global-application name="default" path="application.xml" />
<global-web-app-config path="global-web-application.xml" />
- <web-site path="./default-web-site.xml" />
+ <web-site path="/opt/orion/config/default-web-site.xml" />
<!-- Compiler, activate this to specify an alternative compiler such
as jikes for EJB/JSP compiling. -->
|