[appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-08 Thread Sanath
Hi All, In my appfuse project, When am trying to logging to the system, It gives me this error. "Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionException: JDBC begin failed:" THIS HAPPENS FORM TIME TO TIME (not always). When the page is refres

[appfuse-user] AppFuse + Maven + Eclipse - OutOfMemoryError Java Heap Space - resolved

2007-10-08 Thread Rob Hills
Hi Matt, On 8 Oct 2007 at 9:56, Matt Raible wrote: > I would recommend using the Tomcat Maven Plugin instead of Cargo if > you want to deploy to a running Tomcat (vs. testing against an > installed one). > > http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html > > You will need to make

Re: [appfuse-user] Old 1454

2007-10-08 Thread Matt Raible
It looks like the application is failing to startup. If you run "mvn cargo.wait=true" and go to your app at http://localhost:8080/yourapp-version - does it show up? Matt On 10/7/07, John Kwon <[EMAIL PROTECTED]> wrote: > I'm on the home machine - no proxy. > > Error: > > Embedded error: The follo

Re: [appfuse-user] jscookmenu and navigationMenuItem with images

2007-10-08 Thread kace
Just did, but to no avail. mraible wrote: > > Have you tried "border: 0"? > > On 10/8/07, kace <[EMAIL PROTECTED]> wrote: >> >> Hey fellas, >> >> anyone know how to get rid of the border when using icons with jscookmenu >> and navigationMenuItem >> >> > i

Re: [appfuse-user] jscookmenu and navigationMenuItem with images

2007-10-08 Thread Matt Raible
Have you tried "border: 0"? On 10/8/07, kace <[EMAIL PROTECTED]> wrote: > > Hey fellas, > > anyone know how to get rid of the border when using icons with jscookmenu > and navigationMenuItem > >itemLabel = "validate" action = > "go_validate" >

[appfuse-user] jscookmenu and navigationMenuItem with images

2007-10-08 Thread kace
Hey fellas, anyone know how to get rid of the border when using icons with jscookmenu and navigationMenuItem adding style="border:none;" doesn't do anything ..kace -- View this message in context: http://www.nabble.com/jscookmenu-and-navigationMenuItem-with-images-tf4591883s2369.html#a13

Re: [appfuse-user] velocity menu forward

2007-10-08 Thread Matt Raible
Unfortunately, I don't know of a solution - except for manually putting the menu into your XHTML page and manipulating the CSS to show it in the right place. Matt On 10/8/07, p7k <[EMAIL PROTECTED]> wrote: > > thank you, matt! > > i figured that would be the case after reading much of the little

Re: [appfuse-user] velocity menu forward

2007-10-08 Thread p7k
thank you, matt! i figured that would be the case after reading much of the little info there is on struts menu. could you recommend a reasonable alternative / solution for jsf. i tried to include my local-navigation links manually, as within the default.jsp so that sitemesh could put it into

RE: [appfuse-user] deploying an appfuse 1.9.x project

2007-10-08 Thread vpacheco
I created the symlink and then ran it (was always running as root) and then got a different error which turned out to be a tomcat 5.5 bug Check this out http://www.nabble.com/DO-NOT-REPLY--Bug-41504---New%3AIllegal-access%3 A-this-web-application-instance-has-been-stopped-already-tf3147591.htm

Re: [appfuse-user] velocity menu forward

2007-10-08 Thread Matt Raible
Struts Menu only supports "action" and "forward" for Struts 1.x. Matt On 10/7/07, p7k <[EMAIL PROTECTED]> wrote: > > Dear AppFusers, > > I need to figure out how to properly set-up a forward from a menu item, > rather than a redirect to a page. > > menu-config.xml: > > description="Truck

Re: [appfuse-user] deploying an appfuse 1.9.x project

2007-10-08 Thread Matt Raible
Are you sure there's not a symlink somewhere? What happens if you run it as root? Matt On 10/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I'm trying to deploy a 1.9.x project. I've followed all steps from the > tutorial @ > http://raibledesigns.com/wiki/Wiki.jsp?page=C

Re: [appfuse-user] DWR help

2007-10-08 Thread Matt Raible
No, unfortunately, I don't know what the problem could be. You might try debugging with Firebug in Firefox. Matt On 10/8/07, Martin Ravell <[EMAIL PROTECTED]> wrote: > Hi Matt, > > The /dwr page shows my Demo object and lets me execute it. A > System.out.println tells me that DWR is executing the

RE: [appfuse-user] DWR help

2007-10-08 Thread Martin Ravell
Hi Matt, The /dwr page shows my Demo object and lets me execute it. A System.out.println tells me that DWR is executing the method call on Demo but it does not appear as if any value is being passed back to the page. This would be consistent with the behaviour of my jsp page. Any ideas? Regard

Re: [appfuse-user] CRUD generation for models with non numeric version fields

2007-10-08 Thread John Coleman
What does the Hibernate mapping/annotation look like? I could see you having a problem if you tagged the attribute with a version tag. Coleman On Oct 8, 2007, at 7:09 PM, Matt Raible wrote: Is this a java.util.Date or a number? If it's a java.util.Date, it should generate the correct sampl

Re: [appfuse-user] CRUD generation for models with non numeric version fields

2007-10-08 Thread Matt Raible
Is this a java.util.Date or a number? If it's a java.util.Date, it should generate the correct sample data. If it doesn't, that's a bug. Matt On 10/8/07, RoyPorter <[EMAIL PROTECTED]> wrote: > > Our model classes have a lastChangedDate which doubles up as the version > field for the model, and a

Re: [appfuse-user] Object Model - Hibernate

2007-10-08 Thread Richard Nduka
Hi Folks, I have a little problem. Basically this is my problem: My application requires an object model that includes a parent, teacher, student and of course each of this type of persons would be able to logon to the application. So i have basically abstracted all the common stuffs like name, t

[appfuse-user] CRUD generation for models with non numeric version fields

2007-10-08 Thread RoyPorter
Our model classes have a lastChangedDate which doubles up as the version field for the model, and a trace of when the record was last changed. When using the appfuse plugin to generate the CRUD code, sample data is created with incorrect entries in the lastChangedDate fields - i.e. '1' rather tha

[appfuse-user] deploying an appfuse 1.9.x project

2007-10-08 Thread vpacheco
Hi, I'm trying to deploy a 1.9.x project. I've followed all steps from the tutorial @ http://raibledesigns.com/wiki/Wiki.jsp?page=CreateDAO I ran "ant db-load deploy" and now I'm trying to test my application using tomcat. I couldn't test my application since I get the 404 error. When I go

Re: [appfuse-user] Deploying to existing Tomcat - "artifact [blah:blah:blah] is not a dependency of the project"

2007-10-08 Thread Matt Raible
I would recommend using the Tomcat Maven Plugin instead of Cargo if you want to deploy to a running Tomcat (vs. testing against an installed one). http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html You will need to make sure you have credentials setup properly for the Manager applicatio

[appfuse-user] Deploying to existing Tomcat - "artifact [blah:blah:blah] is not a dependency of the project"

2007-10-08 Thread Rob Hills
Hi, Sorry if this is a bit of a Maven question, but since Maven's a fundamental part of AppFuse 2.0, I thought this is probably the best place to ask... I have Tomat 5.5 running on my development machine and I want to deploy my application to that. I've followed the FAQ on the AppFuse site:

[appfuse-user] Reading emails at a defined time

2007-10-08 Thread L.
Hi, I wonder whether there is something existing to perform the following: I would like at certain times of the day (say 4 times a day) to read emails and extract the attached files. So there are two different things: - reading emails I can use the JavaMail API but I was wondering if there wa

Re: [appfuse-user] Jetty does not pick up changes made in css files

2007-10-08 Thread Allan Ang
:) how could i miss this! Thanks a million Matt! mraible wrote: > > You might try "touching" your files to ensure they have a more recent > timestamp. If that doesn't work - it could be that the CSS is cached > by your browser. Clearing your cache or Shift+Reload should fix this. > > Matt >

Re: [appfuse-user] Hibernate Example.create

2007-10-08 Thread Lucky123
Hi Nathan, Thank you so much for the reply. public Employee() extends Subordinate{ private String employeeName; public void setEmployeeName(String employeeName){ this.employeeName = employeeName; } public void getEmployeeName(){ return this.employeeName; } } public Manager(){ private

Re: [appfuse-user] STMP From in MailEngine

2007-10-08 Thread L.
Done in APF-930 ! Can you please enter this as an issue in JIRA? http://issues.appfuse.org/browse/APF Thanks, Matt -- View this message in context: http://www.nabble.com/STMP-From-in-MailEngine-tf4588249s2369.html#a13098023 Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] Jetty does not pick up changes made in css files

2007-10-08 Thread Matt Raible
You might try "touching" your files to ensure they have a more recent timestamp. If that doesn't work - it could be that the CSS is cached by your browser. Clearing your cache or Shift+Reload should fix this. Matt On 10/8/07, Allan Ang <[EMAIL PROTECTED]> wrote: > > Im presently giving Appfuse 2

[appfuse-user] Jetty does not pick up changes made in css files

2007-10-08 Thread Allan Ang
Im presently giving Appfuse 2 (Struts 2 - modular) a go I want to change some properties in the skins. I copied out the relevant css files from the appfuse styles folder into my project,edited the css file and then run mvn:jetty:run-war but the changes are not reflected when viewed using the brow

Re: [appfuse-user] DWR help

2007-10-08 Thread Matt Raible
If you go to http://localhost:8080/dwr - can you execute your class's JavaScript from that page? Matt On 10/8/07, Martin Ravell <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a play with Appfuse 2 and DWR but without much luck and was > wondering if someone could help. > > I thought I'd start wi

Re: [appfuse-user] STMP From in MailEngine

2007-10-08 Thread Matt Raible
Can you please enter this as an issue in JIRA? http://issues.appfuse.org/browse/APF Thanks, Matt On 10/8/07, L. <[EMAIL PROTECTED]> wrote: > > Hi, > > I had troubles sending emails with attachement. > That was using a remote SMTP server (from my internet provider) but there > will be the same p

Re: [appfuse-user] Help..reg process Struts action Message after logout

2007-10-08 Thread Michael Horwitz
Easiest way to do this is to look at the existing logout.jsp code and emulate its behaviour. You could have an action that checks the request, sets the error message if need be and redirect to your own custom logout page that knows how to display the error message. Mike. On 10/8/07, rbtechno <[E

[appfuse-user] STMP From in MailEngine

2007-10-08 Thread L.
Hi, I had troubles sending emails with attachement. That was using a remote SMTP server (from my internet provider) but there will be the same problems with a local SMTP server. >From what I have gathered there are two flaws in MailEngine ( sendMessage(String[] emailAddresses, ClassPathResource

[appfuse-user] Help..reg process Struts action Message after logout

2007-10-08 Thread rbtechno
Hi, I am working with appfuse based struts application .I want to check each request with some criteria and If it doesn't match,i need to call logout and then throw some error message in login page.Is it possible to do that with save messages in struts?..Plz help me out.. thanks

Re: [appfuse-user] Problem with the maven appfuse:full-source goal

2007-10-08 Thread Frederick C. Druseikis
On Sun, 7 Oct 2007 23:51:15 -0400 "Frederick C. Druseikis" <[EMAIL PROTECTED]> wrote: > > I'm having problems with the maven appfuse:full-source goal on an uncommon > platform running Sun JDK 1.5 Further investigation shows this is a long standing issue, possibly in Ant. http://issues.apache.o

[appfuse-user] DWR help

2007-10-08 Thread Martin Ravell
Hi, I’m having a play with Appfuse 2 and DWR but without much luck and was wondering if someone could help. I thought I’d start with a simple demo and see if I could get it to work within the confines of a clean Appfuse project. The demo is from http://getahead.org/dwr/examples/text. My dwr.xml