Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-14 Thread Lukasz Lenart
2010/9/15 abhishek jain : > I have the following in my bin/catalina.sh > > JAVA_OPTS="$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" I think, you must lower the numbers, it's giving 2,5G in totla and as I remember JV

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-14 Thread abhishek jain
> On Fri, Jul 9, 2010 at 6:10 PM, Brian Thompson wrote: > >> Oh, I misunderstood. I thought you were seeing this during >> development, not when running the app on a remote server. >> >> In this case, you will need to update the Catalina startup script. >> These pages have more info: >> >> >> http

Re: Problem with ActionForward

2010-09-14 Thread jeffo1b
Update: the jsp I am trying to load (Contracts.jsp) has 3 included files in it. When I changed the forward mapping from ("/pages/Contracts.jsp") to one of the included files ("/pages/message.jsp") it loaded correctly. jeffo1b wrote: > > Also, I am using Struts 1.3. > > jeffo1b wrote: >>

AW: [S2] trim textfield

2010-09-14 Thread Adrian Ost
This one worked for me. public class StringTrimInterceptor extends AbstractInterceptor { /* (non-Javadoc) * @see com.opensymphony.xwork2.interceptor.AbstractInterceptor#intercept(com.opensymphony.xwork2.ActionInvocation) */ @Override public String intercept(ActionInvoca

struts2 problem

2010-09-14 Thread sepid rahimi
hi I created a struts2spring project(in maven structure) and i'm going to write a result type that use from it in my actions and deployed in tomcat but i have this problem: java.lang. IllegalStateException: Must have the StrutsPrepareFilter execute before this one org.apache.struts2.dispatc

Re: Problem with ActionForward

2010-09-14 Thread jeffo1b
Also, I am using Struts 1.3. jeffo1b wrote: > > I submit a very simple form to an action, the code in the action class > finds the appropriate forward, and then control is handed off to the > framework. no errors are generated, but i get a "File Download" popup > window that asks, "Do you wan

Problem with ActionForward

2010-09-14 Thread jeffo1b
I submit a very simple form to an action, the code in the action class finds the appropriate forward, and then control is handed off to the framework. no errors are generated, but i get a "File Download" popup window that asks, "Do you want to save this file, or find a program online to open it?

Re: Chaining Issue With Struts 2.2.1

2010-09-14 Thread Lukasz Lenart
You can put your two cents here https://issues.apache.org/jira/browse/WW-3488 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...

Chaining Issue With Struts 2.2.1

2010-09-14 Thread Brice Roncace
I've been using a global-results mapping to chain exceptions to an exception handler action: error /WEB-INF/jsp/error.jsp My errorAction has a setException(Exception ex) method on it expecting the chain interceptor to set this value. This has worked beautifully prior to upg

Re: Submit with several methods in Struts 2.2

2010-09-14 Thread hernan gonzalez
Has it been included in the JIRA tracker? https://issues.apache.org/jira/browse/WW I don't see it Hernán On Tue, Sep 14, 2010 at 6:18 AM, Maqsud Mohammad < maqsud.moham...@ratedpeople.com> wrote: > i raised this issue as a bug but havent got any updates

Re: Struts2 and Maven Archetypes

2010-09-14 Thread Lukasz Lenart
2010/9/14 Roland T. Craddolph : > I started messing around with some more and option 6 didn't work, it has a > build failure. Could you register an issue with attached error log? http://issues.apache.org/jira/browse/WW Thanks in advance -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapi

RE: Struts2 and Maven Archetypes

2010-09-14 Thread Roland T. Craddolph
Ok. I started messing around with some more and option 6 didn't work, it has a build failure. Roland T. Craddolph Amagatto Solutions LLC Principal Member and Lead Architect Email: rcraddo...@amagatto.com Website: http://www.amagatto.com -Original Message- From: Dave Newton [mailto:dav

Re: Struts2 and Maven Archetypes

2010-09-14 Thread Dave Newton
That's a directory structure, not a package structure. The archetype will put the source in the right place for Maven. On Tue, Sep 14, 2010 at 12:53 PM, Roland T. Craddolph wrote: > Is there a standard like src/main/java?  I'm trying to follow some of the > Google examples for project developmen

RE: Struts2 and Maven Archetypes

2010-09-14 Thread Roland T. Craddolph
Is there a standard like src/main/java? I'm trying to follow some of the Google examples for project development (mostly RCP for the time being), but I've been in several Java developing environments that don't have the same layout when it comes to Java development. Roland T. Craddolph Amagat

Re: Struts2 and Maven Archetypes

2010-09-14 Thread Dave Newton
The root of your package structure. On Tue, Sep 14, 2010 at 11:50 AM, Roland T. Craddolph wrote: > After you enter the value for groupId, artifactId, and version, you have to > enter in the value for package I attached a screen shot of an example of what > I'm talking about.  I'm just wondering

RE: Struts2 and Maven Archetypes

2010-09-14 Thread Roland T. Craddolph
After you enter the value for groupId, artifactId, and version, you have to enter in the value for package I attached a screen shot of an example of what I'm talking about. I'm just wondering what would be recommended to put there. Roland T. Craddolph Amagatto Solutions LLC Principal Member an

Re: [S2] trim textfield

2010-09-14 Thread mailtolouis2020-struts
Hi Dave, Hope u can commit it when u free, it quite useful though From: Dave Newton To: Struts Users Mailing List Sent: Tue, September 14, 2010 3:55:03 PM Subject: Re: [S2] trim textfield Not by default. I'd probably just write an interceptor with optional

Struts 2 Ghosting out question

2010-09-14 Thread David Denton
(Sorry didn't mean to hijack the "Submit with several methods in Struts 2.2" subject from the previous post...resending this) I am using Struts 2 tags. Is there an easy way for me to "ghost" out one of the above textfields if the other one is clicked/selected? I can do it without using the stru

Re: [S2] trim textfield

2010-09-14 Thread Dave Newton
Not by default. I'd probably just write an interceptor with optional "excludes"... I had one I was going to commit but never did then I was busy for a year. On Tue, Sep 14, 2010 at 10:50 AM, wrote: > Hi, > > In struts2 is there anyway to set to trim the value in textfield or textarea > when it s

[S2] trim textfield

2010-09-14 Thread mailtolouis2020-struts
Hi, In struts2 is there anyway to set to trim the value in textfield or textarea when it set to action/model? Regards LV

Re: Submit with several methods in Struts 2.2

2010-09-14 Thread Ashlon Hill
I am using Struts 2 tags. Is there an easy way for me to "ghost" out one of the above textfields if the other one is clicked/selected? I can do it without using the struts 2 tags but how do you do it with them?                                                   -

Re: Submit with several methods in Struts 2.2

2010-09-14 Thread Maqsud Mohammad
Hello Hernan This was what i faced just a few days ago when we made a decision to upgrade struts from 2.1.6 to 2.2.1 and we just followed the workaround of setting the DynamicMethodInvocation=true, though it was discouraged, i raised this issue as a bug but havent got any updates from the struts2