[appfuse-user] One to many mapping question

2007-02-10 Thread 23455432
I have a user object with whom i would like to relate multiple "persons" that contain some trivial information. I am new to the whole appfuse/webdev. This is what I have done so far: Added a set of persons (i call them contacts) to the user doing the following: /** * @hibernate.set table=

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-10 Thread Matt Raible
You should put applicationContext-resources.xml in core/src/test/resources and have it use DriverManagerDataSource instead of the DBCP's. http://tinyurl.com/2bbrlx You shouldn't need to maintain two copies of applicationContext.xml - you should have your managers and DAOs defined in src/main/res

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-10 Thread Richard Oss
Using m3, I had to copy applicationContext-resources.xml and applicationContext.xml to core/src/test/resource as well as modify parent pom.xml to add dependency on commons-dbcp.1.2. But, this way, I now have to maintain 2 copies of application*.xml. Tuncay A. wrote: > > It didn't work by dep

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-10 Thread Tuncay A.
Thx Guys!, It works now :-) The way it works: 1. Checkout a fresh archetype jsf-moduler for m4-SNAPSHOT. 2. Moved applicationContext.xml from core web module to core/src/main/resources. 3. Created an applicationContext-resources.xml inside core/src/test/resources/ and changed to use a DriverMan

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-10 Thread Matt Raible
Unfortunately, I've never had an SMTP server that required authentication to test against. I thought this would work, but apparently it doesn't. Matt On 2/10/07, paulie <[EMAIL PROTECTED]> wrote: I tried a few attempts with the same result. Here is the summary: Modified src\main\respirces\

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-10 Thread paulie
paulie wrote: > > I tried a few attempts with the same result. Here is the summary: > > Modified src\main\respirces\mail.properties: > > [EMAIL PROTECTED] > mail.debug=false > mail.transport.protocol=smtp > mail.host=smtp.sbcglobal.yahoo.com > [EMAIL PROTECTED] > mail.password=mypassword > ma

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-10 Thread paulie
I tried a few attempts with the same result. Here is the summary: Modified src\main\respirces\mail.properties: [EMAIL PROTECTED] mail.debug=false mail.transport.protocol=smtp mail.host=smtp.sbcglobal.yahoo.com [EMAIL PROTECTED] mail.password=mypassword mail.port=25 Added src\site\webapp\WEB-IN

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-10 Thread Matt Raible
On 2/10/07, Tuncay A. <[EMAIL PROTECTED]> wrote: 1. I made a new fresh checkout of achetype m3 and got the problem. Then in super-pom modified the version of appfuse to use m4-SNAPSHOT and still get the prob. 2. Another issue is the tutorial about the testing part of Hibernate dao using Person

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-10 Thread Matt Raible
On 2/10/07, Tuncay A. <[EMAIL PROTECTED]> wrote: 1. I made a new fresh checkout of achetype m3 and got the problem. Then in super-pom modified the version of appfuse to use m4-SNAPSHOT and still get the prob. You're using a modular project correct? 2. Another issue is the tutorial about the

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-10 Thread Tuncay A.
1. I made a new fresh checkout of achetype m3 and got the problem. Then in super-pom modified the version of appfuse to use m4-SNAPSHOT and still get the prob. 2. Another issue is the tutorial about the testing part of Hibernate dao using Person example. The part of the tutorial that is about c

Re: [appfuse-user] AppFuse 2.0 + JavaZone 2007 = ?

2007-02-10 Thread viggo
hmm... - "Kickstart Web 2.0 development with AppFuse" - "Web 2.0 development made easy with AppFuse" - "You never loose with AppFuse" ...or something else;) Matt Raible-3 wrote: > > I like it - what's a good title? > > On 2/10/07, viggo <[EMAIL PROTECTED]> wrote: >> >> >> An agenda could pe

Re: [appfuse-user] Something must be wrong with the tutorials, Or I am doing sth wrong.

2007-02-10 Thread Matt Raible
On 2/9/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Hi All, I checked out the appfuse-demos from code.google.com. And I'm trying to see the BUILD SUCCESSFUL message in any of the types(struts2,tapestry,jsf) but I could not manage. It gives the error. I tried it with two different computers and

Re: [appfuse-user] AppFuse 2.0 + JavaZone 2007 = ?

2007-02-10 Thread Matt Raible
I like it - what's a good title? On 2/10/07, viggo <[EMAIL PROTECTED]> wrote: An agenda could perhaps be: - AppFuse philosophy (5min) - Frameworks supported (15min) - Demo (30min) - Project generation - Add something web 2.0 flashy thing on top of it ;) - Web frameworks 2007: What's hot, a

Re: [appfuse-user] AppFuse 2.0 + JavaZone 2007 = ?

2007-02-10 Thread viggo
An agenda could perhaps be: - AppFuse philosophy (5min) - Frameworks supported (15min) - Demo (30min) - Project generation - Add something web 2.0 flashy thing on top of it ;) - Web frameworks 2007: What's hot, and what's not (10min) Matt Raible-3 wrote: > > I might be able to be talked i

Re: [appfuse-user] AppFuse 2.0 + JavaZone 2007 = ?

2007-02-10 Thread Matt Raible
I might be able to be talked into it - what kind of talk would you like to see? Matt On 2/10/07, viggo <[EMAIL PROTECTED]> wrote: Will any of you hardcore AppFuse developers be promoting AppFuse on JavaZone in Norway (Oslo) this year? http://www.javazone.no/web/show.do?page=152&articleid=504

Re: [appfuse-user] add jar to depndencies

2007-02-10 Thread Matt Raible
Is it an internal JAR, or something that could be in Maven's repo? You should be able to use the install-file plugin: http://maven.apache.org/plugins/maven-install-plugin/usage.html If you add the JAR to your pom.xml and then run "mvn install" - it should tell you the command you'll need to ins

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-10 Thread Matt Raible
Did you start with m3 or are you trying to upgrade from m2? Matt On 2/10/07, Tuncay A. <[EMAIL PROTECTED]> wrote: Hi, I tried to run Person dao tutorial for appfuse 2. I have been using m3 and m4 without result: I get following error: TestFindPersonByLastName(net.jsync.dao.PersonDaoTest)

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-10 Thread viggo
This issue is related to this one: http://www.nabble.com/Error-creating-bean-with-name-%27sessionFactory%22-tf3196130s2369.html I think, if I'm not wrong, that you have to update this dependency in pom.xml: org.appfuse appfuse-service 2.0-m4-SNAPSHOT

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-10 Thread viggo
Here is what Matt sent me in email: 1. Moved applicationContext.xml from web module to core/src/main/resources. 2. Changed applicationContext-resources.xml

[appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-10 Thread Tuncay A.
Hi, I tried to run Person dao tutorial for appfuse 2. I have been using m3 and m4 without result: I get following error: TestFindPersonByLastName(net.jsync.dao.PersonDaoTest) Time elapsed: 0.579 sec <<< ERROR! org.springframework.beans.factory.BeanCreationException: Error creating bean with

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-10 Thread Tuncay A.
It didn't work by depending the super pom to m4-SNAPSHOT. Get following error: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/E:/Workspace/Repositories/m2/org/appfuse/appfuse-hibernate/2.0-m4-SNAPSHOT/appfuse-hibernate-2.0-m4-SNAPSHOT.jar!/applicationContext-dao.xml]:

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-10 Thread Tuncay A.
Ok, I will give a try. How exactly can I try it ? As an achetype or configure my current m3 to depend on m4-snapshot and how? Thx in advance. Tuncay A. wrote: > > Hi, > > Is this fixed? I'm using JSF moduler M3 archetype (without migration). I > get same #1 prob. > > What is status for this

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-10 Thread viggo
I think the solution was to use the m4-SNAPSHOT version. Please give it a try:) Tuncay A. wrote: > > Hi, > > Is this fixed? I'm using JSF moduler M3 archetype (without migration). I > get same #1 prob. > > What is status for this? > > What happend with the fix for one > > Matt Raible-3 wrot

[appfuse-user] add jar to depndencies

2007-02-10 Thread ros
Hi! I wnt to use jar not from Maven2 repository. How I can add it to maven2 depencencies? Thanks. -- View this message in context: http://www.nabble.com/add-jar-to-depndencies-tf3205366s2369.html#a8900851 Sent from the AppFuse - User mailing list archive at Nabble.com. -

[appfuse-user] AppFuse 2.0 + JavaZone 2007 = ?

2007-02-10 Thread viggo
Will any of you hardcore AppFuse developers be promoting AppFuse on JavaZone in Norway (Oslo) this year? http://www.javazone.no/web/show.do?page=152&articleid=5049 -- View this message in context: http://www.nabble.com/AppFuse-2.0-%2B-JavaZone-2007-%3D---tf3204829s2369.html#a8899426 Sent from t

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-10 Thread Tuncay A.
Hi, Is this fixed? I'm using JSF moduler M3 archetype (without migration). I get same #1 prob. What is status for this? What happend with the fix for one Matt Raible-3 wrote: > > If you want to zip up and send me your project, I can try to fix #1. The > solution I provided seems like it sho