Re: [appfuse-user] Adding extra jar

2007-07-19 Thread Matt Raible
Based on this error, your groupId should be au.com.suncorp.PeoplePicker - is that what it is? Matt On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote: Hi, I am getting following thing when running mvn eclipse:eclipse after running mvn install:install-file Downloading: http://pbnecvs4002:8080/proxim

Re: [appfuse-user] appfuse:install error

2007-07-19 Thread Matt Raible
If appfuse:gen and install worked for you a couple of days ago - I'd make sure your source is checked into source control and then try running it on the classes that it worked for last time. That will tell you if AMP is messed up or if it's unable to handle your POJO. I suspect the later. Matt O

Re: [appfuse-user] Write operations are not allowed in read-only mode

2007-07-19 Thread Matt Raible
What version of AppFuse are you using? It looks like you're calling getXXX before saveXXX and because they're happening in the same transaction - the getXXX starts a read-only transaction. If you modify applicationContext-servlet.xml to not use read-only on get*, the problem should go away. Matt

Re: [appfuse-user] error java.net.SocketException

2007-07-19 Thread Matt Raible
I believe it happens when a user clicks "stop" in their browser. But I'm not entirely sure. I see similar issues on my site all the time but it doesn't seem to be spitting out errors - just notifying me that an http connection ended earlier than expected. Matt On 7/19/07, ujjala <[EMAIL PROTECTE

[appfuse-user] error java.net.SocketException

2007-07-19 Thread ujjala
I got this Error Many times. [7/20/07 0:02:51:344 IST] 4cda95fc SRTServletRes E SRVE0120E: IO Error java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOut

Re: [appfuse-user] Implementing archiving functionality

2007-07-19 Thread Msarda
Hi Mike, Thanks for ur reply. Could you plesae elaborate more on line.. In your form you will then iterate over the values of parameter archived, and archive each foo with a an id that matches the value. I am not getting it.Could you please give me some example,suppose in my case... What i am th

Re: [appfuse-user] Adding extra jar

2007-07-19 Thread Msarda
Hi, I am getting following thing when running mvn eclipse:eclipse after running mvn install:install-file Downloading: http://pbnecvs4002:8080/proximity/repository/inhouse/au/com/suncorp/PeoplePicker/PeoplePicker/1.0/PeoplePicker-1.0-ja vadoc.jar Downloading: http://pbnecvs4002:8080/proximity/repo

[appfuse-user] newbie: need help on designing appfuse-jsf

2007-07-19 Thread Vishal S
Hello, I have an author list (a typical CRUD application) which shows the details of authors. Now I need to capture the works of each author, a one-to-many relation ship. To accomplish the above task I have made a column 'h:commandLink' in the author list and if the user clicks on this lin

[appfuse-user] One-to-one Example

2007-07-19 Thread Doug Pham
Hi All, I am having a hard time writing a one-to-one annotation for two classes User and UserInfo. Every User will have a UserInfo where it have a foreign key from User. If you have a working example of this and if possible, please share it with me. Thanks, Doug -

Re: [appfuse-user] appfuse:install error

2007-07-19 Thread chinofish
I changed PK from String to Long, there is another error ! [INFO] [appfuse:install] [INFO] [AppFuse] Installing generated files (pattern: **/*.java)... [INFO] [ERROR] FATAL ERROR [INFO] --

[appfuse-user] appfuse:install error

2007-07-19 Thread chinofish
hi, when i execute : mvn appfuse:install -Dentity=entityName there is an error. i use 32-bit String to be my PK, but Long. maybe it's the reason ? the error log is as follows: [INFO] [appfuse:install] [INFO] [AppFuse] Installing generated files (pattern: **/*.java)... [INFO] [AppFuse] Insta

[appfuse-user] Write operations are not allowed in read-only mode

2007-07-19 Thread chichi
I'm getting this error. I've checked a lot of sites regarding this error but I have no luck 2007-07-20 11:26:54 StandardWrapperValve[faces]: Servlet.service() for servlet faces threw exception javax.faces.FacesException: Error calling action method of component with id radioForm:save at

Re: [appfuse-user] running appfuse on Tomcat 5.x and higher

2007-07-19 Thread Matt Raible
This is a bug in Clickstream. In AppFuse 1.x, we patched Clickstream - in 2.x, we're fetching it from the Maven repo. http://jira.opensymphony.com/browse/CLK-26 Matt On 7/19/07, jdev_denver <[EMAIL PROTECTED]> wrote: I have the same issue. I did commentout the gzip filter mapping in web.xml

[appfuse-user] Null pointer exception

2007-07-19 Thread Msarda
Hi all, I have created EngagementformDaoHibernate and also made entry in application-context.xml for it. as But i am getting null pointer exception at.. List engagementform = getHibernateTemplate().find("from Engagementform where archived=?", archived); For getHibernateTem

[appfuse-user] Add Trinidad to AppFuse Project. Tomcat errors.

2007-07-19 Thread snehalsao
Hi, I am using AppFuse 1.9.3. I am trying to add the Trinidad-1.2.1. I downloaded all files and modified some existing files based on the following installation instructions at: http://myfaces.apache.org/trinidad/installation.html I fixed some exceptions by adding entries in properties.xml and li

Re: [appfuse-user] running appfuse on Tomcat 5.x and higher

2007-07-19 Thread jdev_denver
I have the same issue. I did commentout the gzip filter mapping in web.xml and also added the ehcache1.3.0.jar in the web-inf/lib. I could see the login.jsp. But I see the following error message when I try to login. java.lang.NullPointerException at com.opensymphony.clickstream.Click

Re: [appfuse-user] Getting the architecture right

2007-07-19 Thread arvinder
vegarwe wrote: > > > arvinder wrote: >> >> You can do this by having a many to many association between users and >> groups as follows, assuming you have User, Group and Group_User tables, >> where Group_User is a link table, you can avoid n+1 selects by having the >> following mapping in Us

RE: [appfuse-user] Strange Eclipse messages

2007-07-19 Thread Marcelo de Barros Alcantara
Hi Matt, Thanks for the feedback. I disabled the WTP/JST and the messages disappeared. I think I will follow my mission here without them. Like you do. I like Idea too...used it for some time when I was in the US in 2003. But not a good idea to try to push that to the project right now. But to th

Re: [appfuse-user] Concurrency problems in saving data

2007-07-19 Thread Sanjiv Jivan
Maybe this will help you understand the problem : http://dev.mysql.com/doc/refman/5.0/en/innodb-lock-modes.html On 7/19/07, elmer.mirano <[EMAIL PROTECTED]> wrote: Hello everyone, We are currently testing the programs we made in appfuse. We are using the spring implementation of appfuse. W

[appfuse-user] Cannot have beans from other context in controller in 1.9.4 MVC

2007-07-19 Thread kkus
Since web.xml has following definition which doesn't include /WEB-INF/action-servlet.xml, for controllers like SignupController which extends from SimpleFormController I can't get any beans defined from applicationContext-*.xml in controller class IF there is NO property reference to beans of appl

Re: [appfuse-user] java application monitoring tools

2007-07-19 Thread Sanjiv Jivan
I usually hit Ctrl + Break (on windows) to get a JVM thread dump which helps identify the problem. Sanjiv On 7/19/07, wish wish <[EMAIL PROTECTED]> wrote: hi, we have a appfuse application that has been in production for about 2 years now. uptime and availiability have, hence, became the #1 p

Re: [appfuse-user] Change page content type or output

2007-07-19 Thread RL
Hi Matt, I will give you an example, suposse i want to create a page that returns a csv. I can add the page to exclussions lists on the decorator to avoid the header, footer, etc. But the page sent to the client has the html and head tags anyway, it seems to me that jsf put that automatically on

[appfuse-user] java application monitoring tools

2007-07-19 Thread wish wish
hi, we have a appfuse application that has been in production for about 2 years now.  uptime and availiability have, hence, became the #1 priority as the business continue to grow rapidly.  one of the problems that we run into is: when the app hangs we don't have enough information to figure out th

Re: [appfuse-user] Strange Eclipse messages

2007-07-19 Thread Matt Raible
I've seen these myself and AFAICT, Eclipse is reporting errors that don't exist. For proof, try IDEA. ;-) Matt On 7/19/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote: Hi, I am having many eclipse/wtp errors with appfuse: * Duplicate local variable ex * Invalid tag * Invalid xml

Re: [appfuse-user] Cannot exclude page from sitemesh

2007-07-19 Thread Matt Raible
In addition to excluding the action's URL, you should include the URL to the JSP as well - since the SiteMesh filter is mapped to forwards as well as requests. Matt On 7/19/07, Dinu Alecsandru <[EMAIL PROTECTED]> wrote: Hi, I'm trying to exclude a page from sitemesh http://localhost:8080/aja

Re: [appfuse-user] Change page content type or output

2007-07-19 Thread Matt Raible
Do you mean "change the content type for a Page"? If so, I'm unsure how to do this with Facelets. Here's how you can use Flying Saucer to render PDF from a Facelets page: http://today.java.net/pub/a/today/2006/10/31/combine-facelets-and-flying-saucer-renderer.html Matt On 7/19/07, RL <[EMAIL PR

[appfuse-user] Strange Eclipse messages

2007-07-19 Thread Marcelo de Barros Alcantara
Hi, I am having many eclipse/wtp errors with appfuse: * Duplicate local variable ex * Invalid tag * Invalid xml I have found an old topic about appfuse and eclipse/wtp integration where people had these messages. My question is: Someone could find the best way to fix them? I am not using fo

[appfuse-user] Concurrency problems in saving data

2007-07-19 Thread elmer.mirano
Hello everyone, We are currently testing the programs we made in appfuse. We are using the spring implementation of appfuse. We are using hibernate to save our data. Currently we added a transaction checking using spring's aop to roll back saving in the database if a transaction in a method

Re: [appfuse-user] sendUserMessage

2007-07-19 Thread Matt Raible
I would try to develop this functionality and post to this list if you have any issues or errors when doing it. Matt On 7/19/07, ros <[EMAIL PROTECTED]> wrote: Hi! How to make sendUserMessage to send messages in a specified language, e.g. user has italian language and admin with english langu

Re: [appfuse-user] Pb width appfuse:gen on a OneToOne relation.

2007-07-19 Thread Matt Raible
If you change your appfuse-maven-plugin to use version 2.0-rc1-SNAPSHOT, you may solve this problem. In 2.0-rc1-SNAPSHOT, we're simply ignoring one to many and many to many. We may add this functionality in the future, but I think the community needs to agree on the UI pattern first. Matt On 7/1

Re: [appfuse-user] side effects with struts-plugins in m5

2007-07-19 Thread Matt Raible
That's interesting that the scope would affect runtime behavior. Regardless, we really appreciate you figuring this out and sharing the knowledge with this list. Thanks! Matt On 7/19/07, Travers Snyman <[EMAIL PROTECTED]> wrote: I had a number of side effect issues while integrating the st

RE: [appfuse-user] many-to-many with attribute ... again

2007-07-19 Thread Srini Bobbala
Used similar pojos, Pojos generated & tables created but when try to run mvn install getting an error "Error executing database operation: CLEAN_INSERT" Any advice? From: Aled Rhys Jones [mailto:[EMAIL PROTECTED] Sent: 09 July 2007 01:41 PM To:

Re: [appfuse-user] Change page content type or output

2007-07-19 Thread RL
JSF + appfuse 2.0m5 Michael Horwitz wrote: > > Which version of AppFuse and which web framework are you using? > > Thanks > > Mike. > > On 7/19/07, RL <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> I'm new to appfuse and webdevelopment in java so probably this will be a >> very dummy questio

[appfuse-user] Cannot exclude page from sitemesh

2007-07-19 Thread Dinu Alecsandru
Hi, I'm trying to exclude a page from sitemesh http://localhost:8080/ajax/companyList.html?q=g My decorators.xml looks like this /ajax/* /*ajax=true* /struts/dojo/* /resources/* /* I also tried adding an empty decorator:

Re: [appfuse-user] Error executing database operation: CLEAN_INSERT

2007-07-19 Thread Michael Horwitz
It looks like this is the key piece of the exception: Caused by: org.dbunit.dataset.NoSuchTableException: Request It looks as though your sample data refers to a table called Request yet no such table exists? Mike On 7/19/07, Srini Bobbala <[EMAIL PROTECTED]> wrote: HI, Got 3 pojos (emplo

Re: [appfuse-user] Change page content type or output

2007-07-19 Thread Michael Horwitz
Which version of AppFuse and which web framework are you using? Thanks Mike. On 7/19/07, RL <[EMAIL PROTECTED]> wrote: Hi, I'm new to appfuse and webdevelopment in java so probably this will be a very dummy question. I want to change the content type for a tage from xhtml to something else

[appfuse-user] Error executing database operation: CLEAN_INSERT

2007-07-19 Thread Srini Bobbala
HI, Got 3 pojos (employee, task, employeetask) with many to one relationship in employeetask pojo with rest, I am able to generate & install pojos, creating db tables: When try to run mvn install or mvn test -e getting error Thanks a lot, [ERROR] BUILD ERROR [INFO] -

[appfuse-user] Change page content type or output

2007-07-19 Thread RL
Hi, I'm new to appfuse and webdevelopment in java so probably this will be a very dummy question. I want to change the content type for a tage from xhtml to something else, lets say csv, xml, gif. What do i have to do? Is it easier to use a Servlet? i found out this page on the wiki, but seems

Re: [appfuse-user] Problem with exception UnsatisfiedDependencyException and Integration test

2007-07-19 Thread Gary Darnton
Thanks for your response. According to the tutor : --- Zero Configuration Struts' Zero Configuration feature is turned on by default. If you want to configure your Actions as Spring beans, you can do that by using class="beanId" in your Action definition, and then defining the bean in applicatio

Re: [appfuse-user] appfuse and SOAP

2007-07-19 Thread tweibel
Boudewijn Rempt wrote: > > On Thursday 12 July 2007, Matt Raible wrote: > >> This error below looks like it's caused by a permissions issue. > > That's what I checked first, but I've got all rights on /tmp, it's not > full > and I can add and remove files at will at that place: > > [EMAIL PR

[appfuse-user] sendUserMessage

2007-07-19 Thread ros
Hi! How to make sendUserMessage to send messages in a specified language, e.g. user has italian language and admin with english language logged in to the system. Admin want's to notify user by emai, but the message should be in user native locale. Thanks, ros -- View this message in context: h

Re: [appfuse-user] Implementing archiving functionality

2007-07-19 Thread Michael Horwitz
There is javascript that runs to make the whole row clickable. If you remove it from your JSP page, it should disable the behaviour for the row. Look for the javascript call at the bottom of your page called highlightTableRows(). You are going to need to pass some sort of key back to your form h

[appfuse-user] Pb width appfuse:gen on a OneToOne relation.

2007-07-19 Thread Julien C.
Hi list, I've got a problem when I want to use appfuse:gen. It seems to be due to a OneToOne relation. I think that's the same problem with the @embedded annotation : ## ERROR [main] runtime.error(96) | Expression field.value.typeName is undefined on line 28, colum

Re: [appfuse-user] Adding extra jar

2007-07-19 Thread Michael Horwitz
Could you post the specific error you are seeing in Maven? Maven will try and download a pom file for your project too. It may take some time before it generates an error/warning, but after that the build will proceed as normal. Mike. On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote: Yes,when i w

Re: [appfuse-user] Problem with exception UnsatisfiedDependencyException and Integration test

2007-07-19 Thread Michael Horwitz
You can skip testing in Maven by running with the command line switch - Dmaven.test.skip=true. From the error stack trace below it looks like you are missing a definition in Spring for the personAction bean? Mike. On 7/19/07, Gary Darnton <[EMAIL PROTECTED]> wrote: Hi all, I got a problem wh

[appfuse-user] Implementing archiving functionality

2007-07-19 Thread Msarda
Hi all, I want to implement archive functionality. On the jsp page where all engagement forms are getting displayed i want to create checkbox under the column "archive". That jsp page is using and tags for displaying all data from engagementform table. I tried something like.. It is

[appfuse-user] side effects with struts-plugins in m5

2007-07-19 Thread Travers Snyman
I had a number of side effect issues while integrating the struts plugins jfreechart and jasperreports in Apffuse 2 m5 with basic struts archtype. These included freemarker template errors, validation problems when persisting data in simple CRUD operations and numerous conflicts with opensymphony X

Re: [appfuse-user] Adding extra jar

2007-07-19 Thread Msarda
Yes,when i was puting HROnline SML_PeoplePickerControls 1.0 provided in pom.xml,it was trying to download that jar from repository i have specified in settings.xml But i am not sure if this jar exists there or not. But why it is not taki

Re: [appfuse-user] Adding extra jar

2007-07-19 Thread fadhli
Hi, have you define dependency in your pom.xml file? On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote: Hi, Thanks for ur reply. I am using appfuse 2.0-m5. I tried executing command C:\work> mvn install:install-file -DgroupId=HROnline -DartifactId=SML_PeoplePickerControls -Dversion=1.0 -Dpackaging

Re: [appfuse-user] Adding extra jar

2007-07-19 Thread Msarda
Hi, Thanks for ur reply. I am using appfuse 2.0-m5. I tried executing command C:\work> mvn install:install-file -DgroupId=HROnline -DartifactId=SML_PeoplePickerControls -Dversion=1.0 -Dpackaging=jar -Dfile=c:/work/repository/HROnline/SML_PeoplePickerControls.jar This is executed sussecffully but

RE: [appfuse-user] Freemarker error when including struts plugin dependencies

2007-07-19 Thread Travers Snyman
Thanks Matt, I sorted it out. I have posted another thread on how I solved all the side effects issues I found with including struts plugins Travers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: 18 July 2007 04:17 PM To: users@appfuse.d

Re: [appfuse-user] Getting the architecture right

2007-07-19 Thread vegarwe
arvinder wrote: > > You can do this by having a many to many association between users and > groups as follows, assuming you have User, Group and Group_User tables, > where Group_User is a link table, you can avoid n+1 selects by having the > following mapping in User.hbm.xml > > > >