Hi All,
I downloaded Life Cycle FDS and configured into Websphere application
server 6.0.
I deployed flex.war, flex-admin.war and samples.war into Webshpere
6.0.
I can able to access all these 3 web modules.
samples web application using 2037 RTMP port and port is listening.
I can able to retrive the values from HSQL database.
But if i try to update the values to HSQL database from any one of
the CRM or sqlassembler
or any other sample applications, i am getting the following popup
error message in Flex,
"unable to access UserTransaction in DataService"
I am getting the following error message in websphere application
server console,
[Flex] [DEBUG] cause=javax.naming.NameNotFoundException:
Name "comp/UserTransaction" not found in context "java:". type=class
javax.naming.NameNotFoundException
javax.naming.NameNotFoundException: Name "comp/UserTransaction" not
found in context "java:".
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal
(NameSpace.java:1094)
at com.ibm.ws.naming.ipbase.NameSpace.lookup
(NameSpace.java:990)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup
(UrlContextImpl.java:1263)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup
(javaURLContextRoot.java:201)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup
(javaURLContextRoot.java:142)
at javax.naming.InitialContext.lookup(InitialContext.java:361)
at flex.data.DataServiceTransaction.doBegin
(DataServiceTransaction.java:836)
at flex.data.DataServiceTransaction.begin
(DataServiceTransaction.java:807)
at flex.data.DataService.serviceTransactedMessage
(DataService.java:705)
at flex.data.DataService.serviceMessage(DataService.java:429)
at flex.messaging.MessageBroker.routeMessageToService
(MessageBroker.java:1165)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage
(AbstractEndpoint.java:757)
at
flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage
(AbstractRTMPServer.java:888)
at
flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run
(NIORTMPConnection.java:424)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
er.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
er.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:816)
I have written a sample jsp to test whether UserTransaction is
working or not in websphere.
It is successfully doing begin() and commit() functionality.
Can anyone help me to resolve this issue?
Thanks,
Murali Sankar