oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mallder, Valerie" <Valerie.Mall...@jhuapl.edu>
Subject RE: how to run OPSUI from scratch
Date Wed, 02 Sep 2015 16:54:55 GMT
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 <Valerie.Mallder@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*
Mime
View raw message