Last change
on this file since 6460 was 5971, checked in by kjdon, 21 years ago |
changed SOAPServer.java class to SOARServer.java.in so dont get annoying messages about modified file from cvs
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.3 KB
|
Line | |
---|
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/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
|
---|
14 |
|
---|
15 | #edit the SOAPServer class
|
---|
16 | cat src/java/org/greenstone/gsdl3/SOAPServer.java.in | sed "s&@gsdl3home@&$GSDL3HOME&" > src/java/org/greenstone/gsdl3/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/jakarta/tomcat/bin/shutdown.sh
|
---|
28 | comms/jakarta/tomcat/bin/startup.sh
|
---|
29 |
|
---|
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.
|
---|
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.