Ciao
webapp Struts2 2.1.2 su jboss 5.1.0
Se aggiungo su web-inf/lib i JAR di plugin (mi serve struts2-jquery-plugin-3.3.1.jar ) si schianta quando faccio il deploy. Tutto ok se tiro via i plugin.
Aspetta qualche secondo quando parsa il file struts-default.xml
16:19:42,485 INFO [TomcatDeployment] deploy, ctxPath=/WebApplication1
16:19:42,688 INFO [XmlConfigurationProvider] Parsing configuration file [struts-default.xml]
dopo restiituisce l'errore
16:20:03,814 ERROR [[/WebApplication1]] Exception starting filter struts2
Unable to load configuration. - [unknown location]
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
....
....
....
....
Caused by: Unable to load vfszip:/C:/Programmi/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/all/deploy/WebApplication1.war/WEB-INF/lib/struts2-jquery-plugin-3.3.1.jar/struts-plugin.xml - [unknown location]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:890)
....
....
....
....
Caused by: Connection timed out: connect - [unknown location]
at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)
....
....
cortesemtne avete qualche suggerimento ?
basta aggiungere il JAR di plugino bisogna fare altro su struts2 ?
GRAZIE 1000 nicola
....
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)