Hi All,

Yes, the first thing I noticed is that the instructions on wiki call for 
running the "trunk" version of the radix script, not the 0.8.1 version of the 
radix script.  Here's everything I did to I installed 0.8.1. 

Get the script and make sure it is executable (I ran into a problem on my 
system where /usr/local/bin/bash was in front of /bin/bash in my PATH, and the 
system is missing a library that is required by whatever version of bash is in 
/usr/local/bin/bash, so downloading and executing the radix script in a single 
command always failed for me, and I got in the habit of doing this in steps 
instead.  I did fix my PATH, but I still like to do this in two steps just make 
sure everything is correct as I go. )

curl -s 
http://svn.apache.org/repos/asf/oodt/tags/0.8.1/mvn/archetypes/radix/src/main/resources/bin/radix
 > radix
chmod +x radix

View the script and verify the archetype version specified in the radix script 
is 0.8.1, then execute it

./radix

Then, I deleted everything in my $HOME/.m2 folder to ensure every jar file I 
need gets refreshed. This does cause the next step to take a little longer, but 
it does ensure I have a clean baseline to work with. (Again, this is to make 
sure everything is correct as I go.)

mvn clean install -DskipTests


When it finished building, I moved the oodt folder to a new oodt-src folder, 
created a new oodt deploy folder and untarred it.

mv oodt oodt-src
cd oodt-src 
mkdir ../oodt
tar -xvf distribution/target/oodt-distribution-0.1-bin.tar.gz -C ../oodt

Then, I edited the oodt/resmgr/bin/batch_stub file to make it run in legacy 
mode by inserting these two lines right after " java -Djava.ext.dirs=../lib \"  
line.  This is documented in OODT-785 but hasn’t' been implemented in the RADiX 
archetype yet.

-Dorg.apache.oodt.cas.pge.task.metkeys.legacyMode="true" \
-Dorg.apache.oodt.cas.pge.task.status.legacyMode="true" \

Then, I looked in all of the lib folders and verified that all of the 0.8.1 
versions of the cas jar files where in there.  If they aren't, then something 
went wrong with the procedure I just described.

I will note that, for my applications, I also have to copy 
cas-filemgr-0.8.1.jar to resmgr/lib and workflow/lib in order for all of my 
stuff work.

Good luck, let me know what other problems you have. More than likely I have 
already run into it and have found a way to get through it.  

Val




Valerie A. Mallder
New Horizons Deputy Mission System Engineer
Johns Hopkins University/Applied Physics Laboratory

> -----Original Message-----
> From: Tyler Palsulich [mailto:[email protected]]
> Sent: Sunday, March 01, 2015 9:14 PM
> To: dev
> Subject: Re: Problems installing with RADiX
> 
> Hi Konstantinos,
> 
> Can you try again now? I just updated the script.
> 
> Tyler
> 
> On Sun, Mar 1, 2015 at 8:58 PM, Tyler Palsulich <[email protected]>
> wrote:
> 
> > Hi Konstantinos,
> >
> > Thanks for emailing! I think this is just a version issue in the
> > script (the archetype version should be 0.8.1, not 0.9). I copied the
> > script, changed the version, and it built successfully. I'll update it 
> > right now.
> >
> > Tyler
> >
> > On Fri, Feb 27, 2015 at 7:27 PM, Konstantinos Mavromatis <
> > [email protected]> wrote:
> >
> >> Hi,
> >> I am trying to install oodt v 8.1 using RADiX and upgrate from an
> >> existing
> >> v6 installation.
> >> I am following the instructions in
> >> https://cwiki.apache.org/confluence/display/OODT/RADiX+Powered+By+OOD
> >> T
> >>
> >> During the first step I get the following error which indicate that
> >> an archetype does not exist. Is that the case or am I doing something 
> >> wrong?
> >> Any advise is welcome.
> >> Thanks in advance for you help
> >> Kostas
> >>
> >>
> >> $curl -s
> >>
> >> http://svn.apache.org/repos/asf/oodt/trunk/mvn/archetypes/radix/src/m
> >> ain/resources/bin/radix
> >> | bash
> >> [INFO] Scanning for projects...
> >> [INFO]
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> --- [INFO] Building Maven Stub Project (No POM) 1 [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO]
> >> [INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) >
> >> generate-sources @ standalone-pom >>> [INFO] [INFO] <<<
> >> maven-archetype-plugin:2.2:generate (default-cli) < generate-sources
> >> @ standalone-pom <<< [INFO] [INFO] ---
> >> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom
> >> --- [INFO] Generating project in Interactive mode [INFO] Archetype
> >> repository missing. Using the one from
> >> [org.apache.oodt:radix-archetype:0.8.1] found in catalog remote
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] BUILD FAILURE
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] Total time: 1.716 s
> >> [INFO] Finished at: 2015-02-27T16:15:10-08:00 [INFO] Final Memory:
> >> 17M/503M [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
> >> (default-cli) on project standalone-pom: The desired archetype does
> >> not exist
> >> (org.apache.oodt:radix-archetype:0.9) -> [Help 1] [ERROR] [ERROR] To
> >> see the full stack trace of the errors, re-run Maven with the -e
> >> switch.
> >> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> >> [ERROR]
> >> [ERROR] For more information about the errors and possible solutions,
> >> please read the following articles:
> >> [ERROR] [Help 1]
> >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> >>
> >
> >

Reply via email to