Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
[ytl@net-desk1:/opt/perfSONAR/perfSONAR-SQL_MA-src-snapshot-20060811/perfsonar/ant]$ ant -f build-sqlma.xml xmldb-init-sqlma

xmldb-init-sqlma:

getresource-rrdma:

xmldb-exist-rrdma:
    [exist] Checking collection: xmldb:exist://net-desk1.slac.stanford.edu:8680/exist/xmlrpc/db/sqlmaconfig

__xmldb-init-rrdma:

xmldb-init-rrdma:

getdbroot-rrdma:

get-xmldb-collection:

xmldb-collection-rrdma:
   [create] Database driver already registered.

BUILD FAILED
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060811/perfSONAR-SQL_MA-src-snapshot-20060811/perfsonar/ant/sqlma/sqlma-exist-xmldb-targets.xml:29: \
  The following error occurred while executing this line: \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060811/perfSONAR-SQL_MA-src-snapshot-20060811/perfsonar/ant/rrdma/rrdma-exist-xmldb-targets.xml:147: \
  The following error occurred while executing this line: \
java.lang.NoSuchMethodError: org.exist.xmldb.XmldbURI.xmldbUriFor(Ljava/lang/String;)Lorg/exist/xmldb/XmldbURI;

It looks like a CLASSPATH problem: however, the current class path is:

Code Block
CLASSPATH=::/opt/tomcat/current/webapps/axis/WEB-INF/lib/activation.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/axis-ant.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/axis.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-discovery-0.2.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-logging-1.0.4.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-pool-1.1.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/exist.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/jaxrpc.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/jdom.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/mail.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/perfSONAR-generic.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/perfSONAR-rrdma.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/perfSONAR-xmlls.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/resolver.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/rrdjtool.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/saaj.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/wsdl4j-1.5.1.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/xalan.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/xercesImpl.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/xercesSamples.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/xml-apis.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmldb.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlParserAPIs.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlrpc-1.2-patched.jar:\
/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlsec.jar:\
.

Which as the eXist jar; but it is actually one that i deployed as a war rather than the one with Jetty. Either way, exist.jar does indeed contain the requested class files. Manually adding replacing the exist.jar path to that of /opt/exist/current/exist.jar doesn't work either.