Anonymous | Login | Signup for a new account | 12-17-2024 08:40 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002528 | [Resin] | minor | always | 03-14-08 13:06 | 03-25-08 14:10 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.5 | ||||||
Summary | 0002528: amber initialization order | ||||||||
Description |
(rep by Riccardo Cohen) I have one single entity ejb : package adlejb; import...... @Entity @Table(name="adluser") public class Ejbuser { @Id @Column(name="adlid") @GeneratedValue int id; @Basic @Column(name="adlfirstname") String firstname; @Basic @Column(name="adlname") String name; .. and the config in persistence.xml is : <persistence xmlns="http://java.sun.com/xml/ns/persistence" [^] version="1.0"> <persistence-unit name="Adlhessian"> <class>adlejb.Ejbuser</class> <exclude-unlisted-classes /> </persistence-unit> </persistence> But I continue to have the error = com.caucho.amber.AmberRuntimeException: 'adlejb.Ejbuser' with classloader EnvironmentClassLoader[web-app:http://localhost:8000] [^] is an illegal instance class What does it mean ? I found no error, and tried to have a look at mailinglist archive with no success. I looked at the samples, but found nothing really different... The crazy about this is that I built this simple app from another simple app configured exactly the same manner, but the other does not make any amber error ! I tried to rename everything several times, but nothing seems to remove this error. I had the same problem sometimes with resin 3.0 and in 2006 Rodrigo Westrupp answered that I should work with resin 3.1. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |