Last change
on this file since 3832 was 3560, checked in by kjdon, 21 years ago |
small change
|
-
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
|
---|
| 11 | cat comms/tomcat/jakarta/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/tomcat/jakarta/conf/server.xml comms/tomcat/jakarta/conf/server.bak.xml
|
---|
| 13 | mv server.xml comms/tomcat/jakarta/conf/server.xml
|
---|
| 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
|
---|
| 27 | comms/tomcat/jakarta/bin/shutdown.sh
|
---|
| 28 | comms/tomcat/jakarta/bin/startup.sh
|
---|
| 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.