Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread thufail
Matt, Thanks, to guide me so far. Matt Raible-3 wrote: > > I don't know - if you're not using AppFuse it's very difficult for me > to suggest solutions. > > Sorry, > > Matt > > On Nov 9, 2007, at 11:10 PM, thufail wrote: > >> >> Hi, >> >> Matt, the same error of Lazy exis

Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread Matt Raible
I don't know - if you're not using AppFuse it's very difficult for me to suggest solutions. Sorry, Matt On Nov 9, 2007, at 11:10 PM, thufail wrote: Hi, Matt, the same error of Lazy exist, I dont know what to do please suggest some thing. Matt Raible-3 wrote: jpaFil

Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread thufail
Hi, Matt, the same error of Lazy exist, I dont know what to do please suggest some thing. Matt Raible-3 wrote: > > > jpaFilter > /* > REQUEST > FORWARD > > > On Nov 9, 2007, at 10:22 PM, thufail wrote: > >> >> Hi, >> I am not using Ap

Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread Matt Raible
jpaFilter /* REQUEST FORWARD On Nov 9, 2007, at 10:22 PM, thufail wrote: Hi, I am not using AppFuse. I am using JSF Facelets. .. has to be added in the filter as init- param or where we have to add it. If i add it shows error. mraible wrote:

Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread thufail
Hi, I am not using AppFuse. I am using JSF Facelets. .. has to be added in the filter as init-param or where we have to add it. If i add it shows error. mraible wrote: > > Are you using AppFuse? If so, what version? The > OpenEntityManagerInViewFilter should solve this issue for JPA. You m

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-09 Thread Matt Raible
The key step is at the bottom of the following tutorial: http://xfire.codehaus.org/Spring+QuickStart+Guide You need to register your bean in your applicationContext.xml file. This works for UserService because it's already registered. Matt On Nov 8, 2007 3:39 PM, jackalista <[EMAIL PROTECTED]>

Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread Matt Raible
Are you using AppFuse? If so, what version? The OpenEntityManagerInViewFilter should solve this issue for JPA. You may have to add FORWARD (and REQUEST) if you're seeing this issue on a forward. Matt On Nov 9, 2007 9:29 PM, thufail <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > Thanks for

Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread thufail
Hi Matt, Thanks for your reply. The problem i am facing is using JPA. In my applicationContext.xml, i wont specify anythig like sessionFactory(datasource, HibernateTransactionManager et.,) which is specified in Hibernate, instead i use entityManagerFactory and jpa based transactionManag

Re: [appfuse-user] New to Appfuse....

2007-11-09 Thread Rob Hills
Hi Carlos, Carlos Ortiz wrote: I am new to appfuse, is there any way to learn how to efficiently use it? Your best bet is to start with the "Quick Start" page: http://appfuse.org/display/APF/AppFuse+QuickStart and then move on to the Tutorials: http://appfuse.org/display/APF/Tutorials HTH,

[appfuse-user] New to Appfuse....

2007-11-09 Thread Carlos Ortiz
Hi you all I am new to appfuse, is there any way to learn how to efficiently use it? Do you use MVC or design patterns in production projects?

[appfuse-user] Greetings....and hope...

2007-11-09 Thread Carlos Ortiz
Hi, this is to let you know that i am glad to participate in this mailing list, I hope to help as well you do

Re: [appfuse-user] cannot create mvn Eclipse project...

2007-11-09 Thread Gentledepp
sorry... I do not understand, what you advise me to do! Mike Horwitz wrote: > > Not good. Looking in the AppFuse pom files it looks like AppFuse ships > with > the 5.0.5 driver by default. You may want to try upgrading to the 5.1.x (x > as per the version you have installed). To do so change t

Re: [appfuse-user] Appfuse/Spring MVC app freezing up on Tomcat

2007-11-09 Thread Mike Galassi
Check your tomcat server config. You might have a goofy session limit. Also check the session timeout setting. Hopefully you've already logged into your admin app for tomcat. That will at least show you how many sessions you have active in your webapp. Another idea, Install HttpWatch for your

Re: [appfuse-user] cannot create mvn Eclipse project...

2007-11-09 Thread Michael Horwitz
Not good. Looking in the AppFuse pom files it looks like AppFuse ships with the 5.0.5 driver by default. You may want to try upgrading to the 5.1.x (x as per the version you have installed). To do so change the jdbc.versionproperty in your top level pom file as appropriate. Mike. On 11/9/07, Gent

Re: [appfuse-user] cannot create mvn Eclipse project...

2007-11-09 Thread Gentledepp
Thank you very much! You were absolutely right. Unfortunately, "mvn --version" does not realize, if jDe or just jRe is installed... But that leads me to the next problem. When "mvn jetty:run-war" or "mvn install eclipse:eclipse" is executed the MYSQL5.1 database C R A S H E S as the dbunit

Re: [appfuse-user] Appfuse/Spring MVC app freezing up on Tomcat

2007-11-09 Thread Nathan Anderson
I don't have any idea what the problem may be, but I would suggest installing lambda probe or something that can give you a better idea of what is happening in tomcat while your app is running. http://www.lambdaprobe.org/d/index.htm Nathan - Original Message - From: "John Kwon" <[EMAI

Re: [appfuse-user] Crazy question about transactions

2007-11-09 Thread Michael Horwitz
By default appfuse proxies all classes that extend an interface that ends in the word Manager with a transaction. The simplest way to get it to stop proxying your manager is to call the manager interface DocumentumService (or something similar) and make sure it does not extend any class that ends i

[appfuse-user] Crazy question about transactions

2007-11-09 Thread John Kwon
I have two types of persistence in my app. One uses Hibernate, and goes to SQL Server. Just fine. The other goes to Documentum, and is not compliant with any standard - it has its own api that I call from a service class (reachable from a declared manager bean). If I look at the logs, there see

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-09 Thread Alejandro Castro
Sure I would. I still have no positive results on this but Iĺl keep trying to figure it out and let you know if I can get something working ... alejandro On Nov 8, 2007 5:16 PM, jackalista <[EMAIL PROTECTED]> wrote: > > The fact that you're getting that same page for all of the URLs below > seem

Re: [appfuse-user] cannot create mvn Eclipse project...

2007-11-09 Thread Michael Horwitz
Are you running with a Java JDK or a JRE? Note that maven must be run with a JDK. Also be careful of running maven inside tools like Exclipse - they frequently point to the JRE by default. Mike On 11/9/07, Gentledepp <[EMAIL PROTECTED]> wrote: > > > That doesn't work either. Just produces the sam

Re: [appfuse-user] cannot create mvn Eclipse project...

2007-11-09 Thread Gentledepp
That doesn't work either. Just produces the same errors. Ealden Escañan wrote: > > On Nov 9, 2007 7:39 PM, Gentledepp <[EMAIL PROTECTED]> wrote: >> >> Hi! >> >> At first I have to say: I am an absolute java newbie, but no total >> newbie. >> As far I primarily used .Net technologies, so plea

Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread Matt Raible
Try changing your url-pattern to /* Matt On 11/9/07, thufail <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a problem with LazyInitializationException. > > I am working with JSF+ Spring + JPA + Hibernate. I am using Web Service > also. > > This problem occurs when i am trying to access the List f

Re: [appfuse-user] simple redirect in Struts2 from index.jsp

2007-11-09 Thread Rob Staveley (Tom)
The Functions.java code is effectively what I have in my JSP. That's actually reassuring. Perhaps I am doing the right thing :-) Ealden Escañan wrote: > > On Nov 9, 2007 8:39 PM, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote: >> >> I was after a redirect, but having said that would you be able t

Re: [appfuse-user] problem with dwr when session expire

2007-11-09 Thread Julien C.
Solution 2 seems to be to much complicated for me. so a little timer. thanks Michael. Julien C. Michael Horwitz a écrit : The error you are seeing is because ACEGI re-routes your request to the login page. There are several possible solutions. Two are: 1) As we have done embed a timer with a

[appfuse-user] Appfuse/Spring MVC app freezing up on Tomcat

2007-11-09 Thread John Kwon
Our app seems to run just fine on Tomcat 6/Java 6 for about 20 users for around 10 minutes, and then Tomcat just stops serving requests. After about 10 minutes, it resumes as though nothing ever happened. We tried this on Java 5, Tomcat 5, and we had the same problem. It isn't the displaytag (hu

Re: [appfuse-user] problem with dwr when session expire

2007-11-09 Thread Michael Horwitz
The error you are seeing is because ACEGI re-routes your request to the login page. There are several possible solutions. Two are: 1) As we have done embed a timer with a popup on the page that triggers before the session expiry and re-directs the user to the login page. 2) Provide a separate web

[appfuse-user] problem with dwr when session expire

2007-11-09 Thread Julien C.
Hi, I have a problem with DWR. When I call my dwr function and if my session is expired my callback function is not called. So the function failed silently. firebug just indicate : "Invalid content type: 'text/html; charset=utf-8'" Is there a solution ? Thanks. Julien C. ---

Re: [appfuse-user] cannot create mvn Eclipse project...

2007-11-09 Thread Michael Horwitz
You may want to try this with Java 1.5. I think there may be issues with 1.6 ? Procedure (for a modular project): 1) Run mvn install from the top level project - make sure build works. 2) Run mvn jetty:run-war from the web project. Unless you have a burning need to re-use your domain objects and

[appfuse-user] prolem with dwr when session expire

2007-11-09 Thread Julien C.
Hi, I have a problem with DWR. When I call my dwr function and if my session is expired my callback function is not called. So the function failed silently. firebug just indicate : "Invalid content type: 'text/html; charset=utf-8'" Is there a solution ? Thanks. Julien C.

Re: [appfuse-user] simple redirect in Struts2 from index.jsp

2007-11-09 Thread Ealden Escañan
On Nov 9, 2007 8:39 PM, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote: > > I was after a redirect, but having said that would you be able to access the > value stack using OGNL in combination with ? > > My challenge is getting a page to redirect to a URL, which the action > determines. It is variab

Re: [appfuse-user] simple redirect in Struts2 from index.jsp

2007-11-09 Thread Rob Staveley (Tom)
I was after a redirect, but having said that would you be able to access the value stack using OGNL in combination with ? My challenge is getting a page to redirect to a URL, which the action determines. It is variable. My trick worked, but it looks ugly and I'd like to "do the right thing", if

Re: [appfuse-user] cannot create mvn Eclipse project...

2007-11-09 Thread Ealden Escañan
On Nov 9, 2007 7:39 PM, Gentledepp <[EMAIL PROTECTED]> wrote: > > Hi! > > At first I have to say: I am an absolute java newbie, but no total newbie. > As far I primarily used .Net technologies, so please excuse any "dumb" > questions, that I might ask! :wistle: > > I want do use AppFuse for a modul

Re: [appfuse-user] simple redirect in Struts2 from index.jsp

2007-11-09 Thread Ealden Escañan
On Nov 9, 2007 7:55 PM, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote: > > I wasn't comfortable pulling in JSTL tags to do this (at any rate I couldn't > seem to reference the JSTL core, when I tried in my project), so I did the > following: There's - it doesn't redirect, but maybe it's good enoug

Re: [appfuse-user] simple redirect in Struts2 from index.jsp

2007-11-09 Thread Rob Staveley (Tom)
I wasn't comfortable pulling in JSTL tags to do this (at any rate I couldn't seem to reference the JSTL core, when I tried in my project), so I did the following: <% response.sendRedirect((String)com.opensymphony.xwork2.ActionContext.getContext().getValueStack().findValue("url")); %> ...where th

[appfuse-user] cannot create mvn Eclipse project...

2007-11-09 Thread Gentledepp
Hi! At first I have to say: I am an absolute java newbie, but no total newbie. As far I primarily used .Net technologies, so please excuse any "dumb" questions, that I might ask! :wistle: I want do use AppFuse for a modular project, because I'd like to have a webinterface and a backend, that onl

[appfuse-user] Transaction with dwr

2007-11-09 Thread Julien C.
Hi, ( I'm using appfuse 2M5 spring mvc ) I'm not sure on how my code works but I think it is not the more secure. I have some ajax code (with dwr) which update lots and complex data. my problem is that some data is lost seldom when using this code. So is it possible to use for my method a tra

Re: [appfuse-user] LazyInitializationException again

2007-11-09 Thread thufail
Hi, I have a problem with LazyInitializationException. I am working with JSF+ Spring + JPA + Hibernate. I am using Web Service also. This problem occurs when i am trying to access the List from the service to the Command class which is used by JSF. I iterated and printed the list of objects in

Re: [appfuse-user] AMP gen target help for classes with relationships

2007-11-09 Thread nvin
mraible wrote: > > On Nov 8, 2007 10:25 PM, nvin <[EMAIL PROTECTED]> wrote: >> >> Hi All, >> Does Appfuse generate CRUDL classes for Java objects containing >> relationships automatically? > > No, it does not. > > Matt > > --Thanks,Matt for the quick reply,guess I should have posted before t