Re: [appfuse-user] appfuse startup problem on tomcat

2006-12-15 Thread Michael Horwitz
Hi, The error relates to your use of JDK 1.4.2_12. Any chance you could use JDK 1.5 in this environment? As a positive side effect you should notice a substantial performance improvement as a result of the upgrade. Mike. On 12/15/06, xiuxiu <[EMAIL PROTECTED]> wrote: Hi, All I try to ru

[appfuse-user] Seeking Framework Help

2006-12-15 Thread Scott Purcell
Hello, I am still debating on a framework for a project. Part of my hesitation is that I would like to be able to put a "pleaseWait" type of message on some specific pages like checkout. Previously I run into a lot of issues where people hit these buttons twice, or do reloads. Anyway, I am

Re: [appfuse-user] appfuse startup problem on tomcat

2006-12-15 Thread Matt Raible
This looks like you're building with JDK 5, but trying to run it with JDK 1.4. Matt On 12/14/06, xiuxiu <[EMAIL PROTECTED]> wrote: Hi, All I try to run the appfuse 1.9.4 on my tomcat, but exception thrown: 2006-12-15 08:57:29 StandardContext[/Appfuse]Error configuring application

Re: [appfuse-user] OpenSessionInViewFilter and IBatis

2006-12-15 Thread Matt Raible
AFAIK, there is no such filter for iBATIS. I'm not sure if iBATIS supports lazy-loading. Matt On 12/14/06, qjm335 <[EMAIL PROTECTED]> wrote: Hi, All. I want to know if there a IBatis corresponding OpenSessionInViewFilter, or does the Hibernate one works for Ibatis? I will try to chec

Re: [appfuse-user] log4j level setting

2006-12-15 Thread Matt Raible
Try: log4j.logger.org.apache.ibatis=DEBUG Matt On 12/15/06, qjm335 <[EMAIL PROTECTED]> wrote: Hi, I'm using Ibatis as the dao layer, and I set log4j.logger.com.ibatis=DEBUG but my dao test log is still the info level. why ? I thought log4j in appfuse is not working correctly, is it so ? __

Re: [appfuse-user] ant setup-db

2006-12-15 Thread maskkkk
Anybody read this yet? I must have fallen under the radar mas wrote: > > When running ant setup-db I get this error... > > > >> BUILD FAILED >> C:\tmp\workspace\OSB\build.xml:756: Schema text failed: Could not parse >> mapping document from file >> C:\tmp\workspace\OSB\build\dao\gen

Re: [appfuse-user] ant setup-db

2006-12-15 Thread Gilberto C Andrade
Did you try the other tasks? ant clean ant webdoclet ant db-create ant db-prepare See all of them: ant -p Did you try to create another project with default settings, for example without change the package name (com.conciliarpress)? > Anybody read this yet? I must have fallen under the radar.

Re: [appfuse-user] ant setup-db

2006-12-15 Thread Jason Brice
I'm just guessing but here are some things to check. Is there in fact a Role.class file where it should be? If not is it possible that there's an error somewhere keeping Role from compiling? Does the Role.hbm.xml look like it was generated OK from the xDoclet tags in the Role.java? Jason On 12

Re: [appfuse-user] ant setup-db

2006-12-15 Thread maskkkk
Okay got it working again Thank you for all of your help! It appears that it had something to do with the jars I had included in my classpath when running the target. (anyone have any idea why?) I only added the following jars: 1. project_home/lib/dbunit-2.1/dbunit-2.1.jar 2. project

Re: [appfuse-user] ant setup-db

2006-12-15 Thread maskkkk
Okay got it working again Thank you for all of your help! It appears that it had something to do with the jars I had included in my classpath when running the target. (anyone have any idea why?) I only added the following jars: 1. project_home/lib/dbunit-2.1/dbunit-2.1.jar 2. project

Re: [appfuse-user] ant setup-db

2006-12-15 Thread maskkkk
Okay got it working again Thank you for all of your help! It appears that it had something to do with the jars I had included in my classpath when running the target. (anyone have any idea why?) I only added the following jars: 1. project_home/lib/dbunit-2.1/dbunit-2.1.jar 2. project

[appfuse-user] race condition

2006-12-15 Thread Luiz Fernando Rodrigues
Hello appfuse users, I created two controllers in my application. One save some entity the other one list the saved entities with a filter (for example, entities created after yesterday). After saving an entity, I redirect to the list controller setting up some filters parameters where the sav

Re: [appfuse-user] race condition

2006-12-15 Thread Bryan Noll
Hmmm... sounds odd to me. IIUC, all if this is happening serially (aka... the display list part is cannot happen until the save part has occurred, you're not spawning a separate thread or anything, but simply redirecting, right?). The only way what you're describing would make sense to me is

Re: [appfuse-user] race condition

2006-12-15 Thread Luiz Fernando Rodrigues
I turned on the DEBUG level for the transaction package. According to the log the transactions are executing serially. I'm copping the log and my redirection code: public ModelAndView salva(HttpServletRequest request, HttpServletResponse response) throws Exception { PedidoCompra pedidoCompra = ob

Re: [appfuse-user] Bean context must contain at least one bean of type org.acegisecurity.util.FilterChainProxy

2006-12-15 Thread Mariella
Hi, I found what was wrong...I had 2 jars of acegi. One under my project/lib and another one under JBossAS/server/defaut/lib. When I remove the one under jboss, it worked. Thanks Mariella. Mariella wrote: > > > H i, > > I am trying to deploy an appfuse application in JBoss AS 4.0.4 but

Re: [appfuse-user] JSTL c tags not working - Appfuse 1.9.4

2006-12-15 Thread maskkkk
Here's a diff of what happens to the lib.properties file when the convert-to-jsp2.xml build script is run: lib.properties (part that is modified) - before: wrote: > > # > # JSTL - http://java.sun.com/products/jsp/jstl/ > # > jstl.version=1.0.6 > jstl.dir=${lib.dir}/jakarta-taglibs/standard-${js

Re: [appfuse-user] OpenSessionInViewFilter and IBatis

2006-12-15 Thread Sanjiv Jivan
Ibatis 2 supports lazy loading but unlike Hibernate does not require an active session. I just users the "current" connection or goes one from the pool if required. http://people.apache.org/dist/ibatis/ibatis.java/docs/iBATIS-SqlMaps-2_en.pdf On 12/15/06, Matt Raible <[EMAIL PROTECTED]> wrote:

[appfuse-user] Sybase EAServer (Web Server) & ASE (Database) with AppFuse

2006-12-15 Thread Saeed Iqbal
Hi I was looking to see if anyone has successfully installed AppFuse on EAServer using ASE as db? I am currently playing with it. Any guidance/ideas would be appreciated Thanks! -saeed -- View this message in context: http://www.nabble.com/Sybase-EAServer-%28Web-Server%29---ASE-%28Database%29-

Re: [appfuse-user] Sybase EAServer (Web Server) & ASE (Database) with AppFuse

2006-12-15 Thread Matt Raible
If it supports Servlets 2.3+, AppFuse should work just fine. If the database is supported by Hibernate, it should work as well. Matt On 12/15/06, Saeed Iqbal <[EMAIL PROTECTED]> wrote: Hi I was looking to see if anyone has successfully installed AppFuse on EAServer using ASE as db? I am curr

Re: [appfuse-user] Sybase EAServer (Web Server) & ASE (Database) with AppFuse

2006-12-15 Thread Saeed Iqbal
Yes EAServer supports Servlet 2.3+ and ASE is supported by Hibernate as there is work being done in Hibernate by some other people. I was hoping to see if there are any quick-start tutorials for installing appfuse on them. I guess i"ll have to write them then. -si Matt Raible-3 wrote: > > If

Re: [appfuse-user] Sybase EAServer (Web Server) & ASE (Database) with AppFuse

2006-12-15 Thread Bryan Noll
Go to this page: https://appfuse.dev.java.net/ Search for 'Usage Instructions' and you'll see the tutorials. The only variance to those that I can think of right off the top of my head is that you'll need to specify a different db driver and dialect than what those mention. Other than that, ap

Re: [appfuse-user] Sybase EAServer (Web Server) & ASE (Database) with AppFuse

2006-12-15 Thread Saeed Iqbal
Yes I'm looking for getting to that point so I can start working with Usage Instructions. Do i need to run ant new if I have a different server and different database? If i can just get started, then it'll be easier to find my way forward. Go to this page: https://appfuse.dev.java.net/ Search

Re: [appfuse-user] Sybase EAServer (Web Server) & ASE (Database) with AppFuse

2006-12-15 Thread Saeed Iqbal
I've spent the whole day trying to install AppFuse on EAServer, no success :( Should I keep trying to just install those frameworks i need manually instead? -- View this message in context: http://www.nabble.com/Sybase-EAServer-%28Web-Server%29---ASE-%28Database%29-with-AppFuse-tf2829853s2369.ht

Re: Re: [appfuse-user] log4j level setting

2006-12-15 Thread qjm335
I searched the net, for Ibatis, we should use java.sql=level com.ibatis=level qjm335 2006-12-16 发件人: Matt Raible 发送时间: 2006-12-16 00:25:56 收件人: [email protected] 抄送: 主题: Re: [appfuse-user] log4j level setting Try: log4j.logger.org.apache.ibatis=DEBUG Matt On 12/15/06, qjm335