[appfuse-user] Deploy problem on all Application Servers

2008-09-23 Thread Daniele De Francesco
Hi all, upon deploying on JBoss 4.x, Tomcat 5/6 and Jetty 6 an appfuse jsf-spring-hibernate war artifact, the following issue came up, every time. 2008-09-23 12:31:32.554:/:INFO: Initializing Spring root WebApplicationContext ERROR [main] ContextLoader.initWebApplicationContext(215) | Context i

Re: [appfuse-user] Deploy problem on all Application Servers

2008-09-23 Thread Gordian Yuan
hello , check your war file WEB-INF/lib already have a hibernate.jar there ? Regards gordian On Tue, Sep 23, 2008 at 6:48 PM, Daniele De Francesco < [EMAIL PROTECTED]> wrote: > > Hi all, > > upon deploying on JBoss 4.x, Tomcat 5/6 and Jetty 6 an appfuse > jsf-spring-hibernate war artifact, the

Re: [appfuse-user] Separate database settings for testing, staging and production

2008-09-23 Thread Tarjei Huse
Hi, Martin Homik wrote: > > Change the the default database to hsqldb in the end of the pom: > > > > org.dbunit.ext.hsqldb.HsqldbDataTypeFactory > CLEAN_INSERT > org.hibernate.dialect.HSQLDialect > tmp > hsqldb > hsqldb > 1.8.0.7 > org.hsqldb.jdbcDriver > > sa > > > Add a profile for prod

Re: [appfuse-user] Separate database settings for testing, staging and production

2008-09-23 Thread Martin Homik
To answer your first question: mvn -Pprod jetty:run-war prod is your profile name for the production branch. To answer your second question: I'm not sure, because I did not try it. But you could just set a property it/is/here and access it by ${myVelocityDir} where you need it. Maybe,

Re: [appfuse-user] Deploy problem on all Application Servers

2008-09-23 Thread Daniele De Francesco
Hi, actually in my war there were hibernate-annotations.jar and hibernate-commons-annotations.jar. Even removing them from the war was useless: the scenario has not changed... thx anyway... :-) -- Daniele De Francesco gordian yuan wrote: > > hello , > check your war file WEB-INF/lib already

Re: [appfuse-user] Invoke a Webservice.

2008-09-23 Thread Mauriff
Any ideas? Mauriff wrote: > > Hi, I want invoke a webservice, I'm using the next code: > UserService userService = (UserService) new XFireProxyFactory().create( > new ObjectServiceFactory().create(UserService.class), > "http://localhost:8080/services/UserSer

Re: [appfuse-user] Invoke a Webservice.

2008-09-23 Thread Michael Duergner
The exception looks like XFire assumes that there is a property called accountNotExpired which has no setter method. As I have never worked with XFire I cannot really tell you how to solve the problem with XFire, but for the persistence layer this error would mean you have to declare the property a

[appfuse-user] Appfuse Test Case execution failure

2008-09-23 Thread rjhraman
All, My appcontext-dao.xml has the following entry:- However, the sessionFactory defined in the below hibernate.cfg.xml is not being recognized and I get the following message. Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested excepti

Re: [appfuse-user] Invoke a Webservice.

2008-09-23 Thread Mauri Ferreyra
I tried with a new Entity call Person and the invoke to webservice work!. Thanks! On Tue, Sep 23, 2008 at 12:47 PM, Michael Duergner < [EMAIL PROTECTED]> wrote: > The exception looks like XFire assumes that there is a property called > accountNotExpired which has no setter method. As I have nev

[appfuse-user] org.hibernate.QueryException: could not resolve property Error

2008-09-23 Thread Joey122
I ve created a entity and hooked it all up using Appfuse. Its working fine until I try to modify the criteria to pick up a parameter that is being passed in at which point I see: [code] could not resolve property: abc of: com.proj.proj.model.Person; nested exception is org.hibernate.QueryExcepti