-->
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.  [ 5 posts ] 
Author Message
 Post subject: "FATAL" error in Ejb3Configuration ???
PostPosted: Wed Aug 23, 2006 7:18 am 
Newbie

Joined: Tue Aug 22, 2006 3:32 am
Posts: 17
Hi,
I am usig Hibernate with JPA (Hibernate 3.2 cr3, and hibernate entitymanager 3.2 cr1 and hibernate annotations 3.1 cr1) in my web app. I can connect and get datas from database, everything is ok. But in my output console, entitymanager writes "FATAL ERROR". I think it search all files in web-inf/classes/ . How can i solve this problem? Thanks...

Here is the log :

2006.08.23-14:03:42 [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] FATAL org.hibernate.ejb.Ejb3Configuration - Reports/StudentDoc.rptO-:-Ofalse
2006.08.23-14:03:42 [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] FATAL org.hibernate.ejb.Ejb3Configuration - Reports/TGAStudents.rptO-:-Ofalse
2006.08.23-14:03:42 [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] FATAL org.hibernate.ejb.Ejb3Configuration - Reports/TGCourse.rptO-:-Ofalse
2006.08.23-14:03:42 [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] FATAL org.hibernate.ejb.Ejb3Configuration - Reports/Transcript.rptO-:-Ofalse
2006.08.23-14:03:42 [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] FATAL org.hibernate.ejb.Ejb3Configuration - Reports/TranscriptOgrenci.rptO-:-Ofalse
2006.08.23-14:03:42 [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] FATAL org.hibernate.ejb.Ejb3Configuration - resources/application.propertiesO-:-Ofalse
...
...
...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 1:00 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I fixed that in SVN. I never use a debugger so sometimes I miss some weird logs :-)

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 4:51 am 
Newbie

Joined: Tue Aug 22, 2006 3:32 am
Posts: 17
Sorry, what is SVN ? How can i solve the problem?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 10:50 am 
Newbie

Joined: Tue Aug 22, 2006 3:32 am
Posts: 17
Ok, i have downloaded sources (Hibernate and HibernateExt)from svn and compiled them but same errors occured?
Here is my persistence.xml :

<?xml version="1.0" encoding="ISO-8859-1" ?>

<persistence 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/ ... ce_1_0.xsd"
version="1.0">

<persistence-unit name="unitK">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>StudentDS</jta-data-source>
<class>com.dijitaldb.EduSem</class>

<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
<property name="hibernate.hbm2ddl.auto" value="none"/>
<property name="hibernate.show_sql" value="true" />
<property name="hibernate.format_sql" value="true"/>
</properties>

</persistence-unit>

</persistence>


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 11:46 am 
Newbie

Joined: Tue Aug 22, 2006 3:32 am
Posts: 17
Ok, I forgot to overwrite entity-manager... Its ok now. Thanks...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.