Just to be clear, FDS uses: java:comp/UserTransaction (no preceeding / before “comp”) (most likely not the problem but just to be sure).   It also could be that the “begin” call is failing for some reason since that is inside of the same try/catch which logs that error.   Did you try turning on the server debug logging?  That ought to provide more detail about the nature of the actual exception (including a stack trace so we can see which call is actually failing).  To do this, go into WEB-INF/flex/services-config.xml, search for level= and change the value to “Debug”.  Make sure DataService.* and Message.* are included in the <pattern> tags just underneath that in the file.

 

Jeff

 


From: [email protected] [mailto:[email protected]] On Behalf Of erik_jen5en
Sent: Friday, September 22, 2006 6:27 AM
To: [email protected]
Subject: [flexcoders] Re: Unable to access UserTransaction in DataService.

 

JBoss does use the java:/comp/UserTransaction JNDI name for the
UserTransaction, I have used it myself in my own apps.

Just incase I have tried setting the UserTxJNDI system property to the
values:

UserTransaction
java:/UserTransaction
java:/comp/UserTransaction

All fail! There must be some other configuration that is needed in
the Flex WAR to make this work.

Thanks,

Erik

--- In [EMAIL PROTECTED]ups.com, "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> This error occurs because either the server failed to find the
> UserTransaction component or because the "begin" call on the
> UserTransaction is failing. If you turn on debug logging for the
> server, I think you should get a stack trace and possibly more details
> about the exception which is occurring. By default, FDS is looking for
> the UserTransaction in JNDI at the standard location:
> "java:comp/UserTransaction" but it might be that in some versions of
> JBoss, this is at a different location. I found from a quick google
> search that maybe they are just using the name "UserTransaction" in at
> least some versions of Jboss. You can get this behavior by setting the
> system property:
>
>
>
> UserTxJndiName
>
>
>
> To the path name where Jboss has this registered.
>
>
>
> So you'd have to set this system property someplace... for example if
> you can find where you add command line args, you could do: "java
> -DUserTxJNDIName=UserTransaction <rest-of-java-args>"
>
>
>
> Jeff
>
>
>
> ________________________________
>
> From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On
> Behalf Of erik_jen5en
> Sent: Thursday, September 21, 2006 12:51 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Unable to access UserTransaction in DataService.
>
>
>
> I am trying to use a data service on JBoss but keep getting the
> following error,
>
> [RPC Fault faultString="Unable to access UserTransaction in
> DataService." faultCode="Server.Processing" faultDetail="null"]
> at
> mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
> :dispatchFaultEvent
> <http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent> ()
> at mx.data::CommitResponder/fault()
> at
> mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\Asy
> ncRequest.as:107]
> at
> NetConnectionChannel.as$37::NetConnectionMessageResponder/NetConnectionC
> hannel.as$37:NetConnectionMessageResponder::statusHandler()[C:\dev\enter
> prise_gmc\frameworks\mx\messaging\channels\NetConnectionChannel.as:458]
> at
> mx.messaging::MessageResponder/status()[C:\dev\enterprise_gmc\frameworks
> \mx\messaging\MessageResponder.as:225]
>
> Is there some additional setup for transactions needed on the JBoss
> application server?
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to