You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Dain Sundstrom <da...@iq80.com> on 2007/01/30 20:17:39 UTC

Can't build offline

Running org.apache.openejb.config.JaxbUnmarshallerTest
javax.xml.bind.UnmarshalException
  - with linked exception:
[java.net.UnknownHostException: java.sun.com]
         at  
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0 
(UnmarshallerImpl.java:196)
         at  
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal 
(UnmarshallerImpl.java:167)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal 
(AbstractUnmarshallerImpl.java:120)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal 
(AbstractUnmarshallerImpl.java:103)
         at org.apache.openejb.config.JaxbUnmarshaller.unmarshalObject 
(JaxbUnmarshaller.java:203)
         at org.apache.openejb.config.JaxbUnmarshaller.unmarshal 
(JaxbUnmarshaller.java:171)
         at  
org.apache.openejb.config.JaxbUnmarshallerTest.testUnmarshalURL 
(JaxbUnmarshallerTest.java:35)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at junit.framework.TestCase.runTest(TestCase.java:164)
         at junit.framework.TestCase.runBare(TestCase.java:130)
         at junit.framework.TestResult$1.protect(TestResult.java:110)
         at junit.framework.TestResult.runProtected(TestResult.java:128)
         at junit.framework.TestResult.run(TestResult.java:113)
         at junit.framework.TestCase.run(TestCase.java:120)
         at junit.framework.TestSuite.runTest(TestSuite.java:228)
         at junit.framework.TestSuite.run(TestSuite.java:223)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.maven.surefire.junit.JUnitTestSet.execute 
(JUnitTestSet.java:210)
         at  
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSe 
t(AbstractDirectoryTestSuite.java:135)
         at  
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute 
(AbstractDirectoryTestSuite.java:160)
         at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at  
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess 
(SurefireBooter.java:182)
         at org.apache.maven.surefire.booter.SurefireBooter.main 
(SurefireBooter.java:743)
Caused by: java.net.UnknownHostException: java.sun.com
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
         at sun.net.www.http.HttpClient.New(HttpClient.java:287)
         at sun.net.www.http.HttpClient.New(HttpClient.java:299)
         at  
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient 
(HttpURLConnection.java:792)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect 
(HttpURLConnection.java:744)
         at sun.net.www.protocol.http.HttpURLConnection.connect 
(HttpURLConnection.java:669)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream 
(HttpURLConnection.java:913)
         at java.net.URL.openStream(URL.java:1007)
         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity 
(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startEntity 
(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity 
(Unknown Source)
         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource 
(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentScannerImpl 
$DTDDispatcher.dispatch(Unknown Source)
         at  
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument 
(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse 
(Unknown Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown  
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown  
Source)
         at org.xml.sax.helpers.XMLFilterImpl.parse 
(XMLFilterImpl.java:333)
         at  
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0 
(UnmarshallerImpl.java:194)
         ... 32 more
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.71  
sec <<< FAILURE!

Re: Can't build offline

Posted by David Blevins <da...@visi.com>.
We'll have to add some DTD resolvers in somewhere.

-David

On Jan 30, 2007, at 11:17 AM, Dain Sundstrom wrote:

> Running org.apache.openejb.config.JaxbUnmarshallerTest
> javax.xml.bind.UnmarshalException
>  - with linked exception:
> [java.net.UnknownHostException: java.sun.com]
>         at  
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0 
> (UnmarshallerImpl.java:196)
>         at  
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal 
> (UnmarshallerImpl.java:167)
>         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal 
> (AbstractUnmarshallerImpl.java:120)
>         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal 
> (AbstractUnmarshallerImpl.java:103)
>         at  
> org.apache.openejb.config.JaxbUnmarshaller.unmarshalObject 
> (JaxbUnmarshaller.java:203)
>         at org.apache.openejb.config.JaxbUnmarshaller.unmarshal 
> (JaxbUnmarshaller.java:171)
>         at  
> org.apache.openejb.config.JaxbUnmarshallerTest.testUnmarshalURL 
> (JaxbUnmarshallerTest.java:35)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>         at junit.framework.TestResult.runProtected(TestResult.java: 
> 128)
>         at junit.framework.TestResult.run(TestResult.java:113)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:228)
>         at junit.framework.TestSuite.run(TestSuite.java:223)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.junit.JUnitTestSet.execute 
> (JUnitTestSet.java:210)
>         at  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTest 
> Set(AbstractDirectoryTestSuite.java:135)
>         at  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute 
> (AbstractDirectoryTestSuite.java:160)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess 
> (SurefireBooter.java:182)
>         at org.apache.maven.surefire.booter.SurefireBooter.main 
> (SurefireBooter.java:743)
> Caused by: java.net.UnknownHostException: java.sun.com
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>         at java.net.Socket.connect(Socket.java:507)
>         at java.net.Socket.connect(Socket.java:457)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:287)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:299)
>         at  
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient 
> (HttpURLConnection.java:792)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect 
> (HttpURLConnection.java:744)
>         at sun.net.www.protocol.http.HttpURLConnection.connect 
> (HttpURLConnection.java:669)
>         at  
> sun.net.www.protocol.http.HttpURLConnection.getInputStream 
> (HttpURLConnection.java:913)
>         at java.net.URL.openStream(URL.java:1007)
>         at  
> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown  
> Source)
>         at org.apache.xerces.impl.XMLEntityManager.startEntity 
> (Unknown Source)
>         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity 
> (Unknown Source)
>         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource 
> (Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentScannerImpl 
> $DTDDispatcher.dispatch(Unknown Source)
>         at  
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument 
> (Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse 
> (Unknown Source)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown  
> Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse 
> (Unknown Source)
>         at org.xml.sax.helpers.XMLFilterImpl.parse 
> (XMLFilterImpl.java:333)
>         at  
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0 
> (UnmarshallerImpl.java:194)
>         ... 32 more
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:  
> 0.71 sec <<< FAILURE!
>