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.7
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.