[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-tabpanelfocusedCommentId=46680#action_46680 ] Rene Gielen commented on WW-3121: - Can confirm that the again fix works out fine with my test apps. Thanks Musachy! 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
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)
[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-tabpanelfocusedCommentId=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
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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] 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-tabpanelfocusedCommentId=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
[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-tabpanelfocusedCommentId=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
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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] 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-tabpanelfocusedCommentId=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
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/struts/browse/WW-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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] 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-tabpanelfocusedCommentId=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.