You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Derek (JIRA)" <ji...@apache.org> on 2007/10/03 14:52:37 UTC

[jira] Created: (WW-2228) java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher

java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: WW-2228
                 URL: https://issues.apache.org/struts/browse/WW-2228
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.8
         Environment: Suse Enterprise Linux 10, WebLogic Server 9.2 MP2 with BEA JRockit(R) Version R27.3.0-106-83792-1.5.0_11-20070607-1612-linux-x86_64 from BEA Systems, Inc.
            Reporter: Derek
            Priority: Minor


Below is a clip from the logfile showing this error.

2007-10-03 08:07:21,466  INFO - Parsing configuration file [struts-default.xml]
2007-10-03 08:07:21,629  INFO - Parsing configuration file [struts-plugin.xml]
2007-10-03 08:07:21,641  INFO - Parsing configuration file [struts.xml]
2007-10-03 08:07:21,650  WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
2007-10-03 08:07:21,658  INFO - Loading global messages from ApplicationResources
2007-10-03 08:07:21,869  INFO - Initializing Struts-Spring integration...
2007-10-03 08:07:21,870  INFO - Setting autowire strategy to name
2007-10-03 08:07:21,870  INFO - ... initialized Struts-Spring integration successfully
<Oct 3, 2007 8:07:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
at java.lang.Class.getDeclaredFields(Class.java:1715)
at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
at com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
>


We have been able to get around this error by adding the following dependencies to our project:

		<dependency>
			<groupId>velocity</groupId>
			<artifactId>velocity</artifactId>
			<version>1.4</version>
		</dependency>
		<dependency>
			<groupId>velocity-tools</groupId>
			<artifactId>velocity-tools-view</artifactId>
			<version>1.2</version>
		</dependency>


Please note that we do not encounter this issue when running on WebLogic Server 9.2 MP2 on Solaris 8/9 using the Sun Hotspot JRE, only on this configuration of Linux/Jrockit

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


[jira] Resolved: (WW-2228) java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown resolved WW-2228.
---------------------------

    Resolution: Fixed
      Assignee: Don Brown

Since this bug seems to be more related to JRocket than Struts, I'm resolving it by adding a FAQ question that covers JRocket-related issues: http://cwiki.apache.org/confluence/display/WW/JRockit



> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2228
>                 URL: https://issues.apache.org/struts/browse/WW-2228
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>         Environment: Suse Enterprise Linux 10, WebLogic Server 9.2 MP2 with BEA JRockit(R) Version R27.3.0-106-83792-1.5.0_11-20070607-1612-linux-x86_64 from BEA Systems, Inc.
>            Reporter: Derek
>            Assignee: Don Brown
>            Priority: Minor
>             Fix For: 2.1.2
>
>
> Below is a clip from the logfile showing this error.
> 2007-10-03 08:07:21,466  INFO - Parsing configuration file [struts-default.xml]
> 2007-10-03 08:07:21,629  INFO - Parsing configuration file [struts-plugin.xml]
> 2007-10-03 08:07:21,641  INFO - Parsing configuration file [struts.xml]
> 2007-10-03 08:07:21,650  WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
> 2007-10-03 08:07:21,658  INFO - Loading global messages from ApplicationResources
> 2007-10-03 08:07:21,869  INFO - Initializing Struts-Spring integration...
> 2007-10-03 08:07:21,870  INFO - Setting autowire strategy to name
> 2007-10-03 08:07:21,870  INFO - ... initialized Struts-Spring integration successfully
> <Oct 3, 2007 8:07:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> at java.lang.Class.getDeclaredFields(Class.java:1715)
> at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
> at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
> at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
> at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
> at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
> at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
> at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> at com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
> >
> We have been able to get around this error by adding the following dependencies to our project:
> 		<dependency>
> 			<groupId>velocity</groupId>
> 			<artifactId>velocity</artifactId>
> 			<version>1.4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>velocity-tools</groupId>
> 			<artifactId>velocity-tools-view</artifactId>
> 			<version>1.2</version>
> 		</dependency>
> Please note that we do not encounter this issue when running on WebLogic Server 9.2 MP2 on Solaris 8/9 using the Sun Hotspot JRE, only on this configuration of Linux/Jrockit

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


[jira] Commented: (WW-2228) java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42345 ] 

Don Brown commented on WW-2228:
-------------------------------

What I mean is that, in that configuration, Struts is loading a class it usually doesn't.  The ContainerImpl class loads classes for the container but it should be lazy loading the VelocityEngine so that it isn't required.  ContainerImpl doesn't have any references to classes outside its package.

> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2228
>                 URL: https://issues.apache.org/struts/browse/WW-2228
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>         Environment: Suse Enterprise Linux 10, WebLogic Server 9.2 MP2 with BEA JRockit(R) Version R27.3.0-106-83792-1.5.0_11-20070607-1612-linux-x86_64 from BEA Systems, Inc.
>            Reporter: Derek
>            Priority: Minor
>             Fix For: 2.0.12
>
>
> Below is a clip from the logfile showing this error.
> 2007-10-03 08:07:21,466  INFO - Parsing configuration file [struts-default.xml]
> 2007-10-03 08:07:21,629  INFO - Parsing configuration file [struts-plugin.xml]
> 2007-10-03 08:07:21,641  INFO - Parsing configuration file [struts.xml]
> 2007-10-03 08:07:21,650  WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
> 2007-10-03 08:07:21,658  INFO - Loading global messages from ApplicationResources
> 2007-10-03 08:07:21,869  INFO - Initializing Struts-Spring integration...
> 2007-10-03 08:07:21,870  INFO - Setting autowire strategy to name
> 2007-10-03 08:07:21,870  INFO - ... initialized Struts-Spring integration successfully
> <Oct 3, 2007 8:07:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> at java.lang.Class.getDeclaredFields(Class.java:1715)
> at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
> at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
> at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
> at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
> at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
> at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
> at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> at com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
> >
> We have been able to get around this error by adding the following dependencies to our project:
> 		<dependency>
> 			<groupId>velocity</groupId>
> 			<artifactId>velocity</artifactId>
> 			<version>1.4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>velocity-tools</groupId>
> 			<artifactId>velocity-tools-view</artifactId>
> 			<version>1.2</version>
> 		</dependency>
> Please note that we do not encounter this issue when running on WebLogic Server 9.2 MP2 on Solaris 8/9 using the Sun Hotspot JRE, only on this configuration of Linux/Jrockit

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


[jira] Commented: (WW-2228) java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42344 ] 

Antonio Petrelli commented on WW-2228:
--------------------------------------

It's not a classloading problem, but a "missing class" linking problem.
I suppose that "com.opensymphony.xwork2.inject.ContainerImpl" class refers to VelocityEngine directly.

> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2228
>                 URL: https://issues.apache.org/struts/browse/WW-2228
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>         Environment: Suse Enterprise Linux 10, WebLogic Server 9.2 MP2 with BEA JRockit(R) Version R27.3.0-106-83792-1.5.0_11-20070607-1612-linux-x86_64 from BEA Systems, Inc.
>            Reporter: Derek
>            Priority: Minor
>             Fix For: 2.0.12
>
>
> Below is a clip from the logfile showing this error.
> 2007-10-03 08:07:21,466  INFO - Parsing configuration file [struts-default.xml]
> 2007-10-03 08:07:21,629  INFO - Parsing configuration file [struts-plugin.xml]
> 2007-10-03 08:07:21,641  INFO - Parsing configuration file [struts.xml]
> 2007-10-03 08:07:21,650  WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
> 2007-10-03 08:07:21,658  INFO - Loading global messages from ApplicationResources
> 2007-10-03 08:07:21,869  INFO - Initializing Struts-Spring integration...
> 2007-10-03 08:07:21,870  INFO - Setting autowire strategy to name
> 2007-10-03 08:07:21,870  INFO - ... initialized Struts-Spring integration successfully
> <Oct 3, 2007 8:07:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> at java.lang.Class.getDeclaredFields(Class.java:1715)
> at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
> at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
> at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
> at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
> at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
> at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
> at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> at com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
> >
> We have been able to get around this error by adding the following dependencies to our project:
> 		<dependency>
> 			<groupId>velocity</groupId>
> 			<artifactId>velocity</artifactId>
> 			<version>1.4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>velocity-tools</groupId>
> 			<artifactId>velocity-tools-view</artifactId>
> 			<version>1.2</version>
> 		</dependency>
> Please note that we do not encounter this issue when running on WebLogic Server 9.2 MP2 on Solaris 8/9 using the Sun Hotspot JRE, only on this configuration of Linux/Jrockit

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


[jira] Commented: (WW-2228) java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42346 ] 

Antonio Petrelli commented on WW-2228:
--------------------------------------

It seems that the problem is due to the use of the Sitemesh plugin, in whose pom the velocity dependencies are declared optional.


> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2228
>                 URL: https://issues.apache.org/struts/browse/WW-2228
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>         Environment: Suse Enterprise Linux 10, WebLogic Server 9.2 MP2 with BEA JRockit(R) Version R27.3.0-106-83792-1.5.0_11-20070607-1612-linux-x86_64 from BEA Systems, Inc.
>            Reporter: Derek
>            Priority: Minor
>             Fix For: 2.0.12
>
>
> Below is a clip from the logfile showing this error.
> 2007-10-03 08:07:21,466  INFO - Parsing configuration file [struts-default.xml]
> 2007-10-03 08:07:21,629  INFO - Parsing configuration file [struts-plugin.xml]
> 2007-10-03 08:07:21,641  INFO - Parsing configuration file [struts.xml]
> 2007-10-03 08:07:21,650  WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
> 2007-10-03 08:07:21,658  INFO - Loading global messages from ApplicationResources
> 2007-10-03 08:07:21,869  INFO - Initializing Struts-Spring integration...
> 2007-10-03 08:07:21,870  INFO - Setting autowire strategy to name
> 2007-10-03 08:07:21,870  INFO - ... initialized Struts-Spring integration successfully
> <Oct 3, 2007 8:07:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> at java.lang.Class.getDeclaredFields(Class.java:1715)
> at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
> at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
> at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
> at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
> at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
> at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
> at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> at com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
> >
> We have been able to get around this error by adding the following dependencies to our project:
> 		<dependency>
> 			<groupId>velocity</groupId>
> 			<artifactId>velocity</artifactId>
> 			<version>1.4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>velocity-tools</groupId>
> 			<artifactId>velocity-tools-view</artifactId>
> 			<version>1.2</version>
> 		</dependency>
> Please note that we do not encounter this issue when running on WebLogic Server 9.2 MP2 on Solaris 8/9 using the Sun Hotspot JRE, only on this configuration of Linux/Jrockit

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


[jira] Commented: (WW-2228) java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42338 ] 

Don Brown commented on WW-2228:
-------------------------------

Interesting...it must be loading classes that it shouldn't.  I wonder what exact class is causing the exception..


> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2228
>                 URL: https://issues.apache.org/struts/browse/WW-2228
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>         Environment: Suse Enterprise Linux 10, WebLogic Server 9.2 MP2 with BEA JRockit(R) Version R27.3.0-106-83792-1.5.0_11-20070607-1612-linux-x86_64 from BEA Systems, Inc.
>            Reporter: Derek
>            Priority: Minor
>             Fix For: 2.0.12
>
>
> Below is a clip from the logfile showing this error.
> 2007-10-03 08:07:21,466  INFO - Parsing configuration file [struts-default.xml]
> 2007-10-03 08:07:21,629  INFO - Parsing configuration file [struts-plugin.xml]
> 2007-10-03 08:07:21,641  INFO - Parsing configuration file [struts.xml]
> 2007-10-03 08:07:21,650  WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
> 2007-10-03 08:07:21,658  INFO - Loading global messages from ApplicationResources
> 2007-10-03 08:07:21,869  INFO - Initializing Struts-Spring integration...
> 2007-10-03 08:07:21,870  INFO - Setting autowire strategy to name
> 2007-10-03 08:07:21,870  INFO - ... initialized Struts-Spring integration successfully
> <Oct 3, 2007 8:07:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> at java.lang.Class.getDeclaredFields(Class.java:1715)
> at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
> at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
> at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
> at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
> at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
> at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
> at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> at com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
> >
> We have been able to get around this error by adding the following dependencies to our project:
> 		<dependency>
> 			<groupId>velocity</groupId>
> 			<artifactId>velocity</artifactId>
> 			<version>1.4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>velocity-tools</groupId>
> 			<artifactId>velocity-tools-view</artifactId>
> 			<version>1.2</version>
> 		</dependency>
> Please note that we do not encounter this issue when running on WebLogic Server 9.2 MP2 on Solaris 8/9 using the Sun Hotspot JRE, only on this configuration of Linux/Jrockit

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


[jira] Updated: (WW-2228) java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2228:
-----------------------------

    Fix Version/s: 2.0.12

> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2228
>                 URL: https://issues.apache.org/struts/browse/WW-2228
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>         Environment: Suse Enterprise Linux 10, WebLogic Server 9.2 MP2 with BEA JRockit(R) Version R27.3.0-106-83792-1.5.0_11-20070607-1612-linux-x86_64 from BEA Systems, Inc.
>            Reporter: Derek
>            Priority: Minor
>             Fix For: 2.0.12
>
>
> Below is a clip from the logfile showing this error.
> 2007-10-03 08:07:21,466  INFO - Parsing configuration file [struts-default.xml]
> 2007-10-03 08:07:21,629  INFO - Parsing configuration file [struts-plugin.xml]
> 2007-10-03 08:07:21,641  INFO - Parsing configuration file [struts.xml]
> 2007-10-03 08:07:21,650  WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
> 2007-10-03 08:07:21,658  INFO - Loading global messages from ApplicationResources
> 2007-10-03 08:07:21,869  INFO - Initializing Struts-Spring integration...
> 2007-10-03 08:07:21,870  INFO - Setting autowire strategy to name
> 2007-10-03 08:07:21,870  INFO - ... initialized Struts-Spring integration successfully
> <Oct 3, 2007 8:07:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> at java.lang.Class.getDeclaredFields(Class.java:1715)
> at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
> at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
> at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
> at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
> at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
> at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
> at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> at com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
> >
> We have been able to get around this error by adding the following dependencies to our project:
> 		<dependency>
> 			<groupId>velocity</groupId>
> 			<artifactId>velocity</artifactId>
> 			<version>1.4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>velocity-tools</groupId>
> 			<artifactId>velocity-tools-view</artifactId>
> 			<version>1.2</version>
> 		</dependency>
> Please note that we do not encounter this issue when running on WebLogic Server 9.2 MP2 on Solaris 8/9 using the Sun Hotspot JRE, only on this configuration of Linux/Jrockit

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


[jira] Commented: (WW-2228) java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher

Posted by "qiulang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46563#action_46563 ] 

qiulang commented on WW-2228:
-----------------------------

IBM JDK also has this problem, 

bash-3.2# java -fullversion
java full version "JRE 1.6.0 IBM AIX build pap6460sr5-20090529_04 (SR5)"

Exception starting filter struts2
java.lang.NoClassDefFoundError: org.apache.velocity.app.VelocityEngine
	at java.lang.Class.getDeclaredFieldsImpl(Native Method)
	at java.lang.Class.getDeclaredFields(Class.java:543)
	at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
	at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
	at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
	at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
...

Can you let us know which class(es) cause the problem exactly and how did you fix it ?

Thanks a lot

> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine when loading filter org.apache.struts2.dispatcher.FilterDispatcher
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2228
>                 URL: https://issues.apache.org/struts/browse/WW-2228
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>         Environment: Suse Enterprise Linux 10, WebLogic Server 9.2 MP2 with BEA JRockit(R) Version R27.3.0-106-83792-1.5.0_11-20070607-1612-linux-x86_64 from BEA Systems, Inc.
>            Reporter: Derek
>            Assignee: Don Brown
>            Priority: Minor
>             Fix For: 2.1.2
>
>
> Below is a clip from the logfile showing this error.
> 2007-10-03 08:07:21,466  INFO - Parsing configuration file [struts-default.xml]
> 2007-10-03 08:07:21,629  INFO - Parsing configuration file [struts-plugin.xml]
> 2007-10-03 08:07:21,641  INFO - Parsing configuration file [struts.xml]
> 2007-10-03 08:07:21,650  WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
> 2007-10-03 08:07:21,658  INFO - Loading global messages from ApplicationResources
> 2007-10-03 08:07:21,869  INFO - Initializing Struts-Spring integration...
> 2007-10-03 08:07:21,870  INFO - Setting autowire strategy to name
> 2007-10-03 08:07:21,870  INFO - ... initialized Struts-Spring integration successfully
> <Oct 3, 2007 8:07:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
> java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> at java.lang.Class.getDeclaredFields(Class.java:1715)
> at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:102)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
> at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
> at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
> at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
> at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
> at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
> at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
> at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
> at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
> at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:134)
> at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
> at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
> at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> at com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
> >
> We have been able to get around this error by adding the following dependencies to our project:
> 		<dependency>
> 			<groupId>velocity</groupId>
> 			<artifactId>velocity</artifactId>
> 			<version>1.4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>velocity-tools</groupId>
> 			<artifactId>velocity-tools-view</artifactId>
> 			<version>1.2</version>
> 		</dependency>
> Please note that we do not encounter this issue when running on WebLogic Server 9.2 MP2 on Solaris 8/9 using the Sun Hotspot JRE, only on this configuration of Linux/Jrockit

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