This is an automated email from the ASF dual-hosted git repository.
mattmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drat.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new 84aa623 - working guide to get DRAT 1.0 working with OODT 1.9
84aa623 is described below
commit 84aa623c8e146cd9b7777c750f9ded37080017c9
Author: Chris Mattmann <[email protected]>
AuthorDate: Sun Oct 6 09:55:27 2019 -0700
- working guide to get DRAT 1.0 working with OODT 1.9
---
Getting-DRAT-1.0-working-with-OODT-1.9.md | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/Getting-DRAT-1.0-working-with-OODT-1.9.md
b/Getting-DRAT-1.0-working-with-OODT-1.9.md
new file mode 100644
index 0000000..43d6444
--- /dev/null
+++ b/Getting-DRAT-1.0-working-with-OODT-1.9.md
@@ -0,0 +1,19 @@
+There are some issues with Apache OODT 1.9 mainly that it makes Avro the
silent default on all the client/server communication which makes DRAT 1.0 fail
in weird ways. Here is a running log of updates to DRAT 1.0 to make it work in
the meanwhile:
+
+ 1. edit `tomcat/conf/catalina.properties` and set the File Manager client to
be the XmlRpc one
+ 2. edit `tomcat/webapps/opsui/WEB-INF/lib/cas-{workflow|resource}-1.9.jar`
and edit `{workflow|resource}.properties` to change the client class to the
XmlRpc one
+ 3. edit `resmgr/bin/resmgr` and make it look like<br/>
+ ```
+ $JAVA_HOME/bin/java -Djava.ext.dirs=${CAS_RESMGR_HOME}/lib \
+
-Djava.util.logging.config.file=${CAS_RESMGR_HOME}/etc/logging.properties \
+ -Dlog4j.configurationFile=${CAS_RESMGR_HOME}/etc/log4j2.xml \
+ -Dorg.apache.oodt.cas.resource.properties=${CAS_RESMGR_PROPS} \
+ org.apache.oodt.cas.resource.system.ResourceManagerMain --portNum
$SERVER_PORT &
+ echo $! >${RUN_HOME}/cas.resmgr.pid
+ ```
+ 4. edit `tomcat/webapps/proteus/WEB-INF/lib/cas-{workflow|resource}-1.9.jar`
and edit `{workflow|resource}.properties` to change the client class to the
XmlRpc one
+ 5. add the following properties to `workflow/etc/workflow.properties`<br/>
+ ```
+ # rpc configuration, uncomment the avro implementations to use AvroRPC
+
filemgr.client=org.apache.oodt.cas.filemgr.system.rpc.XmlRpcFileManagerClientFactory
+ ```