-->
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.  [ 4 posts ] 
Author Message
 Post subject: Invalidating Space
PostPosted: Sun Feb 13, 2005 11:28 am 
Newbie

Joined: Thu Jul 22, 2004 10:24 pm
Posts: 7
Hi,

I am using hibernate version 2.1.7. I am using jboss as the application server. Whenever I try to save an object I get a invalidating namespace message on the screen. I am posting my log of the save. I am using mysql 4.1.8 as the database. and the version of the driver is 3.0.16 for mysql. we are using the commandpattern with a session bean as described in the hibernate in action book. If needed we can send the code. Thanks in advance.

09:26:00,874 INFO [MyrCommandHandlerBean] Entered executeCommand
09:26:00,884 INFO [AddProviderGroupCommand] Entered execute() method
09:26:00,904 INFO [STDOUT] Hibernate: insert into address (version, city, country, county, valid, line1, line2, pobox, state
, url, zip, main, type) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
09:26:00,914 INFO [STDOUT] Hibernate: insert into contact (version, title, address_id, fname, lname, mi) values (?, ?, ?, ?,
?, ?)
09:26:00,924 INFO [STDOUT] Hibernate: insert into providergroup (version, name, taxId, contact_id, code, medicareNumber, cre
ateTime, updateTime) values (?, ?, ?, ?, ?, ?, ?, ?)
09:26:00,944 INFO [STDOUT] Hibernate: insert into address (version, city, country, county, valid, line1, line2, pobox, state
, url, zip, main, type) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
09:26:00,944 INFO [STDOUT] Hibernate: insert into address (version, city, country, county, valid, line1, line2, pobox, state
, url, zip, main, type) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
09:26:00,964 INFO [STDOUT] Hibernate: insert into pg_billingaddr_link (pg_id, address_id) values (?, ?)
09:26:00,964 INFO [STDOUT] Hibernate: insert into pg_mailingaddr_link (pg_id, address_id) values (?, ?)
09:26:00,964 INFO [AddProviderGroupCommand] Leaving execute() method
09:26:00,964 INFO [MyrCommandHandlerBean] Leaving executeCommand
09:26:00,964 INFO [UpdateTimestampsCache] Invalidating space [address]
09:26:00,964 INFO [UpdateTimestampsCache] Invalidating space [contact]
09:26:00,964 INFO [UpdateTimestampsCache] Invalidating space [providergroup]
09:26:00,964 INFO [UpdateTimestampsCache] Invalidating space [address]
09:26:00,964 INFO [UpdateTimestampsCache] Invalidating space [address]
09:26:00,964 INFO [UpdateTimestampsCache] Invalidating space [pg_billingaddr_link]
09:26:00,964 INFO [UpdateTimestampsCache] Invalidating space [pg_mailingaddr_link]
09:26:00,964 INFO [AddProviderGroupAction] Leaving execute method of AddProviderGroupAction


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 13, 2005 11:45 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Code:
log.debug("Invalidating space [" + spaces[i] + "]");



Most certainly NOT an info().


Top
 Profile  
 
 Post subject: Invalidating Space
PostPosted: Sun Feb 13, 2005 12:36 pm 
Newbie

Joined: Thu Jul 22, 2004 10:24 pm
Posts: 7
I see "DEBUG" in other postings for this message, but we still are getting it as "INFO" on the console. Also we notice below message on console:

11:17:24,445 INFO [UpdateTimestampsCache] starting update timestamps cache at region: net.sf.hibernate.cache.UpdateTimestampsCache
11:17:24,835 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/myr/thirdparty/jboss-3.2.6/server/default/tmp/deploy/tmp21617myr.sar-contents/ehcache-0.9.jar!/ehcache-failsafe.xml
11:17:24,845 WARN [Plugin] Could not find configuration for net.sf.hibernate.cache.UpdateTimestampsCache. Configuring using the defaultCache settings.
11:17:24,855 INFO [StandardQueryCache] starting query cache at region: net.sf.hibernate.cache.StandardQueryCache
11:17:24,855 WARN [Plugin] Could not find configuration for net.sf.hibernate.cache.StandardQueryCache. Configuring using the defaultCache settings.

and Invalid Space messages:

11:24:36,516 INFO [MyrCommandHandlerBean] Leaving executeCommand
11:24:36,516 INFO [UpdateTimestampsCache] Invalidating space [address]
11:24:36,516 INFO [UpdateTimestampsCache] Invalidating space [contact]
11:24:36,516 INFO [UpdateTimestampsCache] Invalidating space [providergroup]
11:24:36,516 INFO [UpdateTimestampsCache] Invalidating space [address]
11:24:36,516 INFO [UpdateTimestampsCache] Invalidating space [address]
11:24:36,516 INFO [UpdateTimestampsCache] Invalidating space [pg_billingaddr_link]
11:24:36,516 INFO [UpdateTimestampsCache] Invalidating space [pg_mailingaddr_link]
11:24:36,516 INFO [AddProviderGroupAction] Leaving execute method of AddProviderGroupAction

How to avoid this messages and does it indicate any problems with code/configuration. Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 16, 2005 12:40 pm 
Newbie

Joined: Thu Jul 22, 2004 10:24 pm
Posts: 7
The Invalidating Space message we used to get are no more there. We belive that there is a conflict of versions of hibernate. We did not know that jboss3.2.6 comes with its won version of hibernate in our case we were using hibernate 2.1.7 and jboss provided 2.1.5. We had removed hibernate2.jar and hibernate-deployer-service.xml files which come with jboss. Now we dont have these messages anymore.


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