Re: [appfuse-user] UserActionTest testSaveConflictingUser testcase failing

2009-12-11 Thread Matt Raible
Unfortunately, my only response is it appears that AppFuse/Hibernate doesn't work well with Oracle XE. I wish I had a better answer for you, but I don't. I'd suggest using MySQL and logging an issue against 2.1.0-M1 and we'll try to fix it before the final release. Matt On Fri, Dec 11, 2009 at 3:

Re: [appfuse-user] UserActionTest testSaveConflictingUser testcase failing

2009-12-11 Thread rocksjj
The Oracle XE is a free download. Its the developer's version. I change the pom.xml to select the oracle plugin configuration and then integrate with installed tomcat. That's where I ran into this issue. Is there any document to get this working. I am trying the Struts version of Appfuse (multiple

Re: [appfuse-user] UserActionTest testSaveConflictingUser testcase failing

2009-12-10 Thread Matt Raible
Can you please provide the steps to reproduce? Does Oracle XE have a Mac version I can use? On Dec 10, 2009, at 5:35 PM, rocksjj wrote: I straightaway tried the application on Oracle XE. I commented out the two testcases and compiled it fully and deployed the app on Tomcat Server. Integr

Re: [appfuse-user] UserActionTest testSaveConflictingUser testcase failing

2009-12-10 Thread rocksjj
I straightaway tried the application on Oracle XE. I commented out the two testcases and compiled it fully and deployed the app on Tomcat Server. Integration doesn't seem to be smooth. I am able to see the updates in the Oracle database when I add a user but the testcase fails if rerun after uncom

Re: [appfuse-user] UserActionTest testSaveConflictingUser testcase failing

2009-12-10 Thread Matt Raible
Does it work if you run it against MySQL or H2? On Thu, Dec 10, 2009 at 2:53 AM, rocksjj wrote: > > I am attaching the testcase code as well. > > public void testSaveConflictingUser() throws Exception { >UserManager userManager = (UserManager) > applicationContext.getBean("userManager");

Re: [appfuse-user] UserActionTest testSaveConflictingUser testcase failing

2009-12-10 Thread rocksjj
I am attaching the testcase code as well. public void testSaveConflictingUser() throws Exception { UserManager userManager = (UserManager) applicationContext.getBean("userManager"); User user = userManager.getUserByUsername("user"); user.setPassword("user"); user.s