Hello, if anyone can point me in the right direction with this, I'd be very grateful.
I'm trying to deploy my application offline, but keep hitting an java.net.UnknownHostException exception because jboss can't resolve the spring dtd (http://www.springframework.org/dtd/spring-beans.dtd). I've added it to the entity map on the JBossEntityResolverMgr service, but doesn't seem to make a difference, even when I put a jar containing the spring-bean.dtd in the jre lib/ext dir. It's not an issue with an internet connection. I'm using jboss-4.0.3SP1 with jdk1.5 and xerces 2.8 cheers -Jamie 2006-10-05 11:32:16,624 WARN [org.jboss.util.xml.JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://www.springframework.org/dtd/spring-beans.dtd 2006-10-05 11:32:16,811 DEBUG [org.jboss.util.xml.JBossEntityResolver] Failed to obtain URL.InputStream from systemId: http://www.springframework.org/dtd/spring-beans.dtd java.net.UnknownHostException: www.springframework.org 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.(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.jboss.util.xml.JBossEntityResolver.resolveSystemIDasURL(JBossEntityResolver.java:326) at org.jboss.util.xml.JBossEntityResolver.resolveEntity(JBossEntityResolver.java:198) at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.resolveEntity(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.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:586) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:863) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:863) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:489) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976203#3976203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976203 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
