After I do a clean build (mvn clean install eclipse:eclipse) as you
suggested, there is an error as below for my env. Oracle 9i(9.0.2) +XP
SP2+JDK 1.5.11,
Running org.appfuse.service.UserManagerTest
INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading
context for locations:
You should be able to import the project - these files are in the
sun-directories, which is correct.
On 6/15/07, Eric Fitzsimmons <[EMAIL PROTECTED]> wrote:
build.xml is an ant build file, so maven is your new build tool, but
it is much more than that as well. I am unsure why the .project and
build.xml is an ant build file, so maven is your new build tool, but
it is much more than that as well. I am unsure why the .project and
.classpath are not showing up. Try running mvn clean install
eclipse:eclipse and see if that works.
On 6/15/07, kkus <[EMAIL PROTECTED]> wrote:
It is workin
You should be able to manually change this.
Matt
On 6/15/07, ros <[EMAIL PROTECTED]> wrote:
Hi!
Done upgrade from M4 to M5. after mvn package in target dir, the vaiables in
log4j.xml stay unexpanded:
but in m4 was com.mygroup.myproject
Why this happens?
Thanks!
ros
Problem found. Sorry.
ros wrote:
>
> Hi!
>
> Done upgrade from M4 to M5. after mvn package in target dir, the vaiables
> in log4j.xml stay unexpanded:
>
>
>
>
> but in m4 was com.mygroup.myproject
>
>
>
>
>
> Why this happens?
>
> Thanks!
> ros
>
--
View this
Help:
I have a model class called DealResource that has a composite id (embeddedId)
call dealResourceId which represents the primary key. I am using Hibernate JPA
with annotations and I am able to insert records but if I try to
update an existing record
hibernate tries to insert the record instea
Hi!
Done upgrade from M4 to M5. after mvn package in target dir, the vaiables in
log4j.xml stay unexpanded:
but in m4 was com.mygroup.myproject
Why this happens?
Thanks!
ros
--
View this message in context:
http://www.nabble.com/log4j.xml---%24%7BgroupId%7D-tf393
It is working without error. But I can't find expected .project, .classpath
and build.xml files. Could you tell me what mvn command does that or I have
to configure all libs manually in Eclipse? Thanks!
mraible wrote:
>
> You need to "cd" into your new project before running this command.
>
>
You need to "cd" into your new project before running this command.
Matt
On 6/15/07, kkus <[EMAIL PROTECTED]> wrote:
My env. is JDK 1.5.11 in XP SP2. First I used following command and it was
successful,
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-
My env. is JDK 1.5.11 in XP SP2. First I used following command and it was
successful,
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-spring
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=2.0-m5 -DgroupId=fuel -DartifactId=app
That brings up a follow up question. Which one am I using? I could say that
I am using JPA because I'm using the JPA annotations in my POJOs. But then
again, I could say I am using Hibernate because that is my persistence
layer. So which one of these filters sounds like it applies to my
situat
I am using the new syntax in all my calls.
--- cpnguyen <[EMAIL PROTECTED]> wrote:
>
> From the
> http://appfuse.org/display/APF/Release+Notes+2.0+M5
> Release Notes :
>
> Change in usage of Managers and DAOs
>
> In versions prior to M5, the EntityManager.merge()
> method was being used
> inco
I don't want to make any guaranties because I already have a pretty full
plate at work but I will take a look into it (appfuse-maven-plugin).
Thanks,
Abe
On 6/15/07, Matt Raible <[EMAIL PROTECTED]> wrote:
Are you trying to make full-source work with modular archetypes? If
so, you can probabl
Sorry, here it is
I am using appfuse 2 with Hibernate implementation.
I have a table with this definition
CREATE TABLE /*!32312 IF NOT EXISTS*/ `catalog`
( `id` bigint(20) NOT NULL auto_increment,
`catalog_name` varchar(100) NOT NULL,
`active` varchar(1) NOT NULL,
No, as far as I know - no one has tried to get Axis to work with AppFuse 2.
Matt
On 6/15/07, mavenj <[EMAIL PROTECTED]> wrote:
Is there an AppFuse 2 version Axis page? If I blindly use the mojo
axistools:wsdl2java plugin and generate source code, override the server
Impl class and try to do d
It looks like it's barfing on two things: 1) the 404.jsp and 2) an if
statement in the SiteMesh decorator. You might try removing the
decorator tags from 404.jsp and see if that helps.
Matt
On 6/15/07, Travers Snyman <[EMAIL PROTECTED]> wrote:
I have followed the person tutorial for struts
On 6/15/07, Tobias Vogel <[EMAIL PROTECTED]> wrote:
Hi all,
I ported the ACL example from AppFuse-1.9.x to AppFuse-2. I now started
a test case with about 1 secured objects and then called the
PersonManager's getPerson()-method. After a short time this results in a
SQLException stating "Too
Is there an AppFuse 2 version Axis page? If I blindly use the mojo
axistools:wsdl2java plugin and generate source code, override the server
Impl class and try to do dependency injection (by defining my Impl class in
applicationContext.xml), the managed beans never get set. I suppose the
AxisServ
This message came though all jumbled together. Can you resend it in plain-text?
Matt
On 6/15/07, Franco <[EMAIL PROTECTED]> wrote:
I am using appfuse 2 with Hibernate implementation. I have a table with
this definition CREATE TABLE /*!32312 IF NOT EXISTS*/ `catalog` ( `id`
bigint(20) NOT NULL
Are you trying to make full-source work with modular archetypes? If
so, you can probably re-use some existing logic in the plugin. Rather
than pulling down all the pom.xml files and putting the
dependencies/properties into one pom.xml, you'll need to put them into
3 pom.xml files.
Hope that help
>From the http://appfuse.org/display/APF/Release+Notes+2.0+M5 Release Notes :
Change in usage of Managers and DAOs
In versions prior to M5, the EntityManager.merge() method was being used
incorrectly. This has been fixed for M5, and the fix requires a slight
modification of how Manager and DAO
Hi Matt,
I am having the same problem.
I started to look into the source code and I was wondering if you could give
me a hint of where I need to look and what I need to do to get rid of the
missing dependency problems.
Regards,
Abe
On 5/24/07, Matt Raible <[EMAIL PROTECTED]> wrote:
The full
Matt,
Sorry I didn't get back to you sooner. I was out yesterday.
You are the best. That fixed it.
Warmest Regards,
Abe
On 6/13/07, Matt Raible <[EMAIL PROTECTED]> wrote:
You might try deleting your local AppFuse plugin (rm -r
~/.m2/repository/org/codehaus/mojo/appfuse-maven-plugin). This
I am using appfuse 2 with Hibernate implementation.
I have a table with this definition
CREATE TABLE /*!32312 IF NOT EXISTS*/ `catalog` (
`id` bigint(20) NOT NULL auto_increment,
`catalog_name` varchar(100) NOT NULL,
`active` varchar(1) NOT NULL,
`date_created` datetime default NULL,
PR
Ok, so I changed my web.xml to use the OpenEntityManagerInViewFilter and
restarted the Jetty server with 'mvn jetty:run-war'. The server appears to
start up fine with to exceptions, but when I access 'http://localhost:8080'
in my web browser, I get the following exception:
org.springframework.be
Actually, the OpenSessionInViewFilter does not change the behaviour.
I debugged a little further so far: During normal operation (load, save,
remove), the open connections grow till the maximum (3 connections per
object and per operation), but the some kind of clean up purges about
half of the co
This may also be related to the use of the OpenSessionInView filter. In
AppFuse 2.0x this is commented out by default - you may try uncommenting it
to see if holding the session open reduces the number of connections. I also
assume with ACL that you are using method interceptors on your service
me
Hi all,
I ported the ACL example from AppFuse-1.9.x to AppFuse-2. I now started
a test case with about 1 secured objects and then called the
PersonManager's getPerson()-method. After a short time this results in a
SQLException stating "Too many connections". With the command line tool
(mysql)
If I try to override save method of GenericManagerImpl in my xxxManagerImpl I
get a Data access failure error about transaction being read only. This
error occurs even if I have only one line of code, return
super.save(object).
But if I create a custom method saveXXX(object) in my xxxManagerImpl
The easiest way to sort out such a problem is to put an explicit dependency
on commons-collections in your pom.xml. That should make sure the correct
version makes it into the final build.
Mike.
On 6/15/07, ros <[EMAIL PROTECTED]> wrote:
Hi!
When do package with jboss profile (mvn -Dmaven.t
Hi Guys,
Has anyone done any work integrating an appufuse project with RSA token. I
have just created my agent that access uers names and pin/passcode and can
authenticate, but now i have to begin the the task of integrating it with
one of my appfuse projects that currently uses dao authenticati
Hi!
When do package with jboss profile (mvn -Dmaven.test.skip=true clean package
-P jboss) the result is
/target/tickets-1.0-SNAPSHOT/WEB-INF/lib/commons-collections-2.1.jar
I expect it to be commons-collections-3.x.jar. And it is if build is done
without -P parameter.
It looks like this proble
I have followed the person tutorial for struts basic type and
experienced a problem right at the end. Everything works fine on jetty
(mvn jetty:run-war), but with tomcat (mvn cargo:start
-Dcargo.wait=true), I get a null pointer exception when trying to access
editPerson. The list person is fine. It
Michael Horwitz ??:
Sitemesh is configured, by default, to filter on the user request
(which are mapped by your chosen web framework to /WEB-INF/pages/). So
you would need to exclude the corresponding URL(s) in the
section of decorators.xml.
Mike.
On 6/15/07, *ChengJiaguo* <[EMAIL PROTECTED]
Sitemesh is configured, by default, to filter on the user request (which are
mapped by your chosen web framework to /WEB-INF/pages/). So you would need
to exclude the corresponding URL(s) in the section of
decorators.xml.
Mike.
On 6/15/07, ChengJiaguo <[EMAIL PROTECTED]> wrote:
i don't like t
i don't like the (/WEB-INF/pages/*)'s pages decorated by sitemesh .
how to config it!!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I believe if you are using JPA then the class for the filter should be:
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
There should be a comment to that effect in the web.xml file?
Mike
On 6/15/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote:
Matt,
Yes, I did try that by un
Hi I am trying to deploy my appfuse 2.0 m4 application to OC4J and I get the
following exception
Exception creating EntityManagerFactory using PersistenceProvider class
org.hibernate.ejb.HibernatePersistence for persistence unit
ApplicationEntityManager
Does anyone have any idea what might be c
38 matches
Mail list logo