[ 
https://issues.apache.org/jira/browse/MSITE-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17106665#comment-17106665
 ] 

Olivier Lamy commented on MSITE-857:
------------------------------------

please look at [https://github.com/apache/maven-site-plugin/pull/3]  
https://issues.apache.org/jira/browse/MSITE-828

 

> Jetty engine fails to resolve web.xml DTD behind corporate proxy
> ----------------------------------------------------------------
>
>                 Key: MSITE-857
>                 URL: https://issues.apache.org/jira/browse/MSITE-857
>             Project: Maven Site Plugin
>          Issue Type: Bug
>          Components: site:run
>    Affects Versions: 3.9.0
>         Environment: Windows 10, Intel 4 cores, 16GB RAM
>            Reporter: Valentino Pinna
>            Priority: Critical
>
> To reproduce, ensure to be behind corporate proxy (with settings.xml 
> correctly configured) and execute:
> {code:java}
> mvn -X org.apache.maven.plugins:maven-site-plugin:3.9.0:run
> {code}
> Extract from log:
> {code:java}
> [DEBUG] resolveEntity(-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN, 
> http://java.sun.com/dtd/web-app_2_3.dtd)
> [DEBUG] Can't exact match entity in redirect map, trying web-app_2_3.dtd
> [WARNING] Failed startup of context 
> o.e.j.w.WebAppContext@523a7801{/,file:///C:/Users/m027907/eclipse-workspace/vtl/target/site-stage/,UNAVAILABLE}
> java.net.ConnectException: Connection timed out: connect
>     at java.net.PlainSocketImpl.connect0 (Native Method)
>     at java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:101)
>     at java.net.AbstractPlainSocketImpl.doConnect 
> (AbstractPlainSocketImpl.java:399)
>     at java.net.AbstractPlainSocketImpl.connectToAddress 
> (AbstractPlainSocketImpl.java:242)
>     at java.net.AbstractPlainSocketImpl.connect 
> (AbstractPlainSocketImpl.java:224)
>     at java.net.Socket.connect (Socket.java:609)
>     at java.net.Socket.connect (Socket.java:558)
>     at sun.net.NetworkClient.doConnect (NetworkClient.java:182)
>     at sun.net.www.http.HttpClient.openServer (HttpClient.java:474)
>     at sun.net.www.http.HttpClient.openServer (HttpClient.java:569)
>     at sun.net.www.http.HttpClient.<init> (HttpClient.java:242)
>     at sun.net.www.http.HttpClient.New (HttpClient.java:341)
>     at sun.net.www.http.HttpClient.New (HttpClient.java:362)
>     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient 
> (HttpURLConnection.java:1248)
>     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0 
> (HttpURLConnection.java:1187)
>     at sun.net.www.protocol.http.HttpURLConnection.plainConnect 
> (HttpURLConnection.java:1081)
>     at sun.net.www.protocol.http.HttpURLConnection.connect 
> (HttpURLConnection.java:1015)
>     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0 
> (HttpURLConnection.java:1587)
>     at sun.net.www.protocol.http.HttpURLConnection.getInputStream 
> (HttpURLConnection.java:1515)
>     at 
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity 
> (XMLEntityManager.java:676)
>     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity 
> (XMLEntityManager.java:1398)
>     at 
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity 
> (XMLEntityManager.java:1364)
>     at 
> com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource 
> (XMLDTDScannerImpl.java:257)
>     at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch
>  (XMLDocumentScannerImpl.java:1152)
>     at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next 
> (XMLDocumentScannerImpl.java:1040)
>     at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next
>  (XMLDocumentScannerImpl.java:943)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next 
> (XMLDocumentScannerImpl.java:605)
>     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next 
> (XMLNSDocumentScannerImpl.java:112)
>     at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
>  (XMLDocumentFragmentScannerImpl.java:534)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse 
> (XML11Configuration.java:888)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse 
> (XML11Configuration.java:824)
>     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse 
> (XMLParser.java:141)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse 
> (AbstractSAXParser.java:1216)
>     at 
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse 
> (SAXParserImpl.java:635)
>     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse 
> (SAXParserImpl.java:324)
>     at org.eclipse.jetty.xml.XmlParser.parse (XmlParser.java:244)
>     at org.eclipse.jetty.webapp.Descriptor.parse (Descriptor.java:53)
>     at org.eclipse.jetty.webapp.WebDescriptor.parse (WebDescriptor.java:213)
>     at org.eclipse.jetty.webapp.MetaData.setWebXml (MetaData.java:193)
>     at org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure 
> (WebXmlConfiguration.java:55)
>     at org.eclipse.jetty.webapp.WebAppContext.preConfigure 
> (WebAppContext.java:488)
>     at org.eclipse.jetty.webapp.WebAppContext.doStart (WebAppContext.java:523)
>     at org.eclipse.jetty.util.component.AbstractLifeCycle.start 
> (AbstractLifeCycle.java:72)
>     at org.eclipse.jetty.util.component.ContainerLifeCycle.start 
> (ContainerLifeCycle.java:169)
>     at org.eclipse.jetty.server.Server.start (Server.java:407)
>     at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart 
> (ContainerLifeCycle.java:110)
>     at org.eclipse.jetty.server.handler.AbstractHandler.doStart 
> (AbstractHandler.java:97)
>     at org.eclipse.jetty.server.Server.doStart (Server.java:371)
>     at org.eclipse.jetty.util.component.AbstractLifeCycle.start 
> (AbstractLifeCycle.java:72)
>     at org.apache.maven.plugins.site.run.SiteRunMojo.execute 
> (SiteRunMojo.java:87)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:210)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:148)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
>     at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
>     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:566)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:282)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:225)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:406)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:347)
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to