You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rene Gielen (JIRA)" <ji...@apache.org> on 2009/05/07 22:40:42 UTC
[jira] Created: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46256#action_46256 ]
Rene Gielen commented on WW-3121:
---------------------------------
yes, good to bump - the issue with JBoss is way more complicated, since there seems to be a general problem with getting convention configuration setup in JB5, even when class reloading is turned off.
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46191#action_46191 ]
Musachy Barroso commented on WW-3121:
-------------------------------------
Does this problem still occurs without the ReloadingClassLoader? Anyone using JBoss can confirm? If it only happens with the ReloadingClassLoader then it is not critical by itself, I think.
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46612#action_46612 ]
Rene Gielen commented on WW-3121:
---------------------------------
>From a first test, with setting
<constant name="struts.convention.classes.reload" value="false" />
my test code seems to work. Nevertheless, the following exception is thrown:
22:33:50,769 INFO [STDOUT] 2009-08-12 22:33:50,764 [ERROR] (com.opensymphony.xwork2.util.finder.ClassFinder:27) - Unable to read URL [vfsfile:/opt/java/jboss-5.1.0.CR1/server/default/deployers/jbossws.deployer/]
java.lang.NullPointerException
at com.opensymphony.xwork2.util.finder.ClassFinder.jar(ClassFinder.java:463)
at com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinder.java:129)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:352)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:317)
at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
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)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:830)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:263)
at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
22:33:50,769 INFO [STDOUT] .java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)
at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46527#action_46527 ]
Rene Gielen commented on WW-3121:
---------------------------------
Will check today.
> 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.
[jira] Reopened: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso reopened WW-3121:
---------------------------------
the change that I did in xwork(urlSet) had to be rolled back because it would break convention
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46587#action_46587 ]
Musachy Barroso commented on WW-3121:
-------------------------------------
Rene, can you post the stacktrace of the exception with reloading turned off?
> 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.
[jira] Resolved: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-3121.
---------------------------------
Resolution: Fixed
fixed in trunk, convention and xwork need to be updated, make sure to set:
<constant name="struts.convention.action.fileProtocols" value="jar,vfsfile,vfszip" />
to use with jboss
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46589#action_46589 ]
Rene Gielen commented on WW-3121:
---------------------------------
The action mapping is simply missing when reloading is turned off:
20:58:49,713 INFO [STDOUT] 2009-08-11 20:58:49,709 [DEBUG] (net.itneering.demo.struts2evolution.interceptor.TransactionalSessionInterceptor:40) - [doIntercept]: Transaction context created.
20:58:49,946 INFO [STDOUT] 2009-08-11 20:58:49,946 [DEBUG] (net.itneering.demo.struts2evolution.interceptor.TransactionalSessionInterceptor:61) - [doIntercept]: Transaction ended regularly.
20:59:05,033 INFO [STDOUT] 2009-08-11 20:59:05,032 [ERROR] (org.apache.struts2.dispatcher.Dispatcher:27) - Could not find action or result
There is no Action mapped for namespace / and action name employees. - [unknown location]
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:637)
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46526#action_46526 ]
Musachy Barroso commented on WW-3121:
-------------------------------------
Was this fixed with Lukasz changes?
> 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.
[jira] Resolved: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-3121.
---------------------------------
Resolution: Fixed
ok, fixed "again" :). I added a new method to UrlSet to find classes dir inside war files. Double checked on normal apps (running on maven) and convention didnt break this time.
> 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.
[jira] Issue Comment Edited: (WW-3121) IllegalArgumentException
using struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46586#action_46586 ]
Musachy Barroso edited comment on WW-3121 at 8/11/09 11:04 AM:
---------------------------------------------------------------
meh, I was confused with the FileManager changes that Lukasz did , which were not related to this.
was (Author: musachy):
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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46528#action_46528 ]
Rene Gielen commented on WW-3121:
---------------------------------
Nope, no change so far - although I am wondering which changes by Lukasz you are thinking of, since I could not make out related commits yet
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46597#action_46597 ]
Musachy Barroso commented on WW-3121:
-------------------------------------
and:
<constant name="struts.convention.exclude.parentClassLoader" value="jar,vfsfile,vfszip" />
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46192#action_46192 ]
Rene Gielen commented on WW-3121:
---------------------------------
Since class reloading is marked experimental so far, the "default" usage of the convention plugin should behave tolerant to this exception unless the issue can be fixed in detail for a class reloading mechanism to be marked as stable.
> 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.
[jira] Updated: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes Wannemacher updated WW-3121:
--------------------------------
Fix Version/s: (was: 2.1.7)
2.1.8
I'm bumping this to 2.1.8 because I just checked the xwork source and it doesn't appear to have been updated and we just got a release yesterday, so I don't want to hold up Struts 2.1.7 waiting for another.
> 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.
[jira] Commented: (WW-3121) IllegalArgumentException using
struts2-convention-plugin-2.1.6.jar on JBoss
Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46198#action_46198 ]
Rene Gielen commented on WW-3121:
---------------------------------
Added a better error message for now to indicate that class reloading is not supported so far for non-standard URIs such as JBoss vfs+:
To add proper support, XWorks URLUtil needs to be extended to support not only vfszip:
Too late today, will check this tomorrow
> 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.