Thanks Bryan
Will try that out.
Bryan Noll wrote:
>
> In your pom.xml, change your dao.framework property from 'hibernate' to
> 'jpa-hibernate'.
>
> And, because of this (http://issues.appfuse.org/browse/APF-565), you'll
> have to to a '-Ddao.framework=jpa-hibernate' pretty much eve
If you're going to use "war:inplace", you should make sure and exclude
WEB-INF/classes from source control so you never check these files in.
You should also not modify them - you should only modify source in
src/main/resources. If you want to override settings in a properties
file from WEB-INF/c
Fixed - thanks!
On 3/7/07, wnqq <[EMAIL PROTECTED]> wrote:
In the tutorial of "Using Struts 2":
http://appfuse.org/display/APF/Using+Struts+2
The following line of code:
should be fixed as:
Otherwise, the test will fail in I18N environment.
--
View this message in context:
http://www.
On 3/8/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote:
/CodeRegitration.html*=ROLE_ANONYMOUS,admin,user
Regitration?
--
Ealden Esto E. Escañan
Software Engineer
Orange and Bronze Software Labs, Ltd. Co.
Web: http://software.orangeandbronze.com
Email : [EMAIL PROTECTED]
Blog : http://bl
Thanks. seems to fixed it. ;)
On 3/8/07, Ealden Esto E. Escañan <[EMAIL PROTECTED]> wrote:
On 3/8/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote:
>
> /CodeRegitration.html*=ROLE_ANONYMOUS,admin,user
Regitration?
--
Ealden Esto E. Escañan
Software Engineer
Orange and Bronze Software Labs, Ltd.
We don't use Canoo in our environment - how can I remove it from the
maven build? I'm an extremely lost old Ant pro. :-)
_
Matt Stine
Senior Software Engineer
Hartwell Center for Bioinformatics and Biotechnology
St. Jude Children's Research Hospital
332
Do you plan on doing any UI testing? I recently integrated Selenium
in a Maven 2 project and it seems pretty nice.
Deleting the with cargo and canoo webtest in your pom.xml
(web/pom.xml for modular project) will remove them. You can also
delete src/test/resources/web-tests.xml, login.xml and c
A couple of questions for folks using (or planning to use) 2.x:
1. As far as archetypes go, are you using basic or modular?
2. If there was a 3rd type of archetype that included the full source
(like AppFuse 1.x), would you use it over the existing basic or
modular archetypes? If yes, I'm assum
1. I've used modular projects so far (struts and Spring MVC). I think that
using modular projects is the way to go. Normally you will have business
logic that you perhaps want to expose through other channels than web or
reuse, so it's better to separate it in an own module.
2. I think in some ca
How can I have the dbunit task load a different set of data AFTER the unit
tests have already been run?
Thanks
--
View this message in context:
http://www.nabble.com/DbUnit-tf3364738s2369.html#a9361465
Sent from the AppFuse - User mailing list archive at Nabble.com.
---
Which version of AppFuse are you using?
Matt
On 3/7/07, tdahlke <[EMAIL PROTECTED]> wrote:
How can I have the dbunit task load a different set of data AFTER the unit
tests have already been run?
Thanks
--
View this message in context:
http://www.nabble.com/DbUnit-tf3364738s2369.html#a9361465
2.0-m4-SNAPSHOT
My problem is that the sample data I'd like to load get's deleted by the
tests (basically copies from the quickstart). This would be okay, except
there's foreign keys so the deletes cascade and then some other test will
fail.
mraible wrote:
>
> Which version of AppFuse are you
If you add an to the dbunit plugin that executes in the
"post-integration-test" phase, that should solve your issue:
post-integration-test
post-integration-test
operation
Call us "unagile" I guess - we still do primarily manual UI testing.
I'd really like to try Selenium sometime, just haven't had the time. We
used to do a lot of HttpUnit stuff, but the weak JavaScript support and
high resistance to change killed us.
Do you think the WebTest or Selenium recorder
On 3/7/07, Stine, Matt <[EMAIL PROTECTED]> wrote:
Call us "unagile" I guess - we still do primarily manual UI testing.
I'd really like to try Selenium sometime, just haven't had the time. We
used to do a lot of HttpUnit stuff, but the weak JavaScript support and
high resistance to change killed
I'm having problems deploying to JBoss 4.0.5.GA using an Appfuse 2.0-m3
application. The JBoss instance does have a customized configuration,
but it's mainly stripping out unnecessary modules for our environment
like clustering, etc. At any rate, I cannot deploy. Here's the error
I'm getting:
If you had Canoo WebTests, you could verify everything works with Cargo. ;-)
I don't know if 2.0-m3 supports testing on JBoss, but 2.0-m4-SNAPSHOT
does. If you look in your pom.xml and see a "jboss" profile, than it
probably does support it. Run "mvn install -Pjboss" to download and
test your a
Hi guys,
Are there any known issues with populating your model objects using the
populate method in BaseDaoTestCase class. I have set up a .properties
file with the same name as my test case and entered values for each
property of the model object, yet when BeanUtils.copyProperties is
called the
How do I set postgresql as the default database in an archetype
generated app?
David M.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This should help:
http://raibledesigns.com/rd/entry/database_profiles_in_appfuse_2
On 3/7/07, J. David Mendoza R. <[EMAIL PROTECTED]> wrote:
How do I set postgresql as the default database in an archetype
generated app?
David M.
On Wed, 7 Mar 2007 12:01:50 -0700, Matt Raible wrote
> A couple of questions for folks using (or planning to use) 2.x:
>
> 1. As far as archetypes go, are you using basic or modular?
At this stage, basic. My app won't be much more than a webapp.
> 2. If there was a 3rd type of archetype that inc
On Wed, 7 Mar 2007 14:27:47 -0700, Matt Raible wrote
> I like Selenium because it uses your browser's JavaScript engine
> whereas the rest of the tools (including HttpUnit, HtmlUnit, probably
> even JMeter) are playing catchup trying to support all of the Ajax
> frameworks.
How's that work on a co
If you execute toString() on your object, is it really populated? If
you have a setup method, is it calling super.setup()?
Matt
On 3/7/07, Philip Barlow <[EMAIL PROTECTED]> wrote:
Hi guys,
Are there any known issues with populating your model objects using the
populate method in BaseDaoTestCa
On 3/7/07, Trent <[EMAIL PROTECTED]> wrote:
On Wed, 7 Mar 2007 14:27:47 -0700, Matt Raible wrote
> I like Selenium because it uses your browser's JavaScript engine
> whereas the rest of the tools (including HttpUnit, HtmlUnit, probably
> even JMeter) are playing catchup trying to support all of t
On Wed, 7 Mar 2007 18:05:48 -0700, Matt Raible wrote
> [selenium]
> I haven't tried it on headless Linux, but it does work on Windows.
> The project I'm currently I'm works around this with VNC.
Sounds like the choices are either
a) test AJAX with Selenium but incite hackery due to its client-sid
Hi all,
I don't know if my question make sense or not. I got a jsp (say,
ViewOrder.jsp) displaying an order summary, i want to reuse it everytime
I want to display something together with this order summary by using
In this jsp it take a variable at path "order". In one controller
wh
Environment: v2.0-m4-SNAPSHOT
It is too often to get "java.lang.OutOfMemoryError: PermGen space" while
executing "mvn jetty:run".
How to resolve it?
I know that traditionally we could specify the JVM parameters like "-Xmx512M
-XX:PermSize=64M -XX:MaxPermSize=128M" to increase the memory size. H
Within an Appfuse project is there an easy way to get a hibernate
session and execute an HQL query and update?
Sorry if this is an obvious spring beginner question, still trying to
figure out everything going on here.
I'm doing this in my onSubmit method of one of my form controlers to
inject so
I have MaxPermSize set to 256M on my system and I still get this issue
every 5-10 minutes. My guess is resources aren't being let go. I've
heard bad things about Spring and Hibernate in the past, so I don't
know if they're causing this or what. The best thing is probably to
slap a profiler on it
If you've overriden security.xml in your project, you'll need to
remove the "userCache" property on the daoAuthenticationProvider bean.
Based on the following thread, we removed Acegi's userCache and made
sure EhCache is configured as the default 2nd-level cache for
Hibernate. This should solve a
In the tutorial of "Using Struts 2":
http://appfuse.org/display/APF/Using+Struts+2
The following line of code:
should be fixed as:
Otherwise, the test will fail in I18N environment.
--
View this message in context:
http://www.nabble.com/I18N-error-in-tutorial---Using-Struts-2-tf3361250s
When using war:inplace, all.properties fil are set in
src/main/webapp/web-inf/classes
i suggests to put directly some properties inside src/main/ressources
such as
displaytag.properties oscache.properties errors.properties
Ben.
Dear Ben,
I am not sure if your comments are related to my post.
Did you mean that we can use label="Save" (instead of "{button.save}") with
your suggestions?
benoit wrote:
>
> When using war:inplace, all.properties fil are set in
> src/main/webapp/web-inf/classes
>
> i suggests to put direc
No sorry, i use reply in my mail box.
wnqq a écrit :
Dear Ben,
I am not sure if your comments are related to my post.
Did you mean that we can use label="Save" (instead of "{button.save}") with
your suggestions?
benoit wrote:
When using war:inplace, all.properties fil are set in
src/main/
Hello,
Our application running on Appfuse with Hibernate as ORM is to be ported
onto JPA.
Some questions:
A) I presume Appfuse ships with Hibernate's implementation of the JPA...So
this means that I create my domain objects using Hibernate Annotations but I
still can use either Hibernate /
So... let me preface this with saying that the userForm.xhtml (and
associated JSF class) have been tweaked here and there since the project
I'm working on was started (from an AppFuse 1.9.x version). I know the
issue I'm about to describe is something on my side, and I'm assuming it
has to do
In appfuse 2, hibernate is still the default persistence option, and the
only thing different about it and the way it was in appfuse 1.x is the
fact that it uses annotations instead of hbm.xml files. To implement
this, we've stuck to the 'javax.persistence.*' annotations, so that it
is hiberna
If you see that during test, it might be cause by
org.appfuse.webapp.controller.BaseControllerTestCase, it has "tomcat"
hardcoded.
natophonic wrote:
>
>
> With
> appfuse-spring-2.0-m4-20070303.161353-20.warpath.jar
> and
> appfuse-web-common-2.0-m4-20070303.161353-60.warpath.jar
>
> and Spri
I'm working on the same project with Bryan so here's some more information.
We've made changes in the security.xml, roles, and users so that we can have
the option for groups from which users can get permissions. Almost
everything works perfectly except one thing whereby a user *WITHOUT* admin
r
Hi All,
I was wrong it was not working yet I was always brought to the login.jsp.
Please advise.
Thanks
Richard
On 3/6/07, Ealden Esto E. Escañan <[EMAIL PROTECTED]> wrote:
Hi Richard,
On 3/6/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Please advise on how I can expose a u
Bryan,
Tks for replying
So I assume that the usage of entity managers and annotations is implemented
using HibernateWhat I wonder is how to get this setup running...as
simple change in the pom.xml aint getting the jar to be downloaded into my
repository...I can still see that appfuse-hib
Can you post your configuration? You might want to make sure the rule
is at the top of the list.
Matt
On 3/7/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote:
Hi All,
I was wrong it was not working yet I was always brought to the login.jsp.
Please advise.
Thanks
Richard
On 3/6/07, Ealden Est
Hi Matt,
Here...
PATTERN_TYPE_APACHE_ANT
/CodeRegitration.html*=ROLE_ANONYMOUS,admin,user
/clickstreams.jsp*=admin
/flushCache.*=admin
/passwordHint.html*=ROLE_ANONYMOUS,admin,user
Make sure you still have the anonymous filter:
and that it's still being called in the filter chain:
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/images/**=#NONE#
thanks for the reply
heres my filter chain proxy...
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/**=httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,r
I'm assuming you've attached a debugger to your UserForm.java class to
verify this behavior? I recall experiencing a similar issue in the
past, but I don't believe it was with JSF. Unfortunately, I don't
recall the solution.
Matt
On 3/7/07, tonyl <[EMAIL PROTECTED]> wrote:
I'm working on the
In your pom.xml, change your dao.framework property from 'hibernate' to
'jpa-hibernate'.
And, because of this (http://issues.appfuse.org/browse/APF-565), you'll
have to to a '-Ddao.framework=jpa-hibernate' pretty much every time you
do any 'mvn ...' command.
--Bryan
VJ22 wrote:
Bryan,
Tks
That's not very nice is it. ;-) Can you please enter an issue in JIRA for this?
http://issues.appfuse.org/browse/APF
The best way to solve this on our end is probably to figure out a
mechanism in Base*TestCase to look up the user with a "1" id in the
database - or at least allow overriding of th
You're assuming correctly. Debugger, plus println's... shows that the
1st time 'Save' is clicked, the UserForm.save method is NOT being
executed/entered. Any hints on where to start looking?
Matt Raible wrote:
I'm assuming you've attached a debugger to your UserForm.java class to
verify this
FYI, I'm using 1.9.4 + webwork
On 3/8/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote:
Hi All,
I was wrong it was not working yet I was always brought to the login.jsp.
Please advise.
Thanks
Richard
On 3/6/07, Ealden Esto E. Escañan <[EMAIL PROTECTED]> wrote:
>
> Hi Richard,
>
> On 3/6/07, R
50 matches
Mail list logo