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 Mavrommatis <km...@celgene.com> on 2016/03/02 07:52:09 UTC

Problem installing oodt 0.12.

Hi,
I am trying to install the latest oodt 0.12 from the src.zip file.
The installation is on a clean Ubuntu 14.04 with maven2.2.1 and Oracle java JDK 1.8.0_74
After unzipping the archive I run
mvn clean install
and I get the following error:

$ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
-------------------------------------------------------------------------------
Test set: org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 2.466 sec <<< FAILURE! - in org.apache.oodt.cas.protocol
.imaps.TestImapsProtocol
testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time elapsed: 0.374 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Failed to connect to GreenMail IMAPS server : Failed to connected to IMAPS server
localhost with username bfoster@google.com : java.security.cert.CertificateException: Certificates does not conform to a
lgorithm constraints
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.TestCase.fail(TestCase.java:227)
        at org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:62)

testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time elapsed: 1.036 sec  <<< ERROR!
java.lang.RuntimeException: Couldnt start at least one of the mail services.
        at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
       at org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:56)

testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time elapsed: 1.025 sec  <<< ERROR!
java.lang.RuntimeException: Couldnt start at least one of the mail services.
        at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
        at org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:56)

is there a dependency on a email server? If so why is that ?

I also tried to install it using Radix and the commands described in https://cwiki.apache.org/confluence/display/OODT/RADiX+Powered+By+OODT#RADiXPoweredByOODT-TheCommands. In this case after I run
Mvn install
I get the error message

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Unable to get dependency information: Unable to read the metadata file for artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar': Cannot find parent: org.apache.geronimo.genesis.config:config for project: null:project-config:pom:1.1 for project null:project-config:pom:1.1
  org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  sonatype-nexus (https://oss.sonatype.org/content/groups/public),
  maven2 (http://download.java.net/maven/2),
  apache.snapshots (http://repository.apache.org/snapshots/)

Path to dependency:
        1) com.mycompany:oodt-extensions:jar:0.1
        2) org.apache.oodt:cas-filemgr:jar:0.12
        3) org.apache.solr:solr-core:jar:1.3.0


Am I doing something wrong ?
Thanks in advance for your help.

Kostas


*********************************************************
THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
OR INDIVIDUALS NAMED ABOVE.
If the reader is not the intended recipient, or the
employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any
dissemination, distribution or copying of this
communication is strictly prohibited. If you have
received this communication in error, please reply to the
sender to notify us of the error and delete the original
message. Thank You.

Re: Problem installing oodt 0.12.

Posted by Tom Barber <to...@meteorite.bi>.
Mine is empty, I've just spun up 0.12 RADIX, so hopefully thats a thing of
the past.

On Wed, Mar 2, 2016 at 10:21 PM, Mallder, Valerie <
Valerie.Mallder@jhuapl.edu> wrote:

> Do you have any files in the catalog yet? I run into that problem when I
> haven't yet ingested any files into the system.
>
>
>
> Sent with Good (www.good.com)
> ________________________________
> From: Konstantinos Mavrommatis <km...@celgene.com>
> Sent: Wednesday, March 2, 2016 3:53:52 PM
> To: dev@oodt.apache.org
> Subject: RE: Problem installing oodt 0.12.
>
> Thanks,
> Indeed updating to maven3 allowed the Radix installation to complete and
> services start (based on ps ax | grep oodt)
> But..
> After going to the opsui web page I can get the first page but 'File
> Catalog Browse', 'Workflow Monitor', 'Resource Monitor', 'PCS status'
> result in Runtime exception (see at the end of the message).
> 'Configuration' on the other hand allows me to see the configuration of
> the File manager only, but  no other link on that page works.
> 'Ingest' gives me the web page with the staging area and filemnager panels.
>
> In addition to using the pre-canned tomcat5 in the distribution I have
> also tried to use tomcat7 but the result is the same.
> Any ideas?
> As previously this installation is on a freshly started Ubuntu 14.04 in
> AWS.
> Thanks
> K
>
>
>
> WicketMessage: Can't instantiate page using constructor public
> org.apache.oodt.pcs.opsui.status.StatusPage(org.apache.wicket.PageParameters)
> throws java.lang.InstantiationException and argument
>
> Root cause:
>
> java.lang.NullPointerException
>      at
> org.apache.oodt.pcs.util.FileManagerUtils.<init>(FileManagerUtils.java:68)
>      at
> org.apache.oodt.pcs.util.FileManagerUtils.<init>(FileManagerUtils.java:77)
>      at
> org.apache.oodt.pcs.tools.PCSHealthMonitor.<init>(PCSHealthMonitor.java:79)
>      at
> org.apache.oodt.pcs.webcomponents.health.HealthMonitor.<init>(HealthMonitor.java:68)
>      at
> org.apache.oodt.pcs.opsui.status.StatusPage.<init>(StatusPage.java:54)
>      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>      at
> org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
>      at
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
>      at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>      at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
>      at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>      at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>      at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>      at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>      at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
>      at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>      at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>      at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>      at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>      at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>      at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>      at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>      at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
>      at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>      at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>      at java.lang.Thread.run(Thread.java:745)
>
> Complete stack:
>
> org.apache.wicket.WicketRuntimeException: Can't instantiate page using
> constructor public
> org.apache.oodt.pcs.opsui.status.StatusPage(org.apache.wicket.PageParameters)
> throws java.lang.InstantiationException and argument
>      at
> org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
>      at
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
>      at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>      at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
>
> java.lang.reflect.InvocationTargetException
>      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>      at
> org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
>      at
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
>      at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>      at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
>
>
> -----Original Message-----
> From: Tom Barber [mailto:tom.barber@meteorite.bi]
> Sent: Wednesday, March 02, 2016 1:33 AM
> To: dev@oodt.apache.org
> Subject: Re: Problem installing oodt 0.12.
>
> Okay Kostas
>
> You should certainly use Radix unless you have good reason not to, it's by
> far the sanest way to build a project currently.
>
> I use containers to check this stuff so maven can't cheat an use a cached
> dependency etc it also isolates my tests from any other rubbish I have
> running on my laptop. So I've created a clean ubuntu trusty environment and
> here is my entire bash_history:
>
> apt-get get update
> apt-get update
> apt-get install openjdk7-jdk
> apt-cache search openjdk
> apt-get install openjdk-7-jdk
> apt-get install maven
> mvn -v
> curl -s "
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git-2Dwip-2Dus.apache.org_repos_asf-3Fp-3Doodt.git-3Ba-3Dblob-5Fplain-3Bf-3Dmvn_archetypes_radix_src_main_resources_bin_radix-3Bhb-3DHEAD&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=WIGMOxijYw_KyYYAMtZV_4ZCfXXOwMkClITLEe18iME&e=
> "
> | bash
> mv oodt oodt-src; cd oodt-src; mvn install cd ../oodt; ./bin/oodt start ps
> aux |grep oodt
>
> At the end of that I had a working OODT.
>
> I then dumped Oracle JDK8 on the server to test that and built OODT and it
> ran fine.
>
> I'm not entirely sure whats causing that geronimo error, I do know that
> codehaus shutting down caused a few issues for a lot of projects. I would
> recommend updating to Maven 3, and clearing your ~/.m2/repository folder to
> make sure you don't have any half downloaded or stale dependencies.
>
> From what I can see the 0.12 Radix build works fine as I copied the wiki
> page verbatim. Let me know how it goes!
>
> Tom
>
> On Wed, Mar 2, 2016 at 8:24 AM, Tom Barber <to...@meteorite.bi>
> wrote:
>
> > Not tried to build 0.12 yet, but I can do in 30 mins when I get to my
> > desk. Give maven 3 a whirl and see if you get any further.
> >
> > Tom
> > On 2 Mar 2016 08:02, "Konstantinos Mavrommatis"
> > <km...@celgene.com>
> > wrote:
> >
> >> Thanks,
> >> I tried the -DskipTests but now I got stuck at another point:
> >>
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] Failed to resolve artifact.
> >>
> >> Unable to get dependency information: Unable to read the metadata
> >> file for artifact
> 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
> >> Cannot find parent: org.apache.geronimo.genesis.config:config for
> project:
> >> null:project-config:pom:1.1 for project null:project-config:pom:1.1
> >>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
> >>
> >> from the specified remote repositories:
> >>   central (
> https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_maven2&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=jID-Hi7Y4Xt7SBMyyS39SNKCBjakt53C2H0OdSQebZs&e=
> ),
> >>   sonatype-nexus (
> https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org_content_groups_public&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=tIk_ALhzBIJ4oQVzM5RlSrvHj1qIOThySGyPChlC5kg&e=
> ),
> >>   apache.snapshots
> >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.apach
> >> e.org_snapshots&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2W
> >> Zv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4
> >> Zmw&s=uQ7iVq6fUygfUf1fhQfyYIFJRcwh6C-F4JU2NoT3IdI&e= )
> >>
> >> Path to dependency:
> >>         1) org.apache.oodt:cas-filemgr:jar:0.12
> >>         2) org.apache.solr:solr-core:jar:1.3.0
> >>
> >>
> >>
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: Tom Barber [mailto:tom.barber@meteorite.bi]
> >> Sent: Tuesday, March 01, 2016 11:59 PM
> >> To: dev@oodt.apache.org
> >> Subject: Re: Problem installing oodt 0.12.
> >>
> >> Also FYI I'd suggest maven 3.x these days, I don't think it will make
> >> a difference in your case but at least it's relatively up to date.
> >>
> >> Tom
> >> On 2 Mar 2016 07:54, "Tom Barber" <to...@meteorite.bi> wrote:
> >>
> >> > Hi Kostas
> >> >
> >> > There is a dependency but the tests should mock it, a while ago I
> >> > fixed a lot of that stuff where the tests failed to mock services
> >> > and instead bound to ports and things because from time to time it
> >> > does
> >> cause issues.
> >> >
> >> > For now I'd suggest you run -DskipTests as they've been run and
> >> > passed prior to release. Not ideal but will unblock you.
> >> >
> >> > I'll try and get that test resolved properly, soon.
> >> >
> >> > Cheers,
> >> >
> >> > Tom
> >> > On 2 Mar 2016 06:52, "Konstantinos Mavrommatis"
> >> > <km...@celgene.com>
> >> > wrote:
> >> >
> >> >> Hi,
> >> >> I am trying to install the latest oodt 0.12 from the src.zip file.
> >> >> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and
> >> >> Oracle java JDK 1.8.0_74 After unzipping the archive I run mvn
> >> >> clean install and I get the following error:
> >> >>
> >> >> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
> >> >>
> >> >> ------------------------------------------------------------------
> >> >> ---
> >> >> ---------- Test set:
> >> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
> >> >>
> >> >> ------------------------------------------------------------------
> >> >> ---
> >> >> ---------- Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time
> >> >> elapsed: 2.466 sec <<< FAILURE! - in org.apache.oodt.cas.protocol
> >> >> .imaps.TestImapsProtocol
> >> >> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> >> Time
> >> >> elapsed: 0.374 sec  <<< FAILURE!
> >> >> junit.framework.AssertionFailedError: Failed to connect to
> >> >> GreenMail IMAPS server : Failed to connected to IMAPS server
> >> >> localhost with username bfoster@google.com :
> >> >> java.security.cert.CertificateException: Certificates does not
> >> >> conform to a lgorithm constraints
> >> >>         at junit.framework.Assert.fail(Assert.java:57)
> >> >>         at junit.framework.TestCase.fail(TestCase.java:227)
> >> >>         at
> >> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
> >> >> psP
> >> >> rotocol.java:62)
> >> >>
> >> >> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> >> Time
> >> >> elapsed: 1.036 sec  <<< ERROR!
> >> >> java.lang.RuntimeException: Couldnt start at least one of the mail
> >> >> services.
> >> >>         at
> >> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
> >> >>        at
> >> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
> >> >> psP
> >> >> rotocol.java:56)
> >> >>
> >> >> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> >> Time
> >> >> elapsed: 1.025 sec  <<< ERROR!
> >> >> java.lang.RuntimeException: Couldnt start at least one of the mail
> >> >> services.
> >> >>         at
> >> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
> >> >>         at
> >> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
> >> >> psP
> >> >> rotocol.java:56)
> >> >>
> >> >> is there a dependency on a email server? If so why is that ?
> >> >>
> >> >> I also tried to install it using Radix and the commands described
> >> >> in
> >> >>
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org
> >> _confluence_display_OODT_RADiX-2BPowered-2BBy-2BOODT-23RADiXPoweredBy
> >> OODT-2DTheCommands&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Z
> >> b2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSRO
> >> sD7jAg&s=7c322fhJX9BbXH_E2tuD6_1XTUpRbOq3IOdbK0rhZJQ&e=
> >> .
> >> >> In this case after I run
> >> >> Mvn install
> >> >> I get the error message
> >> >>
> >> >> [ERROR] BUILD ERROR
> >> >> [INFO]
> >> >> ------------------------------------------------------------------
> >> >> ---
> >> >> ---
> >> >> [INFO] Failed to resolve artifact.
> >> >>
> >> >> Unable to get dependency information: Unable to read the metadata
> >> >> file for artifact
> >> 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
> >> >> Cannot find parent: org.apache.geronimo.genesis.config:config for
> >> project:
> >> >> null:project-config:pom:1.1 for project null:project-config:pom:1.1
> >> >>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
> >> >>
> >> >> from the specified remote repositories:
> >> >>   central (
> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_m
> >> aven2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yv
> >> Z1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=y7Jm
> >> u07ef4O7sZkm2UgjPwz5AriwBB27YpSbA1PEX2M&e=
> >> ),
> >> >>   sonatype-nexus (
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org
> >> _content_groups_public&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT
> >> 9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sd
> >> oSROsD7jAg&s=3DZxpQ_ny0ek1Uem6Y28Aj0MHzPR0snWhXqf_uqg6dY&e=
> >> ),
> >> >>   maven2 (
> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__download.java.net
> >> _maven_2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O
> >> 6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=k
> >> dBRgD_tTzx0lAqOXJlqSRobXUrHYd37MJQPSMoizcM&e=
> >> ),
> >> >>   apache.snapshots
> >> >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.ap
> >> >> ach
> >> >> e.org_snapshots_&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3
> >> >> Zb2
> >> >> WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSR
> >> >> OsD 7jAg&s=XIzxBSR-4MCtOnhqZSI8Vf_-8rHnLRC2nCdEn8eTbTE&e= )
> >> >>
> >> >> Path to dependency:
> >> >>         1) com.mycompany:oodt-extensions:jar:0.1
> >> >>         2) org.apache.oodt:cas-filemgr:jar:0.12
> >> >>         3) org.apache.solr:solr-core:jar:1.3.0
> >> >>
> >> >>
> >> >> Am I doing something wrong ?
> >> >> Thanks in advance for your help.
> >> >>
> >> >> Kostas
> >> >>
> >> >>
> >> >> *********************************************************
> >> >> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL
> >> >> AND MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR
> >> >> THE USE OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
> >> >> If the reader is not the intended recipient, or the employee or
> >> >> agent responsible to deliver it to the intended recipient, you are
> >> >> hereby notified that any dissemination, distribution or copying of
> >> >> this communication is strictly prohibited. If you have received
> >> >> this communication in error, please reply to the sender to notify
> >> >> us of the error and delete the original message. Thank You.
> >> >>
> >> >
> >>
> >> *********************************************************
> >> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL AND
> >> MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR THE USE
> >> OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
> >> If the reader is not the intended recipient, or the employee or agent
> >> responsible to deliver it to the intended recipient, you are hereby
> >> notified that any dissemination, distribution or copying of this
> >> communication is strictly prohibited. If you have received this
> >> communication in error, please reply to the sender to notify us of
> >> the error and delete the original message. Thank You.
> >>
> >
>
> *********************************************************
> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
> CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
> INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
> OR INDIVIDUALS NAMED ABOVE.
> If the reader is not the intended recipient, or the
> employee or agent responsible to deliver it to the
> intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this
> communication is strictly prohibited. If you have
> received this communication in error, please reply to the
> sender to notify us of the error and delete the original
> message. Thank You.
>

RE: Problem installing oodt 0.12.

Posted by "Mallder, Valerie" <Va...@jhuapl.edu>.
Do you have any files in the catalog yet? I run into that problem when I haven't yet ingested any files into the system.



Sent with Good (www.good.com)
________________________________
From: Konstantinos Mavrommatis <km...@celgene.com>
Sent: Wednesday, March 2, 2016 3:53:52 PM
To: dev@oodt.apache.org
Subject: RE: Problem installing oodt 0.12.

Thanks,
Indeed updating to maven3 allowed the Radix installation to complete and services start (based on ps ax | grep oodt)
But..
After going to the opsui web page I can get the first page but 'File Catalog Browse', 'Workflow Monitor', 'Resource Monitor', 'PCS status' result in Runtime exception (see at the end of the message).
'Configuration' on the other hand allows me to see the configuration of the File manager only, but  no other link on that page works.
'Ingest' gives me the web page with the staging area and filemnager panels.

In addition to using the pre-canned tomcat5 in the distribution I have also tried to use tomcat7 but the result is the same.
Any ideas?
As previously this installation is on a freshly started Ubuntu 14.04 in AWS.
Thanks
K



WicketMessage: Can't instantiate page using constructor public org.apache.oodt.pcs.opsui.status.StatusPage(org.apache.wicket.PageParameters) throws java.lang.InstantiationException and argument

Root cause:

java.lang.NullPointerException
     at org.apache.oodt.pcs.util.FileManagerUtils.<init>(FileManagerUtils.java:68)
     at org.apache.oodt.pcs.util.FileManagerUtils.<init>(FileManagerUtils.java:77)
     at org.apache.oodt.pcs.tools.PCSHealthMonitor.<init>(PCSHealthMonitor.java:79)
     at org.apache.oodt.pcs.webcomponents.health.HealthMonitor.<init>(HealthMonitor.java:68)
     at org.apache.oodt.pcs.opsui.status.StatusPage.<init>(StatusPage.java:54)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
     at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)

Complete stack:

org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.apache.oodt.pcs.opsui.status.StatusPage(org.apache.wicket.PageParameters) throws java.lang.InstantiationException and argument
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)

java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)


-----Original Message-----
From: Tom Barber [mailto:tom.barber@meteorite.bi]
Sent: Wednesday, March 02, 2016 1:33 AM
To: dev@oodt.apache.org
Subject: Re: Problem installing oodt 0.12.

Okay Kostas

You should certainly use Radix unless you have good reason not to, it's by far the sanest way to build a project currently.

I use containers to check this stuff so maven can't cheat an use a cached dependency etc it also isolates my tests from any other rubbish I have running on my laptop. So I've created a clean ubuntu trusty environment and here is my entire bash_history:

apt-get get update
apt-get update
apt-get install openjdk7-jdk
apt-cache search openjdk
apt-get install openjdk-7-jdk
apt-get install maven
mvn -v
curl -s "
https://urldefense.proofpoint.com/v2/url?u=https-3A__git-2Dwip-2Dus.apache.org_repos_asf-3Fp-3Doodt.git-3Ba-3Dblob-5Fplain-3Bf-3Dmvn_archetypes_radix_src_main_resources_bin_radix-3Bhb-3DHEAD&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=WIGMOxijYw_KyYYAMtZV_4ZCfXXOwMkClITLEe18iME&e= "
| bash
mv oodt oodt-src; cd oodt-src; mvn install cd ../oodt; ./bin/oodt start ps aux |grep oodt

At the end of that I had a working OODT.

I then dumped Oracle JDK8 on the server to test that and built OODT and it ran fine.

I'm not entirely sure whats causing that geronimo error, I do know that codehaus shutting down caused a few issues for a lot of projects. I would recommend updating to Maven 3, and clearing your ~/.m2/repository folder to make sure you don't have any half downloaded or stale dependencies.

>From what I can see the 0.12 Radix build works fine as I copied the wiki page verbatim. Let me know how it goes!

Tom

On Wed, Mar 2, 2016 at 8:24 AM, Tom Barber <to...@meteorite.bi> wrote:

> Not tried to build 0.12 yet, but I can do in 30 mins when I get to my
> desk. Give maven 3 a whirl and see if you get any further.
>
> Tom
> On 2 Mar 2016 08:02, "Konstantinos Mavrommatis"
> <km...@celgene.com>
> wrote:
>
>> Thanks,
>> I tried the -DskipTests but now I got stuck at another point:
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO] Failed to resolve artifact.
>>
>> Unable to get dependency information: Unable to read the metadata
>> file for artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> Cannot find parent: org.apache.geronimo.genesis.config:config for project:
>> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>>
>> from the specified remote repositories:
>>   central (https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_maven2&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=jID-Hi7Y4Xt7SBMyyS39SNKCBjakt53C2H0OdSQebZs&e= ),
>>   sonatype-nexus (https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org_content_groups_public&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=tIk_ALhzBIJ4oQVzM5RlSrvHj1qIOThySGyPChlC5kg&e= ),
>>   apache.snapshots
>> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.apach
>> e.org_snapshots&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2W
>> Zv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4
>> Zmw&s=uQ7iVq6fUygfUf1fhQfyYIFJRcwh6C-F4JU2NoT3IdI&e= )
>>
>> Path to dependency:
>>         1) org.apache.oodt:cas-filemgr:jar:0.12
>>         2) org.apache.solr:solr-core:jar:1.3.0
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Tom Barber [mailto:tom.barber@meteorite.bi]
>> Sent: Tuesday, March 01, 2016 11:59 PM
>> To: dev@oodt.apache.org
>> Subject: Re: Problem installing oodt 0.12.
>>
>> Also FYI I'd suggest maven 3.x these days, I don't think it will make
>> a difference in your case but at least it's relatively up to date.
>>
>> Tom
>> On 2 Mar 2016 07:54, "Tom Barber" <to...@meteorite.bi> wrote:
>>
>> > Hi Kostas
>> >
>> > There is a dependency but the tests should mock it, a while ago I
>> > fixed a lot of that stuff where the tests failed to mock services
>> > and instead bound to ports and things because from time to time it
>> > does
>> cause issues.
>> >
>> > For now I'd suggest you run -DskipTests as they've been run and
>> > passed prior to release. Not ideal but will unblock you.
>> >
>> > I'll try and get that test resolved properly, soon.
>> >
>> > Cheers,
>> >
>> > Tom
>> > On 2 Mar 2016 06:52, "Konstantinos Mavrommatis"
>> > <km...@celgene.com>
>> > wrote:
>> >
>> >> Hi,
>> >> I am trying to install the latest oodt 0.12 from the src.zip file.
>> >> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and
>> >> Oracle java JDK 1.8.0_74 After unzipping the archive I run mvn
>> >> clean install and I get the following error:
>> >>
>> >> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
>> >>
>> >> ------------------------------------------------------------------
>> >> ---
>> >> ---------- Test set:
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
>> >>
>> >> ------------------------------------------------------------------
>> >> ---
>> >> ---------- Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time
>> >> elapsed: 2.466 sec <<< FAILURE! - in org.apache.oodt.cas.protocol
>> >> .imaps.TestImapsProtocol
>> >> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 0.374 sec  <<< FAILURE!
>> >> junit.framework.AssertionFailedError: Failed to connect to
>> >> GreenMail IMAPS server : Failed to connected to IMAPS server
>> >> localhost with username bfoster@google.com :
>> >> java.security.cert.CertificateException: Certificates does not
>> >> conform to a lgorithm constraints
>> >>         at junit.framework.Assert.fail(Assert.java:57)
>> >>         at junit.framework.TestCase.fail(TestCase.java:227)
>> >>         at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
>> >> psP
>> >> rotocol.java:62)
>> >>
>> >> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 1.036 sec  <<< ERROR!
>> >> java.lang.RuntimeException: Couldnt start at least one of the mail
>> >> services.
>> >>         at
>> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>> >>        at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
>> >> psP
>> >> rotocol.java:56)
>> >>
>> >> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 1.025 sec  <<< ERROR!
>> >> java.lang.RuntimeException: Couldnt start at least one of the mail
>> >> services.
>> >>         at
>> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>> >>         at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
>> >> psP
>> >> rotocol.java:56)
>> >>
>> >> is there a dependency on a email server? If so why is that ?
>> >>
>> >> I also tried to install it using Radix and the commands described
>> >> in
>> >>
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org
>> _confluence_display_OODT_RADiX-2BPowered-2BBy-2BOODT-23RADiXPoweredBy
>> OODT-2DTheCommands&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Z
>> b2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSRO
>> sD7jAg&s=7c322fhJX9BbXH_E2tuD6_1XTUpRbOq3IOdbK0rhZJQ&e=
>> .
>> >> In this case after I run
>> >> Mvn install
>> >> I get the error message
>> >>
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >> ------------------------------------------------------------------
>> >> ---
>> >> ---
>> >> [INFO] Failed to resolve artifact.
>> >>
>> >> Unable to get dependency information: Unable to read the metadata
>> >> file for artifact
>> 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> >> Cannot find parent: org.apache.geronimo.genesis.config:config for
>> project:
>> >> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>> >>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>> >>
>> >> from the specified remote repositories:
>> >>   central (
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_m
>> aven2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yv
>> Z1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=y7Jm
>> u07ef4O7sZkm2UgjPwz5AriwBB27YpSbA1PEX2M&e=
>> ),
>> >>   sonatype-nexus (
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org
>> _content_groups_public&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT
>> 9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sd
>> oSROsD7jAg&s=3DZxpQ_ny0ek1Uem6Y28Aj0MHzPR0snWhXqf_uqg6dY&e=
>> ),
>> >>   maven2 (
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__download.java.net
>> _maven_2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O
>> 6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=k
>> dBRgD_tTzx0lAqOXJlqSRobXUrHYd37MJQPSMoizcM&e=
>> ),
>> >>   apache.snapshots
>> >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.ap
>> >> ach
>> >> e.org_snapshots_&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3
>> >> Zb2
>> >> WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSR
>> >> OsD 7jAg&s=XIzxBSR-4MCtOnhqZSI8Vf_-8rHnLRC2nCdEn8eTbTE&e= )
>> >>
>> >> Path to dependency:
>> >>         1) com.mycompany:oodt-extensions:jar:0.1
>> >>         2) org.apache.oodt:cas-filemgr:jar:0.12
>> >>         3) org.apache.solr:solr-core:jar:1.3.0
>> >>
>> >>
>> >> Am I doing something wrong ?
>> >> Thanks in advance for your help.
>> >>
>> >> Kostas
>> >>
>> >>
>> >> *********************************************************
>> >> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL
>> >> AND MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR
>> >> THE USE OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
>> >> If the reader is not the intended recipient, or the employee or
>> >> agent responsible to deliver it to the intended recipient, you are
>> >> hereby notified that any dissemination, distribution or copying of
>> >> this communication is strictly prohibited. If you have received
>> >> this communication in error, please reply to the sender to notify
>> >> us of the error and delete the original message. Thank You.
>> >>
>> >
>>
>> *********************************************************
>> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL AND
>> MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR THE USE
>> OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
>> If the reader is not the intended recipient, or the employee or agent
>> responsible to deliver it to the intended recipient, you are hereby
>> notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited. If you have received this
>> communication in error, please reply to the sender to notify us of
>> the error and delete the original message. Thank You.
>>
>

*********************************************************
THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
OR INDIVIDUALS NAMED ABOVE.
If the reader is not the intended recipient, or the
employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any
dissemination, distribution or copying of this
communication is strictly prohibited. If you have
received this communication in error, please reply to the
sender to notify us of the error and delete the original
message. Thank You.

Re: Problem installing oodt 0.12.

Posted by Tom Barber <to...@meteorite.bi>.
Hi Kostas

Couple of things, before running "oodt start" make sure you have JAVA_HOME
set, it gets very upset if its not but random bits will launch.

Double check the file manager seems operational for the above error. I just
launched opsui for the build I did this morning as I'd not actually tested
it and it seems okay. I know opsui does like to get upset over minor
things, but largely its perfectly functional.

Tom

On Wed, Mar 2, 2016 at 8:53 PM, Konstantinos Mavrommatis <
kmavrommatis@celgene.com> wrote:

> Thanks,
> Indeed updating to maven3 allowed the Radix installation to complete and
> services start (based on ps ax | grep oodt)
> But..
> After going to the opsui web page I can get the first page but 'File
> Catalog Browse', 'Workflow Monitor', 'Resource Monitor', 'PCS status'
> result in Runtime exception (see at the end of the message).
> 'Configuration' on the other hand allows me to see the configuration of
> the File manager only, but  no other link on that page works.
> 'Ingest' gives me the web page with the staging area and filemnager panels.
>
> In addition to using the pre-canned tomcat5 in the distribution I have
> also tried to use tomcat7 but the result is the same.
> Any ideas?
> As previously this installation is on a freshly started Ubuntu 14.04 in
> AWS.
> Thanks
> K
>
>
>
> WicketMessage: Can't instantiate page using constructor public
> org.apache.oodt.pcs.opsui.status.StatusPage(org.apache.wicket.PageParameters)
> throws java.lang.InstantiationException and argument
>
> Root cause:
>
> java.lang.NullPointerException
>      at
> org.apache.oodt.pcs.util.FileManagerUtils.<init>(FileManagerUtils.java:68)
>      at
> org.apache.oodt.pcs.util.FileManagerUtils.<init>(FileManagerUtils.java:77)
>      at
> org.apache.oodt.pcs.tools.PCSHealthMonitor.<init>(PCSHealthMonitor.java:79)
>      at
> org.apache.oodt.pcs.webcomponents.health.HealthMonitor.<init>(HealthMonitor.java:68)
>      at
> org.apache.oodt.pcs.opsui.status.StatusPage.<init>(StatusPage.java:54)
>      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>      at
> org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
>      at
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
>      at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>      at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
>      at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>      at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>      at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>      at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>      at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
>      at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>      at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>      at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>      at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>      at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>      at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>      at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>      at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
>      at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>      at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>      at java.lang.Thread.run(Thread.java:745)
>
> Complete stack:
>
> org.apache.wicket.WicketRuntimeException: Can't instantiate page using
> constructor public
> org.apache.oodt.pcs.opsui.status.StatusPage(org.apache.wicket.PageParameters)
> throws java.lang.InstantiationException and argument
>      at
> org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
>      at
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
>      at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>      at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
>
> java.lang.reflect.InvocationTargetException
>      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>      at
> org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
>      at
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
>      at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
>      at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>      at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
>
>
> -----Original Message-----
> From: Tom Barber [mailto:tom.barber@meteorite.bi]
> Sent: Wednesday, March 02, 2016 1:33 AM
> To: dev@oodt.apache.org
> Subject: Re: Problem installing oodt 0.12.
>
> Okay Kostas
>
> You should certainly use Radix unless you have good reason not to, it's by
> far the sanest way to build a project currently.
>
> I use containers to check this stuff so maven can't cheat an use a cached
> dependency etc it also isolates my tests from any other rubbish I have
> running on my laptop. So I've created a clean ubuntu trusty environment and
> here is my entire bash_history:
>
> apt-get get update
> apt-get update
> apt-get install openjdk7-jdk
> apt-cache search openjdk
> apt-get install openjdk-7-jdk
> apt-get install maven
> mvn -v
> curl -s "
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git-2Dwip-2Dus.apache.org_repos_asf-3Fp-3Doodt.git-3Ba-3Dblob-5Fplain-3Bf-3Dmvn_archetypes_radix_src_main_resources_bin_radix-3Bhb-3DHEAD&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=WIGMOxijYw_KyYYAMtZV_4ZCfXXOwMkClITLEe18iME&e=
> "
> | bash
> mv oodt oodt-src; cd oodt-src; mvn install cd ../oodt; ./bin/oodt start ps
> aux |grep oodt
>
> At the end of that I had a working OODT.
>
> I then dumped Oracle JDK8 on the server to test that and built OODT and it
> ran fine.
>
> I'm not entirely sure whats causing that geronimo error, I do know that
> codehaus shutting down caused a few issues for a lot of projects. I would
> recommend updating to Maven 3, and clearing your ~/.m2/repository folder to
> make sure you don't have any half downloaded or stale dependencies.
>
> From what I can see the 0.12 Radix build works fine as I copied the wiki
> page verbatim. Let me know how it goes!
>
> Tom
>
> On Wed, Mar 2, 2016 at 8:24 AM, Tom Barber <to...@meteorite.bi>
> wrote:
>
> > Not tried to build 0.12 yet, but I can do in 30 mins when I get to my
> > desk. Give maven 3 a whirl and see if you get any further.
> >
> > Tom
> > On 2 Mar 2016 08:02, "Konstantinos Mavrommatis"
> > <km...@celgene.com>
> > wrote:
> >
> >> Thanks,
> >> I tried the -DskipTests but now I got stuck at another point:
> >>
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] Failed to resolve artifact.
> >>
> >> Unable to get dependency information: Unable to read the metadata
> >> file for artifact
> 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
> >> Cannot find parent: org.apache.geronimo.genesis.config:config for
> project:
> >> null:project-config:pom:1.1 for project null:project-config:pom:1.1
> >>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
> >>
> >> from the specified remote repositories:
> >>   central (
> https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_maven2&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=jID-Hi7Y4Xt7SBMyyS39SNKCBjakt53C2H0OdSQebZs&e=
> ),
> >>   sonatype-nexus (
> https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org_content_groups_public&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=tIk_ALhzBIJ4oQVzM5RlSrvHj1qIOThySGyPChlC5kg&e=
> ),
> >>   apache.snapshots
> >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.apach
> >> e.org_snapshots&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2W
> >> Zv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4
> >> Zmw&s=uQ7iVq6fUygfUf1fhQfyYIFJRcwh6C-F4JU2NoT3IdI&e= )
> >>
> >> Path to dependency:
> >>         1) org.apache.oodt:cas-filemgr:jar:0.12
> >>         2) org.apache.solr:solr-core:jar:1.3.0
> >>
> >>
> >>
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: Tom Barber [mailto:tom.barber@meteorite.bi]
> >> Sent: Tuesday, March 01, 2016 11:59 PM
> >> To: dev@oodt.apache.org
> >> Subject: Re: Problem installing oodt 0.12.
> >>
> >> Also FYI I'd suggest maven 3.x these days, I don't think it will make
> >> a difference in your case but at least it's relatively up to date.
> >>
> >> Tom
> >> On 2 Mar 2016 07:54, "Tom Barber" <to...@meteorite.bi> wrote:
> >>
> >> > Hi Kostas
> >> >
> >> > There is a dependency but the tests should mock it, a while ago I
> >> > fixed a lot of that stuff where the tests failed to mock services
> >> > and instead bound to ports and things because from time to time it
> >> > does
> >> cause issues.
> >> >
> >> > For now I'd suggest you run -DskipTests as they've been run and
> >> > passed prior to release. Not ideal but will unblock you.
> >> >
> >> > I'll try and get that test resolved properly, soon.
> >> >
> >> > Cheers,
> >> >
> >> > Tom
> >> > On 2 Mar 2016 06:52, "Konstantinos Mavrommatis"
> >> > <km...@celgene.com>
> >> > wrote:
> >> >
> >> >> Hi,
> >> >> I am trying to install the latest oodt 0.12 from the src.zip file.
> >> >> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and
> >> >> Oracle java JDK 1.8.0_74 After unzipping the archive I run mvn
> >> >> clean install and I get the following error:
> >> >>
> >> >> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
> >> >>
> >> >> ------------------------------------------------------------------
> >> >> ---
> >> >> ---------- Test set:
> >> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
> >> >>
> >> >> ------------------------------------------------------------------
> >> >> ---
> >> >> ---------- Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time
> >> >> elapsed: 2.466 sec <<< FAILURE! - in org.apache.oodt.cas.protocol
> >> >> .imaps.TestImapsProtocol
> >> >> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> >> Time
> >> >> elapsed: 0.374 sec  <<< FAILURE!
> >> >> junit.framework.AssertionFailedError: Failed to connect to
> >> >> GreenMail IMAPS server : Failed to connected to IMAPS server
> >> >> localhost with username bfoster@google.com :
> >> >> java.security.cert.CertificateException: Certificates does not
> >> >> conform to a lgorithm constraints
> >> >>         at junit.framework.Assert.fail(Assert.java:57)
> >> >>         at junit.framework.TestCase.fail(TestCase.java:227)
> >> >>         at
> >> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
> >> >> psP
> >> >> rotocol.java:62)
> >> >>
> >> >> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> >> Time
> >> >> elapsed: 1.036 sec  <<< ERROR!
> >> >> java.lang.RuntimeException: Couldnt start at least one of the mail
> >> >> services.
> >> >>         at
> >> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
> >> >>        at
> >> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
> >> >> psP
> >> >> rotocol.java:56)
> >> >>
> >> >> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> >> Time
> >> >> elapsed: 1.025 sec  <<< ERROR!
> >> >> java.lang.RuntimeException: Couldnt start at least one of the mail
> >> >> services.
> >> >>         at
> >> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
> >> >>         at
> >> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
> >> >> psP
> >> >> rotocol.java:56)
> >> >>
> >> >> is there a dependency on a email server? If so why is that ?
> >> >>
> >> >> I also tried to install it using Radix and the commands described
> >> >> in
> >> >>
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org
> >> _confluence_display_OODT_RADiX-2BPowered-2BBy-2BOODT-23RADiXPoweredBy
> >> OODT-2DTheCommands&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Z
> >> b2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSRO
> >> sD7jAg&s=7c322fhJX9BbXH_E2tuD6_1XTUpRbOq3IOdbK0rhZJQ&e=
> >> .
> >> >> In this case after I run
> >> >> Mvn install
> >> >> I get the error message
> >> >>
> >> >> [ERROR] BUILD ERROR
> >> >> [INFO]
> >> >> ------------------------------------------------------------------
> >> >> ---
> >> >> ---
> >> >> [INFO] Failed to resolve artifact.
> >> >>
> >> >> Unable to get dependency information: Unable to read the metadata
> >> >> file for artifact
> >> 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
> >> >> Cannot find parent: org.apache.geronimo.genesis.config:config for
> >> project:
> >> >> null:project-config:pom:1.1 for project null:project-config:pom:1.1
> >> >>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
> >> >>
> >> >> from the specified remote repositories:
> >> >>   central (
> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_m
> >> aven2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yv
> >> Z1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=y7Jm
> >> u07ef4O7sZkm2UgjPwz5AriwBB27YpSbA1PEX2M&e=
> >> ),
> >> >>   sonatype-nexus (
> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org
> >> _content_groups_public&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT
> >> 9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sd
> >> oSROsD7jAg&s=3DZxpQ_ny0ek1Uem6Y28Aj0MHzPR0snWhXqf_uqg6dY&e=
> >> ),
> >> >>   maven2 (
> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__download.java.net
> >> _maven_2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O
> >> 6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=k
> >> dBRgD_tTzx0lAqOXJlqSRobXUrHYd37MJQPSMoizcM&e=
> >> ),
> >> >>   apache.snapshots
> >> >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.ap
> >> >> ach
> >> >> e.org_snapshots_&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3
> >> >> Zb2
> >> >> WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSR
> >> >> OsD 7jAg&s=XIzxBSR-4MCtOnhqZSI8Vf_-8rHnLRC2nCdEn8eTbTE&e= )
> >> >>
> >> >> Path to dependency:
> >> >>         1) com.mycompany:oodt-extensions:jar:0.1
> >> >>         2) org.apache.oodt:cas-filemgr:jar:0.12
> >> >>         3) org.apache.solr:solr-core:jar:1.3.0
> >> >>
> >> >>
> >> >> Am I doing something wrong ?
> >> >> Thanks in advance for your help.
> >> >>
> >> >> Kostas
> >> >>
> >> >>
> >> >> *********************************************************
> >> >> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL
> >> >> AND MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR
> >> >> THE USE OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
> >> >> If the reader is not the intended recipient, or the employee or
> >> >> agent responsible to deliver it to the intended recipient, you are
> >> >> hereby notified that any dissemination, distribution or copying of
> >> >> this communication is strictly prohibited. If you have received
> >> >> this communication in error, please reply to the sender to notify
> >> >> us of the error and delete the original message. Thank You.
> >> >>
> >> >
> >>
> >> *********************************************************
> >> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL AND
> >> MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR THE USE
> >> OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
> >> If the reader is not the intended recipient, or the employee or agent
> >> responsible to deliver it to the intended recipient, you are hereby
> >> notified that any dissemination, distribution or copying of this
> >> communication is strictly prohibited. If you have received this
> >> communication in error, please reply to the sender to notify us of
> >> the error and delete the original message. Thank You.
> >>
> >
>
> *********************************************************
> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
> CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
> INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
> OR INDIVIDUALS NAMED ABOVE.
> If the reader is not the intended recipient, or the
> employee or agent responsible to deliver it to the
> intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this
> communication is strictly prohibited. If you have
> received this communication in error, please reply to the
> sender to notify us of the error and delete the original
> message. Thank You.
>

RE: Problem installing oodt 0.12.

Posted by Konstantinos Mavrommatis <km...@celgene.com>.
Thanks,
Indeed updating to maven3 allowed the Radix installation to complete and services start (based on ps ax | grep oodt)
But..
After going to the opsui web page I can get the first page but 'File Catalog Browse', 'Workflow Monitor', 'Resource Monitor', 'PCS status' result in Runtime exception (see at the end of the message). 
'Configuration' on the other hand allows me to see the configuration of the File manager only, but  no other link on that page works.
'Ingest' gives me the web page with the staging area and filemnager panels.

In addition to using the pre-canned tomcat5 in the distribution I have also tried to use tomcat7 but the result is the same.
Any ideas? 
As previously this installation is on a freshly started Ubuntu 14.04 in AWS.
Thanks
K



WicketMessage: Can't instantiate page using constructor public org.apache.oodt.pcs.opsui.status.StatusPage(org.apache.wicket.PageParameters) throws java.lang.InstantiationException and argument 

Root cause:

java.lang.NullPointerException
     at org.apache.oodt.pcs.util.FileManagerUtils.<init>(FileManagerUtils.java:68)
     at org.apache.oodt.pcs.util.FileManagerUtils.<init>(FileManagerUtils.java:77)
     at org.apache.oodt.pcs.tools.PCSHealthMonitor.<init>(PCSHealthMonitor.java:79)
     at org.apache.oodt.pcs.webcomponents.health.HealthMonitor.<init>(HealthMonitor.java:68)
     at org.apache.oodt.pcs.opsui.status.StatusPage.<init>(StatusPage.java:54)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
     at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)

Complete stack:

org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.apache.oodt.pcs.opsui.status.StatusPage(org.apache.wicket.PageParameters) throws java.lang.InstantiationException and argument 
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)

java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:65)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)


-----Original Message-----
From: Tom Barber [mailto:tom.barber@meteorite.bi] 
Sent: Wednesday, March 02, 2016 1:33 AM
To: dev@oodt.apache.org
Subject: Re: Problem installing oodt 0.12.

Okay Kostas

You should certainly use Radix unless you have good reason not to, it's by far the sanest way to build a project currently.

I use containers to check this stuff so maven can't cheat an use a cached dependency etc it also isolates my tests from any other rubbish I have running on my laptop. So I've created a clean ubuntu trusty environment and here is my entire bash_history:

apt-get get update
apt-get update
apt-get install openjdk7-jdk
apt-cache search openjdk
apt-get install openjdk-7-jdk
apt-get install maven
mvn -v
curl -s "
https://urldefense.proofpoint.com/v2/url?u=https-3A__git-2Dwip-2Dus.apache.org_repos_asf-3Fp-3Doodt.git-3Ba-3Dblob-5Fplain-3Bf-3Dmvn_archetypes_radix_src_main_resources_bin_radix-3Bhb-3DHEAD&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=WIGMOxijYw_KyYYAMtZV_4ZCfXXOwMkClITLEe18iME&e= "
| bash
mv oodt oodt-src; cd oodt-src; mvn install cd ../oodt; ./bin/oodt start ps aux |grep oodt

At the end of that I had a working OODT.

I then dumped Oracle JDK8 on the server to test that and built OODT and it ran fine.

I'm not entirely sure whats causing that geronimo error, I do know that codehaus shutting down caused a few issues for a lot of projects. I would recommend updating to Maven 3, and clearing your ~/.m2/repository folder to make sure you don't have any half downloaded or stale dependencies.

From what I can see the 0.12 Radix build works fine as I copied the wiki page verbatim. Let me know how it goes!

Tom

On Wed, Mar 2, 2016 at 8:24 AM, Tom Barber <to...@meteorite.bi> wrote:

> Not tried to build 0.12 yet, but I can do in 30 mins when I get to my 
> desk. Give maven 3 a whirl and see if you get any further.
>
> Tom
> On 2 Mar 2016 08:02, "Konstantinos Mavrommatis" 
> <km...@celgene.com>
> wrote:
>
>> Thanks,
>> I tried the -DskipTests but now I got stuck at another point:
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO] Failed to resolve artifact.
>>
>> Unable to get dependency information: Unable to read the metadata 
>> file for artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> Cannot find parent: org.apache.geronimo.genesis.config:config for project:
>> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>>
>> from the specified remote repositories:
>>   central (https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_maven2&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=jID-Hi7Y4Xt7SBMyyS39SNKCBjakt53C2H0OdSQebZs&e= ),
>>   sonatype-nexus (https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org_content_groups_public&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4Zmw&s=tIk_ALhzBIJ4oQVzM5RlSrvHj1qIOThySGyPChlC5kg&e= ),
>>   apache.snapshots 
>> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.apach
>> e.org_snapshots&d=CwIFaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2W
>> Zv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=Hxhb-K_1RTAMyy7OPQNBkP6KjbMlImt8JVSUeGy4
>> Zmw&s=uQ7iVq6fUygfUf1fhQfyYIFJRcwh6C-F4JU2NoT3IdI&e= )
>>
>> Path to dependency:
>>         1) org.apache.oodt:cas-filemgr:jar:0.12
>>         2) org.apache.solr:solr-core:jar:1.3.0
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Tom Barber [mailto:tom.barber@meteorite.bi]
>> Sent: Tuesday, March 01, 2016 11:59 PM
>> To: dev@oodt.apache.org
>> Subject: Re: Problem installing oodt 0.12.
>>
>> Also FYI I'd suggest maven 3.x these days, I don't think it will make 
>> a difference in your case but at least it's relatively up to date.
>>
>> Tom
>> On 2 Mar 2016 07:54, "Tom Barber" <to...@meteorite.bi> wrote:
>>
>> > Hi Kostas
>> >
>> > There is a dependency but the tests should mock it, a while ago I 
>> > fixed a lot of that stuff where the tests failed to mock services 
>> > and instead bound to ports and things because from time to time it 
>> > does
>> cause issues.
>> >
>> > For now I'd suggest you run -DskipTests as they've been run and 
>> > passed prior to release. Not ideal but will unblock you.
>> >
>> > I'll try and get that test resolved properly, soon.
>> >
>> > Cheers,
>> >
>> > Tom
>> > On 2 Mar 2016 06:52, "Konstantinos Mavrommatis"
>> > <km...@celgene.com>
>> > wrote:
>> >
>> >> Hi,
>> >> I am trying to install the latest oodt 0.12 from the src.zip file.
>> >> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and 
>> >> Oracle java JDK 1.8.0_74 After unzipping the archive I run mvn 
>> >> clean install and I get the following error:
>> >>
>> >> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
>> >>
>> >> ------------------------------------------------------------------
>> >> ---
>> >> ---------- Test set:
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
>> >>
>> >> ------------------------------------------------------------------
>> >> ---
>> >> ---------- Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time
>> >> elapsed: 2.466 sec <<< FAILURE! - in org.apache.oodt.cas.protocol 
>> >> .imaps.TestImapsProtocol
>> >> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 0.374 sec  <<< FAILURE!
>> >> junit.framework.AssertionFailedError: Failed to connect to 
>> >> GreenMail IMAPS server : Failed to connected to IMAPS server 
>> >> localhost with username bfoster@google.com :
>> >> java.security.cert.CertificateException: Certificates does not 
>> >> conform to a lgorithm constraints
>> >>         at junit.framework.Assert.fail(Assert.java:57)
>> >>         at junit.framework.TestCase.fail(TestCase.java:227)
>> >>         at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
>> >> psP
>> >> rotocol.java:62)
>> >>
>> >> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 1.036 sec  <<< ERROR!
>> >> java.lang.RuntimeException: Couldnt start at least one of the mail 
>> >> services.
>> >>         at
>> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>> >>        at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
>> >> psP
>> >> rotocol.java:56)
>> >>
>> >> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 1.025 sec  <<< ERROR!
>> >> java.lang.RuntimeException: Couldnt start at least one of the mail 
>> >> services.
>> >>         at
>> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>> >>         at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestIma
>> >> psP
>> >> rotocol.java:56)
>> >>
>> >> is there a dependency on a email server? If so why is that ?
>> >>
>> >> I also tried to install it using Radix and the commands described 
>> >> in
>> >>
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org
>> _confluence_display_OODT_RADiX-2BPowered-2BBy-2BOODT-23RADiXPoweredBy
>> OODT-2DTheCommands&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Z
>> b2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSRO
>> sD7jAg&s=7c322fhJX9BbXH_E2tuD6_1XTUpRbOq3IOdbK0rhZJQ&e=
>> .
>> >> In this case after I run
>> >> Mvn install
>> >> I get the error message
>> >>
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >> ------------------------------------------------------------------
>> >> ---
>> >> ---
>> >> [INFO] Failed to resolve artifact.
>> >>
>> >> Unable to get dependency information: Unable to read the metadata 
>> >> file for artifact
>> 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> >> Cannot find parent: org.apache.geronimo.genesis.config:config for
>> project:
>> >> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>> >>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>> >>
>> >> from the specified remote repositories:
>> >>   central (
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_m
>> aven2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yv
>> Z1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=y7Jm
>> u07ef4O7sZkm2UgjPwz5AriwBB27YpSbA1PEX2M&e=
>> ),
>> >>   sonatype-nexus (
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org
>> _content_groups_public&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT
>> 9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sd
>> oSROsD7jAg&s=3DZxpQ_ny0ek1Uem6Y28Aj0MHzPR0snWhXqf_uqg6dY&e=
>> ),
>> >>   maven2 (
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__download.java.net
>> _maven_2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O
>> 6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=k
>> dBRgD_tTzx0lAqOXJlqSRobXUrHYd37MJQPSMoizcM&e=
>> ),
>> >>   apache.snapshots
>> >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.ap
>> >> ach
>> >> e.org_snapshots_&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3
>> >> Zb2 
>> >> WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSR
>> >> OsD 7jAg&s=XIzxBSR-4MCtOnhqZSI8Vf_-8rHnLRC2nCdEn8eTbTE&e= )
>> >>
>> >> Path to dependency:
>> >>         1) com.mycompany:oodt-extensions:jar:0.1
>> >>         2) org.apache.oodt:cas-filemgr:jar:0.12
>> >>         3) org.apache.solr:solr-core:jar:1.3.0
>> >>
>> >>
>> >> Am I doing something wrong ?
>> >> Thanks in advance for your help.
>> >>
>> >> Kostas
>> >>
>> >>
>> >> *********************************************************
>> >> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL 
>> >> AND MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR 
>> >> THE USE OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
>> >> If the reader is not the intended recipient, or the employee or 
>> >> agent responsible to deliver it to the intended recipient, you are 
>> >> hereby notified that any dissemination, distribution or copying of 
>> >> this communication is strictly prohibited. If you have received 
>> >> this communication in error, please reply to the sender to notify 
>> >> us of the error and delete the original message. Thank You.
>> >>
>> >
>>
>> *********************************************************
>> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL AND 
>> MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR THE USE 
>> OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
>> If the reader is not the intended recipient, or the employee or agent 
>> responsible to deliver it to the intended recipient, you are hereby 
>> notified that any dissemination, distribution or copying of this 
>> communication is strictly prohibited. If you have received this 
>> communication in error, please reply to the sender to notify us of 
>> the error and delete the original message. Thank You.
>>
>

*********************************************************
THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
OR INDIVIDUALS NAMED ABOVE.
If the reader is not the intended recipient, or the
employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any
dissemination, distribution or copying of this
communication is strictly prohibited. If you have
received this communication in error, please reply to the
sender to notify us of the error and delete the original
message. Thank You.

Re: Problem installing oodt 0.12.

Posted by Tom Barber <to...@meteorite.bi>.
Okay Kostas

You should certainly use Radix unless you have good reason not to, it's by
far the sanest way to build a project currently.

I use containers to check this stuff so maven can't cheat an use a cached
dependency etc it also isolates my tests from any other rubbish I have
running on my laptop. So I've created a clean ubuntu trusty environment and
here is my entire bash_history:

apt-get get update
apt-get update
apt-get install openjdk7-jdk
apt-cache search openjdk
apt-get install openjdk-7-jdk
apt-get install maven
mvn -v
curl -s "
https://git-wip-us.apache.org/repos/asf?p=oodt.git;a=blob_plain;f=mvn/archetypes/radix/src/main/resources/bin/radix;hb=HEAD"
| bash
mv oodt oodt-src; cd oodt-src; mvn install
cd ../oodt; ./bin/oodt start
ps aux |grep oodt

At the end of that I had a working OODT.

I then dumped Oracle JDK8 on the server to test that and built OODT and it
ran fine.

I'm not entirely sure whats causing that geronimo error, I do know that
codehaus shutting down caused a few issues for a lot of projects. I would
recommend updating to Maven 3, and clearing your ~/.m2/repository folder to
make sure you don't have any half downloaded or stale dependencies.

>From what I can see the 0.12 Radix build works fine as I copied the wiki
page verbatim. Let me know how it goes!

Tom

On Wed, Mar 2, 2016 at 8:24 AM, Tom Barber <to...@meteorite.bi> wrote:

> Not tried to build 0.12 yet, but I can do in 30 mins when I get to my
> desk. Give maven 3 a whirl and see if you get any further.
>
> Tom
> On 2 Mar 2016 08:02, "Konstantinos Mavrommatis" <km...@celgene.com>
> wrote:
>
>> Thanks,
>> I tried the -DskipTests but now I got stuck at another point:
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Unable to get dependency information: Unable to read the metadata file
>> for artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> Cannot find parent: org.apache.geronimo.genesis.config:config for project:
>> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>>
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   sonatype-nexus (https://oss.sonatype.org/content/groups/public),
>>   apache.snapshots (http://repository.apache.org/snapshots)
>>
>> Path to dependency:
>>         1) org.apache.oodt:cas-filemgr:jar:0.12
>>         2) org.apache.solr:solr-core:jar:1.3.0
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Tom Barber [mailto:tom.barber@meteorite.bi]
>> Sent: Tuesday, March 01, 2016 11:59 PM
>> To: dev@oodt.apache.org
>> Subject: Re: Problem installing oodt 0.12.
>>
>> Also FYI I'd suggest maven 3.x these days, I don't think it will make a
>> difference in your case but at least it's relatively up to date.
>>
>> Tom
>> On 2 Mar 2016 07:54, "Tom Barber" <to...@meteorite.bi> wrote:
>>
>> > Hi Kostas
>> >
>> > There is a dependency but the tests should mock it, a while ago I
>> > fixed a lot of that stuff where the tests failed to mock services and
>> > instead bound to ports and things because from time to time it does
>> cause issues.
>> >
>> > For now I'd suggest you run -DskipTests as they've been run and passed
>> > prior to release. Not ideal but will unblock you.
>> >
>> > I'll try and get that test resolved properly, soon.
>> >
>> > Cheers,
>> >
>> > Tom
>> > On 2 Mar 2016 06:52, "Konstantinos Mavrommatis"
>> > <km...@celgene.com>
>> > wrote:
>> >
>> >> Hi,
>> >> I am trying to install the latest oodt 0.12 from the src.zip file.
>> >> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and
>> >> Oracle java JDK 1.8.0_74 After unzipping the archive I run mvn clean
>> >> install and I get the following error:
>> >>
>> >> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
>> >>
>> >> ---------------------------------------------------------------------
>> >> ---------- Test set:
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
>> >>
>> >> ---------------------------------------------------------------------
>> >> ---------- Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time
>> >> elapsed: 2.466 sec <<< FAILURE! - in org.apache.oodt.cas.protocol
>> >> .imaps.TestImapsProtocol
>> >> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 0.374 sec  <<< FAILURE!
>> >> junit.framework.AssertionFailedError: Failed to connect to GreenMail
>> >> IMAPS server : Failed to connected to IMAPS server localhost with
>> >> username bfoster@google.com :
>> >> java.security.cert.CertificateException: Certificates does not
>> >> conform to a lgorithm constraints
>> >>         at junit.framework.Assert.fail(Assert.java:57)
>> >>         at junit.framework.TestCase.fail(TestCase.java:227)
>> >>         at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
>> >> rotocol.java:62)
>> >>
>> >> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 1.036 sec  <<< ERROR!
>> >> java.lang.RuntimeException: Couldnt start at least one of the mail
>> >> services.
>> >>         at
>> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>> >>        at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
>> >> rotocol.java:56)
>> >>
>> >> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
>> >> Time
>> >> elapsed: 1.025 sec  <<< ERROR!
>> >> java.lang.RuntimeException: Couldnt start at least one of the mail
>> >> services.
>> >>         at
>> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>> >>         at
>> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
>> >> rotocol.java:56)
>> >>
>> >> is there a dependency on a email server? If so why is that ?
>> >>
>> >> I also tried to install it using Radix and the commands described in
>> >>
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_OODT_RADiX-2BPowered-2BBy-2BOODT-23RADiXPoweredByOODT-2DTheCommands&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=7c322fhJX9BbXH_E2tuD6_1XTUpRbOq3IOdbK0rhZJQ&e=
>> .
>> >> In this case after I run
>> >> Mvn install
>> >> I get the error message
>> >>
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >> ---------------------------------------------------------------------
>> >> ---
>> >> [INFO] Failed to resolve artifact.
>> >>
>> >> Unable to get dependency information: Unable to read the metadata
>> >> file for artifact
>> 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> >> Cannot find parent: org.apache.geronimo.genesis.config:config for
>> project:
>> >> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>> >>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>> >>
>> >> from the specified remote repositories:
>> >>   central (
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_maven2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=y7Jmu07ef4O7sZkm2UgjPwz5AriwBB27YpSbA1PEX2M&e=
>> ),
>> >>   sonatype-nexus (
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org_content_groups_public&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=3DZxpQ_ny0ek1Uem6Y28Aj0MHzPR0snWhXqf_uqg6dY&e=
>> ),
>> >>   maven2 (
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__download.java.net_maven_2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=kdBRgD_tTzx0lAqOXJlqSRobXUrHYd37MJQPSMoizcM&e=
>> ),
>> >>   apache.snapshots
>> >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.apach
>> >> e.org_snapshots_&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2
>> >> WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD
>> >> 7jAg&s=XIzxBSR-4MCtOnhqZSI8Vf_-8rHnLRC2nCdEn8eTbTE&e= )
>> >>
>> >> Path to dependency:
>> >>         1) com.mycompany:oodt-extensions:jar:0.1
>> >>         2) org.apache.oodt:cas-filemgr:jar:0.12
>> >>         3) org.apache.solr:solr-core:jar:1.3.0
>> >>
>> >>
>> >> Am I doing something wrong ?
>> >> Thanks in advance for your help.
>> >>
>> >> Kostas
>> >>
>> >>
>> >> *********************************************************
>> >> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL AND
>> >> MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR THE USE
>> >> OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
>> >> If the reader is not the intended recipient, or the employee or agent
>> >> responsible to deliver it to the intended recipient, you are hereby
>> >> notified that any dissemination, distribution or copying of this
>> >> communication is strictly prohibited. If you have received this
>> >> communication in error, please reply to the sender to notify us of
>> >> the error and delete the original message. Thank You.
>> >>
>> >
>>
>> *********************************************************
>> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
>> CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
>> INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
>> OR INDIVIDUALS NAMED ABOVE.
>> If the reader is not the intended recipient, or the
>> employee or agent responsible to deliver it to the
>> intended recipient, you are hereby notified that any
>> dissemination, distribution or copying of this
>> communication is strictly prohibited. If you have
>> received this communication in error, please reply to the
>> sender to notify us of the error and delete the original
>> message. Thank You.
>>
>

RE: Problem installing oodt 0.12.

Posted by Tom Barber <to...@meteorite.bi>.
Not tried to build 0.12 yet, but I can do in 30 mins when I get to my desk.
Give maven 3 a whirl and see if you get any further.

Tom
On 2 Mar 2016 08:02, "Konstantinos Mavrommatis" <km...@celgene.com>
wrote:

> Thanks,
> I tried the -DskipTests but now I got stuck at another point:
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar': Cannot
> find parent: org.apache.geronimo.genesis.config:config for project:
> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   sonatype-nexus (https://oss.sonatype.org/content/groups/public),
>   apache.snapshots (http://repository.apache.org/snapshots)
>
> Path to dependency:
>         1) org.apache.oodt:cas-filemgr:jar:0.12
>         2) org.apache.solr:solr-core:jar:1.3.0
>
>
>
>
>
>
> -----Original Message-----
> From: Tom Barber [mailto:tom.barber@meteorite.bi]
> Sent: Tuesday, March 01, 2016 11:59 PM
> To: dev@oodt.apache.org
> Subject: Re: Problem installing oodt 0.12.
>
> Also FYI I'd suggest maven 3.x these days, I don't think it will make a
> difference in your case but at least it's relatively up to date.
>
> Tom
> On 2 Mar 2016 07:54, "Tom Barber" <to...@meteorite.bi> wrote:
>
> > Hi Kostas
> >
> > There is a dependency but the tests should mock it, a while ago I
> > fixed a lot of that stuff where the tests failed to mock services and
> > instead bound to ports and things because from time to time it does
> cause issues.
> >
> > For now I'd suggest you run -DskipTests as they've been run and passed
> > prior to release. Not ideal but will unblock you.
> >
> > I'll try and get that test resolved properly, soon.
> >
> > Cheers,
> >
> > Tom
> > On 2 Mar 2016 06:52, "Konstantinos Mavrommatis"
> > <km...@celgene.com>
> > wrote:
> >
> >> Hi,
> >> I am trying to install the latest oodt 0.12 from the src.zip file.
> >> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and
> >> Oracle java JDK 1.8.0_74 After unzipping the archive I run mvn clean
> >> install and I get the following error:
> >>
> >> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
> >>
> >> ---------------------------------------------------------------------
> >> ---------- Test set:
> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
> >>
> >> ---------------------------------------------------------------------
> >> ---------- Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time
> >> elapsed: 2.466 sec <<< FAILURE! - in org.apache.oodt.cas.protocol
> >> .imaps.TestImapsProtocol
> >> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> Time
> >> elapsed: 0.374 sec  <<< FAILURE!
> >> junit.framework.AssertionFailedError: Failed to connect to GreenMail
> >> IMAPS server : Failed to connected to IMAPS server localhost with
> >> username bfoster@google.com :
> >> java.security.cert.CertificateException: Certificates does not
> >> conform to a lgorithm constraints
> >>         at junit.framework.Assert.fail(Assert.java:57)
> >>         at junit.framework.TestCase.fail(TestCase.java:227)
> >>         at
> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
> >> rotocol.java:62)
> >>
> >> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> Time
> >> elapsed: 1.036 sec  <<< ERROR!
> >> java.lang.RuntimeException: Couldnt start at least one of the mail
> >> services.
> >>         at
> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
> >>        at
> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
> >> rotocol.java:56)
> >>
> >> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)
> >> Time
> >> elapsed: 1.025 sec  <<< ERROR!
> >> java.lang.RuntimeException: Couldnt start at least one of the mail
> >> services.
> >>         at
> com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
> >>         at
> >> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
> >> rotocol.java:56)
> >>
> >> is there a dependency on a email server? If so why is that ?
> >>
> >> I also tried to install it using Radix and the commands described in
> >>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_OODT_RADiX-2BPowered-2BBy-2BOODT-23RADiXPoweredByOODT-2DTheCommands&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=7c322fhJX9BbXH_E2tuD6_1XTUpRbOq3IOdbK0rhZJQ&e=
> .
> >> In this case after I run
> >> Mvn install
> >> I get the error message
> >>
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] Failed to resolve artifact.
> >>
> >> Unable to get dependency information: Unable to read the metadata
> >> file for artifact
> 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
> >> Cannot find parent: org.apache.geronimo.genesis.config:config for
> project:
> >> null:project-config:pom:1.1 for project null:project-config:pom:1.1
> >>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
> >>
> >> from the specified remote repositories:
> >>   central (
> https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_maven2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=y7Jmu07ef4O7sZkm2UgjPwz5AriwBB27YpSbA1PEX2M&e=
> ),
> >>   sonatype-nexus (
> https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org_content_groups_public&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=3DZxpQ_ny0ek1Uem6Y28Aj0MHzPR0snWhXqf_uqg6dY&e=
> ),
> >>   maven2 (
> https://urldefense.proofpoint.com/v2/url?u=http-3A__download.java.net_maven_2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=kdBRgD_tTzx0lAqOXJlqSRobXUrHYd37MJQPSMoizcM&e=
> ),
> >>   apache.snapshots
> >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.apach
> >> e.org_snapshots_&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2
> >> WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD
> >> 7jAg&s=XIzxBSR-4MCtOnhqZSI8Vf_-8rHnLRC2nCdEn8eTbTE&e= )
> >>
> >> Path to dependency:
> >>         1) com.mycompany:oodt-extensions:jar:0.1
> >>         2) org.apache.oodt:cas-filemgr:jar:0.12
> >>         3) org.apache.solr:solr-core:jar:1.3.0
> >>
> >>
> >> Am I doing something wrong ?
> >> Thanks in advance for your help.
> >>
> >> Kostas
> >>
> >>
> >> *********************************************************
> >> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL AND
> >> MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR THE USE
> >> OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
> >> If the reader is not the intended recipient, or the employee or agent
> >> responsible to deliver it to the intended recipient, you are hereby
> >> notified that any dissemination, distribution or copying of this
> >> communication is strictly prohibited. If you have received this
> >> communication in error, please reply to the sender to notify us of
> >> the error and delete the original message. Thank You.
> >>
> >
>
> *********************************************************
> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
> CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
> INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
> OR INDIVIDUALS NAMED ABOVE.
> If the reader is not the intended recipient, or the
> employee or agent responsible to deliver it to the
> intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this
> communication is strictly prohibited. If you have
> received this communication in error, please reply to the
> sender to notify us of the error and delete the original
> message. Thank You.
>

RE: Problem installing oodt 0.12.

Posted by Konstantinos Mavrommatis <km...@celgene.com>.
Thanks,
I tried the -DskipTests but now I got stuck at another point:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Unable to get dependency information: Unable to read the metadata file for artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar': Cannot find parent: org.apache.geronimo.genesis.config:config for project: null:project-config:pom:1.1 for project null:project-config:pom:1.1
  org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  sonatype-nexus (https://oss.sonatype.org/content/groups/public),
  apache.snapshots (http://repository.apache.org/snapshots)

Path to dependency:
        1) org.apache.oodt:cas-filemgr:jar:0.12
        2) org.apache.solr:solr-core:jar:1.3.0






-----Original Message-----
From: Tom Barber [mailto:tom.barber@meteorite.bi] 
Sent: Tuesday, March 01, 2016 11:59 PM
To: dev@oodt.apache.org
Subject: Re: Problem installing oodt 0.12.

Also FYI I'd suggest maven 3.x these days, I don't think it will make a difference in your case but at least it's relatively up to date.

Tom
On 2 Mar 2016 07:54, "Tom Barber" <to...@meteorite.bi> wrote:

> Hi Kostas
>
> There is a dependency but the tests should mock it, a while ago I 
> fixed a lot of that stuff where the tests failed to mock services and 
> instead bound to ports and things because from time to time it does cause issues.
>
> For now I'd suggest you run -DskipTests as they've been run and passed 
> prior to release. Not ideal but will unblock you.
>
> I'll try and get that test resolved properly, soon.
>
> Cheers,
>
> Tom
> On 2 Mar 2016 06:52, "Konstantinos Mavrommatis" 
> <km...@celgene.com>
> wrote:
>
>> Hi,
>> I am trying to install the latest oodt 0.12 from the src.zip file.
>> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and 
>> Oracle java JDK 1.8.0_74 After unzipping the archive I run mvn clean 
>> install and I get the following error:
>>
>> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
>>
>> ---------------------------------------------------------------------
>> ---------- Test set: 
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
>>
>> ---------------------------------------------------------------------
>> ---------- Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time 
>> elapsed: 2.466 sec <<< FAILURE! - in org.apache.oodt.cas.protocol 
>> .imaps.TestImapsProtocol
>> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  
>> Time
>> elapsed: 0.374 sec  <<< FAILURE!
>> junit.framework.AssertionFailedError: Failed to connect to GreenMail 
>> IMAPS server : Failed to connected to IMAPS server localhost with 
>> username bfoster@google.com :
>> java.security.cert.CertificateException: Certificates does not 
>> conform to a lgorithm constraints
>>         at junit.framework.Assert.fail(Assert.java:57)
>>         at junit.framework.TestCase.fail(TestCase.java:227)
>>         at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
>> rotocol.java:62)
>>
>> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  
>> Time
>> elapsed: 1.036 sec  <<< ERROR!
>> java.lang.RuntimeException: Couldnt start at least one of the mail 
>> services.
>>         at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>>        at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
>> rotocol.java:56)
>>
>> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  
>> Time
>> elapsed: 1.025 sec  <<< ERROR!
>> java.lang.RuntimeException: Couldnt start at least one of the mail 
>> services.
>>         at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>>         at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsP
>> rotocol.java:56)
>>
>> is there a dependency on a email server? If so why is that ?
>>
>> I also tried to install it using Radix and the commands described in 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_OODT_RADiX-2BPowered-2BBy-2BOODT-23RADiXPoweredByOODT-2DTheCommands&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=7c322fhJX9BbXH_E2tuD6_1XTUpRbOq3IOdbK0rhZJQ&e= .
>> In this case after I run
>> Mvn install
>> I get the error message
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO] Failed to resolve artifact.
>>
>> Unable to get dependency information: Unable to read the metadata 
>> file for artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> Cannot find parent: org.apache.geronimo.genesis.config:config for project:
>> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>>
>> from the specified remote repositories:
>>   central (https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_maven2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=y7Jmu07ef4O7sZkm2UgjPwz5AriwBB27YpSbA1PEX2M&e= ),
>>   sonatype-nexus (https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org_content_groups_public&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=3DZxpQ_ny0ek1Uem6Y28Aj0MHzPR0snWhXqf_uqg6dY&e= ),
>>   maven2 (https://urldefense.proofpoint.com/v2/url?u=http-3A__download.java.net_maven_2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=kdBRgD_tTzx0lAqOXJlqSRobXUrHYd37MJQPSMoizcM&e= ),
>>   apache.snapshots 
>> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.apach
>> e.org_snapshots_&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2
>> WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD
>> 7jAg&s=XIzxBSR-4MCtOnhqZSI8Vf_-8rHnLRC2nCdEn8eTbTE&e= )
>>
>> Path to dependency:
>>         1) com.mycompany:oodt-extensions:jar:0.1
>>         2) org.apache.oodt:cas-filemgr:jar:0.12
>>         3) org.apache.solr:solr-core:jar:1.3.0
>>
>>
>> Am I doing something wrong ?
>> Thanks in advance for your help.
>>
>> Kostas
>>
>>
>> *********************************************************
>> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS CONFIDENTIAL AND 
>> MAY CONTAIN LEGALLY PRIVILEGED INFORMATION INTENDED ONLY FOR THE USE 
>> OF THE INDIVIDUAL OR INDIVIDUALS NAMED ABOVE.
>> If the reader is not the intended recipient, or the employee or agent 
>> responsible to deliver it to the intended recipient, you are hereby 
>> notified that any dissemination, distribution or copying of this 
>> communication is strictly prohibited. If you have received this 
>> communication in error, please reply to the sender to notify us of 
>> the error and delete the original message. Thank You.
>>
>

*********************************************************
THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
OR INDIVIDUALS NAMED ABOVE.
If the reader is not the intended recipient, or the
employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any
dissemination, distribution or copying of this
communication is strictly prohibited. If you have
received this communication in error, please reply to the
sender to notify us of the error and delete the original
message. Thank You.

Re: Problem installing oodt 0.12.

Posted by Tom Barber <to...@meteorite.bi>.
Also FYI I'd suggest maven 3.x these days, I don't think it will make a
difference in your case but at least it's relatively up to date.

Tom
On 2 Mar 2016 07:54, "Tom Barber" <to...@meteorite.bi> wrote:

> Hi Kostas
>
> There is a dependency but the tests should mock it, a while ago I fixed a
> lot of that stuff where the tests failed to mock services and instead bound
> to ports and things because from time to time it does cause issues.
>
> For now I'd suggest you run -DskipTests as they've been run and passed
> prior to release. Not ideal but will unblock you.
>
> I'll try and get that test resolved properly, soon.
>
> Cheers,
>
> Tom
> On 2 Mar 2016 06:52, "Konstantinos Mavrommatis" <km...@celgene.com>
> wrote:
>
>> Hi,
>> I am trying to install the latest oodt 0.12 from the src.zip file.
>> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and Oracle
>> java JDK 1.8.0_74
>> After unzipping the archive I run
>> mvn clean install
>> and I get the following error:
>>
>> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
>>
>> -------------------------------------------------------------------------------
>> Test set: org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
>>
>> -------------------------------------------------------------------------------
>> Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 2.466 sec
>> <<< FAILURE! - in org.apache.oodt.cas.protocol
>> .imaps.TestImapsProtocol
>> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
>> elapsed: 0.374 sec  <<< FAILURE!
>> junit.framework.AssertionFailedError: Failed to connect to GreenMail
>> IMAPS server : Failed to connected to IMAPS server
>> localhost with username bfoster@google.com :
>> java.security.cert.CertificateException: Certificates does not conform to a
>> lgorithm constraints
>>         at junit.framework.Assert.fail(Assert.java:57)
>>         at junit.framework.TestCase.fail(TestCase.java:227)
>>         at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:62)
>>
>> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
>> elapsed: 1.036 sec  <<< ERROR!
>> java.lang.RuntimeException: Couldnt start at least one of the mail
>> services.
>>         at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>>        at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:56)
>>
>> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
>> elapsed: 1.025 sec  <<< ERROR!
>> java.lang.RuntimeException: Couldnt start at least one of the mail
>> services.
>>         at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>>         at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:56)
>>
>> is there a dependency on a email server? If so why is that ?
>>
>> I also tried to install it using Radix and the commands described in
>> https://cwiki.apache.org/confluence/display/OODT/RADiX+Powered+By+OODT#RADiXPoweredByOODT-TheCommands.
>> In this case after I run
>> Mvn install
>> I get the error message
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Unable to get dependency information: Unable to read the metadata file
>> for artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> Cannot find parent: org.apache.geronimo.genesis.config:config for project:
>> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>>
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   sonatype-nexus (https://oss.sonatype.org/content/groups/public),
>>   maven2 (http://download.java.net/maven/2),
>>   apache.snapshots (http://repository.apache.org/snapshots/)
>>
>> Path to dependency:
>>         1) com.mycompany:oodt-extensions:jar:0.1
>>         2) org.apache.oodt:cas-filemgr:jar:0.12
>>         3) org.apache.solr:solr-core:jar:1.3.0
>>
>>
>> Am I doing something wrong ?
>> Thanks in advance for your help.
>>
>> Kostas
>>
>>
>> *********************************************************
>> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
>> CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
>> INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
>> OR INDIVIDUALS NAMED ABOVE.
>> If the reader is not the intended recipient, or the
>> employee or agent responsible to deliver it to the
>> intended recipient, you are hereby notified that any
>> dissemination, distribution or copying of this
>> communication is strictly prohibited. If you have
>> received this communication in error, please reply to the
>> sender to notify us of the error and delete the original
>> message. Thank You.
>>
>

Re: Problem installing oodt 0.12.

Posted by Tom Barber <to...@meteorite.bi>.
Hi Kostas

There is a dependency but the tests should mock it, a while ago I fixed a
lot of that stuff where the tests failed to mock services and instead bound
to ports and things because from time to time it does cause issues.

For now I'd suggest you run -DskipTests as they've been run and passed
prior to release. Not ideal but will unblock you.

I'll try and get that test resolved properly, soon.

Cheers,

Tom
On 2 Mar 2016 06:52, "Konstantinos Mavrommatis" <km...@celgene.com>
wrote:

> Hi,
> I am trying to install the latest oodt 0.12 from the src.zip file.
> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and Oracle
> java JDK 1.8.0_74
> After unzipping the archive I run
> mvn clean install
> and I get the following error:
>
> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
>
> -------------------------------------------------------------------------------
> Test set: org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
>
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 2.466 sec
> <<< FAILURE! - in org.apache.oodt.cas.protocol
> .imaps.TestImapsProtocol
> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
> elapsed: 0.374 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Failed to connect to GreenMail IMAPS
> server : Failed to connected to IMAPS server
> localhost with username bfoster@google.com :
> java.security.cert.CertificateException: Certificates does not conform to a
> lgorithm constraints
>         at junit.framework.Assert.fail(Assert.java:57)
>         at junit.framework.TestCase.fail(TestCase.java:227)
>         at
> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:62)
>
> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
> elapsed: 1.036 sec  <<< ERROR!
> java.lang.RuntimeException: Couldnt start at least one of the mail
> services.
>         at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>        at
> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:56)
>
> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
> elapsed: 1.025 sec  <<< ERROR!
> java.lang.RuntimeException: Couldnt start at least one of the mail
> services.
>         at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>         at
> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:56)
>
> is there a dependency on a email server? If so why is that ?
>
> I also tried to install it using Radix and the commands described in
> https://cwiki.apache.org/confluence/display/OODT/RADiX+Powered+By+OODT#RADiXPoweredByOODT-TheCommands.
> In this case after I run
> Mvn install
> I get the error message
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar': Cannot
> find parent: org.apache.geronimo.genesis.config:config for project:
> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   sonatype-nexus (https://oss.sonatype.org/content/groups/public),
>   maven2 (http://download.java.net/maven/2),
>   apache.snapshots (http://repository.apache.org/snapshots/)
>
> Path to dependency:
>         1) com.mycompany:oodt-extensions:jar:0.1
>         2) org.apache.oodt:cas-filemgr:jar:0.12
>         3) org.apache.solr:solr-core:jar:1.3.0
>
>
> Am I doing something wrong ?
> Thanks in advance for your help.
>
> Kostas
>
>
> *********************************************************
> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
> CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
> INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
> OR INDIVIDUALS NAMED ABOVE.
> If the reader is not the intended recipient, or the
> employee or agent responsible to deliver it to the
> intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this
> communication is strictly prohibited. If you have
> received this communication in error, please reply to the
> sender to notify us of the error and delete the original
> message. Thank You.
>