You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by "Mallder, Valerie" <Va...@jhuapl.edu> on 2015/09/01 20:46:59 UTC

how to run OPSUI from scratch

Hi All,

I've gotten workflow manager, file manager running (without resource manager) and now I'd like to figure out how run the OPSUI. When I was using the Radix install, this was pretty easy. But now I'm starting from scratch and trying to following the instructions on the wiki.  I am using the instructions called "Quick Start for PCS OPSUI".

I watched the video, but Chris is talking a bit too fast and the screen is unreadable so I can't see the exact commands he is entering on the command line that are related to OPSUI.

At the bottom of the page there are two options "Building from src" and "Using the WAR directly from the central repository".  I chose "Building from src".

And when I do number 2 "mvn install tomcat:run-war" I get the following errors:  What should I do?

Thanks,
Val


[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/install/tomcat/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.136s
[INFO] Finished at: Tue Sep 01 13:34:03 GMT-05:00 2015
[INFO] Final Memory: 20M/1448M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin 'install:tomcat' from the repositories [local (/homes/malldva1/.m2/repository), central (http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [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/PluginVersionResolutionException




Valerie A. Mallder

New Horizons Deputy Mission System Engineer
The Johns Hopkins University/Applied Physics Laboratory
11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
240-228-7846 (Office) 410-504-2233 (Blackberry)


RE: how to run OPSUI from scratch

Posted by "Mallder, Valerie" <Va...@jhuapl.edu>.
Ok, no worries. I appreciate anything you can tell me. :)



Sent from my iPhone.
________________________________
From: Chris Mattmann <ch...@gmail.com>
Sent: Wednesday, September 2, 2015 10:42:47 PM
To: dev@oodt.apache.org
Subject: Re: how to run OPSUI from scratch

Hey Val,

These are all great questions. I want to write you a comprehensive
response so let me find a bit of time either tonight or early AM
tomorrow.

Cheers,
Chris

—
Chris Mattmann
chris.mattmann@gmail.com






-----Original Message-----
From: "Mallder, Valerie" <Va...@jhuapl.edu>
Reply-To: <de...@oodt.apache.org>
Date: Wednesday, September 2, 2015 at 9:54 AM
To: "dev@oodt.apache.org" <de...@oodt.apache.org>
Subject: RE: how to run OPSUI from scratch

>Ok, through trial and error while following the instructions for
>"Building from src", I figured out that you need to run the "mvn install
>tomcat:run-war" from the oodt-src/pcs/opsui directory.  This ends up
>starting tomcat so you can then go to https://localhost:8080/pcs-opsui to
>bring it up the web page.  But, I discovered a couple of things while
>doing this.
>
>You'll have to be patient with me here, I am not at all familiar with
>tomcat, webapps, or any of the configuration files it is going to be
>looking for at runtime.
>
>When I built OODT, I put the source in a "oodt-src" directory, and I
>deployed oodt in a "oodt" directory. I ran the opsui from the "oodt-src"
>directory tree, but it was looking for files in the deployed directory
>tree. I don't want to run anything out of my source directory, I only
>want to run things out of my deployed directory.  So, how do I actually
>'deploy' the opsui so that I can run it from my deployed directory tree?
>There is no tar.gz file in the opsui/target directory that I can just
>unpack into the deployed directory.  So what should I do?
>
>I also discovered that there seems to be a lot of webapps that I knew
>nothing about.  I discovered the web-grid webapp by accident when I ran
>"mvn install tomcat:run-war" from the top-level oodt-src directory and
>grid was the first directory it came to where it found a war file to run.
>And it used port 8080. So I went to http://localhost:8080/web-grid to see
>what it was.  And it did not tell me anything about what it actually is.
>So, how do I find out what all the web apps are and what they do?  Are
>they all already part of the opsui? Or, are they all separate apps like
>web-grid seemed to be?
>
>Val
>
>
>
>Valerie A. Mallder
>New Horizons Deputy Mission System Engineer
>Johns Hopkins University/Applied Physics Laboratory
>
>
>> -----Original Message-----
>> From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com]
>> Sent: Tuesday, September 01, 2015 3:16 PM
>> To: dev@oodt.apache.org
>> Subject: Re: how to run OPSUI from scratch
>>
>> I think it should be in webapps directory. You. Can search for it with
>>something like
>>
>> find . -name "opsui"
>>
>> On Tuesday, September 1, 2015, Mallder, Valerie
>><Va...@jhuapl.edu>
>> wrote:
>>
>> > I am running OODT 0.9.
>> >
>> > What directory should I execute the "Mvn clean install -X " command
>>from?
>> >
>> > Valerie A. Mallder
>> > New Horizons Deputy Mission System Engineer Johns Hopkins
>> > University/Applied Physics Laboratory
>> >
>> > > -----Original Message-----
>> > > From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com
>> > <javascript:;>]
>> > > Sent: Tuesday, September 01, 2015 2:58 PM
>> > > To: dev@oodt.apache.org <javascript:;>
>> > > Subject: Re: how to run OPSUI from scratch
>> > >
>> > > Hi Val,
>> > > Which version of the software are you using?
>> > > Can you try reinstalling allows
>> > >
>> > > Mvn clean install -X
>> > >
>> > > The above is debug mode and will give you more verbose output.
>> > > Thanks
>> > >
>> > > On Tuesday, September 1, 2015, Mallder, Valerie <
>> > Valerie.Mallder@jhuapl.edu <javascript:;>>
>> > > wrote:
>> > >
>> > > > Hi All,
>> > > >
>> > > > I've gotten workflow manager, file manager running (without
>> > > > resource
>> > > > manager) and now I'd like to figure out how run the OPSUI. When I
>> > > > was using the Radix install, this was pretty easy. But now I'm
>> > > > starting from scratch and trying to following the instructions on
>> > > > the wiki.  I am using the instructions called "Quick Start for
>>PCS OPSUI".
>> > > >
>> > > > I watched the video, but Chris is talking a bit too fast and the
>> > > > screen is unreadable so I can't see the exact commands he is
>> > > > entering on the command line that are related to OPSUI.
>> > > >
>> > > > At the bottom of the page there are two options "Building from
>>src"
>> > > > and "Using the WAR directly from the central repository".  I chose
>> > > > "Building from src".
>> > > >
>> > > > And when I do number 2 "mvn install tomcat:run-war" I get the
>> > > > following
>> > > > errors:  What should I do?
>> > > >
>> > > > Thanks,
>> > > > Val
>> > > >
>> > > >
>> > > > [INFO] Scanning for projects...
>> > > > Downloading:
>> > > > http://repo.maven.apache.org/maven2/install/tomcat/maven-metadata.
>> > > > xml
>> > > > [INFO]
>> > > > ------------------------------------------------------------------
>> > > > ----
>> > > > --
>> > > > [INFO] BUILD FAILURE
>> > > > [INFO]
>> > > > ------------------------------------------------------------------
>> > > > ----
>> > > > --
>> > > > [INFO] Total time: 1.136s
>> > > > [INFO] Finished at: Tue Sep 01 13:34:03 GMT-05:00 2015 [INFO]
>> > > > Final
>> > > > Memory: 20M/1448M [INFO]
>> > > > ------------------------------------------------------------------
>> > > > ----
>> > > > -- [ERROR] Error resolving version for plugin 'install:tomcat'
>> > > > from the repositories [local (/homes/malldva1/.m2/repository),
>> > > > central (
>> > > > http://repo.maven.apache.org/maven2)]: Plugin not found in any
>> > > > plugin repository -> [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/PluginVersionReso
>> > > > luti
>> > > > onException
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > Valerie A. Mallder
>> > > >
>> > > > New Horizons Deputy Mission System Engineer The Johns Hopkins
>> > > > University/Applied Physics Laboratory
>> > > > 11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
>> > > > 240-228-7846 (Office) 410-504-2233 (Blackberry)
>> > > >
>> > > >
>> > >
>> > > --
>> > > *Lewis*
>> >
>>
>>
>> --
>> *Lewis*



Re: how to run OPSUI from scratch

Posted by Chris Mattmann <ch...@gmail.com>.
Hey Val,

These are all great questions. I want to write you a comprehensive
response so let me find a bit of time either tonight or early AM
tomorrow.

Cheers,
Chris

—
Chris Mattmann
chris.mattmann@gmail.com






-----Original Message-----
From: "Mallder, Valerie" <Va...@jhuapl.edu>
Reply-To: <de...@oodt.apache.org>
Date: Wednesday, September 2, 2015 at 9:54 AM
To: "dev@oodt.apache.org" <de...@oodt.apache.org>
Subject: RE: how to run OPSUI from scratch

>Ok, through trial and error while following the instructions for
>"Building from src", I figured out that you need to run the "mvn install
>tomcat:run-war" from the oodt-src/pcs/opsui directory.  This ends up
>starting tomcat so you can then go to https://localhost:8080/pcs-opsui to
>bring it up the web page.  But, I discovered a couple of things while
>doing this.
>
>You'll have to be patient with me here, I am not at all familiar with
>tomcat, webapps, or any of the configuration files it is going to be
>looking for at runtime.
>
>When I built OODT, I put the source in a "oodt-src" directory, and I
>deployed oodt in a "oodt" directory. I ran the opsui from the "oodt-src"
>directory tree, but it was looking for files in the deployed directory
>tree. I don't want to run anything out of my source directory, I only
>want to run things out of my deployed directory.  So, how do I actually
>'deploy' the opsui so that I can run it from my deployed directory tree?
>There is no tar.gz file in the opsui/target directory that I can just
>unpack into the deployed directory.  So what should I do?
>
>I also discovered that there seems to be a lot of webapps that I knew
>nothing about.  I discovered the web-grid webapp by accident when I ran
>"mvn install tomcat:run-war" from the top-level oodt-src directory and
>grid was the first directory it came to where it found a war file to run.
>And it used port 8080. So I went to http://localhost:8080/web-grid to see
>what it was.  And it did not tell me anything about what it actually is.
>So, how do I find out what all the web apps are and what they do?  Are
>they all already part of the opsui? Or, are they all separate apps like
>web-grid seemed to be?
>
>Val
>
>
>
>Valerie A. Mallder
>New Horizons Deputy Mission System Engineer
>Johns Hopkins University/Applied Physics Laboratory
>
>
>> -----Original Message-----
>> From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com]
>> Sent: Tuesday, September 01, 2015 3:16 PM
>> To: dev@oodt.apache.org
>> Subject: Re: how to run OPSUI from scratch
>> 
>> I think it should be in webapps directory. You. Can search for it with
>>something like
>> 
>> find . -name "opsui"
>> 
>> On Tuesday, September 1, 2015, Mallder, Valerie
>><Va...@jhuapl.edu>
>> wrote:
>> 
>> > I am running OODT 0.9.
>> >
>> > What directory should I execute the "Mvn clean install -X " command
>>from?
>> >
>> > Valerie A. Mallder
>> > New Horizons Deputy Mission System Engineer Johns Hopkins
>> > University/Applied Physics Laboratory
>> >
>> > > -----Original Message-----
>> > > From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com
>> > <javascript:;>]
>> > > Sent: Tuesday, September 01, 2015 2:58 PM
>> > > To: dev@oodt.apache.org <javascript:;>
>> > > Subject: Re: how to run OPSUI from scratch
>> > >
>> > > Hi Val,
>> > > Which version of the software are you using?
>> > > Can you try reinstalling allows
>> > >
>> > > Mvn clean install -X
>> > >
>> > > The above is debug mode and will give you more verbose output.
>> > > Thanks
>> > >
>> > > On Tuesday, September 1, 2015, Mallder, Valerie <
>> > Valerie.Mallder@jhuapl.edu <javascript:;>>
>> > > wrote:
>> > >
>> > > > Hi All,
>> > > >
>> > > > I've gotten workflow manager, file manager running (without
>> > > > resource
>> > > > manager) and now I'd like to figure out how run the OPSUI. When I
>> > > > was using the Radix install, this was pretty easy. But now I'm
>> > > > starting from scratch and trying to following the instructions on
>> > > > the wiki.  I am using the instructions called "Quick Start for
>>PCS OPSUI".
>> > > >
>> > > > I watched the video, but Chris is talking a bit too fast and the
>> > > > screen is unreadable so I can't see the exact commands he is
>> > > > entering on the command line that are related to OPSUI.
>> > > >
>> > > > At the bottom of the page there are two options "Building from
>>src"
>> > > > and "Using the WAR directly from the central repository".  I chose
>> > > > "Building from src".
>> > > >
>> > > > And when I do number 2 "mvn install tomcat:run-war" I get the
>> > > > following
>> > > > errors:  What should I do?
>> > > >
>> > > > Thanks,
>> > > > Val
>> > > >
>> > > >
>> > > > [INFO] Scanning for projects...
>> > > > Downloading:
>> > > > http://repo.maven.apache.org/maven2/install/tomcat/maven-metadata.
>> > > > xml
>> > > > [INFO]
>> > > > ------------------------------------------------------------------
>> > > > ----
>> > > > --
>> > > > [INFO] BUILD FAILURE
>> > > > [INFO]
>> > > > ------------------------------------------------------------------
>> > > > ----
>> > > > --
>> > > > [INFO] Total time: 1.136s
>> > > > [INFO] Finished at: Tue Sep 01 13:34:03 GMT-05:00 2015 [INFO]
>> > > > Final
>> > > > Memory: 20M/1448M [INFO]
>> > > > ------------------------------------------------------------------
>> > > > ----
>> > > > -- [ERROR] Error resolving version for plugin 'install:tomcat'
>> > > > from the repositories [local (/homes/malldva1/.m2/repository),
>> > > > central (
>> > > > http://repo.maven.apache.org/maven2)]: Plugin not found in any
>> > > > plugin repository -> [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/PluginVersionReso
>> > > > luti
>> > > > onException
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > Valerie A. Mallder
>> > > >
>> > > > New Horizons Deputy Mission System Engineer The Johns Hopkins
>> > > > University/Applied Physics Laboratory
>> > > > 11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
>> > > > 240-228-7846 (Office) 410-504-2233 (Blackberry)
>> > > >
>> > > >
>> > >
>> > > --
>> > > *Lewis*
>> >
>> 
>> 
>> --
>> *Lewis*



RE: how to run OPSUI from scratch

Posted by "Mallder, Valerie" <Va...@jhuapl.edu>.
Ok, through trial and error while following the instructions for "Building from src", I figured out that you need to run the "mvn install tomcat:run-war" from the oodt-src/pcs/opsui directory.  This ends up starting tomcat so you can then go to https://localhost:8080/pcs-opsui to bring it up the web page.  But, I discovered a couple of things while doing this.

You'll have to be patient with me here, I am not at all familiar with tomcat, webapps, or any of the configuration files it is going to be looking for at runtime. 

When I built OODT, I put the source in a "oodt-src" directory, and I deployed oodt in a "oodt" directory. I ran the opsui from the "oodt-src" directory tree, but it was looking for files in the deployed directory tree. I don't want to run anything out of my source directory, I only want to run things out of my deployed directory.  So, how do I actually 'deploy' the opsui so that I can run it from my deployed directory tree? There is no tar.gz file in the opsui/target directory that I can just unpack into the deployed directory.  So what should I do?

I also discovered that there seems to be a lot of webapps that I knew nothing about.  I discovered the web-grid webapp by accident when I ran "mvn install tomcat:run-war" from the top-level oodt-src directory and grid was the first directory it came to where it found a war file to run. And it used port 8080. So I went to http://localhost:8080/web-grid to see what it was.  And it did not tell me anything about what it actually is. So, how do I find out what all the web apps are and what they do?  Are they all already part of the opsui? Or, are they all separate apps like web-grid seemed to be?

Val



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


> -----Original Message-----
> From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com]
> Sent: Tuesday, September 01, 2015 3:16 PM
> To: dev@oodt.apache.org
> Subject: Re: how to run OPSUI from scratch
> 
> I think it should be in webapps directory. You. Can search for it with something like
> 
> find . -name "opsui"
> 
> On Tuesday, September 1, 2015, Mallder, Valerie <Va...@jhuapl.edu>
> wrote:
> 
> > I am running OODT 0.9.
> >
> > What directory should I execute the "Mvn clean install -X " command from?
> >
> > Valerie A. Mallder
> > New Horizons Deputy Mission System Engineer Johns Hopkins
> > University/Applied Physics Laboratory
> >
> > > -----Original Message-----
> > > From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com
> > <javascript:;>]
> > > Sent: Tuesday, September 01, 2015 2:58 PM
> > > To: dev@oodt.apache.org <javascript:;>
> > > Subject: Re: how to run OPSUI from scratch
> > >
> > > Hi Val,
> > > Which version of the software are you using?
> > > Can you try reinstalling allows
> > >
> > > Mvn clean install -X
> > >
> > > The above is debug mode and will give you more verbose output.
> > > Thanks
> > >
> > > On Tuesday, September 1, 2015, Mallder, Valerie <
> > Valerie.Mallder@jhuapl.edu <javascript:;>>
> > > wrote:
> > >
> > > > Hi All,
> > > >
> > > > I've gotten workflow manager, file manager running (without
> > > > resource
> > > > manager) and now I'd like to figure out how run the OPSUI. When I
> > > > was using the Radix install, this was pretty easy. But now I'm
> > > > starting from scratch and trying to following the instructions on
> > > > the wiki.  I am using the instructions called "Quick Start for PCS OPSUI".
> > > >
> > > > I watched the video, but Chris is talking a bit too fast and the
> > > > screen is unreadable so I can't see the exact commands he is
> > > > entering on the command line that are related to OPSUI.
> > > >
> > > > At the bottom of the page there are two options "Building from src"
> > > > and "Using the WAR directly from the central repository".  I chose
> > > > "Building from src".
> > > >
> > > > And when I do number 2 "mvn install tomcat:run-war" I get the
> > > > following
> > > > errors:  What should I do?
> > > >
> > > > Thanks,
> > > > Val
> > > >
> > > >
> > > > [INFO] Scanning for projects...
> > > > Downloading:
> > > > http://repo.maven.apache.org/maven2/install/tomcat/maven-metadata.
> > > > xml
> > > > [INFO]
> > > > ------------------------------------------------------------------
> > > > ----
> > > > --
> > > > [INFO] BUILD FAILURE
> > > > [INFO]
> > > > ------------------------------------------------------------------
> > > > ----
> > > > --
> > > > [INFO] Total time: 1.136s
> > > > [INFO] Finished at: Tue Sep 01 13:34:03 GMT-05:00 2015 [INFO]
> > > > Final
> > > > Memory: 20M/1448M [INFO]
> > > > ------------------------------------------------------------------
> > > > ----
> > > > -- [ERROR] Error resolving version for plugin 'install:tomcat'
> > > > from the repositories [local (/homes/malldva1/.m2/repository),
> > > > central (
> > > > http://repo.maven.apache.org/maven2)]: Plugin not found in any
> > > > plugin repository -> [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/PluginVersionReso
> > > > luti
> > > > onException
> > > >
> > > >
> > > >
> > > >
> > > > Valerie A. Mallder
> > > >
> > > > New Horizons Deputy Mission System Engineer The Johns Hopkins
> > > > University/Applied Physics Laboratory
> > > > 11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
> > > > 240-228-7846 (Office) 410-504-2233 (Blackberry)
> > > >
> > > >
> > >
> > > --
> > > *Lewis*
> >
> 
> 
> --
> *Lewis*

Re: how to run OPSUI from scratch

Posted by Lewis John Mcgibbney <le...@gmail.com>.
I think it should be in webapps directory. You. Can search for it with
something like

find . -name "opsui"

On Tuesday, September 1, 2015, Mallder, Valerie <Va...@jhuapl.edu>
wrote:

> I am running OODT 0.9.
>
> What directory should I execute the "Mvn clean install -X " command from?
>
> Valerie A. Mallder
> New Horizons Deputy Mission System Engineer
> Johns Hopkins University/Applied Physics Laboratory
>
> > -----Original Message-----
> > From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com
> <javascript:;>]
> > Sent: Tuesday, September 01, 2015 2:58 PM
> > To: dev@oodt.apache.org <javascript:;>
> > Subject: Re: how to run OPSUI from scratch
> >
> > Hi Val,
> > Which version of the software are you using?
> > Can you try reinstalling allows
> >
> > Mvn clean install -X
> >
> > The above is debug mode and will give you more verbose output.
> > Thanks
> >
> > On Tuesday, September 1, 2015, Mallder, Valerie <
> Valerie.Mallder@jhuapl.edu <javascript:;>>
> > wrote:
> >
> > > Hi All,
> > >
> > > I've gotten workflow manager, file manager running (without resource
> > > manager) and now I'd like to figure out how run the OPSUI. When I was
> > > using the Radix install, this was pretty easy. But now I'm starting
> > > from scratch and trying to following the instructions on the wiki.  I
> > > am using the instructions called "Quick Start for PCS OPSUI".
> > >
> > > I watched the video, but Chris is talking a bit too fast and the
> > > screen is unreadable so I can't see the exact commands he is entering
> > > on the command line that are related to OPSUI.
> > >
> > > At the bottom of the page there are two options "Building from src"
> > > and "Using the WAR directly from the central repository".  I chose
> > > "Building from src".
> > >
> > > And when I do number 2 "mvn install tomcat:run-war" I get the
> > > following
> > > errors:  What should I do?
> > >
> > > Thanks,
> > > Val
> > >
> > >
> > > [INFO] Scanning for projects...
> > > Downloading:
> > > http://repo.maven.apache.org/maven2/install/tomcat/maven-metadata.xml
> > > [INFO]
> > > ----------------------------------------------------------------------
> > > --
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > > ----------------------------------------------------------------------
> > > --
> > > [INFO] Total time: 1.136s
> > > [INFO] Finished at: Tue Sep 01 13:34:03 GMT-05:00 2015 [INFO] Final
> > > Memory: 20M/1448M [INFO]
> > > ----------------------------------------------------------------------
> > > -- [ERROR] Error resolving version for plugin 'install:tomcat' from
> > > the repositories [local (/homes/malldva1/.m2/repository), central (
> > > http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin
> > > repository -> [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/PluginVersionResoluti
> > > onException
> > >
> > >
> > >
> > >
> > > Valerie A. Mallder
> > >
> > > New Horizons Deputy Mission System Engineer The Johns Hopkins
> > > University/Applied Physics Laboratory
> > > 11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
> > > 240-228-7846 (Office) 410-504-2233 (Blackberry)
> > >
> > >
> >
> > --
> > *Lewis*
>


-- 
*Lewis*

RE: how to run OPSUI from scratch

Posted by "Mallder, Valerie" <Va...@jhuapl.edu>.
I am running OODT 0.9.

What directory should I execute the "Mvn clean install -X " command from?

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

> -----Original Message-----
> From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com]
> Sent: Tuesday, September 01, 2015 2:58 PM
> To: dev@oodt.apache.org
> Subject: Re: how to run OPSUI from scratch
> 
> Hi Val,
> Which version of the software are you using?
> Can you try reinstalling allows
> 
> Mvn clean install -X
> 
> The above is debug mode and will give you more verbose output.
> Thanks
> 
> On Tuesday, September 1, 2015, Mallder, Valerie <Va...@jhuapl.edu>
> wrote:
> 
> > Hi All,
> >
> > I've gotten workflow manager, file manager running (without resource
> > manager) and now I'd like to figure out how run the OPSUI. When I was
> > using the Radix install, this was pretty easy. But now I'm starting
> > from scratch and trying to following the instructions on the wiki.  I
> > am using the instructions called "Quick Start for PCS OPSUI".
> >
> > I watched the video, but Chris is talking a bit too fast and the
> > screen is unreadable so I can't see the exact commands he is entering
> > on the command line that are related to OPSUI.
> >
> > At the bottom of the page there are two options "Building from src"
> > and "Using the WAR directly from the central repository".  I chose
> > "Building from src".
> >
> > And when I do number 2 "mvn install tomcat:run-war" I get the
> > following
> > errors:  What should I do?
> >
> > Thanks,
> > Val
> >
> >
> > [INFO] Scanning for projects...
> > Downloading:
> > http://repo.maven.apache.org/maven2/install/tomcat/maven-metadata.xml
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] BUILD FAILURE
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Total time: 1.136s
> > [INFO] Finished at: Tue Sep 01 13:34:03 GMT-05:00 2015 [INFO] Final
> > Memory: 20M/1448M [INFO]
> > ----------------------------------------------------------------------
> > -- [ERROR] Error resolving version for plugin 'install:tomcat' from
> > the repositories [local (/homes/malldva1/.m2/repository), central (
> > http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin
> > repository -> [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/PluginVersionResoluti
> > onException
> >
> >
> >
> >
> > Valerie A. Mallder
> >
> > New Horizons Deputy Mission System Engineer The Johns Hopkins
> > University/Applied Physics Laboratory
> > 11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
> > 240-228-7846 (Office) 410-504-2233 (Blackberry)
> >
> >
> 
> --
> *Lewis*

Re: how to run OPSUI from scratch

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Val,
Which version of the software are you using?
Can you try reinstalling allows

Mvn clean install -X

The above is debug mode and will give you more verbose output.
Thanks

On Tuesday, September 1, 2015, Mallder, Valerie <Va...@jhuapl.edu>
wrote:

> Hi All,
>
> I've gotten workflow manager, file manager running (without resource
> manager) and now I'd like to figure out how run the OPSUI. When I was using
> the Radix install, this was pretty easy. But now I'm starting from scratch
> and trying to following the instructions on the wiki.  I am using the
> instructions called "Quick Start for PCS OPSUI".
>
> I watched the video, but Chris is talking a bit too fast and the screen is
> unreadable so I can't see the exact commands he is entering on the command
> line that are related to OPSUI.
>
> At the bottom of the page there are two options "Building from src" and
> "Using the WAR directly from the central repository".  I chose "Building
> from src".
>
> And when I do number 2 "mvn install tomcat:run-war" I get the following
> errors:  What should I do?
>
> Thanks,
> Val
>
>
> [INFO] Scanning for projects...
> Downloading:
> http://repo.maven.apache.org/maven2/install/tomcat/maven-metadata.xml
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.136s
> [INFO] Finished at: Tue Sep 01 13:34:03 GMT-05:00 2015
> [INFO] Final Memory: 20M/1448M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Error resolving version for plugin 'install:tomcat' from the
> repositories [local (/homes/malldva1/.m2/repository), central (
> http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin
> repository -> [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/PluginVersionResolutionException
>
>
>
>
> Valerie A. Mallder
>
> New Horizons Deputy Mission System Engineer
> The Johns Hopkins University/Applied Physics Laboratory
> 11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
> 240-228-7846 (Office) 410-504-2233 (Blackberry)
>
>

-- 
*Lewis*

Re: how to run OPSUI from scratch

Posted by Chris Mattmann <ch...@gmail.com>.
Hey Val,

To run OPSUI using Maven (one possible way to do it)
you can:

1. cd $OODT_SRC_HOME/pcs/opsui
2. mvn tomcat7:run

Then you can access it running on localhost:8081/pcs-opsui/
I believe.

Can you try that?

In production, I would recommend simply using RADIX as you
are doing, and then you should have the PCS OPSUI war file
dropped into the RADIX tomcat, and it should be available
at http://localhost:8080/opsui/ after starting RADIX.

Cheers,
Chris

—
Chris Mattmann
chris.mattmann@gmail.com






-----Original Message-----
From: "Mallder, Valerie" <Va...@jhuapl.edu>
Reply-To: <de...@oodt.apache.org>
Date: Tuesday, September 1, 2015 at 11:46 AM
To: "dev@oodt.apache.org" <de...@oodt.apache.org>
Subject: how to run OPSUI from scratch

>Hi All,
>
>I've gotten workflow manager, file manager running (without resource
>manager) and now I'd like to figure out how run the OPSUI. When I was
>using the Radix install, this was pretty easy. But now I'm starting from
>scratch and trying to following the instructions on the wiki.  I am using
>the instructions called "Quick Start for PCS OPSUI".
>
>I watched the video, but Chris is talking a bit too fast and the screen
>is unreadable so I can't see the exact commands he is entering on the
>command line that are related to OPSUI.
>
>At the bottom of the page there are two options "Building from src" and
>"Using the WAR directly from the central repository".  I chose "Building
>from src".
>
>And when I do number 2 "mvn install tomcat:run-war" I get the following
>errors:  What should I do?
>
>Thanks,
>Val
>
>
>[INFO] Scanning for projects...
>Downloading: 
>http://repo.maven.apache.org/maven2/install/tomcat/maven-metadata.xml
>[INFO] 
>------------------------------------------------------------------------
>[INFO] BUILD FAILURE
>[INFO] 
>------------------------------------------------------------------------
>[INFO] Total time: 1.136s
>[INFO] Finished at: Tue Sep 01 13:34:03 GMT-05:00 2015
>[INFO] Final Memory: 20M/1448M
>[INFO] 
>------------------------------------------------------------------------
>[ERROR] Error resolving version for plugin 'install:tomcat' from the
>repositories [local (/homes/malldva1/.m2/repository), central
>(http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin
>repository -> [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/PluginVersionResolutionEx
>ception
>
>
>
>
>Valerie A. Mallder
>
>New Horizons Deputy Mission System Engineer
>The Johns Hopkins University/Applied Physics Laboratory
>11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
>240-228-7846 (Office) 410-504-2233 (Blackberry)
>