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 
<[email protected]<mailto:[email protected]>> 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:[email protected]<mailto:[email protected]>]
Sent: Monday, March 17, 2014 2:29 PM
To: Mike Vogel
Cc: [email protected]<mailto:[email protected]>; 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:[email protected]]
Sent: Saturday, March 15, 2014 5:14 PM
To: Ramirez, Paul M (398J)
Cc: <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; Verma, Rishi (398J); 
Sumarlidason, Arni L (398J-Affiliate)
Subject: RE: radix oodt install question

Resending because I wasn’t subscribed to 
[email protected]<mailto:[email protected]>

From: Mike Vogel
Sent: Saturday, March 15, 2014 4:59 PM
To: 'Ramirez, Paul M (398J)'
Cc: <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; 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:[email protected]]
Sent: Saturday, March 15, 2014 2:19 PM
To: Mike Vogel
Cc: <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; 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 
<[email protected]<mailto:[email protected]>>
Date: Friday, March 14, 2014 6:01 PM
To: JPL <[email protected]<mailto:[email protected]>>
Cc: Mike Vogel <[email protected]<mailto:[email protected]>>, 
"<[email protected]<mailto:[email protected]>>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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)" 
<[email protected]<mailto:[email protected]>> 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" 
<[email protected]<mailto:[email protected]>> 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>
[email protected]<mailto:[email protected]>

<oodt.out>




--
Lewis

Reply via email to