You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov> on 2014/03/15 02:01:08 UTC

Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:

Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:

Attached out file is after a stop and then a start.  I’ve tried running the file manager from the command line directly and it seems like there isn’t a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I’m doing.  I’m currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>

RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


[cid:image001.png@01CF406F.D4B987F0]


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I've tried running the file manager from the command line directly and it seems like there isn't a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I'm doing.  I'm currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>

Re: radix oodt install question

Posted by "Verma, Rishi (398J)" <Ri...@jpl.nasa.gov>.
Hi Mike,

I didn’t download the 0.7 snapshot yet—is that essential?
Please try 0.7-SNAPSHOT or 0.6 release. I tried the same command with 0.6-SNAPSHOT and I was able to replicate your problem via 'java -cp ...'.

Is there some other main function in a jar in the lib folder that I could try to see if it’s something unrelated to starting the file manager?
Yeah, please try the following within filemgr/lib:

java -cp "junit-3.8.2.jar" junit.textui.TestRunner


You should see:
Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class

Thanks,
rishi

On Mar 18, 2014, at 4:02 PM, Lewis John Mcgibbney wrote:

Just to update you on this Mike.
It seems that OODT tests will not pass on Windows OS right now[0].
There is work to be done to fix this so I opened a Jira ticket which we will need to work on[1].

[0] https://builds.apache.org/job/oodt-trunk-Windows/4/
[1] https://issues.apache.org/jira/browse/OODT-671


On Mon, Mar 17, 2014 at 7:04 PM, Mike Vogel <Mi...@knowledgent.com>> wrote:
Had tried that before and tried it again with your exact command and got the same error.  I didn’t download the 0.7 snapshot yet—is that essential?
cas-filemgr-0.6-SNAPSHOT.jar is in the lib folder and contains the org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient class.  It’s as if the jar doesn’t contain the main function.
Is there some other main function in a jar in the lib folder that I could try to see if it’s something unrelated to starting the file manager?

$ java -cp "cas-filemgr-0.6-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.
XmlRpcFileManagerClient
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

From: Verma, Rishi (398J) [mailto:Rishi.Verma@jpl.nasa.gov<ma...@jpl.nasa.gov>]
Sent: Monday, March 17, 2014 2:29 PM
To: Mike Vogel
Cc: user@oodt.apache.org<ma...@oodt.apache.org>; Ramirez, Paul M (398J); Sumarlidason, Arni L (398J-Affiliate)

Subject: Re: radix oodt install question


Hi Mike, Lewis et al,

Having run OODT on Windows before, what I've found is that 99% of the headaches are related to how paths differ within a Cygwin (Windows) environment versus the Unix environment. I never had to modify the filemgr scripts however, only the environment variables that are referenced within it.

sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

This error looks like the java.ext.dirs is not finding the filemgr JAR. Maybe you could try seeing if you can call up the XmlRpcFileManager jar directly and then build up to using java.ext.dirs?
i.e. something like:
> cd filemgr/lib
> java -cp "cas-filemgr-0.7-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

Rishi

On Mar 15, 2014, at 3:10 PM, Mike Vogel wrote:


To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I’m going to try switching to using a CentOS virtual box but I’d like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running ‘mvn clean install’ fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Running ‘mvn install -DskipTests’ fails on a connection timeout to http://projects.iplantcollaborative.org<http://projects.iplantcollaborative.org/>.  I tried it several times and will try again later tonight or tomorrow.

[ERROR] Failed to execute goal on project cas-protocol-ftp: Could not resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6: Failed to collect dependencies for [org.apache.oodt:cas-protocol-api:jar:0.6 (compile), org.globus:cog-jglobus:jar:1.8.0 (compile), commons-net:commons-net:jar:1.4.0 (compile), org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test), org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]: Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0: Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to globus-repo (http://projects.iplantcollaborative.org/archiva/repository/internal): Connection tohttp://projects.iplantcollaborative.org<http://projects.iplantcollaborative.org/> refused: Connection timed out: connect -> [Help 1]

From: Mike Vogel [mailto:Mike.Vogel@knowledgent.com]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn’t subscribed to user@oodt.apache.org<ma...@oodt.apache.org>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


<image001.png>


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I’ve tried running the file manager from the command line directly and it seems like there isn’t a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I’m doing.  I’m currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196<tel:908.399.7196>
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>




--
Lewis


Re: radix oodt install question

Posted by "Verma, Rishi (398J)" <Ri...@jpl.nasa.gov>.
Hi Mike,

I didn’t download the 0.7 snapshot yet—is that essential?
Please try 0.7-SNAPSHOT or 0.6 release. I tried the same command with 0.6-SNAPSHOT and I was able to replicate your problem via 'java -cp ...'.

Is there some other main function in a jar in the lib folder that I could try to see if it’s something unrelated to starting the file manager?
Yeah, please try the following within filemgr/lib:

java -cp "junit-3.8.2.jar" junit.textui.TestRunner


You should see:
Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class

Thanks,
rishi

On Mar 18, 2014, at 4:02 PM, Lewis John Mcgibbney wrote:

Just to update you on this Mike.
It seems that OODT tests will not pass on Windows OS right now[0].
There is work to be done to fix this so I opened a Jira ticket which we will need to work on[1].

[0] https://builds.apache.org/job/oodt-trunk-Windows/4/
[1] https://issues.apache.org/jira/browse/OODT-671


On Mon, Mar 17, 2014 at 7:04 PM, Mike Vogel <Mi...@knowledgent.com>> wrote:
Had tried that before and tried it again with your exact command and got the same error.  I didn’t download the 0.7 snapshot yet—is that essential?
cas-filemgr-0.6-SNAPSHOT.jar is in the lib folder and contains the org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient class.  It’s as if the jar doesn’t contain the main function.
Is there some other main function in a jar in the lib folder that I could try to see if it’s something unrelated to starting the file manager?

$ java -cp "cas-filemgr-0.6-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.
XmlRpcFileManagerClient
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

From: Verma, Rishi (398J) [mailto:Rishi.Verma@jpl.nasa.gov<ma...@jpl.nasa.gov>]
Sent: Monday, March 17, 2014 2:29 PM
To: Mike Vogel
Cc: user@oodt.apache.org<ma...@oodt.apache.org>; Ramirez, Paul M (398J); Sumarlidason, Arni L (398J-Affiliate)

Subject: Re: radix oodt install question


Hi Mike, Lewis et al,

Having run OODT on Windows before, what I've found is that 99% of the headaches are related to how paths differ within a Cygwin (Windows) environment versus the Unix environment. I never had to modify the filemgr scripts however, only the environment variables that are referenced within it.

sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

This error looks like the java.ext.dirs is not finding the filemgr JAR. Maybe you could try seeing if you can call up the XmlRpcFileManager jar directly and then build up to using java.ext.dirs?
i.e. something like:
> cd filemgr/lib
> java -cp "cas-filemgr-0.7-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

Rishi

On Mar 15, 2014, at 3:10 PM, Mike Vogel wrote:


To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I’m going to try switching to using a CentOS virtual box but I’d like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running ‘mvn clean install’ fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Running ‘mvn install -DskipTests’ fails on a connection timeout to http://projects.iplantcollaborative.org<http://projects.iplantcollaborative.org/>.  I tried it several times and will try again later tonight or tomorrow.

[ERROR] Failed to execute goal on project cas-protocol-ftp: Could not resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6: Failed to collect dependencies for [org.apache.oodt:cas-protocol-api:jar:0.6 (compile), org.globus:cog-jglobus:jar:1.8.0 (compile), commons-net:commons-net:jar:1.4.0 (compile), org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test), org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]: Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0: Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to globus-repo (http://projects.iplantcollaborative.org/archiva/repository/internal): Connection tohttp://projects.iplantcollaborative.org<http://projects.iplantcollaborative.org/> refused: Connection timed out: connect -> [Help 1]

From: Mike Vogel [mailto:Mike.Vogel@knowledgent.com]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn’t subscribed to user@oodt.apache.org<ma...@oodt.apache.org>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


<image001.png>


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I’ve tried running the file manager from the command line directly and it seems like there isn’t a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I’m doing.  I’m currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196<tel:908.399.7196>
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>




--
Lewis


Re: radix oodt install question

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Just to update you on this Mike.
It seems that OODT tests will not pass on Windows OS right now[0].
There is work to be done to fix this so I opened a Jira ticket which we
will need to work on[1].

[0] https://builds.apache.org/job/oodt-trunk-Windows/4/
[1] https://issues.apache.org/jira/browse/OODT-671


On Mon, Mar 17, 2014 at 7:04 PM, Mike Vogel <Mi...@knowledgent.com>wrote:

> Had tried that before and tried it again with your exact command and got
> the same error.  I didn't download the 0.7 snapshot yet--is that essential?
>
> cas-filemgr-0.6-SNAPSHOT.jar is in the lib folder and contains the
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient class.  It's as
> if the jar doesn't contain the main function.
>
> Is there some other main function in a jar in the lib folder that I could
> try to see if it's something unrelated to starting the file manager?
>
>
>
> $ java -cp "cas-filemgr-0.6-SNAPSHOT.jar;*"
> org.apache.oodt.cas.filemgr.system.
>
> XmlRpcFileManagerClient
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Error: Could not find or load main class
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient
>
>
>
> *From:* Verma, Rishi (398J) [mailto:Rishi.Verma@jpl.nasa.gov]
> *Sent:* Monday, March 17, 2014 2:29 PM
> *To:* Mike Vogel
> *Cc:* user@oodt.apache.org; Ramirez, Paul M (398J); Sumarlidason, Arni L
> (398J-Affiliate)
>
> *Subject:* Re: radix oodt install question
>
>
>
> Hi Mike, Lewis et al,
>
>
>
> Having run OODT on Windows before, what I've found is that 99% of the
> headaches are related to how paths differ within a Cygwin (Windows)
> environment versus the Unix environment. I never had to modify the filemgr
> scripts however, only the environment variables that are referenced within
> it.
>
>
>
> sh-4.1$ Error: Could not find or load main class
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager
>
>
>
> This error looks like the java.ext.dirs is not finding the filemgr JAR.
> Maybe you could try seeing if you can call up the XmlRpcFileManager jar
> directly and then build up to using java.ext.dirs?
>
> i.e. something like:
>
> > cd filemgr/lib
>
> > java -cp "cas-filemgr-0.7-SNAPSHOT.jar;*"
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient
>
>
>
> Rishi
>
>
>
> On Mar 15, 2014, at 3:10 PM, Mike Vogel wrote:
>
>
>
> To see if there is something about the what the filemgr jar file is built
> that is causing the failures I tried building CAS File Manager project
> directly as describe at:
> http://oodt.apache.org/components/maven/filemgr/user/basic.html on
> windows 7 64 bit using Cygwin.  It fails in the following ways.  Any
> suggestions?  I'm going to try switching to using a CentOS virtual box but
> I'd like to be able to run under windows as well so I could easily
> integrate with some windows projects I already have working.
>
>
>
> Running 'mvn clean install' fails on the XMLTest, stack trace below.
>
>
>
> testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<<
> FAILURE!
>
> junit.framework.AssertionFailedError: Stringified DOM document CRC
> mismatch, got value = 3750466362
>
>       at junit.framework.Assert.fail(Assert.java:47)
>
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>
>       at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)
>
>
>
> Running 'mvn install -DskipTests' fails on a connection timeout to
> http://projects.iplantcollaborative.org.  I tried it several times and
> will try again later tonight or tomorrow.
>
>
>
> [ERROR] Failed to execute goal on project cas-protocol-ftp: Could not
> resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6:
> Failed to collect dependencies for
> [org.apache.oodt:cas-protocol-api:jar:0.6 (compile),
> org.globus:cog-jglobus:jar:1.8.0 (compile),
> commons-net:commons-net:jar:1.4.0 (compile),
> org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test),
> org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]:
> Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0:
> Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to
> globus-repo (
> http://projects.iplantcollaborative.org/archiva/repository/internal):
> Connection tohttp://projects.iplantcollaborative.org refused: Connection
> timed out: connect -> [Help 1]
>
>
>
> *From:* Mike Vogel [mailto:Mike.Vogel@knowledgent.com<Mi...@knowledgent.com>
> ]
> *Sent:* Saturday, March 15, 2014 5:14 PM
> *To:* Ramirez, Paul M (398J)
> *Cc:* <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J);
> Sumarlidason, Arni L (398J-Affiliate)
> *Subject:* RE: radix oodt install question
>
>
>
> Resending because I wasn't subscribed to user@oodt.apache.org
>
>
>
> *From:* Mike Vogel
> *Sent:* Saturday, March 15, 2014 4:59 PM
> *To:* 'Ramirez, Paul M (398J)'
> *Cc:* <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J);
> Sumarlidason, Arni L (398J-Affiliate)
> *Subject:* RE: radix oodt install question
>
>
>
> I ran the command you suggested.  Just in case, I changed to use the full
> jdk I had in a different folder.  Same problem,
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I
> included a screen shot of the contents of
> C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class
> path and contains XmlRpcFileManager.class.
>
>
>
> sh-4.1$ pwd
>
> /cygdrive/c/oodt/oodt-deploy
>
> sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"
> -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
>
> h /cygdrive/c/oodt/oodt-deploy/filemgr/lib
> -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
>
> ties
> -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties
> -Djava.io.tmpdir=C:\
>
> oodt\oodt-deploy\temp
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000
> 2>&1 &
>
> [1] 8052
>
> sh-4.1$ Error: Could not find or load main class
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager
>
>
>
> [1]+  Done(1)                 "/cygdrive/c/Program
> Files/java/jdk1.7.0_51/bin/java"
> -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath
> /cygdrive/c/oodt/oodt-deploy/filemgr/lib
> -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties
> -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties
> -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
>
> sh-4.1$
>
>
>
>
>
> <image001.png>
>
>
>
>
>
> *From:* Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov<pa...@jpl.nasa.gov>
> ]
> *Sent:* Saturday, March 15, 2014 2:19 PM
> *To:* Mike Vogel
> *Cc:* <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J);
> Sumarlidason, Arni L (398J-Affiliate)
> *Subject:* Re: radix oodt install question
>
>
>
> Mike,
>
>
>
> Adding Rishi and Arni as they both have more experience than myself
> running OODT in a windows environment.
>
>
>
> Looked at this a little this morning. It's hard as I don't have an Windows
> environment on me to troubleshoot this with but if you try running the
> command line below directly then it could lead to a resolution. Looks like
> maybe the tmpdir may be wrong too. If you capture the output when you run
> this and post it here we can do some further troubleshooting.
>
>
>
> /cygdrive/c/program files (x86)/java/jre7/bin/java
> -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath
> /cygdrive/c/oodt/oodt-deploy/filemgr/lib
> -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties
>
> -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties
>     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000
> 2>&1 &
>
>
>
>
>
> Thanks,
>
> Paul
>
>
>
> *From: *<Ramirez>, JPL <pa...@jpl.nasa.gov>
> *Date: *Friday, March 14, 2014 6:01 PM
> *To: *JPL <pa...@jpl.nasa.gov>
> *Cc: *Mike Vogel <Mi...@knowledgent.com>, "<us...@oodt.apache.org>" <
> user@oodt.apache.org>, "dev@oodt.apache.org" <de...@oodt.apache.org>
> *Subject: *Re: radix oodt install question
>
>
>
> Mike,
>
>
>
> One thing that came to mind is that on that version of radix pid file
> cleanup wasn't working so you'd have to go into the run directories and
> just delete them after you kill jobs or something doesn't start up right.
>
>
>
> This doesn't fix the main problem which of why something doesn't start up
> right. I'll look at that in the morning. Also maybe Rishi can answer this.
>
>
>
> --Paul
>
> Sent from my iPhone
>
>
> On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <
> paul.m.ramirez@jpl.nasa.gov> wrote:
>
> Mike,
>
>
>
> I'll look at this tomorrow morning and help out. No spare time at work
> today and then wife had plans. Actually if you could post this to OODT dev
> we might get others to help and if not I will still do so.
>
>
>
> --Paul
>
>
> Sent from my iPhone
>
>
> On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>
> wrote:
>
> Attached out file is after a stop and then a start.  I've tried running
> the file manager from the command line directly and it seems like there
> isn't a main in the cas-filemgr-0.6.jar file even though I see the
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar
> file.  Probably something stupid I'm doing.  I'm currently trying to
> rebuild from source.
>
>
>
> Thanks,
>
> Mike Vogel
>
> *M *908.399.7196
>
> mike.vogel@knowledgent.com
>
>
>
> <oodt.out>
>
>
>



-- 
*Lewis*

Re: radix oodt install question

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Just to update you on this Mike.
It seems that OODT tests will not pass on Windows OS right now[0].
There is work to be done to fix this so I opened a Jira ticket which we
will need to work on[1].

[0] https://builds.apache.org/job/oodt-trunk-Windows/4/
[1] https://issues.apache.org/jira/browse/OODT-671


On Mon, Mar 17, 2014 at 7:04 PM, Mike Vogel <Mi...@knowledgent.com>wrote:

> Had tried that before and tried it again with your exact command and got
> the same error.  I didn't download the 0.7 snapshot yet--is that essential?
>
> cas-filemgr-0.6-SNAPSHOT.jar is in the lib folder and contains the
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient class.  It's as
> if the jar doesn't contain the main function.
>
> Is there some other main function in a jar in the lib folder that I could
> try to see if it's something unrelated to starting the file manager?
>
>
>
> $ java -cp "cas-filemgr-0.6-SNAPSHOT.jar;*"
> org.apache.oodt.cas.filemgr.system.
>
> XmlRpcFileManagerClient
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Error: Could not find or load main class
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient
>
>
>
> *From:* Verma, Rishi (398J) [mailto:Rishi.Verma@jpl.nasa.gov]
> *Sent:* Monday, March 17, 2014 2:29 PM
> *To:* Mike Vogel
> *Cc:* user@oodt.apache.org; Ramirez, Paul M (398J); Sumarlidason, Arni L
> (398J-Affiliate)
>
> *Subject:* Re: radix oodt install question
>
>
>
> Hi Mike, Lewis et al,
>
>
>
> Having run OODT on Windows before, what I've found is that 99% of the
> headaches are related to how paths differ within a Cygwin (Windows)
> environment versus the Unix environment. I never had to modify the filemgr
> scripts however, only the environment variables that are referenced within
> it.
>
>
>
> sh-4.1$ Error: Could not find or load main class
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager
>
>
>
> This error looks like the java.ext.dirs is not finding the filemgr JAR.
> Maybe you could try seeing if you can call up the XmlRpcFileManager jar
> directly and then build up to using java.ext.dirs?
>
> i.e. something like:
>
> > cd filemgr/lib
>
> > java -cp "cas-filemgr-0.7-SNAPSHOT.jar;*"
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient
>
>
>
> Rishi
>
>
>
> On Mar 15, 2014, at 3:10 PM, Mike Vogel wrote:
>
>
>
> To see if there is something about the what the filemgr jar file is built
> that is causing the failures I tried building CAS File Manager project
> directly as describe at:
> http://oodt.apache.org/components/maven/filemgr/user/basic.html on
> windows 7 64 bit using Cygwin.  It fails in the following ways.  Any
> suggestions?  I'm going to try switching to using a CentOS virtual box but
> I'd like to be able to run under windows as well so I could easily
> integrate with some windows projects I already have working.
>
>
>
> Running 'mvn clean install' fails on the XMLTest, stack trace below.
>
>
>
> testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<<
> FAILURE!
>
> junit.framework.AssertionFailedError: Stringified DOM document CRC
> mismatch, got value = 3750466362
>
>       at junit.framework.Assert.fail(Assert.java:47)
>
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>
>       at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)
>
>
>
> Running 'mvn install -DskipTests' fails on a connection timeout to
> http://projects.iplantcollaborative.org.  I tried it several times and
> will try again later tonight or tomorrow.
>
>
>
> [ERROR] Failed to execute goal on project cas-protocol-ftp: Could not
> resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6:
> Failed to collect dependencies for
> [org.apache.oodt:cas-protocol-api:jar:0.6 (compile),
> org.globus:cog-jglobus:jar:1.8.0 (compile),
> commons-net:commons-net:jar:1.4.0 (compile),
> org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test),
> org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]:
> Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0:
> Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to
> globus-repo (
> http://projects.iplantcollaborative.org/archiva/repository/internal):
> Connection tohttp://projects.iplantcollaborative.org refused: Connection
> timed out: connect -> [Help 1]
>
>
>
> *From:* Mike Vogel [mailto:Mike.Vogel@knowledgent.com<Mi...@knowledgent.com>
> ]
> *Sent:* Saturday, March 15, 2014 5:14 PM
> *To:* Ramirez, Paul M (398J)
> *Cc:* <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J);
> Sumarlidason, Arni L (398J-Affiliate)
> *Subject:* RE: radix oodt install question
>
>
>
> Resending because I wasn't subscribed to user@oodt.apache.org
>
>
>
> *From:* Mike Vogel
> *Sent:* Saturday, March 15, 2014 4:59 PM
> *To:* 'Ramirez, Paul M (398J)'
> *Cc:* <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J);
> Sumarlidason, Arni L (398J-Affiliate)
> *Subject:* RE: radix oodt install question
>
>
>
> I ran the command you suggested.  Just in case, I changed to use the full
> jdk I had in a different folder.  Same problem,
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I
> included a screen shot of the contents of
> C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class
> path and contains XmlRpcFileManager.class.
>
>
>
> sh-4.1$ pwd
>
> /cygdrive/c/oodt/oodt-deploy
>
> sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"
> -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
>
> h /cygdrive/c/oodt/oodt-deploy/filemgr/lib
> -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
>
> ties
> -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties
> -Djava.io.tmpdir=C:\
>
> oodt\oodt-deploy\temp
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000
> 2>&1 &
>
> [1] 8052
>
> sh-4.1$ Error: Could not find or load main class
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager
>
>
>
> [1]+  Done(1)                 "/cygdrive/c/Program
> Files/java/jdk1.7.0_51/bin/java"
> -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath
> /cygdrive/c/oodt/oodt-deploy/filemgr/lib
> -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties
> -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties
> -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
>
> sh-4.1$
>
>
>
>
>
> <image001.png>
>
>
>
>
>
> *From:* Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov<pa...@jpl.nasa.gov>
> ]
> *Sent:* Saturday, March 15, 2014 2:19 PM
> *To:* Mike Vogel
> *Cc:* <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J);
> Sumarlidason, Arni L (398J-Affiliate)
> *Subject:* Re: radix oodt install question
>
>
>
> Mike,
>
>
>
> Adding Rishi and Arni as they both have more experience than myself
> running OODT in a windows environment.
>
>
>
> Looked at this a little this morning. It's hard as I don't have an Windows
> environment on me to troubleshoot this with but if you try running the
> command line below directly then it could lead to a resolution. Looks like
> maybe the tmpdir may be wrong too. If you capture the output when you run
> this and post it here we can do some further troubleshooting.
>
>
>
> /cygdrive/c/program files (x86)/java/jre7/bin/java
> -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath
> /cygdrive/c/oodt/oodt-deploy/filemgr/lib
> -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties
>
> -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties
>     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000
> 2>&1 &
>
>
>
>
>
> Thanks,
>
> Paul
>
>
>
> *From: *<Ramirez>, JPL <pa...@jpl.nasa.gov>
> *Date: *Friday, March 14, 2014 6:01 PM
> *To: *JPL <pa...@jpl.nasa.gov>
> *Cc: *Mike Vogel <Mi...@knowledgent.com>, "<us...@oodt.apache.org>" <
> user@oodt.apache.org>, "dev@oodt.apache.org" <de...@oodt.apache.org>
> *Subject: *Re: radix oodt install question
>
>
>
> Mike,
>
>
>
> One thing that came to mind is that on that version of radix pid file
> cleanup wasn't working so you'd have to go into the run directories and
> just delete them after you kill jobs or something doesn't start up right.
>
>
>
> This doesn't fix the main problem which of why something doesn't start up
> right. I'll look at that in the morning. Also maybe Rishi can answer this.
>
>
>
> --Paul
>
> Sent from my iPhone
>
>
> On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <
> paul.m.ramirez@jpl.nasa.gov> wrote:
>
> Mike,
>
>
>
> I'll look at this tomorrow morning and help out. No spare time at work
> today and then wife had plans. Actually if you could post this to OODT dev
> we might get others to help and if not I will still do so.
>
>
>
> --Paul
>
>
> Sent from my iPhone
>
>
> On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>
> wrote:
>
> Attached out file is after a stop and then a start.  I've tried running
> the file manager from the command line directly and it seems like there
> isn't a main in the cas-filemgr-0.6.jar file even though I see the
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar
> file.  Probably something stupid I'm doing.  I'm currently trying to
> rebuild from source.
>
>
>
> Thanks,
>
> Mike Vogel
>
> *M *908.399.7196
>
> mike.vogel@knowledgent.com
>
>
>
> <oodt.out>
>
>
>



-- 
*Lewis*

RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
Had tried that before and tried it again with your exact command and got the same error.  I didn't download the 0.7 snapshot yet-is that essential?
cas-filemgr-0.6-SNAPSHOT.jar is in the lib folder and contains the org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient class.  It's as if the jar doesn't contain the main function.
Is there some other main function in a jar in the lib folder that I could try to see if it's something unrelated to starting the file manager?

$ java -cp "cas-filemgr-0.6-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.
XmlRpcFileManagerClient
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

From: Verma, Rishi (398J) [mailto:Rishi.Verma@jpl.nasa.gov]
Sent: Monday, March 17, 2014 2:29 PM
To: Mike Vogel
Cc: user@oodt.apache.org; Ramirez, Paul M (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Hi Mike, Lewis et al,

Having run OODT on Windows before, what I've found is that 99% of the headaches are related to how paths differ within a Cygwin (Windows) environment versus the Unix environment. I never had to modify the filemgr scripts however, only the environment variables that are referenced within it.

sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

This error looks like the java.ext.dirs is not finding the filemgr JAR. Maybe you could try seeing if you can call up the XmlRpcFileManager jar directly and then build up to using java.ext.dirs?
i.e. something like:
> cd filemgr/lib
> java -cp "cas-filemgr-0.7-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

Rishi

On Mar 15, 2014, at 3:10 PM, Mike Vogel wrote:


To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I'm going to try switching to using a CentOS virtual box but I'd like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running 'mvn clean install' fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Running 'mvn install -DskipTests' fails on a connection timeout to http://projects.iplantcollaborative.org.  I tried it several times and will try again later tonight or tomorrow.

[ERROR] Failed to execute goal on project cas-protocol-ftp: Could not resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6: Failed to collect dependencies for [org.apache.oodt:cas-protocol-api:jar:0.6 (compile), org.globus:cog-jglobus:jar:1.8.0 (compile), commons-net:commons-net:jar:1.4.0 (compile), org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test), org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]: Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0: Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to globus-repo (http://projects.iplantcollaborative.org/archiva/repository/internal): Connection tohttp://projects.iplantcollaborative.org refused: Connection timed out: connect -> [Help 1]

From: Mike Vogel [mailto:Mike.Vogel@knowledgent.com]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn't subscribed to user@oodt.apache.org<ma...@oodt.apache.org>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


<image001.png>


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I've tried running the file manager from the command line directly and it seems like there isn't a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I'm doing.  I'm currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>


RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
Had tried that before and tried it again with your exact command and got the same error.  I didn't download the 0.7 snapshot yet-is that essential?
cas-filemgr-0.6-SNAPSHOT.jar is in the lib folder and contains the org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient class.  It's as if the jar doesn't contain the main function.
Is there some other main function in a jar in the lib folder that I could try to see if it's something unrelated to starting the file manager?

$ java -cp "cas-filemgr-0.6-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.
XmlRpcFileManagerClient
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

From: Verma, Rishi (398J) [mailto:Rishi.Verma@jpl.nasa.gov]
Sent: Monday, March 17, 2014 2:29 PM
To: Mike Vogel
Cc: user@oodt.apache.org; Ramirez, Paul M (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Hi Mike, Lewis et al,

Having run OODT on Windows before, what I've found is that 99% of the headaches are related to how paths differ within a Cygwin (Windows) environment versus the Unix environment. I never had to modify the filemgr scripts however, only the environment variables that are referenced within it.

sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

This error looks like the java.ext.dirs is not finding the filemgr JAR. Maybe you could try seeing if you can call up the XmlRpcFileManager jar directly and then build up to using java.ext.dirs?
i.e. something like:
> cd filemgr/lib
> java -cp "cas-filemgr-0.7-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

Rishi

On Mar 15, 2014, at 3:10 PM, Mike Vogel wrote:


To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I'm going to try switching to using a CentOS virtual box but I'd like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running 'mvn clean install' fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Running 'mvn install -DskipTests' fails on a connection timeout to http://projects.iplantcollaborative.org.  I tried it several times and will try again later tonight or tomorrow.

[ERROR] Failed to execute goal on project cas-protocol-ftp: Could not resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6: Failed to collect dependencies for [org.apache.oodt:cas-protocol-api:jar:0.6 (compile), org.globus:cog-jglobus:jar:1.8.0 (compile), commons-net:commons-net:jar:1.4.0 (compile), org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test), org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]: Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0: Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to globus-repo (http://projects.iplantcollaborative.org/archiva/repository/internal): Connection tohttp://projects.iplantcollaborative.org refused: Connection timed out: connect -> [Help 1]

From: Mike Vogel [mailto:Mike.Vogel@knowledgent.com]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn't subscribed to user@oodt.apache.org<ma...@oodt.apache.org>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


<image001.png>


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I've tried running the file manager from the command line directly and it seems like there isn't a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I'm doing.  I'm currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>


Re: radix oodt install question

Posted by "Verma, Rishi (398J)" <Ri...@jpl.nasa.gov>.
Hi Mike, Lewis et al,

Having run OODT on Windows before, what I've found is that 99% of the headaches are related to how paths differ within a Cygwin (Windows) environment versus the Unix environment. I never had to modify the filemgr scripts however, only the environment variables that are referenced within it.

sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

This error looks like the java.ext.dirs is not finding the filemgr JAR. Maybe you could try seeing if you can call up the XmlRpcFileManager jar directly and then build up to using java.ext.dirs?
i.e. something like:
> cd filemgr/lib
> java -cp "cas-filemgr-0.7-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

Rishi

On Mar 15, 2014, at 3:10 PM, Mike Vogel wrote:

To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I’m going to try switching to using a CentOS virtual box but I’d like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running ‘mvn clean install’ fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Running ‘mvn install -DskipTests’ fails on a connection timeout to http://projects.iplantcollaborative.org.  I tried it several times and will try again later tonight or tomorrow.

[ERROR] Failed to execute goal on project cas-protocol-ftp: Could not resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6: Failed to collect dependencies for [org.apache.oodt:cas-protocol-api:jar:0.6 (compile), org.globus:cog-jglobus:jar:1.8.0 (compile), commons-net:commons-net:jar:1.4.0 (compile), org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test), org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]: Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0: Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to globus-repo (http://projects.iplantcollaborative.org/archiva/repository/internal): Connection tohttp://projects.iplantcollaborative.org refused: Connection timed out: connect -> [Help 1]

From: Mike Vogel [mailto:Mike.Vogel@knowledgent.com]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn’t subscribed to user@oodt.apache.org<ma...@oodt.apache.org>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


<image001.png>


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I’ve tried running the file manager from the command line directly and it seems like there isn’t a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I’m doing.  I’m currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>


Re: radix oodt install question

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Mike,

On Sun, Mar 16, 2014 at 10:49 PM, Mike Vogel <Mi...@knowledgent.com>wrote:

> Can I download 0.7 Snapshot instead of just patching this one issue?
>

Yeah. You can check it out
svn co https://svn.apache.org/repos/asf/oodt/trunk/
or
git clone https://github.com/apache/oodt


> I got the Radix version working on CentOS in a virtualbox so I'm no longer
> blocked but I'd still like to try to get the windows version working.
>

+1. We can work on this thread to get it working. I've set up a Windows
build so we can verify if everything is working OK. We will soon see!
https://builds.apache.org/job/oodt-trunk-Windows/

Should I switch any future questions on this topic to just the oodt user
> list or is it OK to keep the individual email addresses?
>
>
>
> Just user@ copied now Mike.
Thanks
Lewis

Re: radix oodt install question

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Mike,

On Sun, Mar 16, 2014 at 10:49 PM, Mike Vogel <Mi...@knowledgent.com>wrote:

> Can I download 0.7 Snapshot instead of just patching this one issue?
>

Yeah. You can check it out
svn co https://svn.apache.org/repos/asf/oodt/trunk/
or
git clone https://github.com/apache/oodt


> I got the Radix version working on CentOS in a virtualbox so I'm no longer
> blocked but I'd still like to try to get the windows version working.
>

+1. We can work on this thread to get it working. I've set up a Windows
build so we can verify if everything is working OK. We will soon see!
https://builds.apache.org/job/oodt-trunk-Windows/

Should I switch any future questions on this topic to just the oodt user
> list or is it OK to keep the individual email addresses?
>
>
>
> Just user@ copied now Mike.
Thanks
Lewis

RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
Can I download 0.7 Snapshot instead of just patching this one issue?
I'm a developer so I should be able to apply the patch.  I'll also look into commenting out the junit test-I was concerned it indicated a real problem.
I got the Radix version working on CentOS in a virtualbox so I'm no longer blocked but I'd still like to try to get the windows version working.
Should I switch any future questions on this topic to just the oodt user list or is it OK to keep the individual email addresses?

Thanks for the help,
-mike

From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com]
Sent: Sunday, March 16, 2014 8:39 AM
To: user@oodt.apache.org
Cc: Ramirez, Paul M (398J); Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Hi Mike,
On Sat, Mar 15, 2014 at 10:10 PM, Mike Vogel <Mi...@knowledgent.com>> wrote:
To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I'm going to try switching to using a CentOS virtual box but I'd like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running 'mvn clean install' fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Personally, if you are trying to use RADiX I would either comment out this test (if you are using source) and try to reinstall the code. This is a trivial test which has little to do with using RADiX.


Running 'mvn install -DskipTests' fails on a connection timeout to http://projects.iplantcollaborative.org.  I tried it several times and will try again later tonight or tomorrow.

This has been fixed in 0.7-SNAPSHOT and is due to the repository at the above URL no longer being active/maintained/available. Are you familiar with patching up source code? I can send you a patch which you can apply which will solve this problem for you. This will at least enable you to progress with using RADiX.
Lewis


RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
Can I download 0.7 Snapshot instead of just patching this one issue?
I'm a developer so I should be able to apply the patch.  I'll also look into commenting out the junit test-I was concerned it indicated a real problem.
I got the Radix version working on CentOS in a virtualbox so I'm no longer blocked but I'd still like to try to get the windows version working.
Should I switch any future questions on this topic to just the oodt user list or is it OK to keep the individual email addresses?

Thanks for the help,
-mike

From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com]
Sent: Sunday, March 16, 2014 8:39 AM
To: user@oodt.apache.org
Cc: Ramirez, Paul M (398J); Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Hi Mike,
On Sat, Mar 15, 2014 at 10:10 PM, Mike Vogel <Mi...@knowledgent.com>> wrote:
To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I'm going to try switching to using a CentOS virtual box but I'd like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running 'mvn clean install' fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Personally, if you are trying to use RADiX I would either comment out this test (if you are using source) and try to reinstall the code. This is a trivial test which has little to do with using RADiX.


Running 'mvn install -DskipTests' fails on a connection timeout to http://projects.iplantcollaborative.org.  I tried it several times and will try again later tonight or tomorrow.

This has been fixed in 0.7-SNAPSHOT and is due to the repository at the above URL no longer being active/maintained/available. Are you familiar with patching up source code? I can send you a patch which you can apply which will solve this problem for you. This will at least enable you to progress with using RADiX.
Lewis


Re: radix oodt install question

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Mike,

On Sat, Mar 15, 2014 at 10:10 PM, Mike Vogel <Mi...@knowledgent.com>wrote:

> To see if there is something about the what the filemgr jar file is built
> that is causing the failures I tried building CAS File Manager project
> directly as describe at:
> http://oodt.apache.org/components/maven/filemgr/user/basic.html on
> windows 7 64 bit using Cygwin.  It fails in the following ways.  Any
> suggestions?  I'm going to try switching to using a CentOS virtual box but
> I'd like to be able to run under windows as well so I could easily
> integrate with some windows projects I already have working.
>
>
>
> Running 'mvn clean install' fails on the XMLTest, stack trace below.
>
>
>
> testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<<
> FAILURE!
>
> junit.framework.AssertionFailedError: Stringified DOM document CRC
> mismatch, got value = 3750466362
>
>       at junit.framework.Assert.fail(Assert.java:47)
>
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>
>       at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)
>

Personally, if you are trying to use RADiX I would either comment out this
test (if you are using source) and try to reinstall the code. This is a
trivial test which has little to do with using RADiX.


>
>
> Running 'mvn install -DskipTests' fails on a connection timeout to
> http://projects.iplantcollaborative.org.  I tried it several times and
> will try again later tonight or tomorrow.
>

This has been fixed in 0.7-SNAPSHOT and is due to the repository at the
above URL no longer being active/maintained/available. Are you familiar
with patching up source code? I can send you a patch which you can apply
which will solve this problem for you. This will at least enable you to
progress with using RADiX.
Lewis

Re: radix oodt install question

Posted by "Verma, Rishi (398J)" <Ri...@jpl.nasa.gov>.
Hi Mike, Lewis et al,

Having run OODT on Windows before, what I've found is that 99% of the headaches are related to how paths differ within a Cygwin (Windows) environment versus the Unix environment. I never had to modify the filemgr scripts however, only the environment variables that are referenced within it.

sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

This error looks like the java.ext.dirs is not finding the filemgr JAR. Maybe you could try seeing if you can call up the XmlRpcFileManager jar directly and then build up to using java.ext.dirs?
i.e. something like:
> cd filemgr/lib
> java -cp "cas-filemgr-0.7-SNAPSHOT.jar;*" org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient

Rishi

On Mar 15, 2014, at 3:10 PM, Mike Vogel wrote:

To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I’m going to try switching to using a CentOS virtual box but I’d like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running ‘mvn clean install’ fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Running ‘mvn install -DskipTests’ fails on a connection timeout to http://projects.iplantcollaborative.org.  I tried it several times and will try again later tonight or tomorrow.

[ERROR] Failed to execute goal on project cas-protocol-ftp: Could not resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6: Failed to collect dependencies for [org.apache.oodt:cas-protocol-api:jar:0.6 (compile), org.globus:cog-jglobus:jar:1.8.0 (compile), commons-net:commons-net:jar:1.4.0 (compile), org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test), org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]: Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0: Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to globus-repo (http://projects.iplantcollaborative.org/archiva/repository/internal): Connection tohttp://projects.iplantcollaborative.org refused: Connection timed out: connect -> [Help 1]

From: Mike Vogel [mailto:Mike.Vogel@knowledgent.com]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn’t subscribed to user@oodt.apache.org<ma...@oodt.apache.org>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


<image001.png>


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I’ve tried running the file manager from the command line directly and it seems like there isn’t a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I’m doing.  I’m currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>


Re: radix oodt install question

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Mike,

On Sat, Mar 15, 2014 at 10:10 PM, Mike Vogel <Mi...@knowledgent.com>wrote:

> To see if there is something about the what the filemgr jar file is built
> that is causing the failures I tried building CAS File Manager project
> directly as describe at:
> http://oodt.apache.org/components/maven/filemgr/user/basic.html on
> windows 7 64 bit using Cygwin.  It fails in the following ways.  Any
> suggestions?  I'm going to try switching to using a CentOS virtual box but
> I'd like to be able to run under windows as well so I could easily
> integrate with some windows projects I already have working.
>
>
>
> Running 'mvn clean install' fails on the XMLTest, stack trace below.
>
>
>
> testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<<
> FAILURE!
>
> junit.framework.AssertionFailedError: Stringified DOM document CRC
> mismatch, got value = 3750466362
>
>       at junit.framework.Assert.fail(Assert.java:47)
>
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>
>       at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)
>

Personally, if you are trying to use RADiX I would either comment out this
test (if you are using source) and try to reinstall the code. This is a
trivial test which has little to do with using RADiX.


>
>
> Running 'mvn install -DskipTests' fails on a connection timeout to
> http://projects.iplantcollaborative.org.  I tried it several times and
> will try again later tonight or tomorrow.
>

This has been fixed in 0.7-SNAPSHOT and is due to the repository at the
above URL no longer being active/maintained/available. Are you familiar
with patching up source code? I can send you a patch which you can apply
which will solve this problem for you. This will at least enable you to
progress with using RADiX.
Lewis

RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I'm going to try switching to using a CentOS virtual box but I'd like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running 'mvn clean install' fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Running 'mvn install -DskipTests' fails on a connection timeout to http://projects.iplantcollaborative.org.  I tried it several times and will try again later tonight or tomorrow.

[ERROR] Failed to execute goal on project cas-protocol-ftp: Could not resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6: Failed to collect dependencies for [org.apache.oodt:cas-protocol-api:jar:0.6 (compile), org.globus:cog-jglobus:jar:1.8.0 (compile), commons-net:commons-net:jar:1.4.0 (compile), org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test), org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]: Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0: Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to globus-repo (http://projects.iplantcollaborative.org/archiva/repository/internal): Connection to http://projects.iplantcollaborative.org refused: Connection timed out: connect -> [Help 1]

From: Mike Vogel [mailto:Mike.Vogel@knowledgent.com]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn't subscribed to user@oodt.apache.org<ma...@oodt.apache.org>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


[cid:image001.png@01CF4076.B810A190]


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I've tried running the file manager from the command line directly and it seems like there isn't a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I'm doing.  I'm currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>

RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
To see if there is something about the what the filemgr jar file is built that is causing the failures I tried building CAS File Manager project directly as describe at: http://oodt.apache.org/components/maven/filemgr/user/basic.html on windows 7 64 bit using Cygwin.  It fails in the following ways.  Any suggestions?  I'm going to try switching to using a CentOS virtual box but I'd like to be able to run under windows as well so I could easily integrate with some windows projects I already have working.

Running 'mvn clean install' fails on the XMLTest, stack trace below.

testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.1 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got value = 3750466362
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)

Running 'mvn install -DskipTests' fails on a connection timeout to http://projects.iplantcollaborative.org.  I tried it several times and will try again later tonight or tomorrow.

[ERROR] Failed to execute goal on project cas-protocol-ftp: Could not resolve dependencies for project org.apache.oodt:cas-protocol-ftp:jar:0.6: Failed to collect dependencies for [org.apache.oodt:cas-protocol-api:jar:0.6 (compile), org.globus:cog-jglobus:jar:1.8.0 (compile), commons-net:commons-net:jar:1.4.0 (compile), org.apache.ftpserver:ftpserver-core:jar:1.0.5 (test), org.slf4j:slf4j-log4j12:jar:1.5.2 (test), junit:junit:jar:3.8.2 (test)]: Failed to read artifact descriptor for org.globus:cog-jglobus:jar:1.8.0: Could not transfer artifact org.globus:cog-jglobus:pom:1.8.0 from/to globus-repo (http://projects.iplantcollaborative.org/archiva/repository/internal): Connection to http://projects.iplantcollaborative.org refused: Connection timed out: connect -> [Help 1]

From: Mike Vogel [mailto:Mike.Vogel@knowledgent.com]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn't subscribed to user@oodt.apache.org<ma...@oodt.apache.org>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


[cid:image001.png@01CF4076.B810A190]


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I've tried running the file manager from the command line directly and it seems like there isn't a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I'm doing.  I'm currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>

RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
Resending because I wasn't subscribed to user@oodt.apache.org

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


[cid:image001.png@01CF4071.FACE4D20]


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I've tried running the file manager from the command line directly and it seems like there isn't a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I'm doing.  I'm currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>

RE: radix oodt install question

Posted by Mike Vogel <Mi...@knowledgent.com>.
Resending because I wasn't subscribed to user@oodt.apache.org

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <us...@oodt.apache.org>; dev@oodt.apache.org; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

I ran the command you suggested.  Just in case, I changed to use the full jdk I had in a different folder.  Same problem, org.apache.oodt.cas.filemgr.system.XmlRpcFileManager is not found.  I included a screen shot of the contents of C:\oodt\oodt-deploy\filemgr\lib\cas-filemgr-0.6.jar which is on the class path and contains XmlRpcFileManager.class.

sh-4.1$ pwd
/cygdrive/c/oodt/oodt-deploy
sh-4.1$ "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java"       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpat
h /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.proper
ties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\
oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &
[1] 8052
sh-4.1$ Error: Could not find or load main class org.apache.oodt.cas.filemgr.system.XmlRpcFileManager

[1]+  Done(1)                 "/cygdrive/c/Program Files/java/jdk1.7.0_51/bin/java" -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp org.apache.oodt.cas.filemgr.system.XmlRpcFileManager --portNum 9000 2>&1
sh-4.1$


[cid:image001.png@01CF4071.FACE4D20]


From: Ramirez, Paul M (398J) [mailto:paul.m.ramirez@jpl.nasa.gov]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <us...@oodt.apache.org>>; dev@oodt.apache.org<ma...@oodt.apache.org>; Verma, Rishi (398J); Sumarlidason, Arni L (398J-Affiliate)
Subject: Re: radix oodt install question

Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:
Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:
Attached out file is after a stop and then a start.  I've tried running the file manager from the command line directly and it seems like there isn't a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I'm doing.  I'm currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>

Re: radix oodt install question

Posted by "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>.
Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:

Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:

Attached out file is after a stop and then a start.  I’ve tried running the file manager from the command line directly and it seems like there isn’t a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I’m doing.  I’m currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>

Re: radix oodt install question

Posted by "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>.
Mike,

Adding Rishi and Arni as they both have more experience than myself running OODT in a windows environment.

Looked at this a little this morning. It's hard as I don't have an Windows environment on me to troubleshoot this with but if you try running the command line below directly then it could lead to a resolution. Looks like maybe the tmpdir may be wrong too. If you capture the output when you run this and post it here we can do some further troubleshooting.

/cygdrive/c/program files (x86)/java/jre7/bin/java       -Djava.ext.dirs=/cygdrive/c/oodt/oodt-deploy/filemgr/lib -classpath /cygdrive/c/oodt/oodt-deploy/filemgr/lib     -Djava.util.logging.config.file=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/logging.properties     -Dorg.apache.oodt.cas.filemgr.properties=/cygdrive/c/oodt/oodt-deploy/filemgr/etc/filemgr.properties     -Djava.io.tmpdir=C:\oodt\oodt-deploy\temp     org.apache.oodt.cas.filemgr.system.XmlRpcFileManager     --portNum 9000 2>&1 &


Thanks,
Paul

From: <Ramirez>, JPL <pa...@jpl.nasa.gov>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <pa...@jpl.nasa.gov>>
Cc: Mike Vogel <Mi...@knowledgent.com>>, "<us...@oodt.apache.org>>" <us...@oodt.apache.org>>, "dev@oodt.apache.org<ma...@oodt.apache.org>" <de...@oodt.apache.org>>
Subject: Re: radix oodt install question

Mike,

One thing that came to mind is that on that version of radix pid file cleanup wasn't working so you'd have to go into the run directories and just delete them after you kill jobs or something doesn't start up right.

This doesn't fix the main problem which of why something doesn't start up right. I'll look at that in the morning. Also maybe Rishi can answer this.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 4:33 PM, "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>> wrote:

Mike,

I'll look at this tomorrow morning and help out. No spare time at work today and then wife had plans. Actually if you could post this to OODT dev we might get others to help and if not I will still do so.

--Paul

Sent from my iPhone

On Mar 14, 2014, at 3:37 PM, "Mike Vogel" <Mi...@knowledgent.com>> wrote:

Attached out file is after a stop and then a start.  I’ve tried running the file manager from the command line directly and it seems like there isn’t a main in the cas-filemgr-0.6.jar file even though I see the org.apache.oodt.cas.filemgr.system.XmlRpcFileManager class in the jar file.  Probably something stupid I’m doing.  I’m currently trying to rebuild from source.

Thanks,
Mike Vogel
M 908.399.7196
mike.vogel@knowledgent.com<ma...@knowledgent.com>

<oodt.out>