Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
Hi Rob/Matt/Anyone else with a suggestion ;), Okay... so I found a problem with the database configuration [I missed the second password field in jdbc.properties]. But apparently there is something else not working. I still can't find catalina.out so I can't see the raw console output anywher

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Rob Hills
Hi Roy, RoyPorter wrote: Rob Hills wrote: Question 2 - I use the Tomcat Maven plugin reasonably successfully on my dev Windows server and anticipate using it to deploy to staging and production Tomcat servers on linux boxes with fewer problems - there's a know issue with redeploying apps t

Re: [appfuse-user] Is there any way to tell the ClassLoader to not load a class upon redeploy?

2007-11-15 Thread Sanjiv Jivan
Did you try adding the SAP JCO jar in the JVM's bootclasspath? Sanjiv On Nov 15, 2007 2:13 PM, caius_swopes <[EMAIL PROTECTED]> wrote: > > I'm using the SAP JCO connector. I have only one appfuse application > running > on one jetty server There are two dll files that must be placed in the > s

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Rob Hills
Hi Nathan, Nathan Anderson wrote: I'm away from that computer right now, so I can't confirm, but now that you mention it... There is only one log file that had any text in it. And as I think back, I know it ended in .log, so I'm thinking it was localhost*.log. The interesting thing is when

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
Hey Roy, Hijack away, I'm not proud :) Actually, the OOME I had was permgen space as well... and that was deploying from my Ubuntu 7.10 laptop to Ubuntu 7.10 server. So that does sound related to me. That was the problem that I haven't started to look at because I wanted to make the manual

Re: [appfuse-user] Is there any way to tell the ClassLoader to not load a class upon redeploy?

2007-11-15 Thread caius_swopes
I never got hot deploy to work on tomcat. I didn't put much effort into trying because I knew that we were going to be using jetty anyway. I'll have to try that but I would guess that I would get the same problems because the server would still try to load the dll file again. RoyPorter wrote:

Re: [appfuse-user] Ajax Table

2007-11-15 Thread J. David Mendoza
It's not DisplayTag and in functionality it doesn't compare you would have to build it... but it's built dynamically with javascript and you could use Ajax... This is the demo in their site... http://getahead.org/dwr/examples/table David M. Raghuveer Rawat wrote: Thanks Mike, I will looked o

Re: [appfuse-user] Doubt on Cookies

2007-11-15 Thread jithesh
can we add additional information to cookies apart from these... thanks melinate wrote: > > I thought that cookies *always* had a value. Here is the javascript for > "setCookie()" in my AppFuse 1.8 app. > > /* This function is used to set cookies */ > function setCookie(name,value,expires,p

Re: [appfuse-user] Java 5 Enums Persistence :: How-to

2007-11-15 Thread tibi
anyone tried to do this with a list of enums?? lets say i want to add a person with which is male and female so instead of private Sex sex; i would like: private List sexs; thanks, tibi celeraman+ wrote: > I will try my best to post a Wiki page under the Persistence Tutorial > section. > > By

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread RoyPorter
Rob, Rob Hills wrote: > > Question 2 - I use the Tomcat Maven plugin reasonably successfully on my > dev Windows server and anticipate using it to deploy to staging and > production Tomcat servers on linux boxes with fewer problems - there's a > know issue with redeploying apps to Tomcat on

Re: [appfuse-user] Is there any way to tell the ClassLoader to not load a class upon redeploy?

2007-11-15 Thread RoyPorter
Does the same thing happen if you're using hot deploying under Tomcat? I've recently left a lead architect position at another company, where the 'DAO layer' was basically SAP JCO calls. I never had the issue you're getting here. I never tried jetty however, the code was based on a version of Eq

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Matt Raible
Did you look in the localhost*.log? That's usually where I find things that aren't logged in catalina.out. Matt On Nov 15, 2007 1:56 PM, Nathan Anderson <[EMAIL PROTECTED]> wrote: > yeah... catalina.out is where I got those two SEVERE messages from. Problem > is that is all that was in there...

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Rob Hills
Hi Nathan, Nathan Anderson wrote: Thanks for the reply. In trying some more I realized that with AppFuse 1.x we needed to "prepare" Tomcat for deployment. Is there still a need for this step? If so what changes need to be made to Tomcat? I don't believe you need to do any preparation (ap

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
I'm away from that computer right now, so I can't confirm, but now that you mention it... There is only one log file that had any text in it. And as I think back, I know it ended in .log, so I'm thinking it was localhost*.log. The interesting thing is when I have set up Tomcat 5.0 on Ubuntu,

[appfuse-user] Is there any way to tell the ClassLoader to not load a class upon redeploy?

2007-11-15 Thread caius_swopes
I'm using the SAP JCO connector. I have only one appfuse application running on one jetty server There are two dll files that must be placed in the system32 folder for the JCO connector to work. One of those dll files is named sapjcorfc.dll. My application works fine when I do mvn jetty:run.

Re: [appfuse-user] Ajax Table

2007-11-15 Thread Raghuveer Rawat
Thanks Mike, I will looked on JMesa. David, Can you pl. give some more information on how to use DWR with DisplayTag lib? On Nov 15, 2007 9:41 AM, J. David Mendoza <[EMAIL PROTECTED]> wrote: > You can use dwr to build a simple one... dwr is already configured in > appfuse... ;) > > Michael Horwi

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
I agree, a full stack trace would be nice :) Apparently I need to play with some more settings to make this happen. I'm noticing that the tomcat process runs as "jsvc". When I've set up tomcat by downloading it rather than from packages it runs as a "java" process. I'm curious now if this di

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
yeah... catalina.out is where I got those two SEVERE messages from. Problem is that is all that was in there... I tried increasing the logging level for Tomcat [specifically for org.apache.catalina.core.StandardContext], but no additional useful information appeared in the log. - Origina

Re: [appfuse-user] Doubt on Cookies

2007-11-15 Thread Matt Raible
I don't believe so. You could make the value delimited by something like | or - and then parse it after getting the value. Matt On Nov 15, 2007 1:12 PM, jithesh <[EMAIL PROTECTED]> wrote: > > > can we add additional information to cookies apart from these... > > thanks > > > > melinate wrote: > >

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-15 Thread dusty
Hey Rob, #1 Can you show me your cancel button? In Appfuse, the Cancel button is actually a submit button that sends the form to your save method. If your Action extends BaseAction it should catch the cancel and abort the operation and return CANCEL. If for some reason you did not extend Base

Re: [appfuse-user] Doubt on Cookies

2007-11-15 Thread Nathan Anderson
I thought that cookies *always* had a value. Here is the javascript for "setCookie()" in my AppFuse 1.8 app. /* This function is used to set cookies */ function setCookie(name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + ex

Re: [appfuse-user] Using groovy in Appfuse

2007-11-15 Thread Carlos Orrego
mmm i am using appfuse 1.8 i think it can be done with spring, but hen i would like to invode service beans written in java from groovy. I will keep you posted thanks Matt, you are my hero!!! :-) On Nov 15, 2007 1:32 PM, Matt Raible <[EMAIL PROTECTED]> wrote: > If you're using 2.0+, it should

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-15 Thread Rob Hills
Hi Dusty, dusty wrote: #1 Can you show me your cancel button? In Appfuse, the Cancel button is actually a submit button that sends the form to your save method. If your Action extends BaseAction it should catch the cancel and abort the operation and return CANCEL. If for some reason you did

[appfuse-user] Using groovy in Appfuse

2007-11-15 Thread Carlos Orrego
I would like to be able to write groovy code on an appfuse application. I found this link for a way to integrate it: http://www.leegrey.com/hmm/2004/10/25/1098732842000.html But it seems way too complex. Is there an easier way to do thi with appfuse? greetings -- Carlos Orrego www.orbitando.com

Re: [appfuse-user] validator

2007-11-15 Thread tibi
i'm not sure. i know its allready in the code base according to this: https://issues.apache.org/struts/browse/WW-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel *Fix Version/s:* 2.1.1

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Matt Raible
If you look in $CATALINA_HOME/logs/catalina.out (or localhost*.log), it should tell you what failed when the app deployed. Matt On Nov 15, 2007 3:44 AM, Nathan Anderson <[EMAIL PROTECTED]> wrote: > Hey folks, > > So I finally have my AppFuse 2 (Struts 2 + Hibernate) webapp ready to deploy > to m

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
Hey Rob, Thanks for the reply. In trying some more I realized that with AppFuse 1.x we needed to "prepare" Tomcat for deployment. Is there still a need for this step? If so what changes need to be made to Tomcat? See below for answers to your questions... - "Rob Hills" <[EMAIL PROTECTE

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-15 Thread dusty
At some point I will try to create some pretty wiki tutorial write ups on the Appfuse siite for this pattern and some other goodies I use regularly. -D Rob Hills wrote: > > Hi All, > > I have an AppFuse 2 + Hibernate + Struts application that includes two > model classes with a one -> many ent

Re: [appfuse-user] Using groovy in Appfuse

2007-11-15 Thread Matt Raible
If you're using 2.0+, it should be easy with the groovy-maven-plugin: http://mojo.codehaus.org/groovy/groovy-maven-plugin/index.html I'm interested in this too - so if you get it working, it'd be great if you could write up a tutorial on the wiki. I'd be happy to edit it. Matt On Nov 15, 2007 1

Re: [appfuse-user] Do GenericManager and GenericDao support parent-child entity handling?

2007-11-15 Thread Michael Horwitz
On the assumption that you have OpenSessionInView filter uncommented, then yes. Transaction boundary is on the manager, so if you are calling multiple managers from a single action during the request, there may be an issue. A lot also depends on the Cascade parameters you have set on your entity re

Re: [appfuse-user] Do GenericManager and GenericDao support parent-child entity handling?

2007-11-15 Thread Rob Hills
Hi Michael, Michael Horwitz wrote: On 11/15/07, *Rob Hills* <[EMAIL PROTECTED] > wrote: Michael Horwitz wrote: > On the assumption that you have OpenSessionInView filter uncommented, > then yes. Transaction boundary is on the manager, so if you are

Re: [appfuse-user] Do GenericManager and GenericDao support parent-child entity handling?

2007-11-15 Thread Michael Horwitz
On 11/15/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > Hi Michael, > > Michael Horwitz wrote: > > On the assumption that you have OpenSessionInView filter uncommented, > > then yes. Transaction boundary is on the manager, so if you are > > calling multiple managers from a single action during the re

Re: [appfuse-user] Ajax Table

2007-11-15 Thread J. David Mendoza
You can use dwr to build a simple one... dwr is already configured in appfuse... ;) Michael Horwitz wrote: We use eXtremeComponents which adds both column filters and ajax paging. I see from their site that a new library has been created called JMesa which claims to offer a better API along wi

Re: [appfuse-user] Do GenericManager and GenericDao support parent-child entity handling?

2007-11-15 Thread Rob Hills
Hi Michael, Michael Horwitz wrote: On the assumption that you have OpenSessionInView filter uncommented, then yes. Transaction boundary is on the manager, so if you are calling multiple managers from a single action during the request, there may be an issue. A lot also depends on the Cascade p

Re: [appfuse-user] Ajax Table

2007-11-15 Thread Michael Horwitz
We use eXtremeComponents which adds both column filters and ajax paging. I see from their site that a new library has been created called JMesa which claims to offer a better API along with improved Ajax support. Site is here: http://code.google.com/p/jmesa/ Mike On 11/15/07, Raghuveer Rawat <[EM

Re: [appfuse-user] Future of Spring MVC

2007-11-15 Thread Sanjiv Jivan
SEO stands for Search Engine Optimization or the ability to be searchable / indexable by search engines. You can learn more about it here : http://en.wikipedia.org/wiki/Search_engine_optimization Sanjiv On Nov 15, 2007 4:26 AM, Richard Nduka <[EMAIL PROTECTED]> wrote: > Sorry Sanjiv, but what do

[appfuse-user] Do GenericManager and GenericDao support parent-child entity handling?

2007-11-15 Thread Rob Hills
Hi All, I'm using AppFuse 2.0 + Hibernate + Struts. I'm having some issues with persisting entities to the database where I make changes to a Parent entity and some related Child entities and then save the parent. I have been assuming that GenericManager and GenericDao classes will seamlessly

[appfuse-user] Ajax Table

2007-11-15 Thread Raghuveer Rawat
Hi, I want to use Ajax style table for my current project. I know about DisplayTag library. It is a great solution for Tabular Data display but it is lacking Ajax implementation. Do we have any other library which offer inbuilt support for Ajax? Thanks Raghuveer Rawat

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-15 Thread Daniel Kibler
I've also been looking for exactly such an example. I think there is one problem, probably caused by the forum. It looks like there should be a link associated with the delete on each row. In the message it is shown as ">Delete Dan dusty wrote: > > So it doesn't happen that often, but it just

Re: [appfuse-user] Code completion of JSF Facelet pages in Eclipse Europa

2007-11-15 Thread Irshad Buchh
Matt, Thanks, but the problem of not getting code completion is solved only using .jspx extension in Europa. I had a look at: http://www.thearcmind.com/confluence/display/SHJFT/Getting+started+with+JSF,+Facelets,+Eclipse+WTP+and+Tomcat?decorator=printable Is there any specific reason for not going

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-15 Thread Rob Hills
Hi Dusty, On 14 Nov 2007 at 7:44, dusty wrote: > That is the beauty of this solution. There is no transaction until the user > decides to save the form. Imagine a form with a series of fields and then > this table at the bottom. They are all part of the same form. When I > submit the form to

[appfuse-user] Doubt on Cookies

2007-11-15 Thread jithesh
Hi I am developing a new web app using appfuse 1.9.4. I have to do some operation on cookies which is absolutely new to me. My doubt is, how many parameters can we pass on 'setCookie' method. I read that normally name of the cookie, path , domain and expires time are the parameters. I would

Re: [appfuse-user] Future of Spring MVC

2007-11-15 Thread Richard Nduka
Sorry Sanjiv, but what does SEO mean?? I see you using it here. On Nov 12, 2007 10:12 PM, Sanjiv Jivan <[EMAIL PROTECTED]> wrote: > Great to hear. In addition to the inordinate time I've putting into GWT-Ext, > I've also been playing around with Wicket and think its one of the > front-runners in

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Rob Hills
Hi Nathan, Nathan Anderson wrote: So I finally have my AppFuse 2 (Struts 2 + Hibernate) webapp ready to deploy to my production server. But I appear to be a bit stuck... I'm sure there is some way to have maven 2 deploy for me, but I have not figured out how yet. So I was just planning on

[appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
Hey folks, So I finally have my AppFuse 2 (Struts 2 + Hibernate) webapp ready to deploy to my production server. But I appear to be a bit stuck... I'm sure there is some way to have maven 2 deploy for me, but I have not figured out how yet. So I was just planning on going old school and cop