Re: [appfuse-user] Apache Stack Unsprung

2007-04-03 Thread Nathan Anderson
The security stuff is all built on Spring too. Acegi Security provides authentication, authorization, remember me, and probably other I could think of if it weren't almost midnight. So you would most likely have to migrate to container managed security [which is what AppFuse used before Acegi].

Re: [appfuse-user] Apache Stack Unsprung

2007-04-03 Thread Matt Raible
The core of AppFuse uses Spring, but what you develop beyond that doesn't *have* to use Spring. But since all the resources (dataSource, transactions, mailSender) are available to you, why not use them? If you wanted to use Guice for IoC, you probably could. I believe they have a SpringProvider

[appfuse-user] Apache Stack Unsprung

2007-04-03 Thread Bron
There was a thread a while back about making an all Apache stack and Matt mentioned maybe Spring could be slipped in becuase of its compatible license. I was just wondering what it would be like to go Spring-less and use Struts 2 for both MVC and IOC, on top of IBatis for SQL maps and DAO. I c

[appfuse-user] Fwd: [Opensymphony-sitemesh] Websphere 6.1.0.5 Bug [FIXED!]

2007-04-03 Thread Matt Raible
FYI... In case anyone wants to run Struts 2 on WebSphere. Matt -- Forwarded message -- From: Antony Stubbs <[EMAIL PROTECTED]> Date: Apr 3, 2007 11:16 PM Subject: Re: [Opensymphony-sitemesh] Websphere 6.1.0.5 Bug [FIXED!] To: [EMAIL PROTECTED] Fixed!! Had to set the com.ibm.w

Re: [appfuse-user] test classes are not tested and test-service results in success

2007-04-03 Thread Matt Raible
Did you try the suggestion I originally posted to this question on the issues list? Adding an "s" on the following two calls to macros should help: Proposed fix: Matt On 4/3/07, Md Quayum <[EMAIL PROTECTED]> wrote: Dear Group members, I am using struts-sp

[appfuse-user] test classes are not tested and test-service results in success

2007-04-03 Thread Md Quayum
Dear Group members, I am using struts-spring-hibernate technologies in my application. The application is completed and running. We want to write test cases for our application. So, we have decided to use appfuse. Our directory-structure is slightly different from appfuse 1.9 (since we are using

Re: [appfuse-user] archtype suggestion

2007-04-03 Thread Matt Raible
I'm fine with placeholder files as long as you can still create a project and successfully run "mvn install" w/o any issues. Matt On 4/3/07, Nathan Anderson <[EMAIL PROTECTED]> wrote: I'm trying to get up to speed with all the goings on in AppFuse 2.0.x. In that effort today I was going throug

[appfuse-user] archtype suggestion

2007-04-03 Thread Nathan Anderson
I'm trying to get up to speed with all the goings on in AppFuse 2.0.x. In that effort today I was going through the Struts 2 tutorial and it occurred to me that it was a bit of a pain making all these directories. With all the specific places certain files need to be created in or copied to would

Re: [appfuse-user] Mysql 4.1

2007-04-03 Thread Ivan Garcia
Hi there, some distributions, debian for instance, disable tcp connections to mysql by default try with: mysql -uusername -ppassword -h localhost if it is not listening for tcp connections you may need to remove the line that says 'skip-networking' from your my.cnf Ivan appfused wrote: >

Re: [appfuse-user] Mysql 4.1

2007-04-03 Thread Matt Raible
You should only need to add it in the jdbc.url in the root pom.xml. Instead of jdbc:mysql://localhost/, change it to jdbc:mysql://localhost:/ where is your port number. Matt On 4/3/07, appfused <[EMAIL PROTECTED]> wrote: Can i just define a port for mysql by simple adding value in my

Re: [appfuse-user] Mysql 4.1

2007-04-03 Thread appfused
Can i just define a port for mysql by simple adding value in my pom.xml file instead of adding it everywhere it may be required? Michael Horwitz wrote: > > Is your MySQL database running on the default port? If not the database > connection URL will need to be changed. > > Mike. > > On 4/2

Re: [appfuse-user] Choosing an open source database for the enterprise

2007-04-03 Thread Bryan Noll
Regarding Derby. I think it may have its place depending on what you're doing with your app. I like the idea of an all-Java database. I've also heard/read good things about it's performance and scalability capabilities. Derby is what used to be called Cloudscape, so google for those two thi

Re: [appfuse-user] Choosing an open source database for the enterprise

2007-04-03 Thread masterg007
From what I have read I get the impression that PostgreSQL is a more complete DB than MySQL, it supports stored procedures and triggers which I don't believe MySQL does, at least not the community edition that I use. On 4/3/07, Nathan Anderson <[EMAIL PROTECTED]> wrote: I could be wrong, but my

RE: [appfuse-user] Struts 2 Double Submit?

2007-04-03 Thread Stine, Matt
Yes -Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: Tuesday, April 03, 2007 12:25 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Struts 2 Double Submit? Does this happen if you disable JavaScript before clicking "su

Re: [appfuse-user] Struts 2 Double Submit?

2007-04-03 Thread Matt Raible
Does this happen if you disable JavaScript before clicking "submit"? On 4/3/07, Stine, Matt <[EMAIL PROTECTED]> wrote: All, I'm not sure exactly how to describe this problem. Basically I have an action that is mapped to a form listing XML files to import into the database. The user select

[appfuse-user] Struts 2 Double Submit?

2007-04-03 Thread Stine, Matt
All, I'm not sure exactly how to describe this problem. Basically I have an action that is mapped to a form listing XML files to import into the database. The user selects X number of files and clicks submit. The action then spawns an XML parser, parses the selected files, and saves them using

Re: [appfuse-user] Choosing an open source database for the enterprise

2007-04-03 Thread Nathan Anderson
I could be wrong, but my understanding is HSQL and Derby are made more for convenience [very portable and they can be packaged with an app] than they are for enterprise production use. I would suggest one of the other two and I'd probably lean toward MySQL because I've never had much of a prob

[appfuse-user] Choosing an open source database for the enterprise

2007-04-03 Thread masterg007
Appfusers: If you had to choose an open source database to use with enterprise level application which would you choose? MySQL, PostgreSQL, HSQL, or Derby? and Why? - Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [appfuse-user] Editing Appfuse Source

2007-04-03 Thread sionsmith
Woohoo - Thanks Michael! When i first downloaded the appfuse application it was a snapshot of m2! It had placed an old .Jar in the /WEB-INF/lib directory. Once i removed that Happy Days!!! :) Michael Horwitz wrote: > > Are you using a modular archetype? If so you will need to run mvn clean > in

Re: [appfuse-user] Where is BasePageTestCase?

2007-04-03 Thread Matt Raible
I don't know, I haven't used NetBeans enough to answer this question. Please report back if you figure out how to do it. Matt On 4/3/07, lk <[EMAIL PROTECTED]> wrote: Matt Raible wrote: > The problem is likely caused by NetBeans not adding the warpath > dependencies to you classpath. If you ru

Re: [appfuse-user] Editing Appfuse Source

2007-04-03 Thread Michael Horwitz
Are you using a modular archetype? If so you will need to run mvn clean install from the top level to rebuild/reinstall your own core classes before running mvn jetty:run in the web project. If you are using a basic archetype, could you check to see whether the classes are available on the web co

Re: [appfuse-user] Editing Appfuse Source

2007-04-03 Thread sionsmith
Ok this is confusing the hell out of me i've followed the guide : http://www.appfuse.org/display/APF/AppFuse+Core+Classes i've downloaded the source files from the repository and (think i've added them in the correct place) src\main\java\org\appfuse <-- Matt's source files src\main\java\com\

Re: [appfuse-user] Mysql 4.1

2007-04-03 Thread Michael Horwitz
Is your MySQL database running on the default port? If not the database connection URL will need to be changed. Mike. On 4/2/07, appfused <[EMAIL PROTECTED]> wrote: Thanks. I'm definitely on 5.0.5. I'll try a lower driver version and see if that fixes the problem. Any other thoghts? mraible

Re: [appfuse-user] Where is BasePageTestCase?

2007-04-03 Thread lk
Matt Raible wrote: The problem is likely caused by NetBeans not adding the warpath dependencies to you classpath. If you run "mvn package" and add target/warpath/*.jar to your project, it should fix the problem. Sorry for the silly question, but how can I add target/warpath/*.jar to my projec