My Blog
Jetpak is Public
Created By: x-man
Last Modified: 05/04/06

Jrockit rocks

Another success to Jrockit, I had a problem with hibernate using JVM (jdk1.5.0_06  and my OS SUSE 10 ->kernel 2.6) and I had a nice exception from hibernate(hibernate-3.1.3)

java.lang.NoSuchMethodError: com.jeteye.domain.Tag.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer;
 

so i talked with Rob and we decided to test using Jrocket to see if we have the same error. I change my JVM to JRoket and the bug is gone. 

 

It's funny that Sun creates java and they can not create a good JVM for linux ;) (my personal opinion) 


getHibernateLazyInitial

A new Error that i got from hibernate when I execute search tag or query-search: My scenario is the following:

Execute search, the first time no problem, the secont time works fine the third time it breaks, I got the following exceptio:

ERROR [com.jeteye.servlet.JeteyeServlet] Uncaught exception encountered, check console output for probable cause
java.lang.NoSuchMethodError: com.jeteye.domain.Tag.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer;

 

So I googled and I found that this is a bug, however, some people claims to hibernate and cglib others claims to JVM in linux but not in windows. 

 

Now, I'm going to switch from JVM to jrocket to excetute the same scenario and see if I have the same error.  

 

Take a look the hibernate web site for more info


Xavier Quintuna

Xavier Quintuna

From: http://www.cs.usfca.edu/~jquintun/




ADVERTISING