Re: [appfuse-user] Test fails when looking for newly method added in Appfuse User class

2007-06-06 Thread fadhli
It seems that I had to add the exclusion at the appfuse-${dao.framework} artifact id too. Then all my DAO's and Manager Test will pass. org.appfuse appfuse-${web.framework} ${appfuse.version} warpath

Re: [appfuse-user] maven central repository

2007-06-06 Thread nmall
After I installed the maven proxy, I tried to run maven jetty:run-war on a different machine with pom.xml referrring to the maven-proxy. It gives the following error [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be ret

Re: [appfuse-user] Tomcat SSL

2007-06-06 Thread Nigel in NZ
Here is a rundown of what I did to make SSL work. In the security.xml 1) Add a new filter to the filterChainProxy called channelProcessingFilter. It may already be there but regardless of what the documentation around the internet says it needs to go second, I found, i.e.

Re: [appfuse-user] 2.0 M5: many exception after new installation > $mvn jetty:run-war

2007-06-06 Thread thinkboy
thanks Matt, I got it fixed after added ehcache 1.3.0-beta3 in my pom.xml thanks mraible wrote: > > I believe this is caused by having an old version (1.2.3) of EhCache > in your classpath. If you manually add EhCache 1.3.0-beta3 to your > pom.xml, it should fix the problem. > > Matt > > On

[appfuse-user] maven central repository

2007-06-06 Thread nmall
Hi, I installed maven proxy using the instructions in the link on Appfuse - Sanjiv's blog entry titled Using maven-proxy to setup an internal maven repository for more information. Now, I do need to install the artifacts in this repository, is that right. If so, what is the best way to do it o

[appfuse-user] LazyInitializationExceptions using Hibernate/Spring/Oracle

2007-06-06 Thread keithstevens
Hi all; This seems to be a common issue, but all my searching and reading has not found the particular solution that works for us. We're trying to use Hibernate as our persistance layer for a large enterprisey system. We have annotated POJOs generated from a database using the maven appfuse plu

Re: [appfuse-user] Regarding appfuse:full-source

2007-06-06 Thread fadhli
Duh, silly me, I should have known that the TortoiseSvn has a feature that can easily configure your proxy. But the Subversion itself needs to be configured in your machine too! Because I'm using windows, svn has provided a svn-proxy-template windows registry file that you have to configure yourse

Re: [appfuse-user] CheatSheet-Five-Step-Setup-oracle10g-Spring-Appfuse 2.0 M5

2007-06-06 Thread Sandhu
Can you explain about your application setup. If you are running appfuse 2.0 M5 (Spring Modular+HIbernate) cd into core and run mvn resources:testResources hibernate3:hbm2ddl mvn compile hibernate3:hbm2ddl This will delete and create users into the oracle database.

Re: [appfuse-user] CheatSheet-Five-Step-Setup-oracle10g-Spring-Appfuse 2.0 M5

2007-06-06 Thread peppix
Thanks Shandu, I am following your steps and I have no errors, but when I try to run the app or the integration-test I have the following error, as you can see at the bottom it seems the app cannot access the user_role table, any suggestions? I am using Oracle 10g as the DB, the same app works wit

Re: [appfuse-user] Test fails when looking for newly method added in Appfuse User class

2007-06-06 Thread fadhli
Hi Matt, sorry for the late reply. Yes, I did run mvn clean compile integration-test all in one swoop. But I still got the same error. On 6/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: Did you run "mvn clean" after making the change? On 6/5/07, fadhli <[EMAIL PROTECTED]> wrote: > Hi all, I'm

Re: [appfuse-user] Appfuse websites

2007-06-06 Thread Bryan Noll
Have you had to do things like forward from an ICEfaces page to a Spring MVC page and vice versa? If so, how did you go about doing this? I'm asking because when combining MyFaces and ICEfaces... you do it all in the faces-config.xml. That wouldn't seem like an option with Spring MVC in the

[appfuse-user] CheatSheet-Five-Step-Setup-oracle10g-Spring-Appfuse 2.0 M5

2007-06-06 Thread Sandhu
CheatSheet-Five-Step-Setup-oracle10g-Spring-Appfuse 2.0 M5 Step 1: Install Oracle Driver to your local repository: cd C:\dl\oracle driver\oracle 10.2.0.2.0 mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=oracle.jdbc -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar -DgeneratePom=t

Re: [appfuse-user] Appfuse 2.0 M5 (Modular Spring) - Oracle configuration

2007-06-06 Thread Sandhu
CheatSheet-Five-Step-Setup-oracle10g-Spring-Appfuse 2.0 M5 Step 1: Install Oracle Driver to your local repository: cd C:\dl\oracle driver\oracle 10.2.0.2.0 mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=oracle.jdbc -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar -DgeneratePom=t

Re: [appfuse-user] BindingResult

2007-06-06 Thread Matt Raible
What's the link that's created by the code below? If you manually type that link into your browser, does it go to the correct controller? Matt On 6/6/07, Aled Rhys Jones <[EMAIL PROTECTED]> wrote: I've been debugging my build, and noticed that when I click the link that's supposed to take me to

Re: [appfuse-user] BindingResult

2007-06-06 Thread Aled Rhys Jones
I've been debugging my build, and noticed that when I click the link that's supposed to take me to view a company details, companyForm.html (the file is companyForm.jsp) it goes through the CompanyController again as opposed to the CompanyFormController. Any ideas why it might be doing this?

Re: [appfuse-user] Tomcat SSL

2007-06-06 Thread Philip Barlow
Thanks Nigel, as mentioned before i think this would be beneficial to all of us, i look forward to reading this. Philip Nigel in NZ wrote: Phillip, I have not forgotten this request, I take a fair amount of good info from the Appfuse forum it is time for me to give back. I will post somethin

Re: [appfuse-user] candy 4 appfuse

2007-06-06 Thread Abel Muiño
This is a known issue with Candy for AppFuse that can be tracked to the JRE used to run eclipse. When using Candy for AppFuse, you are not using the mvn command, but the an embedded maven. This means that maven is run with the same jre/jdk you use to run eclipse. For the build to work, you need

Re: [appfuse-user] Selenium Questions

2007-06-06 Thread Matt Raible
On 6/6/07, edsmith <[EMAIL PROTECTED]> wrote: . What's the status of using Selenium with AppFuse? When I generated a new AppFuse application (JSF modular), the web test directory contained WebTests. Correct, Selenium probably won't make it into 2.0 because of time constraints. There's also so

Re: [appfuse-user] jndi datasource config in Jetty

2007-06-06 Thread Jason Brice
PS, if you copy and paste be sure to remove the space I accidentally inserted between value=" and java: value=" java:comp/env/jdbc/SADS" d'oh! On 6/6/07, nmall <[EMAIL PROTECTED]> wrote: Hi, I am trying to configure a jndi datasource thru' my spring beans. I added jetty-env.xml for Jetty

Re: [appfuse-user] jndi datasource config in Jetty

2007-06-06 Thread Jason Brice
Hi, I use Tomcat not Jetty, but I wonder what happens if you use the fully qualified name in the jndiName property like so in your Spring config file: ? Jason On 6/6/07, nmall <[EMAIL PROTECTED]> wrote: Hi, I am trying to configure a jndi datasource thru' my spring beans. I added jett

[appfuse-user] Selenium Questions

2007-06-06 Thread edsmith
. What's the status of using Selenium with AppFuse? When I generated a new AppFuse application (JSF modular), the web test directory contained WebTests. . What's best practice for writing Selenium tests for JSF applications? Is it writing HTML tests/suite and calling the runner from Ant/Maven a

[appfuse-user] candy 4 appfuse

2007-06-06 Thread jpoley
I am trying to use Candy 4 appfuse, but I am getting this message 6/6/07 1:53:49 PM EDT: Reading /psm/pom.xml 6/6/07 1:53:50 PM EDT: Missing: 1) com.sun:tools:jar:1.5.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-

[appfuse-user] jndi datasource config in Jetty

2007-06-06 Thread nmall
Hi, I am trying to configure a jndi datasource thru' my spring beans. I added jetty-env.xml for Jetty to recognize the datasource. However, it still gives me the error framework.beans.factory.BeanCreationException: Error creating bean with name 'da taSource' defined in class path resource [a

Re: [appfuse-user] forms validating before submit

2007-06-06 Thread Jason Thrasher
Created for FileUpload: http://issues.appfuse.org/browse/APF-803 Something seems broken in my validation though, which may be different than the FileUploadAction validation issue. It's as if the struts.xml interceptor isn't honoring it's method excludes: canc

Re: [appfuse-user] AppFuse Code Generation

2007-06-06 Thread Matt Raible
We plan to add this functionality, but haven't had time yet. If you can create the POJO, AppFuse should be able to handle it from there. You should be able to use the hibernate3 plugins' "hbm2java" goal, or many tools (IDEA, Eclipse) have support for generating annotated POJOs from schemas now. M

[appfuse-user] AppFuse Code Generation

2007-06-06 Thread jpoley
Is AppGen able to generate code (java pojo, hibernate,etc) based on a given data model? if not is there an "accepted" tool that works with AppFuse that will do that? I want to use appfuse on several data models, and need to start with the existing data models. thanks in advance jp -- View this

Re: [appfuse-user] forms validating before submit

2007-06-06 Thread Matt Raible
This might be caused by the following change: Sorry - tinyurl didn't let me create a shorter version of this URL for some reason. Matt On 6/6/07, Matt Raib

Re: [appfuse-user] Test fails when looking for newly method added in Appfuse User class

2007-06-06 Thread Matt Raible
Did you run "mvn clean" after making the change? On 6/5/07, fadhli <[EMAIL PROTECTED]> wrote: Hi all, I'm using Appfuse2.0-m5 with Spring MVC Basic. I recently exported the Appfuse core classes into my own project. I followed the instructions to include the following exclusions of the dependenc

Re: [appfuse-user] 2.0 M5: many exception after new installation > $mvn jetty:run-war

2007-06-06 Thread Matt Raible
I believe this is caused by having an old version (1.2.3) of EhCache in your classpath. If you manually add EhCache 1.3.0-beta3 to your pom.xml, it should fix the problem. Matt On 6/6/07, thinkboy <[EMAIL PROTECTED]> wrote: hi , I got an exception after a brand new try on 2.0 m5 scenario: i)

Re: [appfuse-user] forms validating before submit

2007-06-06 Thread Matt Raible
I am able to reproduce this - can you please enter a bug for it in JIRA? http://issues.appfuse.org/browse/APF I suspect it's something to do with the interceptor names and "excludeMethods" - maybe the interceptor names got changed in struts-default. Thanks, Matt On 6/6/07, Jason Thrasher <[EM

Re: [appfuse-user] script issues

2007-06-06 Thread Martin Ravell
Hi Mike, Thankyou sir! I'd narrowed it down to global.js but not yet found the function. All sorted now (but what a pain that was!) Regards Marty > There is a function in global.js called "highlightTableRow" that is > responsible for this behaviour. It does two things: > > 1) It highlights th

Re: [appfuse-user] script issues

2007-06-06 Thread Michael Horwitz
There is a function in global.js called "highlightTableRow" that is responsible for this behaviour. It does two things: 1) It highlights the table row when you move your mouse over it. 2) It navigates to the href of any link () element in the first column if you click on the row. To get rid of t

[appfuse-user] script issues

2007-06-06 Thread Martin Ravell
I have a test project (2m5 Struts2 basic) with a simple couple of model objects having been run through the appfuse:gen / appfuse:install generation stuff and the base code seems to work well. Onto one of the list forms I have added a new column with a link to another action. This link renders cor

Re: [appfuse-user] Struts 2 not clearing error messages

2007-06-06 Thread Philip Barlow
Never mind, i got it working. I changed a few things but I suspect this was being caused by the zero configuration feature. I removed the init params from the filterdispatcher and it works fine now. Philip Barlow wrote: > > Hi, > > Has anyone come across the following in Struts 2: > > I am va

[appfuse-user] Struts 2 not clearing error messages

2007-06-06 Thread Philip Barlow
Hi, Has anyone come across the following in Struts 2: I am validating an input form using struts 2 action validation i.e. MyAction-validation.xml. The validation works fine, however when I resubmit the original error messages are not deleted, they are in fact appended to the original errors. Thi

Re: [appfuse-user] Integrating Appfuse 2.0 and Compass

2007-06-06 Thread Michael Horwitz
You can load 3rd party jars into your local maven repository by following: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html The easiest way to do it is to simply add the dependencies to your project, run a mvn build, and Maven will produce the command you need to run as part of

[appfuse-user] Integrating Appfuse 2.0 and Compass

2007-06-06 Thread sarat.pediredla
We need to integrate appfuse 2.0 with Compass 1.1 for an internal project. The guides available use appfuse 1.x as reference which use the ant build process. Does anyone have a guide for appfuse 2.0 with compass? Most of the steps are similar but I am not familiar with maven and how I can crea

AW: [appfuse-user] Overriding User-Manager

2007-06-06 Thread René Günther
Hi Tobias, maybe just put your own implementation in a 2nd bean definition file. The 2nd definition override the 1st as described in http://www.springframework.org/docs/api/org/springframework/context/support/ ClassPathXmlApplicationContext.html And have a look at the web.xml in src/main/webapp/W

Re: [appfuse-user] cruise control broken unit tests work in eclipse

2007-06-06 Thread Michael Horwitz
I there anything in the CruiseControl logs or in the target/surefire-reports directory in the CruiseControl build area that could help establish the cause of the failure? Mike On 6/6/07, davidhay <[EMAIL PROTECTED]> wrote: Hi I've got a problem when I run unit tests in eclipse or via command

[appfuse-user] cruise control broken unit tests work in eclipse

2007-06-06 Thread davidhay
Hi I've got a problem when I run unit tests in eclipse or via command prompt they work fine. However once submitting into subversion cruise control kicks off a build and fails on the DAO tests. I'm sure that server can connect to the same datasource using locally and it is definitely using the sam

[appfuse-user] Overriding User-Manager

2007-06-06 Thread Tobias Vogel
Hi all, I am currently using a AppFuse 2.0-M5 archetype (Spring-MVC modular) for building a backend for a Spring-RCP app. I ran into some synchronization issues, which I mostly solved - but one. For this purpose I'll need to override the save-Method of the UserManager for debugging (the UserManag

[appfuse-user] 2.0 M5: many exception after new installation > $mvn jetty:run-war

2007-06-06 Thread thinkboy
hi , I got an exception after a brand new try on 2.0 m5 scenario: i) downloaded Spring MVC Basic via mvn archetype:create ii) mvn integration-test iii) mvn jetty:run-ware although, it looks like WARNS only, but , may I know how to resolve them ? pls help [INFO] [jetty:run-war] [INFO] Configuri

[appfuse-user] forms validating before submit

2007-06-06 Thread Jason Thrasher
Some of my web-view forms seem to be validating themselves before they are ever submitted. This is happening for a Struts2-modular AppFuse. Valiation rules defined in XXXAction-validation.xml xwork-validator files seem to be getting run too soon. Does anyone know what might cause this? This al