Okay looks like @ManyToOne is the way to go for my scenario. I ran "mvn
appfuse:gen" after modifying my POJO which seemed to help. Now when I run "mvn
jetty:run-war" I don't get the surefire failures any more. But when I try to
add one of the objects that contains the other object I just get
Thanks for the info and sorry for the double send of that last message. I
wasn't sure which account one I had registered with the mailing list.
I found the surefire reports and you are right they are not the easiest to look
at, and in this case they are pretty cryptic [just an NPE :/].
I ha
For an embedded POJO (like Address), you need @Component on the object
that embeds it:
@Embedded
public Address getAddress() {
return address;
}
Then you need @Embeddable on the object that's being embedded:
@Embeddable
public class Address extends BaseObject implements Seria
I'd be happy to.
The NonUniqueObjectException problem (which had nothing to do with the
"cannot simultaneously fetch multiple bags" problem) was caused by setting
an id on a bean that was already saved in the database.
The "cannot simultaneously fetch multiple bags" problem, which is more
intere
Hey folks,
I've been away from AppFuse a while and I'm trying to reacquaint myself but I
seem to be hitting some roadblocks.
I have created some POJO's for my Struts 2 basic app, but I'm having a problem
with running my app now that I have POJO that embeds another POJO. This is
similar to Us
Can you please explain the problem and your solution so others can
benefit from this thread?
Thanks,
Matt
On 9/25/07, gederer <[EMAIL PROTECTED]> wrote:
>
> I solved the NonUniqueObjectException problem, and it was, indeed, totally
> unrelated.
>
> Thanks!
>
> Greg
>
>
> gederer wrote:
> >
> > L
I solved the NonUniqueObjectException problem, and it was, indeed, totally
unrelated.
Thanks!
Greg
gederer wrote:
>
> Looks like this is related to:
>
>
> http://opensource.atlassian.com/projects/hibernate/browse/EJB-217;jsessionid=a1-7b0QD0HedspCMsq
>
> And:
>
>
> http://www.jroller.c
Looks like this is related to:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-217;jsessionid=a1-7b0QD0HedspCMsq
And:
http://www.jroller.com/eyallupu/entry/hibernate_exception_simultaneously_fetch_multiple
I added @Fetch(FetchMode.SUBSELECT). This got rid of the
HibernateExc
I'm still using 2.0-RC1 due to local subversion issues that I haven't
resolved yet.
I added:
to my applicationContext-service.xml. Still getting
"org.hibernate.HibernateException: cannot simultaneously fetch multiple
bags", though.
Greg
mraible wrote:
>
> This appears to be
This appears to be the problem:
Invocation of init method failed; nested exception is
org.hibernate.HibernateException: cannot simultaneously fetch multiple bags
Are you using 2.0 or did you upgrade? If you upgraded, are you using
appfuse-service and loading it's applicationContext-service.xml?
Yes. I have uncommented both the filter and filter-mapping in web.xml.
Also, I've had good luck with OSIV elsewhere.
Greg
mraible wrote:
>
> Have you tried uncommenting the OpenSessionInViewFilter in web.xml?
>
> Matt
>
> On 9/25/07, gederer <[EMAIL PROTECTED]> wrote:
>>
>> Hmm. OK.
>>
>
Have you tried uncommenting the OpenSessionInViewFilter in web.xml?
Matt
On 9/25/07, gederer <[EMAIL PROTECTED]> wrote:
>
> Hmm. OK.
>
> The real cause of my woes is this stacktrace:
>
> DEBUG [btpool0-1] ToysResoldFormController.onSubmit(115) | entering
> 'onSubmit' method...
> ERROR [btpool0-1
Hmm. OK.
The real cause of my woes is this stacktrace:
DEBUG [btpool0-1] ToysResoldFormController.onSubmit(115) | entering
'onSubmit' method...
ERROR [btpool0-1] LazyInitializationException.(19) | failed to lazily
initialize a collection of role:
com.firstworldtoys.model.ToyProvider.resellerToy
This is Jetty warning you that you don't have a JTA Transaction
manager registered. You shouldn't need this unless you want to have
transactions that span multiple resources. If you need this, you'll
need to register one with Jetty (or use an app server that has one
out-of-the-box) and then change
Hi,
When I run mvn jetty:run, I get this message in the output:
[INFO] Starting jetty 6.1.5 ...
2007-09-25 19:36:29.709::INFO: jetty-6.1.5
2007-09-25 19:36:29.963::INFO: No Transaction manager found - if your
webapp requires one, please configure one.
Not having a transaction manager se
Looking at the user guide
(http://tacos.sourceforge.net/userguide/Setup.html), it looks like we
might've forgot one essentials step - adding Tacos to
tapestry.application:
Can you try that and see if it helps?
Thanks,
Matt
On 9/25/07, cpnguyen <[EMAIL PROTECTED]> wrote:
>
> Also, is there any
It's very difficult to read this message - can you please resend it
with better formatting to [EMAIL PROTECTED] Maybe you
selected the "contains HTML" option on Nabble? I don't believe you
need to do this.
Matt
On 9/25/07, cpnguyen <[EMAIL PROTECTED]> wrote:
> Hello all, I am in the process of u
AppFuse 2.0 uses MySQL version 5.0.5, which is the most recent on in
Maven's repository.
http://mvnrepository.com/artifact/mysql/mysql-connector-java
Matt
On 9/25/07, Richard Paul <[EMAIL PROTECTED]> wrote:
>
> I believe I am using the JDBC driver provided by appfuse.
> I upgraded the MySQL serv
If you're seeing this issue with 2.0 Final, maybe it's caused by the
following change? I don't think these changes should affect anything,
but you never know.
http://tinyurl.com/ysot66
Matt
On 9/25/07, sparqle <[EMAIL PROTECTED]> wrote:
>
> Hello Pete,
>
> Thank you for the response. I agree wit
Also, is there any documentation on how to use Tacos in Appfuse 2.0 (since it
is now integrated)?
--
View this message in context:
http://www.nabble.com/Appfuse-2.0%3A-Tapestry-4.1%2C-Dojo%2C-DatePicker-DropdownDatePicker-tf4518754s2369.html#a12891241
Sent from the AppFuse - User mailing list ar
I believe I am using the JDBC driver provided by appfuse.
I upgraded the MySQL server from 5.0.26 to 5.0.45 and the problem seems to
have disappeared.
mraible wrote:
>
> It sounds like you need to add autoReconnect=true to your jdbc.url. I
> believe this was added by default to recent versions
Hello all,
I am in the process of upgrading my webapp from Appfuse 2.0 M5 to 2.0 and I
have been following the migration guides. Things are starting to return to
normal, but I am experiencing an issue with DatePicker that I have no idea
how to fix. The issue appears with both FF2 and IE7.
With
Hello Pete,
Thank you for the response. I agree with that option 1 below should be
avoided - if possible.
Regarding, option 2, that is what I have tried already with the
autoReconnect=true option in the URL. I am not sure why it is not working.
Also, I expected at least dbcp to be able to handle
The username is guest and the password is blank.
On 9/25/07, John Kwon <[EMAIL PROTECTED]> wrote:
> I tried to use Tortoise SVN to connect to:
>
> https://appfuse.dev.java.net/svn/appfuse/trunk/ appfuse
>
> and it wanted a userid and password. Am I doing something wrong?
>
--
http://raibledes
I tried to use Tortoise SVN to connect to:
https://appfuse.dev.java.net/svn/appfuse/trunk/ appfuse
and it wanted a userid and password. Am I doing something wrong?
Did you find R_1617 in a public repo or did you have to install it
yourself? Can you create an issue in JIRA to upgrade to this release?
Thanks,
Matt
On 9/25/07, tnsilver <[EMAIL PROTECTED]> wrote:
>
> OK, here is a short solution to a big problem. After days of trying to get my
> web tests runn
Have you tried registering a Hibernate Converter?
http://getahead.org/dwr/server/hibernate
Matt
On 9/25/07, jithesh <[EMAIL PROTECTED]> wrote:
>
> hi
>
> i configured the dwr.xml as follows.
>
>
>
>
>
>
> converter="bean">
>
> and by JSP is
>
>
>
>
>
On 9/25/07, Bacchu, Anjan (ETW) <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> " If you have any opinions on whether this is a good direction, we'd
> love to hear them. With an appfuse-ws, hopefully we can open things up
> to new clients like GWT, Flex/OpenLaszlo and Swing."
>
> Enunciate : That loo
Are you using AppFuse for your project? There should be a
jdbc.properties in your target/test-classes (or target/classes)
directory that the plugin reads from.
Matt
On 9/25/07, hkadejo <[EMAIL PROTECTED]> wrote:
>
> Im run mvn appfuse:gen-model and I obtain like result :
>
> [INFO] Scanning for p
Did you try customizing hibernate.reveng.xml and ignoring the "All" table? If
you search the archives of this mailing list, you should find out how to do
this. The following issue may help too:
http://issues.appfuse.org/browse/APF-902
Matt
hkadejo wrote:
>
> That solution does not work I have
That solution does not work I have he himself problem
..
11:13:12,092 WARN org.hibernate.cfg.reveng.JDBCReader - Rev.eng. strategy
did n
ot report any primary key columns for WM$VERSIONS_IN_LIVE_VIEW
11:13:12,107 WARN org.hibernate.cfg.reveng.JDBCReader - The JDBC driver
didn't
rep
Hi Matt, this is a great idea, I am currently working on a prototype for a
flex application starting from the appfuse-modular-spring archetype.
The web services layer is built on Granite Data Services which implements
them using the native Flash data serialization for best performance.
Hopefully t
Im run mvn appfuse:gen-model and I obtain like result :
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'appfuse'.
[INFO]
-
---
[INFO] Building Unnamed - xzero.com:prueba:war:1.0
[INFO]
Hi, I am using Appfuse 1.9.4, JSF, Eclipse 3.2 and tomcat plugin of
sysdeo.
I have a difficult time to set it up for debugging even I followed first
Matt's instruction on
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseEclipse. I also found
a few site giving the instructions but still not wo
OK, here is a short solution to a big problem. After days of trying to get my
web tests running
I 'accidentally' upgraded my pom to R_1617 (latest
snapshot according to canoo webtest on
http://webtest.canoo.com/webtest/manual/Downloads.html) and the webtests
begun to run. It seems canoo webtests
Hiya,
Seems to be a couple of different ways of addressing this problem (none of
which I've tried ;p), but maybe this will be of some use to you before
someone who knows what they're talking about offers a hand!
1. Increase the *wait_timeout* setting in your mysql.ini or mysql.cnf file..
which se
Hi Matt,
" If you have any opinions on whether this is a good direction, we'd
love to hear them. With an appfuse-ws, hopefully we can open things up
to new clients like GWT, Flex/OpenLaszlo and Swing."
Enunciate : That looks cool. Is this feature going to be available
on the ant-version of ap
Well I found my problem, more or less. It's obvious if you look at my code.
This is what I was doing in showForm():
...
ModelAndView mav = new ModelAndView("findSections", "sections", sections);
mav.addObject("streets",referenceData(request));
return mav;
...
Nowhere was I actually returning t
Hello,
I am using Appfuse2.0 RC1, and I get the following JDBC exception every
morning on my application (if I am the first person to login). I am guessing
that this is happening due to a timeout of the MySQL connections.
I tried changing the URL of my database to include the "autoReconnect=true
hi
i configured the dwr.xml as follows.
and by JSP is
You may want to take a look at OSGI: http://www.springframework.org/osgi. It
is something that is on the AppFuse roadmap (or at least used to be?), but
none of us seem to have time to look into it in depth.
Mike
On 9/25/07, Yopy <[EMAIL PROTECTED]> wrote:
>
>
> To anyone willing to at least point
To anyone willing to at least point me in the right direction,
I'm currently working on a web application, one which has to be quite
flexible and all. One part of it is to present the user with information
from a certain source of data. This source can be anything - an XML file,
database data, et
42 matches
Mail list logo