Hi - I'm new to Flex. I'm trying to move an existing Java Hibernate
application over to have a fully Flex front end. The first thing I'm
trying to do is get access to all my database objects through the
Hibernate Assembler. I've got my Java code loading, the destination
set up, etc, following the example app at
http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.html

I've replaced the code in the sample app where necessary to point to
my own database object.

When I start the app, I get the following error in the server console:


Throwable in RtmpReader thread: java.lang.NoSuchMethodError:
org.hibernate.Session.getTransaction()Lorg/hibernate/Transaction;
java.lang.NoSuchMethodError:org.hibernate.Session.getTransaction()Lorg/hibernat
e/Transaction;
        at
flex.data.assemblers.HibernateManager.getSession(HibernateManager.jav
a:97)
        at
flex.data.assemblers.HibernateAssembler.fill(HibernateAssembler.java:
339)
        at
flex.data.adapters.JavaAdapter.invokeFillOperation(JavaAdapter.java:7
48)
        at flex.data.adapters.JavaAdapter.invoke(JavaAdapter.java:198)
        at
flex.messaging.services.MessageService.serviceMessage(MessageService.
java:139)
        at flex.data.DataService.serviceMessage(DataService.java:309)
        at
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java
:548)
        at
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp
oint.java:302)
        at
flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(Abst
ractRTMPServer.java:682)
        at
flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTM
PConnection.java:665)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:665)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:595)

and I catch "ClientError:DeliveryInDoubt" fault at the same time. Does
anyone have any ideas? 
Thanks - John Briere

Reply via email to