struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From struts....@spamgourmet.com
Subject Bug? 2.3.3 struts2-blank.war fails to deploy on JBoss 5
Date Mon, 07 May 2012 18:21:11 GMT
I recently tried to upgrade our app from 2.3.1.2 to 2.3.3, but got an error in startup.   To
determine if it was "just me" I tried deploying the struts2-blank.war file in my JBoss 5.1
system, but got the attached error.  It seems that the application cannot load "struts-default.xml"
anymore.

The juicy part is:   java.lang.IllegalArgumentException: URI scheme is not "file"

Is it possible for me to configure Struts2 2.3.3 (and by extension XWork 2.3.3) to work with
JBoss 5.1?

Sincerely,
Roland McIntosh

---
2012-05-07 13:11:38,005 FINE  [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner)
JSF1018: [/struts2-blank] Configuration option 'com.sun.faces.expressionFactory' set to 'com.sun.el.ExpressionFactoryImpl'
2012-05-07 13:11:38,005 FINE  [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner)
JSF1018: [/struts2-blank] Configuration option 'com.sun.faces.disableUnicodeEscaping' set
to 'false'
2012-05-07 13:11:38,005 FINE  [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner)
JSF1018: [/struts2-blank] Configuration option 'com.sun.faces.duplicateJARPattern' set to
'^tmp\d+(\S*\.jar)'
2012-05-07 13:11:38,008 FINE  [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner)
No FacesServlet found in deployment descriptor - bypassing configuration
2012-05-07 13:11:38,084 ERROR [org.apache.struts2.dispatcher.Dispatcher] (HDScanner) Dispatcher
initialization failed
Unable to load configuration. - Class: java.io.File
File: File.java
Method: <init>
Line: 366 - java/io/File.java:366:-1
	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:436)
	at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
	at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:90)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
        <snip>

Caused by: Caught exception while loading file struts-default.xml - Class: java.io.File
File: File.java
Method: <init>
Line: 366 - java/io/File.java:366:-1
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:950)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:155)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:122)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:205)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
	... 71 more
Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
	at java.io.File.<init>(File.java:366)
	at com.opensymphony.xwork2.util.FileManager$JBossFileRevision.build(FileManager.java:240)
	at com.opensymphony.xwork2.util.FileManager.loadFile(FileManager.java:143)
	at com.opensymphony.xwork2.util.FileManager.loadFile(FileManager.java:105)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:935)
	... 75 more
2012-05-07 13:11:38,087 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/struts2-blank]]
(HDScanner) Exception starting filter struts2
Unable to load configuration. - Class: java.io.File
File: File.java
Method: <init>
Line: 366 - java/io/File.java:366:-1




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


Mime
View raw message