java - Can't start Application using Websphere 8.5.5, hibernate jpa 4.2.6, oracle 12c -
i have problem freaking me out.
this persistence.xml, persistence unit correct.
<persistence-unit name="pu-administrativo" transaction-type="jta"> <provider>org.hibernate.ejb.hibernatepersistence</provider> <non-jta-data-source>jdbc/oracle</non-jta-data-source> <!-- incluir entidades --> <class>grupousuario</class> <class>dominio</class> <properties> <property name="hibernate.hbm2ddl.auto" value="update" /> <property name="hibernate.show_sql" value="true" /> <property name="hibernate.format_sql" value="true" /> <property name="hibernate.dialect" value="org.hibernate.dialect.oracledialect" /> <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.webspherejtaplatform" /> </properties> </persistence-unit>
i configured hibernate , datasource in websphere ojdbc6.
i used start application before when using ojdbc14. database moved ip , can't connect ojdbc14.
when use ojdbc6 application not start , freeze on this:
[07/08/15 14:09:36:239 brt] 0000006a connectionpro z org.hibernate.service.jdbc.connections.internal.connectionproviderinitiator instantiateexplicitconnectionprovider hhh000130: instantiating explicit connection provider: org.hibernate.ejb.connection.injecteddatasourceconnectionprovider [07/08/15 14:09:37:257 brt] 0000006a internalgener dsra8203i: nome produto de banco de dados: oracle [07/08/15 14:09:37:265 brt] 0000006a internalgener dsra8204i: versão produto banco de dados: oracle database 12c enterprise edition release 12.1.0.1.0 - 64bit production partitioning, olap, advanced analytics , real application testing options [07/08/15 14:09:37:266 brt] 0000006a internalgener dsra8205i: nome driver jdbc: oracle jdbc driver [07/08/15 14:09:37:266 brt] 0000006a internalgener dsra8206i: versão driver jdbc: 11.2.0.4.0 [07/08/15 14:09:37:266 brt] 0000006a internalgener dsra8218i: nível de especificação driver jdbc: 11.2 [07/08/15 14:09:37:266 brt] 0000006a internaloracl dsra8212i: o nome datastorehelper é: com.ibm.websphere.rsadapter.oracle11gdatastorehelper. [07/08/15 14:09:37:267 brt] 0000006a wsrdbdatasour dsra8208i: tipo de driver jdbc: 4
after 11 minutes of starting application shows message
wsvr0605w: thread "webcontainer : 3" (0000007a) has been active 703443 milliseconds , may hung. there is/are 1 thread(s) in total in server may hung.
i tried using ojdbc14 , ojdbc7 , dit not work
the server starts when try start de application freezes. think have problem application did not figure out yet.
can guys please me?
- i can connect database in websphere console (http://localhost:9060/ibm/console) perfectly. not firewall problem.
can try following dialect?
org.hibernate.dialect.oracle10gdialect
Comments
Post a Comment