Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
You are doing a hot deploy of your full webapplication inside a Tomcat tree, without restarting it ? If that's the case, I'm not much surprised, hot deploys are rather fragile with respect to class loading issues in my experience. I restart Tomcat in each deploy. All right. Solution is the following: == . jdk1.6, tomcat6, Ant 1.8.1 . ANT deploy due to history reason . Adding undeploy deploy into build.xml file taskdef name=undeploy classname=org.apache.catalina.ant.UndeployTask / target name=undeploy description=Remove web application undeploy url=${tomcat_url} username=${tomcat_username} password=${tomcat_password} path=${tomcat_path} / /target taskdef name=deployclassname=org.apache.catalina.ant.DeployTask / target name=deploy description=Deploy web application deploy url=${tomcat_url} username=${tomcat_username} password=${tomcat_password} path=${tomcat_path} config=ta_hiring.xml / /target Moreover, login in build.xml . undeploy . compile . copy (from, to) . permission . deploy Viola! Finally it works! Thank you for all help! -- Lu Ying On Mon, May 17, 2010 at 5:11 PM, Emi Luem...@encs.concordia.ca wrote: In my ant. build.xml file, I have classpath lib included shown as the following: path id=master-classpath fileset dir=${libraries} include name=*.jar/ /fileset fileset dir=${j2ee-common} include name=**/*.jar/ /fileset /path ---. ${libraries} include struts-core.jar (webapp/WEB-INF/lib/) target name=compile depends=init echoCompile the source files/echo javac srcdir=${source} destdir=${webapp}/WEB-INF/classes classpath refid=master-classpath/ /javac /target Still not find the solution why I have to re-start tomcat after I do ant -property build.xml Thanks a lot! -- Lu Ying if your going to run your struts application (out of container) then you will need struts-core-version.jar on CLASSPATH e.g. dependency groupIdorg.easymock/groupId artifactIdeasymock/artifactId version2.0/version configuration source1.5/source target1.5/target compilerargumentclasspath=$STRUTS2_HOME/core/target/struts2-core-2.1.8.jar;%CLASSPATH%/compilerargument /configuration scopetest/scope /dependency Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 17 May 2010 14:50:47 -0400 From: em...@encs.concordia.ca To: mrc...@yahoo.com CC: user@struts.apache.org; mgai...@hotmail.com Subject: Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem
java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? - Original Message From: Emi Lu em...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
The most similar question I could find is: https://issues.apache.org/jira/browse/WW-2921 But did not find any solutions? Someone knows the solution? Thanks a lot! -- Lu Ying On 05/17/2010 02:50 PM, Emi Lu wrote: Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Are you placing your struts jars in the tomcat lib directory ? If so, try removing from there and placing them inside the war (web application) On Mon, May 17, 2010 at 4:16 PM, Emi Lu em...@encs.concordia.ca wrote: The most similar question I could find is: https://issues.apache.org/jira/browse/WW-2921 But did not find any solutions? Someone knows the solution? Thanks a lot! -- Lu Ying On 05/17/2010 02:50 PM, Emi Lu wrote: Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Hernán J. González http://hjg.com.ar/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Are you placing your struts jars in the tomcat lib directory ? No. jar files are saved under webapp/WEB-INF/lib/ directory. If so, try removing from there and placing them inside the war (web application) I do not use war to deploy the web application. I am using ant to install complied codes. Tried may online docs, still did not find any solution. The confusing part for me is that: I do not make any changes, just restart tomcat6, everything works fine. Otherwise, got org/apache/struts2/util/ObjectFactoryDestroyable error. Thanks a lot! -- Lu Ying On Mon, May 17, 2010 at 4:16 PM, Emi Luem...@encs.concordia.ca wrote: The most similar question I could find is: https://issues.apache.org/jira/browse/WW-2921 But did not find any solutions? Someone knows the solution? Thanks a lot! -- Lu Ying On 05/17/2010 02:50 PM, Emi Lu wrote: Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Greetings, Reading the jira issue below, it seems that the developers believe this to be a Tomcat classloader issue. I know little (read: nothing) about classloaders, but a few observations I have using Google-fu: 1) Classloaders in Tomcat are twitchy, and you may be stuck with this behavior. Unless of course you want to master Tomcat classloaders. 2) Servlet.jar missing or in 2 places can cause issues. 3) Struts core jar file in 2 places can cause issues. This looks like this is happening during a cleanup op (i.e., after you have re-deployed) so maybe it's trying to use a class it *thinks* it has but which has already been removed? I'm curious - any reason why you are not deploying using a war file? It might be interesting to see what happens if you deploy it that way. -Ty On Mon, May 17, 2010 at 3:16 PM, Emi Lu em...@encs.concordia.ca wrote: The most similar question I could find is: https://issues.apache.org/jira/browse/WW-2921 But did not find any solutions? Someone knows the solution? Thanks a lot! -- Lu Ying On 05/17/2010 02:50 PM, Emi Lu wrote: Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
In my ant. build.xml file, I have classpath lib included shown as the following: path id=master-classpath fileset dir=${libraries} include name=*.jar/ /fileset fileset dir=${j2ee-common} include name=**/*.jar/ /fileset /path ---. ${libraries} include struts-core.jar (webapp/WEB-INF/lib/) target name=compile depends=init echoCompile the source files/echo javac srcdir=${source} destdir=${webapp}/WEB-INF/classes classpath refid=master-classpath/ /javac /target Still not find the solution why I have to re-start tomcat after I do ant -property build.xml Thanks a lot! -- Lu Ying if your going to run your struts application (out of container) then you will need struts-core-version.jar on CLASSPATH e.g. dependency groupIdorg.easymock/groupId artifactIdeasymock/artifactId version2.0/version configuration source1.5/source target1.5/target compilerargumentclasspath=$STRUTS2_HOME/core/target/struts2-core-2.1.8.jar;%CLASSPATH%/compilerargument /configuration scopetest/scope /dependency Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 17 May 2010 14:50:47 -0400 From: em...@encs.concordia.ca To: mrc...@yahoo.com CC: user@struts.apache.org; mgai...@hotmail.com Subject: Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590
RE: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
there must be a translation problem here.. put your struts-core .jar ON the classpath e.g. SET CLASSPATH=struts2-core-version.jar;$CLASSPATH export CLASSPATH ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 17 May 2010 16:03:23 -0400 From: em...@encs.concordia.ca To: user@struts.apache.org CC: hgonza...@gmail.com Subject: Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Are you placing your struts jars in the tomcat lib directory ? No. jar files are saved under webapp/WEB-INF/lib/ directory. If so, try removing from there and placing them inside the war (web application) I do not use war to deploy the web application. I am using ant to install complied codes. Tried may online docs, still did not find any solution. The confusing part for me is that: I do not make any changes, just restart tomcat6, everything works fine. Otherwise, got org/apache/struts2/util/ObjectFactoryDestroyable error. Thanks a lot! -- Lu Ying On Mon, May 17, 2010 at 4:16 PM, Emi Luem...@encs.concordia.ca wrote: The most similar question I could find is: https://issues.apache.org/jira/browse/WW-2921 But did not find any solutions? Someone knows the solution? Thanks a lot! -- Lu Ying On 05/17/2010 02:50 PM, Emi Lu wrote: Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619
Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
You are doing a hot deploy of your full webapplication inside a Tomcat tree, without restarting it ? If that's the case, I'm not much surprised, hot deploys are rather fragile with respect to class loading issues in my experience. I restart Tomcat in each deploy. On Mon, May 17, 2010 at 5:11 PM, Emi Lu em...@encs.concordia.ca wrote: In my ant. build.xml file, I have classpath lib included shown as the following: path id=master-classpath fileset dir=${libraries} include name=*.jar/ /fileset fileset dir=${j2ee-common} include name=**/*.jar/ /fileset /path ---. ${libraries} include struts-core.jar (webapp/WEB-INF/lib/) target name=compile depends=init echoCompile the source files/echo javac srcdir=${source} destdir=${webapp}/WEB-INF/classes classpath refid=master-classpath/ /javac /target Still not find the solution why I have to re-start tomcat after I do ant -property build.xml Thanks a lot! -- Lu Ying if your going to run your struts application (out of container) then you will need struts-core-version.jar on CLASSPATH e.g. dependency groupIdorg.easymock/groupId artifactIdeasymock/artifactId version2.0/version configuration source1.5/source target1.5/target compilerargumentclasspath=$STRUTS2_HOME/core/target/struts2-core-2.1.8.jar;%CLASSPATH%/compilerargument /configuration scopetest/scope /dependency Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 17 May 2010 14:50:47 -0400 From: em...@encs.concordia.ca To: mrc...@yahoo.com CC: user@struts.apache.org; mgai...@hotmail.com Subject: Re: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Hi Rebecca, Martin, Could you be having something going crazy with your build scripts or something where the struts core jar isn't getting put in the right spot? check to see if struts2-core-version.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If I restart tomcat, the error is gone. The error is shown only when I re-install source codes and did not reload tomcat. Some possible places that I should pay special attention? I am using ant 1.6.2. Could this cause some potential problems? How come restart tomcat, errors are gone? Thanks a lot! -- Lu Ying - Original Message From: Emi Luem...@encs.concordia.ca To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Thanks a lot -- Lu Ying SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309
RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
http://nani2ratna.wordpress.com/2010/02/18/solution-java-lang-noclassdeffounderror-orgapachestruts2utilobjectfactorydestroyable/ check this if it helps you. Thanks RS Jon Pearson wrote: Well, I got past my problem by providing the name of the action to execute, instead of relying on Tomcat to specify that Struts should execute the default one. I'll play with my configuration later to get that fixed, hopefully it won't be too difficult. -Original Message- From: Jon Pearson Sent: Wednesday, May 20, 2009 12:28 PM To: Struts Users Mailing List Subject: RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Additionally, although it doesn't show up in the log files, when I try to view the application I see a page that includes this stack trace: java.lang.NullPointerException org.apache.struts2.dispatcher.mapper.DefaultActionMapper.getUr iFromActio nMapping(DefaultActionMapper.java:532) org.apache.struts2.dispatcher.ServletActionRedirectResult.exec ute(Servle tActionRedirectResult.java:197) com.opensymphony.xwork2.DefaultActionInvocation.executeResult( DefaultAct ionInvocation.java:361) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:265) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor .doInterce pt(DefaultWorkflowInterceptor.java:163) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.validator.ValidationInterceptor.doInte rcept(Vali dationInterceptor.java:249) org.apache.struts2.interceptor.validation.AnnotationValidation Intercepto r.doIntercept(AnnotationValidationInterceptor.java:68) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor .intercept (ConversionErrorInterceptor.java:122) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIn tercept(Pa rametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIn tercept(Pa rametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.StaticParametersIntercepto r.intercep t(StaticParametersInterceptor.java:148) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(C heckboxInt erceptor.java:93) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.FileUploadInterceptor.intercept (FileUploa dInterceptor.java:235) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.int ercept(Mod elDrivenInterceptor.java:89) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ScopedModelDrivenIntercept or.interce pt(ScopedModelDrivenInterceptor.java:128) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.ProfilingActivationInterceptor. intercept( ProfilingActivationInterceptor.java:104) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.debugging.DebuggingInterceptor. intercept( DebuggingInterceptor.java:267) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ChainingInterceptor.interc ept(Chaini ngInterceptor.java:126) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.PrepareInterceptor.doInter cept(Prepa reInterceptor.java:138) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept( I18nInterc
struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Hello, can someone help me? When I undeploy or redeploy my web application based on struts2 on jboss 4.2.2 I have this error: 13:35:57,788 INFO [TomcatDeployer] undeploy, ctxPath=/PianificazioneWeb, warUrl=.../deploy/PianificazioneWeb.war/ 13:35:57,788 ERROR [BaseModelMBean] Exception invoking method destroy java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:257) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:221) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3757) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4517) at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1163) at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4617) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at ... My web.xml is ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; display-namePianificazioneWeb/display-name context-param param-nametilesDefinitions/param-name param-value/WEB-INF/tiles.xml/param-value /context-param filter filter-namestruts2/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter filter-mapping filter-namestruts2/filter-name url-pattern/*/url-pattern /filter-mapping listener listener-classorg.apache.struts2.tiles.StrutsTilesListener/listener-class /listener welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list ejb-local-ref ejb-ref-nameserv/ServPianificazioneContrattiBeanLocal/ejb-ref-name ejb-ref-typeSession/ejb-ref-type local-home/local-home localpianificazioneEjb.services.ServPianificazioneContratti/local /ejb-local-ref ejb-local-ref ejb-ref-nameserv/ServPianificazioneOpportunitaBeanLocal/ejb-ref-name ejb-ref-typeSession/ejb-ref-type local-home/local-home localpianificazioneEjb.services.ServPianificazioneOpportunita/local /ejb-local-ref ejb-local-ref ejb-ref-nameserv/ServPianificazioneProgettiBeanLocal/ejb-ref-name ejb-ref-typeSession/ejb-ref-type local-home/local-home localpianificazioneEjb.services.ServPianificazioneProgetti/local /ejb-local-ref /web-app My jboss-web.xml is ?xml version=1.0 encoding=UTF-8? !-- * Copyright 2008, Javid Jamae and Peter Johnson * * Licensed under the Apache License, Version 2.0 (the License); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. -- jboss-web loader-repository pianificazioneWeb:loader=LoaderPianificazioneWeb loader-repository-config java2ParentDelegation=false /loader-repository-config /loader-repository ejb-local-ref ejb-ref-nameserv/ServPianificazioneContrattiBeanLocal/ejb-ref-name local-jndi-nameAccoglienza/ServPianificazioneContrattiBean/local/local-jndi-name /ejb-local-ref ejb-local-ref ejb-ref-nameserv/ServPianificazioneOpportunitaBeanLocal/ejb-ref-name local-jndi-nameAccoglienza/ServPianificazioneOpportunitaBean/local/local-jndi-name /ejb-local-ref ejb-local-ref ejb-ref-nameserv/ServPianificazioneProgettiBeanLocal/ejb-ref-name local-jndi-nameAccoglienza/ServPianificazioneProgettiBean/local/local-jndi-name /ejb-local-ref /jboss-web and my struts.xml is ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE struts PUBLIC -//Apache Software Foundation//DTD Struts Configuration 2.0//EN http://struts.apache.org/dtds/struts-2.0.dtd; struts constant name
RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
ObjectFactoryDestroyable class is packaged in $JBOSS_HOME/examples/StrutsWebApp/exploded-archives/StrutsWebApp .war/WEB-INF/lib/struts2-core-version.jar if not there cp $STRUTS2_HOME/lib/struts2-core*.jar $JBOSS_HOME/examples/StrutsWebApp/exploded-archives/StrutsWebApp .war/WEB-INF/lib/struts2-core*.jar Martin __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Wed, 20 May 2009 15:00:39 +0200 From: daniele.delgau...@sociale.it To: user@struts.apache.org Subject: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Hello, can someone help me? When I undeploy or redeploy my web application based on struts2 on jboss 4.2.2 I have this error: 13:35:57,788 INFO [TomcatDeployer] undeploy, ctxPath=/PianificazioneWeb, warUrl=.../deploy/PianificazioneWeb.war/ 13:35:57,788 ERROR [BaseModelMBean] Exception invoking method destroy java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:257) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:221) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3757) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4517) at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1163) at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4617) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at ... My web.xml is ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; display-namePianificazioneWeb/display-name context-param param-nametilesDefinitions/param-name param-value/WEB-INF/tiles.xml/param-value /context-param filter filter-namestruts2/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter filter-mapping filter-namestruts2/filter-name url-pattern/*/url-pattern /filter-mapping listener listener-classorg.apache.struts2.tiles.StrutsTilesListener/listener-class /listener welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list ejb-local-ref ejb-ref-nameserv/ServPianificazioneContrattiBeanLocal/ejb-ref-name ejb-ref-typeSession/ejb-ref-type local-home/local-home localpianificazioneEjb.services.ServPianificazioneContratti/local /ejb-local-ref ejb-local-ref ejb-ref-nameserv/ServPianificazioneOpportunitaBeanLocal/ejb-ref-name ejb-ref-typeSession/ejb-ref-type local-home/local-home localpianificazioneEjb.services.ServPianificazioneOpportunita/local /ejb-local-ref ejb-local-ref ejb-ref-nameserv/ServPianificazioneProgettiBeanLocal/ejb-ref-name
Re: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Thank you for answer, but I have struts2-core-2.0.9.jar in PianificazioneWeb.war/WEB-INF/lib where I also have these jars: struts2-jasperreports-plugin-2.0.9.jar struts2-tiles-plugin-2.0.9.jar tiles-api-2.0.4.jar tiles-core-2.0.4.jar tiles-jsp-2.0.4.jar xwork-2.0.4.jar commons-beanutils-1.7.0.jar commons-chain-1.1.jar commons-collections-3.1.jar commons-configuration-1.0.jar commons-digester-1.7.jar commons-lang-2.1.jar commons-logging-1.0.4.jar commons-validator-1.3.0.jar freemarker-2.3.8.jar log4j-1.2.15.jar ognl-2.6.11.jar oro-2.0.8.jar I think I have a wrong configuration in web.xml or jboss-web.xml Martin Gainty ha scritto: ObjectFactoryDestroyable class is packaged in $JBOSS_HOME/examples/StrutsWebApp/exploded-archives/StrutsWebApp .war/WEB-INF/lib/struts2-core-version.jar if not there cp $STRUTS2_HOME/lib/struts2-core*.jar $JBOSS_HOME/examples/StrutsWebApp/exploded-archives/StrutsWebApp .war/WEB-INF/lib/struts2-core*.jar Martin __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Wed, 20 May 2009 15:00:39 +0200 From: daniele.delgau...@sociale.it To: user@struts.apache.org Subject: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Hello, can someone help me? When I undeploy or redeploy my web application based on struts2 on jboss 4.2.2 I have this error: 13:35:57,788 INFO [TomcatDeployer] undeploy, ctxPath=/PianificazioneWeb, warUrl=.../deploy/PianificazioneWeb.war/ 13:35:57,788 ERROR [BaseModelMBean] Exception invoking method destroy java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:257) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:221) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3757) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4517) at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1163) at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4617) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at ... My web.xml is ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; display-namePianificazioneWeb/display-name context-param param-nametilesDefinitions/param-name param-value/WEB-INF/tiles.xml/param-value /context-param filter filter-namestruts2/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter filter-mapping filter-namestruts2/filter-name url-pattern/*/url-pattern /filter-mapping listener listener-classorg.apache.struts2.tiles.StrutsTilesListener/listener-class /listener welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list ejb-local-ref ejb-ref-nameserv/ServPianificazioneContrattiBeanLocal/ejb-ref-name
RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
.dispatcher.FilterDispatcher.doFilter(FilterDispatcher .java:395) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.jav a:218) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:230) org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFi lterChain.java:56) org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC hain.java:189) java.security.AccessController.doPrivileged(Native Method) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:185) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 86) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 5) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) I have no idea DefaultActionMapper would be throwing a NullPointerException, though... -Original Message- From: Jon Pearson Sent: Wednesday, May 20, 2009 12:26 PM To: Struts Users Mailing List Subject: RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable I'm having this same problem on Tomcat 6. Here's the stack trace: javax.servlet.ServletException: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil .java:294) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(Securi tyUtil.jav a:218) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(Securi tyUtil.jav a:178) at org.apache.catalina.core.ApplicationFilterConfig.release(Appli cationFilt erConfig.java:326) at org.apache.catalina.core.StandardContext.filterStop(StandardCo ntext.java :3744) at org.apache.catalina.core.StandardContext.stop(StandardContext. java:4513) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBa se.java:92 4) at org.apache.catalina.startup.HostConfig.checkResources(HostConf ig.java:10 46) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConf ig.java:29 3) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L ifecycleSu pport.java:117) at org.apache.catalina.core.ContainerBase.backgroundProcess(Conta inerBase.j ava:1337) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProc essor.proc essChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProc essor.proc essChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProc essor.run( ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:254) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterD ispatcher. java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess orImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil .java:276) ... 15 more Caused by: java.lang.ClassNotFoundException: org.apache.struts2.util.ObjectFactoryDestroyable
RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
I'm having this same problem on Tomcat 6. Here's the stack trace: javax.servlet.ServletException: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:294) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.jav a:218) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.jav a:178) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilt erConfig.java:326) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java :3744) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:92 4) at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:10 46) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:29 3) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:117) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.j ava:1337) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proc essChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proc essChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run( ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:254) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher. java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) ... 15 more Caused by: java.lang.ClassNotFoundException: org.apache.struts2.util.ObjectFactoryDestroyable at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader .java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader .java:1233) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 25 more I checked the exploded WAR, and it includes WEB-INF/lib/struts2-core-2.1.6.jar Any ideas? This is immediately after I deploy the WAR, using the Web Application Manager (or by manually copying the WAR into the webapps/ directory). -Original Message- From: Daniele Del Gaudio [mailto:daniele.delgau...@sociale.it] Sent: Wednesday, May 20, 2009 9:01 AM To: user@struts.apache.org Subject: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Hello, can someone help me? When I undeploy or redeploy my web application based on struts2 on jboss 4.2.2 I have this error: 13:35:57,788 INFO [TomcatDeployer] undeploy, ctxPath=/PianificazioneWeb, warUrl=.../deploy/PianificazioneWeb.war/ 13:35:57,788 ERROR [BaseModelMBean] Exception invoking method destroy java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:257) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterD ispatcher.java:221) at org.apache.catalina.core.ApplicationFilterConfig.release(Appli cationFilterConfig.java:332) at org.apache.catalina.core.StandardContext.filterStop(StandardCo ntext.java:3757) at org.apache.catalina.core.StandardContext.stop(StandardContext. java:4517) at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.j ava:1163) at org.apache.catalina.core.StandardContext.destroy(StandardConte xt.java:4617) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at ... My web.xml is ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http
RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
Well, I got past my problem by providing the name of the action to execute, instead of relying on Tomcat to specify that Struts should execute the default one. I'll play with my configuration later to get that fixed, hopefully it won't be too difficult. -Original Message- From: Jon Pearson Sent: Wednesday, May 20, 2009 12:28 PM To: Struts Users Mailing List Subject: RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable Additionally, although it doesn't show up in the log files, when I try to view the application I see a page that includes this stack trace: java.lang.NullPointerException org.apache.struts2.dispatcher.mapper.DefaultActionMapper.getUr iFromActio nMapping(DefaultActionMapper.java:532) org.apache.struts2.dispatcher.ServletActionRedirectResult.exec ute(Servle tActionRedirectResult.java:197) com.opensymphony.xwork2.DefaultActionInvocation.executeResult( DefaultAct ionInvocation.java:361) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:265) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor .doInterce pt(DefaultWorkflowInterceptor.java:163) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.validator.ValidationInterceptor.doInte rcept(Vali dationInterceptor.java:249) org.apache.struts2.interceptor.validation.AnnotationValidation Intercepto r.doIntercept(AnnotationValidationInterceptor.java:68) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor .intercept (ConversionErrorInterceptor.java:122) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIn tercept(Pa rametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIn tercept(Pa rametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.StaticParametersIntercepto r.intercep t(StaticParametersInterceptor.java:148) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(C heckboxInt erceptor.java:93) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.FileUploadInterceptor.intercept (FileUploa dInterceptor.java:235) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.int ercept(Mod elDrivenInterceptor.java:89) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ScopedModelDrivenIntercept or.interce pt(ScopedModelDrivenInterceptor.java:128) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.ProfilingActivationInterceptor. intercept( ProfilingActivationInterceptor.java:104) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.debugging.DebuggingInterceptor. intercept( DebuggingInterceptor.java:267) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.ChainingInterceptor.interc ept(Chaini ngInterceptor.java:126) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.PrepareInterceptor.doInter cept(Prepa reInterceptor.java:138) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.in tercept(Me thodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept( I18nInterc eptor.java:148) com.opensymphony.xwork2.DefaultActionInvocation.invoke(Default ActionInvo cation.java:236) org.apache.struts2.interceptor.ServletConfigInterceptor.interc ept(Servle