Last change
on this file since 5945 was 4848, checked in by kjdon, 21 years ago |
changed the tomcat directory in comms to jakarta, so paths to tomcat are now comms/jakarta/tomcat, instead of comms/tomcat/jakarta, which makes much more sense :-)
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.3 KB
|
Rev | Line | |
---|
[3554] | 1 | #!/bin/bash -v
|
---|
| 2 |
|
---|
| 3 | #unpack soap
|
---|
| 4 |
|
---|
| 5 | cd comms/soap
|
---|
| 6 | tar xzf soap-bin-2.2.tar.gz
|
---|
| 7 | ln -s soap-2_2 soap
|
---|
| 8 | cd $GSDL3HOME
|
---|
| 9 |
|
---|
| 10 | #add the soap context to tomcat config file
|
---|
[4848] | 11 | cat comms/jakarta/tomcat/conf/server.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 -->," > server.xml
|
---|
| 12 | mv comms/jakarta/tomcat/conf/server.xml comms/jakarta/tomcat/conf/server.bak.xml
|
---|
| 13 | mv server.xml comms/jakarta/tomcat/conf/server.xml
|
---|
[3554] | 14 |
|
---|
| 15 | #edit the SOAPServer class
|
---|
| 16 | cat src/java/org/greenstone/gsdl3/SOAPServer.java | sed "s&@gsdl3home@&$GSDL3HOME&" > SOAPServer.java
|
---|
| 17 | mv src/java/org/greenstone/gsdl3/SOAPServer.java src/java/org/greenstone/gsdl3/SOAPServer.java.bak
|
---|
| 18 | mv SOAPServer.java src/java/org/greenstone/gsdl3/SOAPServer.java
|
---|
| 19 |
|
---|
| 20 | # now remake the class
|
---|
| 21 | cd src/java/org/greenstone/gsdl3
|
---|
| 22 | make
|
---|
| 23 | make install
|
---|
| 24 | cd $GSDL3HOME
|
---|
| 25 |
|
---|
| 26 | #deploy the service
|
---|
[4848] | 27 | comms/jakarta/tomcat/bin/shutdown.sh
|
---|
| 28 | comms/jakarta/tomcat/bin/startup.sh
|
---|
[3554] | 29 |
|
---|
[3560] | 30 | # IMPORTANT!!!!!!!!!!!!!!
|
---|
| 31 | # the following command is supposed to deploy the service but it doesn't
|
---|
| 32 | # work inside bash, so you need to cut and paste it onto the command line
|
---|
| 33 | # and retry it.
|
---|
[3554] | 34 | java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy resources/soap/localsite.xml
|
---|
| 35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.