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.MethodMapTransactionAttribut eSource.addTransactionalMethod(MethodMapTransactionAttributeSource.java: 107) [01:44:53.999] at org.springframework.transaction.interceptor.MethodMapTransactionAttribut eSource.addTransactionalMethod(MethodMapTransactionAttributeSource.java: 78) [01:44:53.999] at org.springframework.transaction.interceptor.TransactionAttributeSourceEd itor.setAsText(TransactionAttributeSourceEditor.java:77) [01:44:53.999] at org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(Be anWrapperImpl.java:934) [01:44:53.999] at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperIm pl.java:768) [01:44:53.999] at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperIm pl.java:674) I tried to set <transactionManager>org.springframework.transaction.jta.JtaTransactionMa 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(BeanWrapperIm pl.java:761) [01:39:53.389] at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperIm pl.java:674) [01:39:53.389] at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperIm pl.java:815) [01:39:53.389] at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperI mpl.java:842) [01:39:53.389] at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperI mpl.java:831) [01:39:53.389] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:831) [01:39:53.389] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.populateBean(AbstractAutowireCapableBeanFactory.java:648) [01:39:53.389] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac 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
