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

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

How can I get JBoss to resolve other DTD's locally?

Do I have to comment out the DTD's when running offline?

Thanks,
Michael

anonymous wrote : 
  | 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)
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850703#3850703

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850703


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to