struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rene Gielen (JIRA)" <>
Subject [jira] Created: (WW-3121) IllegalArgumentException using struts2-convention-plugin-2.1.6.jar on JBoss
Date Thu, 07 May 2009 20:40:42 GMT
IllegalArgumentException using struts2-convention-plugin-2.1.6.jar on JBoss

                 Key: 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 org.apache.struts2.convention.classloader.ReloadingClassLoader.<init>(
	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.initReloadClassLoader(
	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(
	at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(
	at org.apache.struts2.dispatcher.Dispatcher.init(

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.

View raw message