You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2008/03/06 18:38:58 UTC

[jira] Updated: (OPENEJB-700) Must have java.sun.com access when online to deploy: Cannot unmarshall the ejb-jar.xml file

     [ https://issues.apache.org/jira/browse/OPENEJB-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins updated OPENEJB-700:
----------------------------------

    Summary: Must have java.sun.com access when online to deploy: Cannot unmarshall the ejb-jar.xml file  (was: Must be online to deploy: Cannot unmarshall the ejb-jar.xml file)

Updating the description as at least for the Mac vm (which is the sun vm) being fully offline results in no issue.  When connected to a network device it seems the vm will perceive that as internet access and attempt to download the dtds and schemas.

> Must have java.sun.com access when online to deploy: Cannot unmarshall the ejb-jar.xml file
> -------------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-700
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-700
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 3.0-beta-1, 3.0-beta-2
>            Reporter: David Blevins
>            Assignee: David Blevins
>             Fix For: 3.0
>
>
> This looks like a bug in the org.apache.openejb.jee.JaxbJavaee.unmarshal code where xerces is attempting to pull down schemas from the internet.
>  org.apache.openejb.OpenEJBException: Cannot unmarshall the
> ejb-jar.xml file:
> jar:file:/C:/VMZ/Temp/geronimo-deploymentUtil50850.jar!/META-INF/ejb-jar
> .xml: null
> 	at
> org.apache.openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.jav
> a:260)
> 	at
> org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:52
> )
> 	at
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(Ejb
> ModuleBuilder.java:237)
> 	... 59 more
> Caused by: javax.xml.bind.UnmarshalException
>  - with linked exception:
> [java.net.ConnectException: Connection timed out: connect]
> 	at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unm
> arshallerImpl.java:196)
> 	at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unma
> rshallerImpl.java:167)
> 	at
> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmars
> hallerImpl.java:120)
> 	at
> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmars
> hallerImpl.java:103)
> 	at
> org.apache.openejb.jee.JaxbJavaee.unmarshal(JaxbJavaee.java:103)
> 	at
> org.apache.openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.jav
> a:255)
> 	... 61 more
> Caused by: java.net.ConnectException: Connection timed out: connect
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> 	at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> 	at java.net.Socket.connect(Socket.java:519)
> 	at java.net.Socket.connect(Socket.java:469)
> 	at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
> 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
> 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
> 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
> 	at sun.net.www.http.HttpClient.New(HttpClient.java:304)
> 	at sun.net.www.http.HttpClient.New(HttpClient.java:316)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
> ection.java:817)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
> on.java:769)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
> va:694)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
> tion.java:938)
> 	at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEnt
> ity(XMLEntityManager.java:973)
> 	at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XML
> EntityManager.java:905)
> 	at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(
> XMLEntityManager.java:872)
> 	at
> com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource
> (XMLDTDScannerImpl.java:282)
> 	at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispat
> cher.dispatch(XMLDocumentScannerImpl.java:1021)
> 	at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
> canDocument(XMLDocumentFragmentScannerImpl.java:368)
> 	at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
> 1Configuration.java:834)
> 	at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
> 1Configuration.java:764)
> 	at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
> a:148)
> 	at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
> actSAXParser.java:1242)
> 	at
> org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)
> 	at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unm
> arshallerImpl.java:194)
> 	... 66 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.