You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/08/11 20:04:59 UTC

[jira] Commented: (WW-3121) IllegalArgumentException using struts2-convention-plugin-2.1.6.jar on JBoss

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

Musachy Barroso commented on WW-3121:
-------------------------------------

meh, I was confused with the FileManager that Lukasz , which were not related to this.

> IllegalArgumentException using struts2-convention-plugin-2.1.6.jar on JBoss
> ---------------------------------------------------------------------------
>
>                 Key: WW-3121
>                 URL: https://issues.apache.org/struts/browse/WW-3121
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.1.6
>         Environment: JBoss 5.0.1GA,  Windows XP Professional Service Pack 3.
>            Reporter: Rene Gielen
>            Assignee: Rene Gielen
>            Priority: Critical
>             Fix For: 2.1.8
>
>
> Reported by Alexander Tenzer on Struts user list:
> I'm trying to deploy a struts 2 web application to a JBoss 5.01GA-Server
> (on Windows System). While this works fine with the Tomcat (5 and 6),
> JBoss throws an IllegalArgumentException. Here is the associated part of
> the stack trace:
> ...
> 09:54:45,583 ERROR [0-SNAPSHOT]] Exception starting filter struts2
> java.lang.IllegalArgumentException: URI scheme is not "file"
> 	at java.io.File.<init>(File.java:366)
> 	at org.apache.struts2.convention.classloader.ReloadingClassLoader.<init>(ReloadingClassLoader.java:53)
> 	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.initReloadClassLoader(PackageBasedActionConfigBuilder.java:241)
> 	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:255)
> 	at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:52)
> 	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:200)
> 	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
> 	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
> 	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
> I have embedded the struts2-convention-plugin-2.1.6.jar. While executing
> the ReloadingClassLoader-Constructor (line 53) the root.toURI() produces
> "vfsmemory://5c4o21o-nqcau3-fuffdssr-1-fuffe5bp-1y/", and with that the
> instantiation of new File(root.toURI()) doesn't work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.