C:\ibm\WebSphere\AppServer\bin>managesdk -listEnabledProfileAll CWSDK1004I: Profile now : CWSDK1006I: PROFILE_COMMAND_SDK = 1.7.1_64 CWSDK1008I: Node rmazzolawin8Node01 SDK name: 1.7.1_64 CWSDK1009I: Server now SDK name: 1.7.1_64 CWSDK1001I: Successfully performed the requested managesdk task. Configure WebSphere Application Security Configuration Enabled Application Security Pagina 3 di 9 Set Pass by Reference setting From the application Server - Container Settings - Container Services - ORB Service Pagina 4 di 9 JMV Settings Set Initial heap size to 3096 MB and Maximum Heap Size to 5120 MB Hibernate Shared Library In order to use Hibernate 4.2.21 as Shared Library. Create identity for DB connection Pagina 5 di 9 Pagina 6 di 9 Create a connection pool / Data Source Pagina 7 di 9 Persistence.xml <?xml version="1.0" encoding="UTF-8"?> Pagina 8 di 9 <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> <persistence-unit name="now" transaction-type="JTA"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <jta-data-source>java:/now</jta-data-source> <properties> <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/> <property name="jta.UserTransaction" value="java:comp/UserTransaction"/> <property name="hibernate.transaction.factory_class" value="org.hibernate.transaction.CMTTransactionFactory"/> </properties> <class>com.dat.abs.ws.run.ABSMultimediaDependentBean</class> <class>com.dat.abs.ws.run.LanguageDescriptionsBean</class> <class>com.dat.abs.ws.run.PojoErrorBean</class> <class>com.dat.abs.ws.run.PojoErrorsBean</class> <class>com.dat.now.ws.bas.ADStorageBean</class> <class>com.dat.now.ws.bas.AddressBean</class> I try also using <jta-data-source>now</jta-data-source> Pagina 9 di 9