If you are using the LCRE API to reader-extend files you may receive the following exception:
2005-08-15 15:48:39,468 INFO [com.adobe.service.TrustManagerService] Service TrustManagerService started. 2005-08-15 15:55:34,218 INFO [STDOUT] DEBUG: Reader-extending the file..... 2005-08-15 15:55:34,546 INFO [STDOUT] AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.rmi.RemoteException: UserTransaction not bound faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.rmi.RemoteException: UserTransaction not bound faultActor: faultNode: faultDetail:
in ejb-jar.xml
Here you need to change the transaction type from Container to Bean:
<!-- Session Beans --> <session > <description><![CDATA[The typical Session Bean this time as a web-service.]]></description> <display-name>Adobe Extension Web Service for JBoss.Net</display-name> <ejb-name>AdobeExtensionService</ejb-name> <home>com.twowin.services.AdobeExtensionServiceHome</home> <remote>com.twowin.services.AdobeExtensionService</remote> <ejb-class>com.twowin.services.AdobeExtensionServiceBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Bean</transaction-type> .....
Then rebuild the .jar file and add it back into the .ear file and re-deploy it to the application server.
Here you need to change the transaction type from Container to Bean:
<!-- Session Beans --> <session > <description><![CDATA[The typical Session Bean this time as a web-service.]]></description> <display-name>Adobe Extension Web Service for JBoss.Net</display-name> <ejb-name>AdobeExtensionService</ejb-name> <home>com.twowin.services.AdobeExtensionServiceHome</home> <remote>com.twowin.services.AdobeExtensionService</remote> <ejb-class>com.twowin.services.AdobeExtensionServiceBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Bean</transaction-type> .....
Then rebuild the .jar file and add it back into the .ear file and re-deploy it to the application server.
Keywords:
kb406521

