Re: [appfuse-user] Error executing database operation: CLEAN_INSERT

2007-09-05 Thread Matt Raible
This might help: http://issues.appfuse.org/browse/APF-718 Set your hibernate_sequence to a high enough value so that future insertions do not produce unique key constraint violations. For instance, if your highest key value in any of your tables is 182974, then the following statement would work

Re: [appfuse-user] Error executing database operation: CLEAN_INSERT

2007-09-05 Thread phamvubinh
Hi David, I have the same problem as yours. What error did you find in your sample-data.xml file? My project can be built correctly with MySQL database but not Oracle database , so I don't think the sample-data.xml has a problem... Binh Pham Djohannot wrote: > > I found the origin of the pro

Re: [appfuse-user] Error on Linux with SpringMVC modular RC1

2007-09-05 Thread Matt Raible
Probably because the Jetty plugin got corrupted during the download or something like that. If you're using Maven at a company, it's pretty important that you setup an internal repository so you can isolate yourself from these types of issues - as well as have more control over your dependencies.

Re: [appfuse-user] Error on Linux with SpringMVC modular RC1

2007-09-05 Thread Bob Fleischman
OK. That worked. Thanks Any idea why? Bob mraible wrote: > > If that doesn't work - rm -r ~/.m2/repository and grab a beer while > you wait for everything to download again. > > Matt > > On 9/5/07, Matt Raible <[EMAIL PROTECTED]> wrote: >> mvn clean jetty:run-war >> >> ;-) >> >> On 9/5/07,

Re: [appfuse-user] login.jsp

2007-09-05 Thread Matt Raible
On 9/5/07, nmall <[EMAIL PROTECTED]> wrote: > > Hi, > > Is the username case sensitive in the login.jsp. Also, I found a bug where > once a case incorrect name and password is given, even if the case of the > username is changed to the right one, it ignores the input and gives an > error. Any ide

Re: [appfuse-user] Error on Linux with SpringMVC modular RC1

2007-09-05 Thread Bob Fleischman
No joy for that one. I'll try the full rebuild next but I'm going to sleep now. I'll let you know in the AM. mraible wrote: > > mvn clean jetty:run-war > > ;-) > > On 9/5/07, Bob Fleischman <[EMAIL PROTECTED]> wrote: >> >> I created a SpringMVC modular project using rc1 on my Ubuntu 7.04 linux

[appfuse-user] login.jsp

2007-09-05 Thread nmall
Hi, Is the username case sensitive in the login.jsp. Also, I found a bug where once a case incorrect name and password is given, even if the case of the username is changed to the right one, it ignores the input and gives an error. Any idea why this would happen. Also, why is the struts2 tag

Re: [appfuse-user] Hibernate Calendar version and appgen

2007-09-05 Thread Matt Raible
You can think of it as a bug or a missing feature. We never did anything to handle Calendar, so it seems like more of a missing feature to me. ;-) The good news is you have all the source for AppGen in your project, so you should be able to customize it for your needs. Matt On 9/5/07, mettamara

Re: [appfuse-user] Error on Linux with SpringMVC modular RC1

2007-09-05 Thread Matt Raible
If that doesn't work - rm -r ~/.m2/repository and grab a beer while you wait for everything to download again. Matt On 9/5/07, Matt Raible <[EMAIL PROTECTED]> wrote: > mvn clean jetty:run-war > > ;-) > > On 9/5/07, Bob Fleischman <[EMAIL PROTECTED]> wrote: > > > > I created a SpringMVC modular pr

Re: [appfuse-user] Error on Linux with SpringMVC modular RC1

2007-09-05 Thread Matt Raible
mvn clean jetty:run-war ;-) On 9/5/07, Bob Fleischman <[EMAIL PROTECTED]> wrote: > > I created a SpringMVC modular project using rc1 on my Ubuntu 7.04 linux > desktop following the steps in the Quick Start. When I ran the 'mvn > jetty:run-war' command I got the following error: > > 2007-09-05 22:

[appfuse-user] Error on Linux with SpringMVC modular RC1

2007-09-05 Thread Bob Fleischman
I created a SpringMVC modular project using rc1 on my Ubuntu 7.04 linux desktop following the steps in the Quick Start. When I ran the 'mvn jetty:run-war' command I got the following error: 2007-09-05 22:19:00.757::WARN: Failed startup of context [EMAIL PROTECTED]/,jar:file:/home/bob/clientproj

Re: [appfuse-user] Error while doing mvn install on Appfuse modular RC1.

2007-09-05 Thread Matt Raible
This happens when your internet connection goes out while downloading - try deleting c:\DOCUME~1\fadhli\LOCALS~1\Temp\cargo\installs\ and trying again. Matt On 9/5/07, fadhli <[EMAIL PROTECTED]> wrote: > [INFO] [cargo:start {execution: start-container}] > [INFO] >

[appfuse-user] Error while doing mvn install on Appfuse modular RC1.

2007-09-05 Thread fadhli
[INFO] [cargo:start {execution: start-container}] [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error while expanding c:\DOCUME~1\fadhli\LOCALS~1\Temp\cargo\i

[appfuse-user] Hibernate Calendar version and appgen

2007-09-05 Thread mettamara
I was implementing versioning through hibernate using util.Calendar instead of int (thought it would be nice to double as a time stamp). Has anyone implemented version this way and use AppGen? I am experiencing AppGen issues, the sample data is an Int and the generated screens aren't usuable 'out

Re: [appfuse-user] RC1 UserSecurityAdviceTest fails

2007-09-05 Thread gederer
Hi, I nuked it and created a new application using rc1. Works great. Thanks! Greg gederer wrote: > > ADMIN_ROLE = "ROLE_ADMIN" This is also the value in the role table in the > database. > > > > mraible wrote: >> >> What's the value of your Constants.ADMIN_ROLE? >> >> Matt >> >> >> O

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-05 Thread dev dev
yes Vista. On 9/5/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > Are you on Windows as well? > > On 9/5/07, dev dev <[EMAIL PROTECTED]> wrote: > > i got the same error as Richard. All the properties required by the > > dependencies are missing after running mvn appfuse:full-source. > > > > dev > >

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-05 Thread Matt Raible
Are you on Windows as well? On 9/5/07, dev dev <[EMAIL PROTECTED]> wrote: > i got the same error as Richard. All the properties required by the > dependencies are missing after running mvn appfuse:full-source. > > dev > > > On 9/5/07, Richard Brewster <[EMAIL PROTECTED]> wrote: > > > > Thanks. Th

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-05 Thread dev dev
i got the same error as Richard. All the properties required by the dependencies are missing after running mvn appfuse:full-source. dev On 9/5/07, Richard Brewster <[EMAIL PROTECTED]> wrote: > > > Thanks. That did work! I'll file the bug report. > > Richard > > > > mraible wrote: > > > > Line e

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-05 Thread Richard Brewster
Thanks. That did work! I'll file the bug report. Richard mraible wrote: > > Line ending shouldn't be an issue for the most part because we're not > parsing/replacing things in XML files. We are with the full-source > plugin. We don't *have* to because Maven allows us to build pom.xml > file

Re: [appfuse-user] Error when trying to run mvn appfuse:full-source for core archetype 2.0 RC1

2007-09-05 Thread Matt Raible
Yeah, that's a known issue. Please create an account at http://appfuse.org/signup.action and then send me your username so I can give you JIRA permissions. Thanks, Matt On 9/5/07, dev dev <[EMAIL PROTECTED]> wrote: > now got this error when trying to create a JIRA account :-) > > java.lang.NullP

Re: [appfuse-user] Error when trying to run mvn appfuse:full-source for core archetype 2.0 RC1

2007-09-05 Thread dev dev
now got this error when trying to create a JIRA account :-) java.lang.NullPointerException at com.opensymphony.user.User. (Ljava/lang/String;Lcom/opensymphony/user/ProviderAccessor;)V(User.java:53) at com.opensymphony.user.UserManager.buildEntity (Ljava/lang/String;Lcom/opensymphony/user/provider/

Re: [appfuse-user] Why are base test classes under the src/main/java tree?

2007-09-05 Thread Matt Raible
This issue explains it best: http://issues.appfuse.org/browse/APF-478 Also see the following discussion. http://www.nabble.com/BaseManagerTestCase-tf4329437s2369.html#a12336190 When doing "full-source", we have quite a bit of control. I agree we should enhance it so Base*TestCase files are move

Re: [appfuse-user] Error when trying to run mvn appfuse:full-source for core archetype 2.0 RC1

2007-09-05 Thread dev dev
will do. Thanks Matt On 9/5/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > Can you please enter this as an issue in JIRA? I forgot to test it on > the core archetype - sounds like there's a bug there. > > http://issues.appfuse.org/browse/APF > > Thanks, > > Matt > > On 9/5/07, dev dev <[EMAIL PRO

[appfuse-user] Why are base test classes under the src/main/java tree?

2007-09-05 Thread Richard Brewster
After running mvn appfuse:full-source, there are some base test classes in the src tree. BaseDaoTestCase, BaseManagerTestCase, for example. These are extended by classes in the test tree. I used IntelliJ to refactor these to the test tree and all is still well. Why were they put into the src t

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-05 Thread Matt Raible
Line ending shouldn't be an issue for the most part because we're not parsing/replacing things in XML files. We are with the full-source plugin. We don't *have* to because Maven allows us to build pom.xml files programatically and write them out. However, they don't give us as much control as we'd

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-05 Thread Richard Brewster
Yes, I am on Windows. Line ending haven't been problem (except in some downloaded tutorials). Where are the properties supposed to be defined? The full-source command created dependencies in the core pom.xml under this comment: like: net.sf.ehcache ehcac

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-05 Thread Matt Raible
I just tried this and it worked fine for me. I suspect it didn't work for you because you're on Windows and there's some line ending issues or something like that. Is that true? I'm on OS X. Matt On 9/5/07, Richard Brewster <[EMAIL PROTECTED]> wrote: > > Hi. I created the modular-struts archety

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-05 Thread Richard Brewster
Hi. I created the modular-struts archetype project for RC1. That built and ran OK. Then I ran mvn appfuse:full-source. That completed successfully, but then the project would no longer build. Seems that a lot of properties were no longer defined. The last failure message: 14) net.sf.ehcache

Re: [appfuse-user] Error when trying to run mvn appfuse:full-source for core archetype 2.0 RC1

2007-09-05 Thread Matt Raible
Can you please enter this as an issue in JIRA? I forgot to test it on the core archetype - sounds like there's a bug there. http://issues.appfuse.org/browse/APF Thanks, Matt On 9/5/07, dev dev <[EMAIL PROTECTED]> wrote: > Got this error > > $ mvn appfuse:full-source > [INFO] Scanning for pr

[appfuse-user] Error when trying to run mvn appfuse:full-source for core archetype 2.0 RC1

2007-09-05 Thread dev dev
Got this error $ mvn appfuse:full-source [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'appfuse'. [INFO] - --- [INFO] Building AppFuse Core Application [INFO]task-segment: [appfuse

Re: [appfuse-user] RC1 UserSecurityAdviceTest fails

2007-09-05 Thread gederer
ADMIN_ROLE = "ROLE_ADMIN" This is also the value in the role table in the database. mraible wrote: > > What's the value of your Constants.ADMIN_ROLE? > > Matt > > > On 9/5/07, gederer <[EMAIL PROTECTED]> wrote: >> >> For the moment, I changed UserSecurityAdvice.ACCESS_DENIED to the string

Re: [appfuse-user] RC1 UserSecurityAdviceTest fails

2007-09-05 Thread Matt Raible
What's the value of your Constants.ADMIN_ROLE? Matt On 9/5/07, gederer <[EMAIL PROTECTED]> wrote: > > For the moment, I changed UserSecurityAdvice.ACCESS_DENIED to the string > literal "User not properly authenticated." But, I still get: > > testAddUserAsAdmin(org.appfuse.service.UserSecurityAdv

Re: [appfuse-user] RC1 UserSecurityAdviceTest fails

2007-09-05 Thread gederer
For the moment, I changed UserSecurityAdvice.ACCESS_DENIED to the string literal "User not properly authenticated." But, I still get: testAddUserAsAdmin(org.appfuse.service.UserSecurityAdviceTest) Time elapsed: 0.063 sec <<< ERROR! org.acegisecurity.AccessDeniedException: User not properly auth

[appfuse-user] How to deal with potential stale connections in pool?

2007-09-05 Thread romsrini
We are are getting the following error in the mornings after a night time full of no user activity. I strongly suspect it has to do with stale connections. Any best practices suggestions on how to handle or configure this ?: [lexy] WARN [2007-09-05 07:54:41,047] JDBCExceptionReporter.logException

Re: [appfuse-user] RC1 UserSecurityAdviceTest fails

2007-09-05 Thread Matt Raible
You might compare your UserSecurityAdviceTest (and UserSecurityAdvice class) with the latest ones in SVN. It looks like Acegi might be returning a message instead of AppFuse. Matt On 9/5/07, gederer <[EMAIL PROTECTED]> wrote: > > Hi, > > I just upgraded an existing M5 application to RC1. Running

Re: [appfuse-user] Current best way to use ICEFaces with AppFuse

2007-09-05 Thread Matt Raible
Integration should be easy enough if ICEfaces is available in a public Maven repo. Unfortunately, it doesn't look like it is so you may have to install it locally. http://www.icefaces.org/JForum/posts/list/5494.page If you get all the dependencies worked out and such, we'd be happy to host the de

[appfuse-user] Current best way to use ICEFaces with AppFuse

2007-09-05 Thread Steve Jorgensen
Hi all, I'm getting the impression that ICEFaces might be a good way to implement AJAX in an application with high security requirements, so I'm looking into that. What it the current advice on the best way to use ICEFaces with AppFuse? Thanks, - Steve J. begin:vcard fn:Steve Jorgensen n:Jo

[appfuse-user] RC1 UserSecurityAdviceTest fails

2007-09-05 Thread gederer
Hi, I just upgraded an existing M5 application to RC1. Running integration-test yielded the following: --- Test set: org.appfuse.service.UserSecurityAdviceTest

Re: [appfuse-user] Which Eclipse Project to user for web development?

2007-09-05 Thread Matt Raible
I would download the Java EE version. The regular version doesn't have an XML editor. Matt On 9/5/07, SJ <[EMAIL PROTECTED]> wrote: > > It may be irrelevant question to this forum. Your answer is greatly > appreciated. > > When I am planning to use latest Appfuse 2 with Eclipse, I visited eclips

[appfuse-user] Which Eclipse Project to user for web development?

2007-09-05 Thread SJ
It may be irrelevant question to this forum. Your answer is greatly appreciated. When I am planning to use latest Appfuse 2 with Eclipse, I visited eclipse download page at http://www.eclipse.org/home/categories/enterprise.php. And I found lot of options to get a Eclipse proejct for web develope

Re: [appfuse-user] Field 'DTYPE' doesn't have a default value

2007-09-05 Thread Matt Raible
That's Nabble's advice, not ours. Thanks for pointing it out though. We like to keep AppFuse's community as friendly as possible, so please feel free to post messages to this list w/ anything, from thank yous to "stream of conciousness" type of e-mails. I know that typing of e-mails of problems can

Re: [appfuse-user] Field 'DTYPE' doesn't have a default value

2007-09-05 Thread gederer
It was the following that put me off: Please respect mailing list etiquette: * Quote what you reply to and trim it to only the relevant parts. This provides context for those who will read your message by email. * Avoid small talk such as "Thank you", "Great"... You can send a private em

Re: [appfuse-user] appfuse_2_0_rc1 installation woes

2007-09-05 Thread Matt Raible
First of all, thanks for the detailed e-mail. Comments below... On 9/5/07, Justen Stepka <[EMAIL PROTECTED]> wrote: > A couple of weeks ago I sat down and started doing an investigation of > AppFuse given all the wonderful things Matt has been saying about > Atlassian and how the appfuse project d

Re: [appfuse-user] Appfuse2 - Firefox - Form data disappears‏

2007-09-05 Thread mortalexplorer
I appreciate the response Jesfre, That is definitely another way of doing it and I'll keep that in mind. But for now, because of time and the destination page being static, I'm accomplishing what I want through pop-ups. Jesfre wrote: > > Other way may be doing the link like a submit button

Re: [appfuse-user] appfuse_2_0_rc1 installation woes

2007-09-05 Thread Ealden Escañan
On 9/5/07, Justen Stepka <[EMAIL PROTECTED]> wrote: > A couple of weeks ago I sat down and started doing an investigation of > AppFuse given all the wonderful things Matt has been saying about > Atlassian and how the appfuse project development tools are now > integrated with crowd. > > One of the

[appfuse-user] appfuse_2_0_rc1 installation woes

2007-09-05 Thread Justen Stepka
A couple of weeks ago I sat down and started doing an investigation of AppFuse given all the wonderful things Matt has been saying about Atlassian and how the appfuse project development tools are now integrated with crowd. One of the things I was really excited to see in today's release was the s