Environment: appfuse v2.0m4 + struts2 + hibernate (+ eclipse)
I wrote a very simple action class (NodeAction.java) and it could not
function properly unless I rename it to something else (such as
Node2Action.java). Not sure should I configure anything in appfuse
environment in order to get it wor
On 4/2/07, Nathan Anderson <[EMAIL PROTECTED]> wrote:
Changing persistence mechanisms is one of the features that Matt was
working quite recently. You should probably take a look at this page:
http://appfuse.org/display/APF/Persistence
I'm guessing that iBATIS would be easier to work with th
Changing persistence mechanisms is one of the features that Matt was
working quite recently. You should probably take a look at this page:
http://appfuse.org/display/APF/Persistence
I'm guessing that iBATIS would be easier to work with than Hibernate if
you wanted something easier to learn. B
Hi,
I was wondering if a tutorial can be made using jdbc for persistence.
That way, at least I can get going without learning Hibernate.
Trying to learn so many tools all at the same time is really hard.
(Just would like to defer as many subcomponents as possible until I learn
the core)
Thank
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 wrote:
>
> 2.0 M4 uses 5.0.5, but previous version used 5.0.4. Regardless of what
> we use, you have full control over the version in your pom.xml - look
> for for you
2.0 M4 uses 5.0.5, but previous version used 5.0.4. Regardless of what
we use, you have full control over the version in your pom.xml - look
for for your version #.
Matt
On 4/2/07, appfused <[EMAIL PROTECTED]> wrote:
I thought appfuse comes with the 5.0.5 driver?
I'm relying on everything mav
I thought appfuse comes with the 5.0.5 driver?
I'm relying on everything maven pulls down when i build the application
Let me know if i'm missing something.
mraible wrote:
>
> You might try upgrading to the 5.0.5 version of the MySQL JDBC Driver
> (if you're not already using it).
>
> Matt
>
You might try upgrading to the 5.0.5 version of the MySQL JDBC Driver
(if you're not already using it).
Matt
On 4/2/07, appfused <[EMAIL PROTECTED]> wrote:
I just tried to install appfuse on a linux box that has tomcat 5,mysql4.1
however when it comes to do the dbunit task, it can't connect to
I just tried to install appfuse on a linux box that has tomcat 5,mysql4.1
however when it comes to do the dbunit task, it can't connect to the
database although the user name and password work from the command line. I
use
mysql -uusername -ppassword
Any thoughts? should i be using a driver diff
Dear Matt,
Thanks for the guidance.
I haven't got any luck yet. Anyway, I will give it some more tries later.
mraible wrote:
>
> You may need to turn off "build automatically" in Eclipse. It's
> likely overriding your target/classes/jdbc.properties with the
> unparsed one in src/main/resource
You may need to turn off "build automatically" in Eclipse. It's
likely overriding your target/classes/jdbc.properties with the
unparsed one in src/main/resources/jdbc.properties. Another option
(which I haven't tried) is to make src/main/resources/jdbc.properties
the source and modify pom.xml to
I tried "mvn clean compile" and refresh eclipse, but still got the "circular
placeholder reference" errors.
It looks like it has nothing to do with jdbc.properties.
mraible wrote:
>
> You probably need to run "mvn compile" from the command line first -
> so jdbc.properties gets copied to the ta
You might try comparing your code to the one in the tutorial. The
bottom of the tutorial has a link to the Subversion repository where
this tutorial's code is stored.
Matt
On 4/2/07, lk <[EMAIL PROTECTED]> wrote:
Now I cannot anymore pass the PersonDaoTest.
Here is the error in sure-reports/or
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.
Matt
On 4/2/07, lk <[EMAIL PROTECTED]> wrote:
Hi,
I'm using Netbeans to build the tutorial Person e
Now I cannot anymore pass the PersonDaoTest.
Here is the error in sure-reports/org.appfuse.tutorial.dao.PersonDaoTest.txt
---
Test set: org.appfuse.tutorial.dao.PersonDaoTest
--
Hi,
I'm using Netbeans to build the tutorial Person example, but when I try
to write the PersonListTest I get this error:
cannot find symbol
symbol: class BasePageTestCase
I'm newbie to Netbeans, but I found that that class (BasePageTestCase)
is present in
myproject-1.0-SNAPSHOT/WEB-INF/cl
strange seems to have been a broken download. deleted the zip file and
after a new download all works great!
tibi
tibi wrote:
zip seems to be corrupt...
tibi
tibi wrote:
i started a new project did:
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-st
zip seems to be corrupt...
tibi
tibi wrote:
i started a new project did:
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-struts
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=2.0-m4 -DgroupId=nl.foo.bla -DartifactId=bla
i started a new project did:
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-struts
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=2.0-m4 -DgroupId=nl.foo.bla -DartifactId=bla
and did a cd bla
and did a mvn integration-tes
cool thanks for the info!! (and fast a real plus for appfuse)
ciao
tibi
Matt Raible wrote:
Acegi's default implementation uses XML, but you could probably write
your own FilterSecurityInterceptor that reads the configuration from a
database.
http://63.246.29.165/multiproject/acegi-security/xr
Acegi's default implementation uses XML, but you could probably write
your own FilterSecurityInterceptor that reads the configuration from a
database.
http://63.246.29.165/multiproject/acegi-security/xref/org/acegisecurity/intercept/web/FilterSecurityInterceptor.html
After you've written your cl
when using struts 2 with appfuse 2 is it posible to have dynamic roles.
that an administrator can dynamicaly give access to pages or function to
a role?
or is it always hard coded in the xml files??
thanks
tibi
-
To unsubsc
You probably need to run "mvn compile" from the command line first -
so jdbc.properties gets copied to the target directory and its values
get replaced.
Matt
On 4/2/07, wnqq <[EMAIL PROTECTED]> wrote:
Have anyone successfully executed junit tests in eclipse?
My environment:
* Appfuse v2.0M4 +
Why are you manually instantiating a new view? Can you just do something like:
return new ModelAndView(view);
?
Matt
On 4/2/07, pguillard <[EMAIL PROTECTED]> wrote:
Hi,
I've just installed appfuse-springmvc-1.9.4, and i'm a newbie.
As soon as i write my own controller and define explicitly
We need to know the error in order to help you. What happens if you
run "mvn test -Dsurefire.useFile=false"?
Matt
On 4/2/07, lk <[EMAIL PROTECTED]> wrote:
Hi Matt,
thanks for the answer.
The problem happens when I try to deploy the application with the
command mvn jetty:run-war.
All the tes
hi
sorry that i aware this may be more a acegi question. but I really hope
someone here can help me too.
pls guide me on how to setup Digest correctly in appfuse! pls advise
I tried to setup my digestAuthorization and chellenge from my firefox 2.0,
but failed
my scenario:
1) firefox send reque
Have anyone successfully executed junit tests in eclipse?
My environment:
* Appfuse v2.0M4 + struts + hibernate
* eclipse v3.2.1
I can successfully run PersonManagerTest, however, I am unable to finish the
tests of PersonDaoTest nor PersonActionTest.
The steps I did are: right click on PersonDao
Hi,
I've just installed appfuse-springmvc-1.9.4, and i'm a newbie.
As soon as i write my own controller and define explicitly a view or model
or both, for instance this:
JstlView view = new JstlView();
view.setUrl("myview.jsp");//Just a hello jsp page
return new ModelAndV
Hi Matt,
thanks for the answer.
The problem happens when I try to deploy the application with the
command mvn jetty:run-war.
All the test runs well, but something goes wrong when I deploy the app.
I looked at the target/surefire-reports but I didn't find anything useful.
The output of mvn j
Thank you for the clear explanations.
Michael Horwitz wrote:
>
> Under Java 1.5 the Class class is generic. Using Class firmly declares
> that the variable can only be populated with an instance of the class of
> the
> type being persisted, T.
>
> Mike.
>
> On 4/2/07, wnqq <[EMAIL PROTECTED]>
Under Java 1.5 the Class class is generic. Using Class firmly declares
that the variable can only be populated with an instance of the class of the
type being persisted, T.
Mike.
On 4/2/07, wnqq <[EMAIL PROTECTED]> wrote:
In line 30 of GenericDaoHibernate.java (under
data/hibernate/src/main/j
31 matches
Mail list logo