struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3810) Struts 2.3.3 fails to deploy on JBoss 5.1
Date Tue, 08 May 2012 14:53:50 GMT

    [ https://issues.apache.org/jira/browse/WW-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270503#comment-13270503
] 

Lukasz Lenart commented on WW-3810:
-----------------------------------

Thanks a lot, I'm waiting for one more thing and will start preparing release of 2.3.4
                
> Struts 2.3.3 fails to deploy on JBoss 5.1
> -----------------------------------------
>
>                 Key: WW-3810
>                 URL: https://issues.apache.org/jira/browse/WW-3810
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Example Applications
>    Affects Versions: 2.3.3
>         Environment: JBoss 5.1 Application Server
>            Reporter: Roland McIntosh
>            Assignee: Lukasz Lenart
>              Labels: jboss
>             Fix For: 2.3.4
>
>
> To duplicate:
> 1. Install JBoss 5.1.
> 2. Copy struts2-blank.war to the "deploy" directory
> Observe that the example application does not deploy, and that the JBoss log file says:
> 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)
> ...
> Caused by: Caught exception while loading file struts-default.xml - Class: java.io.File
> ...
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message