I filed a JIRA issue, but I have no clue for a more specific problem desciption.
Jan
Am 23.01.2005 um 01:59 schrieb Chad Brandon:
The first one seconds like a bug (which I'll fix if you file a JIRA issue).
The second one I'm not sure about.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan Heise
Sent: Saturday, January 22, 2005 5:46 PM
To: [email protected]
Subject: [Andromda-user] Resin&Spring Cartridge Problem (Transactions?)
Hi,
I have the following exception:
[01:44:53.999] ExceptionHandler caught this exception:
[01:44:53.999]
org.springframework.transaction.TransactionUsageException: Couldn't
find method '*' on class
[org.andromda.samples.springanimalquiz.decisiontree.DecisionItemDao]
[01:44:53.999] at
org.springframework.transaction.interceptor.MethodMapTransactionAttribu t
eSource.addTransactionalMethod(MethodMapTransactionAttributeSource.java :
107)
[01:44:53.999] at
org.springframework.transaction.interceptor.MethodMapTransactionAttribu t
eSource.addTransactionalMethod(MethodMapTransactionAttributeSource.java :
78)
[01:44:53.999] at
org.springframework.transaction.interceptor.TransactionAttributeSourceE d
itor.setAsText(TransactionAttributeSourceEditor.java:77)
[01:44:53.999] at
org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(B e
anWrapperImpl.java:934)
[01:44:53.999] at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperI m
pl.java:768)
[01:44:53.999] at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperI m
pl.java:674)
I tried to set
<transactionManager>org.springframework.transaction.jta.JtaTransactionM a
nager</transactionManager>
because I thought I could let Resin handle my transactions instead but
that gave me the following exception :
[01:39:53.389] ExceptionHandler caught this exception:
[01:39:53.389] org.springframework.beans.NotWritablePropertyException:
Invalid property 'sessionFactory' of bean class
[org.springframework.transaction.jta.JtaTransactionManager]: Bean
property 'sessionFactory' is not writable or has an invalid setter
method: Does the parameter type of the setter match the return type of
the getter?
[01:39:53.389] at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperI m
pl.java:761)
[01:39:53.389] at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperI m
pl.java:674)
[01:39:53.389] at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperI m
pl.java:815)
[01:39:53.389] at
org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapper I
mpl.java:842)
[01:39:53.389] at
org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapper I
mpl.java:831)
[01:39:53.389] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa c
tory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:831)
[01:39:53.389] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa c
tory.populateBean(AbstractAutowireCapableBeanFactory.java:648)
[01:39:53.389] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa c
tory.createBean(AbstractAutowireCapableBe
Jan
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
