[appfuse-user] mvn appfuse:full-source + cannot start Jetty.

2008-05-21 Thread Jon Loken
Hi again, I am still testing out appfuse 2.0.2 on a win box using spring mvc and basic archetype. I've successfully run: mvn war:inplace and tested Jetty. Works well. After committing code to SVN, I then wanted the source: mvn appfuse:full-source At some point I then got this trace: [INFO]

[appfuse-user] Maven +oracle /Maven + Ant

2008-05-21 Thread Jon Loken
Hi, After quite some time I am revisiting appFuse2 and Maven to see if things go more smoothly. Here is some feedback, most of which is not too important. 1) Please update http://appfuse.org/display/APF/FAQ#FAQ-usingant, in particular the 'Download maven-artifact-ant-2.0.4-dep.jar' dead link.

[appfuse-user] Databasepooling - prevent timeout recommendations

2008-04-09 Thread Jon Loken
Hi all, With AppFuse 1.9.3, when using the standard org.apache.commons.dbcp.BasicDataSource, we are experiencing DB timeouts after 8 hours or so with MySql. Does anyone know of a DB connection pooling project that will keep the underlying DB session open? Will c3p0 be of help (http://sourceforg

RE: [appfuse-user] Speed up Development Cycles....

2008-03-10 Thread Jon Loken
Hi, Using Jetty has dramatically increased out performance in terms of debugging using AppFuse 1.9.3 MVC. We use the ant task below. Basically it puts together a full web application under %project_home%/${webapp.name}. Changes in class files are automatically picked up by Jetty. Note, how

[appfuse-user] Ant target - classpath for service layer method.

2008-01-25 Thread Jon Loken
and org.myCompany.dbLoad.SaveNotices on classpath. No matter how I alter the classpath, it is complaining about a file missing. Does anyone have any pin-pointers? Regards Jon Loken BiP Solutions Limited is a company registered in Scotland with Company Number SC086146 and VAT number 38303966

[appfuse-user] AppFuse + Lucene = Compass or Spring Lucene Module?

2008-01-17 Thread Jon Loken
Hi all, Can anyone provide any hints as to which Lucene-wrapper project to integrate into AppFuse? It will either be Compass (http://www.opensymphony.com/compass/) or Spring Lucene Module (https://springmodules.dev.java.net/docs/reference/0.8/html/lucene.html) . Our main requirement is that it

[appfuse-user] within form - aquiring row order in controller during a POST

2007-11-27 Thread Jon Loken
Hi all, I am using Appfuse 1.9.3 MVC. This may not be the right forum for this question I have the following situation: In a jsp page, there is a within a . Some of the columns are sortable. When the form is submitted, I need to know, one way or another, the ORDER of the rows, by id. I

RE: [appfuse-user] Appofuse on ubuntu

2007-07-31 Thread Jon Loken
Hi, I was in the process of clearing out my emails when I came across this thread. I remember having such (or similar problem) on a Linux machine. The problem was solved by altering BaseFormController.java such that method getConfiguration() looks like: public Map getConfiguration() {

RE: [appfuse-user] Jetty integration with 1.9.x - configuration

2007-07-30 Thread Jon Loken
: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Jetty integration with 1.9.x - configuration Jetty is supported in AppFuse 2.0.x using Maven. If you decide Maven is the route you want to follow, then you should look into upgrading to AppFuse 2.0.x. Mike. On 7/30/07, Jon Loken <[EM

[appfuse-user] Jetty integration with 1.9.x - configuration

2007-07-30 Thread Jon Loken
Hi all, Using Jetty is a great time saver, circumventing repeated deployments to local webserver. As we are using AppFuse Spring MVC v 1.9.3 there is no ready available Jetty functionality. I looked into Jetty over the weekend, but did not manage to integrate it into AppFuse: -ECLIPSE Jetty

[appfuse-user] ${appConfig["theme"]} not being resolved in jsp page

2007-07-10 Thread Jon Loken
Hi all, I use AppFuse version 1.9.3, Spring MVC. Recently I have come across a jsp problem not seen before. When doing an 'ant setup' on a LINUX machine, and deploying the war file (to the same Linux machine, OR to a windows machine) , the rendered html pages do not pick up the style sheets. On

RE: [appfuse-user] Web Tests failing because of BaseControllerTestCase

2007-04-30 Thread Jon Loken
Hi, We have had the same problem cropping up from time to time. Simply doing an ant 'setup' followed by 'test-all' solves our problem. Regards Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: 27 April 2007 20:18 To: user

RE: [appfuse-user] Problems with ZipOutputStream

2007-03-19 Thread Jon Loken
Hi, The following is a not solution for you, but is a good tip for anyone wanting to unzip files: Handling Zip files with Java is difficult. Many Specifications are poor and loose (including the 'zip' spec), and implementations will therefore vary, making interoperability difficult. You ca

RE: [appfuse-user] Questions for 2.x: Archetypes and UI Testing

2007-03-12 Thread Jon Loken
Hi, 1. We have not upgraded from version 1.9.3 yet. Still need to research which is the best option. 2. We have made a number of changes to the AppFuse code and vote for having a full source archetype. It is true that upgrading AppFuse code will then be more cumbersome, but I must live with thi

[appfuse-user] Tomcat URL alteration + Eclipse Console message

2007-03-12 Thread Jon Loken
Hi, Regarding Maven Archetype 'Spring MVC Basic', after setting M2_REPO environmental variable, when running either 'mvn jetty:run-war' or 'mvn integration-test' there was a problem downloading tomcat. This was resolved by updating the to become http://apache.org/dist/tomcat/tomcat-5/v5.5.20/bin

[appfuse-user] AppFuse+QuickStart page - suggested updates for version 2.0

2007-02-22 Thread Jon Loken
Hi, Just some suggestions in facilitating the first wobbly steps of a prospective user of AppFuse v2. I suggest amending page http://appfuse.org/display/APF/AppFuse+QuickStart for AppFuse 2 such that section 'Run your application' includes: 0. cd to application directory or the equivalent, o

RE: [appfuse-user] acegi - disable authentication for particular jsp pages (using spring MVC)

2007-02-14 Thread Jon Loken
Thanks all for your help, The second suggestion worked fine, namely to place /yourjsppattern.jsp*=ROLE_ANONYMOUS AT THE TOP of the value list. Before this line was at the bottom of the list, hence the problem. Much appreciated, Jon -Original Message- From: Matt R

RE: [appfuse-user] acegi - disable authentication for particular jsp pages (using spring MVC)

2007-02-13 Thread Jon Loken
uld simply exclude them from Acegi processing altoghether by changing the configuration of the filterChainProxy in sercurity.xml? Mike. On 2/13/07, Jon Loken <[EMAIL PROTECTED]> wrote: Hi all, Just a quick question regarding Acegi authentication. H

[appfuse-user] acegi - disable authentication for particular jsp pages (using spring MVC)

2007-02-13 Thread Jon Loken
Hi all, Just a quick question regarding Acegi authentication. How can I disable authentication for particular jsp pages. These jsp pages should then be freely accessible without being redirected to login.jsp. With Acegi/Appfuse being so flexible I would not be surprised if this can be done de

[appfuse-user] access to ${webapp.root} in applicationContext.xml

2007-01-25 Thread Jon Loken
Hi all, Here is a seemingly easy question: Does anyone know how to gain access to property ${webapp.root} declaratively in file applicationContext.xml. I want to use it in connection with setting velocity property 'file.resource.loader.path' such that I can set absolute paths where *.vm files

[appfuse-user] IE6 downloads + external properties

2006-12-20 Thread Jon Loken
Hi all, Here is some information which may be of interest regarding IE6 not being able to download documents, resulting in popup boxes stating: "internet explorer cannot download..."sdhs&download=download from localhost "internet explorer was not able to open this internet site. The requested s

[appfuse-user] Mock testing - using advice vs interceptor

2006-12-18 Thread Jon Loken
Hi all, I am wondering if anyone can enlighten me regarding /test/web mocktests Previously I successfully AOP adviced a method (using MethodBeforeAdvice). Method 'before(Method method, Object[] args, Object target)' was called, BOTH during mocktests AS WELL AS on tomcat. However, since it