-
1. Re: cglib-2.1.3.jar is in the classpath still giving java.lang.NoClassDefFoundError: net/sf/cglib/beans/BulkBeanException
arka.sharma Aug 8, 2012 7:42 AM (in response to arka.sharma)One more thing I want to add here that is I am using the same jboss copy same HSQL and Mysql in a different server and I also have the same application deployed.(Since I have the same copy of whole jboss folder) where I am not getting this exception.Along with that I am having the same copy of .bash_profile where all the classpaths are defined.Following are the output of "uname -a" command in both the servers
Linux SDP139 2.6.9-89.EL #1 Mon Apr 20 10:23:08 EDT 2009 i686 i686 i386 GNU/Linux (Getting exception on this server)
Linux localhost.localdomain 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386 GNU/Linux (This server no exceptions are coming)
Regards,
Arka
-
2. Re: cglib-2.1.3.jar is in the classpath still giving java.lang.NoClassDefFoundError: net/sf/cglib/beans/BulkBeanException
arka.sharma Aug 8, 2012 8:11 AM (in response to arka.sharma)One more thing I have just figured out while going through the exception trace that I have one call to "sessionFactory = configuration.buildSessionFactory();" in my code.This is the topmost trace among the entries of my code in the exception trace.However same code is there in another server as I mentioned earlier which was throwing no exception.
Regards,
Arka
-
3. Re: cglib-2.1.3.jar is in the classpath still giving java.lang.NoClassDefFoundError: net/sf/cglib/beans/BulkBeanException
arka.sharma Aug 8, 2012 8:25 AM (in response to arka.sharma)I also checked for multiple jar entries of cglib.So I did "find / | grep cglib" which gives me only one cglib jar which is already added in the classpath.So no cglib in JBOSS_HOME/server/default/lib which cause multile classpath entry for the same jar.
Regards,
Arka
-
4. Re: cglib-2.1.3.jar is in the classpath still giving java.lang.NoClassDefFoundError: net/sf/cglib/beans/BulkBeanException
arka.sharma Aug 9, 2012 8:51 AM (in response to arka.sharma)I tried after rebooting the server with no luck.I ahve noticed some difference in working and not working jboss console output.
The working copy is showing
19:44:00,077 INFO [Environment] Hibernate 3.3.1.GA
19:44:00,110 INFO [Environment] hibernate.properties not found
19:44:00,116 INFO [Environment] Bytecode provider name : javassist
The non working copy was showing
19:49:28,817 INFO [Environment] Hibernate 3.1.1
19:49:28,823 INFO [Environment] hibernate.properties not found
19:49:28,825 INFO [Environment] using CGLIB reflection optimizer
Both jboss copies are same.Both class path entries are same.And all jars are in the classpath are in the same path hierarchy in both the servers.
Regards,
Arka