tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (3980)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: NER Parser tests behind proxy?
Date Mon, 23 Nov 2015 15:51:51 GMT
Hey Tim,

I’m not seeing these of course b/c I’m not behind a proxy. Thamme,
any ideas?

Cheers,
Chris

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





-----Original Message-----
From: "Allison, Timothy B." <tallison@mitre.org>
Reply-To: "dev@tika.apache.org" <dev@tika.apache.org>
Date: Thursday, November 19, 2015 at 5:36 PM
To: "dev@tika.apache.org" <dev@tika.apache.org>
Subject: NER Parser tests behind proxy?

>My proxy is configured for git/maven/etc, but how do I configure it
>within the test so that I don't get this?
>
>GET : http://opennlp.sourceforge.net/models-1.5/en-ner-person.bin ->
>tika-parsers\src\test\resources\org\apache\tika\parser\ner\opennlp\ner-per
>son.bin
>[INFO] 
>------------------------------------------------------------------------
>[INFO] Reactor Summary:
>[INFO] 
>[INFO] Apache Tika parent ................................ SUCCESS
>[3.264s]
>[INFO] Apache Tika core .................................. SUCCESS
>[44.470s]
>[INFO] Apache Tika parsers ............................... FAILURE
>[1:56.462s]
>[INFO] Apache Tika XMP ................................... SKIPPED
>[INFO] Apache Tika serialization ......................... SKIPPED
>[INFO] Apache Tika batch ................................. SKIPPED
>[INFO] Apache Tika application ........................... SKIPPED
>[INFO] Apache Tika OSGi bundle ........................... SKIPPED
>[INFO] Apache Tika translate ............................. SKIPPED
>[INFO] Apache Tika server ................................ SKIPPED
>[INFO] Apache Tika examples .............................. SKIPPED
>[INFO] Apache Tika Java-7 Components ..................... SKIPPED
>[INFO] Apache Tika ....................................... SKIPPED
>[INFO] 
>------------------------------------------------------------------------
>[INFO] BUILD FAILURE
>[INFO] 
>------------------------------------------------------------------------
>[INFO] Total time: 2:45.245s
>[INFO] Finished at: Thu Nov 19 20:29:34 EST 2015
>[INFO] Final Memory: 52M/482M
>[INFO] 
>------------------------------------------------------------------------
>[ERROR] Failed to execute goal
>org.codehaus.groovy.maven:gmaven-plugin:1.0:execute (testSetup) on
>project tika-parsers: java.net.ConnectException: Connection refused:
>connect -> [Help 1]
>org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>goal org.codehaus.groovy.maven:gmaven-plugin:1.0:execute (testSetup) on
>project tika-parsers: java.net.ConnectException: Connection refused:
>connect
>	at 
>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>:217)
>	at 
>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>:153)
>	at 
>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>:145)
>	at 
>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Li
>fecycleModuleBuilder.java:84)
>	at 
>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Li
>fecycleModuleBuilder.java:59)
>	at 
>org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(L
>ifecycleStarter.java:183)
>	at 
>org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStar
>ter.java:161)
>	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>62)
>	at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43)
>	at java.lang.reflect.Method.invoke(Method.java:497)
>	at 
>org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.
>java:290)
>	at 
>org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230
>)
>	at 
>org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launche
>r.java:409)
>	at 
>org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>62)
>	at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43)
>	at java.lang.reflect.Method.invoke(Method.java:497)
>	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
>Caused by: org.apache.maven.plugin.MojoExecutionException:
>java.net.ConnectException: Connection refused: connect
>	at 
>org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:85)
>	at 
>org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuild
>PluginManager.java:101)
>	at 
>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>:209)
>	... 25 more
>Caused by: org.codehaus.groovy.maven.feature.ComponentException:
>java.net.ConnectException: Connection refused: connect
>	at 
>org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.invokeMeth
>od(ScriptExecutorSupport.java:162)
>	at 
>org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.execute(Sc
>riptExecutorSupport.java:126)
>	at 
>org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.execute(Sc
>riptExecutorSupport.java:73)
>	at 
>org.codehaus.groovy.maven.plugin.execute.ExecuteMojo.process(ExecuteMojo.j
>ava:249)
>	at 
>org.codehaus.groovy.maven.plugin.ComponentMojoSupport.doExecute(ComponentM
>ojoSupport.java:60)
>	at 
>org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:69)
>	... 27 more
>Caused by: java.net.ConnectException: Connection refused: connect
>	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>	at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcc
>essorImpl.java:62)
>	at 
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstr
>uctorAccessorImpl.java:45)
>	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>	at 
>sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:
>1890)
>	at 
>sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:
>1885)
>	at java.security.AccessController.doPrivileged(Native Method)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLCon
>nection.java:1884)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnect
>ion.java:1457)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnecti
>on.java:1441)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>62)
>	at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43)
>	at java.lang.reflect.Method.invoke(Method.java:497)
>	at 
>org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSi
>teNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
>	at 
>org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMetho
>dSite.java:52)
>	at 
>org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArr
>ay.java:43)
>	at 
>org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSit
>e.java:116)
>	at 
>org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSit
>e.java:120)
>	at ModelGetter.downloadFile(ModelGetter.groovy:64)
>	at ModelGetter$downloadFile.callCurrent(Unknown Source)
>	at 
>org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(Call
>SiteArray.java:47)
>	at 
>org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(Abstract
>CallSite.java:142)
>	at 
>org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(Abstract
>CallSite.java:154)
>	at ModelGetter.run(ModelGetter.groovy:91)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>62)
>	at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43)
>	at java.lang.reflect.Method.invoke(Method.java:497)
>	at 
>org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.invokeMeth
>od(ScriptExecutorSupport.java:158)
>	... 32 more
>Caused by: java.net.ConnectException: Connection refused: connect
>	at java.net.DualStackPlainSocketImpl.connect0(Native Method)
>	at 
>java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.j
>ava:79)
>	at 
>java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:35
>0)
>	at 
>java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.
>java:206)
>	at 
>java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
>	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>	at java.net.Socket.connect(Socket.java:589)
>	at java.net.Socket.connect(Socket.java:538)
>	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
>	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
>	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
>	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
>	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
>	at sun.net.www.http.HttpClient.New(HttpClient.java:326)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnec
>tion.java:1169)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnectio
>n.java:1105)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection
>.java:999)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java
>:933)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnect
>ion.java:1513)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnecti
>on.java:1441)
>	at 
>sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnecti
>on.java:2943)
>	at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629)
>	at java.net.URLConnection.getContentLengthLong(URLConnection.java:501)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>62)
>	at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43)
>	at java.lang.reflect.Method.invoke(Method.java:497)
>	at 
>org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSi
>teNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
>	at 
>org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMetho
>dSite.java:52)
>	at 
>org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArr
>ay.java:43)
>	at 
>org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSit
>e.java:116)
>	at 
>org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSit
>e.java:120)
>	at ModelGetter.downloadFile(ModelGetter.groovy:61)
>	... 42 more
>
>-----Original Message-----
>From: Nick Burch [mailto:apache@gagravarr.org]
>Sent: Thursday, November 19, 2015 7:41 PM
>To: dev@tika.apache.org
>Subject: Re: [DISCUSS] Moving to Git
>
>On Thu, 19 Nov 2015, Mattmann, Chris A (3980) wrote:
>> I’ll be happy to update our docs and to write a wiki page on using
>> Tika & Git that we can refer folks to. I think I’ve demonstrated
>> documenting things on the Tika wiki :)
>
>Great stuff! Scribble something sensible down, and I can vote +1 to the
>move, plus learn more about Git at the same time :)
>
>Nick

Mime
View raw message