Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001534 [Resin] minor always 01-03-07 11:44 01-03-07 11:51
Reporter sam View Status public  
Assigned To ferg
Priority high Resolution fixed  
Status closed   Product Version 3.0.22
Summary 0001534: Resin logs exception for Hibernate annotations
Description (rep by R Dredge)

When using Hibernate annotations rather than the resin entity beans the ByteCodeScanner throws an exception for every hibernate class that it finds.
Things seem to work fine, but it pollutes the logs.

[2006/10/26 14:28:05.695] java.lang.IllegalStateException
[2006/10/26 14:28:05.695] at com.caucho.bytecode.ByteCodeClassScanner.parseElementValue(ByteCodeClassScanner.java:412)
[2006/10/26 14:28:05.695] at com.caucho.bytecode.ByteCodeClassScanner.parseAttribute(ByteCodeClassScanner.java:360)
[2006/10/26 14:28:05.695] at com.caucho.bytecode.ByteCodeClassScanner.scan(ByteCodeClassScanner.java:118)
[2006/10/26 14:28:05.695] at com.caucho.loader.enhancer.EnhancerManager.enhance(EnhancerManager.java:237)
[2006/10/26 14:28:05.695] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1235)
[2006/10/26 14:28:05.695] at com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1149)
[2006/10/26 14:28:05.695] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1072)
[2006/10/26 14:28:05.695] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1021)
[2006/10/26 14:28:05.695] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[2006/10/26 14:28:05.695] at java.lang.Class.forName0(Native Method)
[2006/10/26 14:28:05.695] at java.lang.Class.forName(Class.java:242)
[2006/10/26 14:28:05.695] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1068)
[2006/10/26 14:28:05.695] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1021)
[2006/10/26 14:28:05.695] at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:95)
[2006/10/26 14:28:05.695] at org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(AnnotationConfiguration.java:443)
[2006/10/26 14:28:05.695] at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1474)
[2006/10/26 14:28:05.695] at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1453)
[2006/10/26 14:28:05.695] at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1427)
[2006/10/26 14:28:05.695] at org.hibernate.cfg.Configuration.configure(Configuration.java:1362)

This problem is with .ear deployed on resin with annotation classes for hibernate.
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
01-03-07 11:44 sam New Issue
01-03-07 11:51 ferg Assigned To  => ferg
01-03-07 11:51 ferg Status new => closed
01-03-07 11:51 ferg Resolution open => fixed
01-03-07 11:51 ferg Fixed in Version  => 3.0.23


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker