Last change
on this file since 7833 was 7803, checked in by kjdon, 20 years ago |
this script just adds the soap context to tomcat
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
724 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | if [ ! -f gs3-setup.sh ]; then
|
---|
4 | echo "You must run this script from within the Greenstone 3 home directory"
|
---|
5 | exit 1
|
---|
6 | fi
|
---|
7 |
|
---|
8 | #check that GSDL3HOME is set
|
---|
9 | source gs3-setup.sh
|
---|
10 | gsdl3home=$GSDL3HOME
|
---|
11 |
|
---|
12 | if ! grep -q soap comms/jakarta/tomcat/conf/server.xml; then
|
---|
13 | # if soap is not deployed already in tomcat, then deploy it
|
---|
14 | mv ./comms/jakarta/tomcat/conf/server.xml ./comms/jakarta/tomcat/conf/server.bak.xml
|
---|
15 | cat ./comms/jakarta/tomcat/conf/server.bak.xml | sed "s,<\!-- Tomcat Root Context -->,<\!-- SOAP Service --><Context path=\"/soap\" docBase=\"${gsdl3home}/comms/soap/soap/webapps/soap\" debug=\"1\" reloadable=\"true\"/><\!-- Tomcat Root Context -->," > ./comms/jakarta/tomcat/conf/server.xml
|
---|
16 | fi
|
---|
17 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.