Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread hernan gonzalez
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,

RE: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Martin Gainty
there must be a translation problem here.. put your struts-core .jar ON the classpath e.g. SET CLASSPATH=struts2-core-.jar;$CLASSPATH export CLASSPATH ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Dies

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
In my ant. build.xml file, I have classpath lib included shown as the following: ---. ${libraries} include struts-core.jar (webapp/WEB-INF/lib/) Compile the so

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Ty Connell
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.

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
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

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread hernan gonzalez
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 wrote: > The most similar question I could find is: > > https://issues.apache.org/jira/browse/WW-2921 > > But did

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
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 bu

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
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-.jar is located in YourWebApp/WEB-INF/lib Yes. it is there. Tomcat 6.0, jdk1.6, ant-1.6.2. If

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Rebecca Case
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 To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: "java.lang.NoClassDefFoundError: org/ap

"java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
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? Tha

Re: Online docs messed up

2010-05-17 Thread Lukasz Lenart
2010/5/14 nuwan chandrasoma : > I also noticed that, i think the wiki .css is messed up, It's because of new Confluence and auto export plugin :-( I can restore the previous version of the css file but it looks like everyday a new export is generated :P Regards -- Łukasz http://www.lenart.org.p

Re: Manipulating Strings with Struts²

2010-05-17 Thread Lukasz Lenart
2010/5/17 Michaël JERUSALMI : > I'm working on a Java Web App under Struts², and i'm having trouble using the > taglib s:if. > I have a test , but instead of writing a test like this test="string == myValue">, > I'd like to write something like this : test="string.contains(myValue)"> , or using

Manipulating Strings with Struts²

2010-05-17 Thread Michaël JERUSALMI
Hi everyone, I'm working on a Java Web App under Struts², and i'm having trouble using the taglib s:if. I have a test , but instead of writing a test like this , I'd like to write something like this : , or using a substring function Do such functions exist ? How to use it ? Thanks for your he

Re: Help, struts 2.1.8 with Struts 2 Full Hibernate Plugin 2.1.3 GA

2010-05-17 Thread Dale Newfield
On 5/16/10 6:50 PM, Fabio Perfetti wrote: Oh! sorry...but i resolved!! all day trying and the problem was that i allocat the dipendenteDao in the method, but i must allocate it as an attribute of action. So i put in the action private DipendenteDAO dipendenteDao = new DipendenteService(); and i

Re: Struts2 + Authorization

2010-05-17 Thread RogerV
Fabio Perfetti wrote: > > Hi all, anyone can suggest me how implement a simple authorization > process? > I looked for Shiro but i am looking for something simple simple > simple...an > interceptor? > > Have a nice day > > I'd suggest that you take a look at Spring Security. It can be simple

Re: Struts2 + Authorization

2010-05-17 Thread Frans Thamura
try to see my cimande project www.sf.net/projects/cimande we have interceptor for security we try to extend the security to share one injection using spring we also can replace the databse user with LDAP but we still need big work to make it cool esp afer see roller's code vrsion 5 -- Frans

Struts2 + Authorization

2010-05-17 Thread Fabio Perfetti
Hi all, anyone can suggest me how implement a simple authorization process? I looked for Shiro but i am looking for something simple simple simple...an interceptor? Have a nice day

Re: More action in one view

2010-05-17 Thread Fabio Perfetti
Thanks a lot!! this is what i want! :D Know i have other problem, but i will open new thread! Thanks all!! 2010/5/17 Paweł Wielgus > Hi Fabio, > using session for storing such data is ok, > so after putting a dipendente object into a session under key > "loggedDipendiente" > You can call it on

Re: More action in one view

2010-05-17 Thread Paweł Wielgus
Hi Fabio, using session for storing such data is ok, so after putting a dipendente object into a session under key "loggedDipendiente" You can call it on jsp like this: (extra space is added!) < s:property value="%{#session.loggedDipendiente.firstName.nome}" /> Mabe only #session.loggedDipendient