struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: wierd stack trace regarding parsing of struts.xml
Date Fri, 30 Nov 2012 20:19:44 GMT
Probably trying to go out to the web for a DTD/XSD or something?

On Fri, Nov 30, 2012 at 3:06 PM, Davis, Chad <Chad.Davis@emc.com> wrote:
> So, when I restarted my struts2 app this afternoon I got complains about "unable to load
configuration. - [unknown location]".  But, the location of my struts.xml - inside of the
classes folder of the WAR - has not changes.  And, indeed, the file is there.   The stack
trace is below.   For starters, I'm surprised to see sockets involved?
>
> 2012-11-30 20:45:28,357 WARN  [pool-2-thread-1]-ejb.Ejb3Configuration: hibernate.connection.autocommit
= false break the EJB3 specification
> 2012-11-30 20:45:58,226 ERROR [pool-2-thread-1]-commons.CommonsLogger: Dispatcher initialization
failed
> Unable to load configuration. - [unknown location]
>         at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
>         at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
>         at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
>         at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)
>         at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
>         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
>         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
>         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
>         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)
>         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)
>         at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)
>         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>         at java.util.concurrent.FutureTask.run(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: Unable to load file:/DTO/EMC/IMF/apache-tomcat/catalina_base/imf/WEB-INF/classes/struts.xml
- [unknown location]
>         at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:954)
>         at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:163)
>         at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:130)
>         at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:209)
>         at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
>         ... 17 more
> Caused by: Connection timed out - [unknown location]
>         at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)
>         at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:949)
>         ... 21 more
> Caused by: java.net.ConnectException: Connection timed out
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
>         at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
>         at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
>         at java.net.SocksSocketImpl.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at sun.net.NetworkClient.doConnect(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(Unknown Source)
>         at sun.net.www.http.HttpClient.<init>(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
>        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
>         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
>         at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)
>         ... 22 more
>



-- 
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton
b: Bucky Bits
g: davelnewton
so: Dave Newton

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message