Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Creating MA for IEPM-BW data

Subject: perfsonar development work

List archive

Re: [pS-dev] Creating MA for IEPM-BW data


Chronological Thread 
  • From: Loukik Kudarimoti <>
  • To: Roman Lapacz <>
  • Cc: Yee-Ting Li <>, , Les Cottrell <>
  • Subject: Re: [pS-dev] Creating MA for IEPM-BW data
  • Date: Fri, 01 Sep 2006 10:27:22 +0100

Hi Roman,

Does this affect the SQL MA for path status? I remember that the latest snapshot was working ok for me. If there is a new snapshot, it would be ideal for me to test it.

Loukik.

Roman Lapacz wrote:
Yee-Ting Li wrote:
Hi again Roman,

i'm think i've got the eXist database set up; but i couldn't get the list ant call to work. however, i only have the single eXist store on there, so i'm guessing it's okay.

however, when i try to compile the sqlma, i get (after i do a lib-sqlma)

Hi Yee,

I have to apologize you. This is my fault. Few day ago I made small changes and the compilation was fine on my local PC. But after your email I checked the compilation of sources on the other PC and it failed. When I removed the libraries and downloaded them again on my local PC then finally I got the errors! So I didn't realize that there is an error in the code. Sorry.

Today I've made some changes to remove the problem. I checked the compilation on 2 different PCs :) and it was fine. Please, download new snapshot that I've done today and continue the installation procedure. I know you could be bored or disappointed after all problems you have come across but please, do not give up.

I will also check the problem why Ant script does not init xml db smoothly (again, on my local PC works, on the other one does not :)

thanks for your work


Roman




===
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$ ant -f build-sqlma.xml build-sqlma
Buildfile: build-sqlma.xml

build-sqlma:

clean-all:
[delete] Deleting directory /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/build/org

clean-jar-generic:

compile-generic:
[javac] Compiling 242 source files to /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/build
[javac] /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/src/org/perfsonar/client/testHarness/SOAPClient.java:129: cannot find symbol
[javac] symbol : method setFormat(org.jdom.output.Format)
[javac] location: class org.jdom.output.XMLOutputter
[javac] outputter.setFormat(format);
[javac] ^
[javac] /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/src/org/perfsonar/client/testHarness/SOAPClientMulti.java:192: cannot find symbol
[javac] symbol : method setFormat(org.jdom.output.Format)
[javac] location: class org.jdom.output.XMLOutputter
[javac] outputter.setFormat(format);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors

BUILD FAILED
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/ant/sqlma/sqlma-java-compile-targets.xml:42: The following error occurred while executing this line:
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/ant/java-compile-targets.xml:70: Compile failed; see the compiler error output for details.

Total time: 9 seconds
====


any ideas?

Yee.


On 31 Aug 2006, at 00:51, Roman Lapacz wrote:


Hi Yee,

what version of Ant do you have? Now I have Ant version 1.6.2 and exist element inside condition element is accepted (take a look at the error message).

You can also init you xml db manually (GUI eXist client) creating sqlmaconfig collection (File->Create collection; Owner: sqlmaservice) and store (File->Store files/directories) there the metadata configuration file (the same owner)


Roman



Yee-Ting Li wrote:
Hey Roman,

i tried installing the latest version (most of the problems i had were the mysql permissions)... i can log onto exist, i ensured that i do not have any other MA service or LS service running on the tomcat... everything goes well... until i initiate the exist db:

=====
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$ ant -f build-sqlma.xml xmldb-init-sqlma
Buildfile: build-sqlma.xml

xmldb-init-sqlma:

getresource-rrdma:

xmldb-exist-rrdma:

BUILD FAILED
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/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/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/ant/rrdma/rrdma-exist-xmldb-targets.xml:65: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "exist" element.

Total time: 1 second
====

i have a log of my actions at:

https://confluence.slac.stanford.edu/x/Q0Q

any suggestions?

Yee.









Archive powered by MHonArc 2.6.16.

Top of Page