You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by Konstantinos Mavromatis <ma...@gmail.com> on 2015/02/28 01:27:01 UTC

Problems installing with RADiX

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+OODT

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/main/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

Re: Problems installing with RADiX

Posted by Konstantinos Mavromatis <ma...@gmail.com>.
Hi Chris,
sorry I forgot to include this information in my previous email..
I have tried to install OODT on two systems,  they both stop with the same
error.
the first is running MacOS Mavericks, maven 3.2.5, java 1.8.0_25
the second is running CentOS 7, maven 3.2.5., java 1.7.0_71
There is no ~/.m2/settings.xml in either cases. The  $M2_HOME/conf/settings.xml
is the default one that was generated during the mvn installation.

Thanks
K



On Sun, Mar 1, 2015 at 5:52 PM, Mattmann, Chris A (3980) <
chris.a.mattmann@jpl.nasa.gov> wrote:

> Hi Kostas,
>
> What version of Maven are you using?
>
> Also, what Java version? Finally, do you have a $HOME/.m2/settings.xml
> file and if so, what’s in it?
>
> Cheers,
> Chris
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Chris Mattmann, Ph.D.
> Chief Architect
> Instrument Software and Science Data Systems Section (398)
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
> Office: 168-519, Mailstop: 168-527
> Email: chris.a.mattmann@nasa.gov
> WWW:  http://sunset.usc.edu/~mattmann/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Adjunct Associate Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
>
>
>
> -----Original Message-----
> From: Konstantinos Mavromatis <ma...@gmail.com>
> Date: Friday, February 27, 2015 at 4:27 PM
> To: <de...@oodt.apache.org>
> Subject: Problems installing with RADiX
>
> >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+OODT
> >
> >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/main/r
> >esources/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
> >
> >
>
>

Re: Problems installing with RADiX

Posted by "Mattmann, Chris A (3980)" <ch...@jpl.nasa.gov>.
Hi Kostas,

What version of Maven are you using?

Also, what Java version? Finally, do you have a $HOME/.m2/settings.xml
file and if so, what’s in it?

Cheers,
Chris


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: Konstantinos Mavromatis <ma...@gmail.com>
Date: Friday, February 27, 2015 at 4:27 PM
To: <de...@oodt.apache.org>
Subject: Problems installing with RADiX

>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+OODT
>
>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/main/r
>esources/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
>
>


RE: Problems installing with RADiX

Posted by "Mallder, Valerie" <Va...@jhuapl.edu>.
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:tpalsulich@gmail.com]
> 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 <tp...@gmail.com>
> 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 <
> > mavromatis.konstantinos@gmail.com> 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
> >>
> >
> >

Re: Problems installing with RADiX

Posted by Tyler Palsulich <tp...@gmail.com>.
Hi Konstantinos,

Can you try again now? I just updated the script.

Tyler

On Sun, Mar 1, 2015 at 8:58 PM, Tyler Palsulich <tp...@gmail.com>
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 <
> mavromatis.konstantinos@gmail.com> 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+OODT
>>
>> 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/main/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
>>
>
>

Re: Problems installing with RADiX

Posted by Tyler Palsulich <tp...@gmail.com>.
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 <
mavromatis.konstantinos@gmail.com> 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+OODT
>
> 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/main/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
>