#210 Add support for offline DTD

v4.0
closed-postponed
nobody
5
2005-03-14
2004-10-08
Michael Meyer
No

I ran into a problem when running JBoss (4.0.0) offline
on my notebook with struts, the server failed to deploy
the struts-examples.war because it could not resolve
the DTD for struts-config.xml, (see quote below).

I know that JBoss uses JBossEntityResolver.java to
resolve some hardcoded common DTD and XSD files.

I would like to request to be able to add my own
DTD/XSD's that will be resolved by the
JBossEntityResolver to faclilitate offline
development/developement behind firewalls, as well as
reducing network traffic.

Thanks,
Michael Meyer.

[quote]
20:24:21,031 INFO [TomcatDeployer] deploy,
ctxPath=/struts-examples,
warUrl=file:/D:/DATA/java/jboss-4.0.0/server/default/tmp/deploy/tmp60993struts-examples-exp.war/
20:24:43,078 ERROR [ActionServlet] Parsing error
processing resource path
/WEB-INF/validator/struts-config.xml
java.net.SocketException: Connection reset by peer: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at
sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at
sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.(HttpClient.java:306)
at sun.net.www.http.HttpClient.(HttpClient.java:267)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:320)
at sun.net.www.http.HttpClient.New(HttpClient.java:315)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
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)
[/quote]

Discussion

  • Adrian Brock
    Adrian Brock
    2005-03-14

    • status: open --> closed-postponed
     
  • Adrian Brock
    Adrian Brock
    2005-03-14

    Logged In: YES
    user_id=9459

    All issues have been moved to http://jira.jboss.com. Existing
    issues have been moved. New issues will be closed with this
    canned reponse.