-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: JBoss hangs on database initialization
PostPosted: Mon Jun 20, 2011 12:40 pm 
Newbie

Joined: Mon Jun 20, 2011 12:19 pm
Posts: 2
I have an ear application, packaging a war and jboss seam and an EJB bean.
The Seam is only used for scheduling.

I use Hibernate, JPA 1.0, JBoss 5.1.0.GA and Oracle 11.
During deploy, the JBoss hangs at the following lines:
Code:
2011-06-20 13:20:35,140 INFO  [org.jboss.jpa.deployment.PersistenceUnitDeployment] (HDScanner) Starting persistence unit persistence.unit:unitName=cs_ft.ear/lib/FT-DB-JPA-1.0-SNAPSHOT.jar#be.cs_ft.impl_FM-DB-JPA
2011-06-20 13:20:35,390 INFO  [org.hibernate.cfg.annotations.Version] (HDScanner) Hibernate Annotations 3.4.0.GA
2011-06-20 13:20:35,421 INFO  [org.hibernate.cfg.Environment] (HDScanner) Hibernate 3.3.1.GA
2011-06-20 13:20:35,452 INFO  [org.hibernate.cfg.Environment] (HDScanner) hibernate.properties not found
2011-06-20 13:20:35,468 INFO  [org.hibernate.cfg.Environment] (HDScanner) Bytecode provider name : javassist
2011-06-20 13:20:35,499 INFO  [org.hibernate.cfg.Environment] (HDScanner) using JDK 1.4 java.sql.Timestamp handling
2011-06-20 13:20:35,733 INFO  [org.hibernate.annotations.common.Version] (HDScanner) Hibernate Commons Annotations 3.1.0.GA
2011-06-20 13:20:35,749 INFO  [org.hibernate.ejb.Version] (HDScanner) Hibernate EntityManager 3.4.0.GA
2011-06-20 13:20:35,796 INFO  [org.hibernate.ejb.Ejb3Configuration] (HDScanner) Processing PersistenceUnitInfo [
   name: be.cs_ft.impl_FM-DB-JPA
   ...]
2011-06-20 13:20:35,874 WARN  [org.hibernate.ejb.Ejb3Configuration] (HDScanner) Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
2011-06-20 13:20:36,124 INFO  [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] (HDScanner) Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
2011-06-20 13:20:36,140 INFO  [org.hibernate.connection.ConnectionProviderFactory] (HDScanner) Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
2011-06-20 13:20:36,155 INFO  [org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider] (HDScanner) Using provided datasource
2011-06-20 13:20:36,718 INFO  [org.hibernate.cfg.SettingsFactory] (HDScanner) RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
2011-06-20 13:20:46,030 INFO  [org.hibernate.cfg.SettingsFactory] (HDScanner) JDBC driver: Oracle JDBC driver, version: 10.2.0.5.0


I have this both on a local JBoss (log shown), as on a remote server (oracle 11).
It seems to be consuming a lot of memory, as can be seen in the process monitoring. After some time an out of memory error is thrown.

Does someone experienced this, and what can be the cause of this error?


Top
 Profile  
 
 Post subject: Re: JBoss hangs on database initialization
PostPosted: Mon Jun 27, 2011 1:25 am 
Newbie

Joined: Mon Jun 20, 2011 12:19 pm
Posts: 2
It seems this bug was because
I also included the eclipselink dependencies in maven. (I created my project using Netbeans 7)
JBoss/Hibernate seem not be able to cope with this and give appropriate error.

After downscaling my project to hibernate dependencies only on all levels (also test), it did not have this bug any more.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.