Bug 997928
Summary: | package-info.java with @TypeDef annotation not processed | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Martin Grotzke <martin.grotzke> | ||||
Component: | JPA | Assignee: | Scott Marlow <scott.marlow> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Zbyněk Roubalík <zroubali> | ||||
Severity: | unspecified | Docs Contact: | Russell Dickenson <rdickens> | ||||
Priority: | unspecified | ||||||
Version: | 6.1.0 | CC: | brmeyer, jdoyle, martin.grotzke, smarlow | ||||
Target Milestone: | ER4 | ||||||
Target Release: | EAP 6.2.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-12-15 16:55:49 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Martin Grotzke
2013-08-16 14:23:46 UTC
Any feedback? Martin, can you enable TRACE logging for org.jboss.as.jpa (https://docs.jboss.org/author/display/AS72/JPA+Reference+Guide#JPAReferenceGuide-Troubleshooting) and also attach the server.log? I want to first make sure it's not a classloader issue -- we recently had a few possibly related JPA issues. Actually, it looks like this may be https://bugzilla.redhat.com/show_bug.cgi?id=963298 and https://issues.jboss.org/browse/WFLY-17. A similar issue came up caused by TempClassLoader being used before all transitive dependencies are available. Created attachment 793344 [details] Logs with TRACE logging for org.jboss.as.jpa enabled Attached logs with TRACE enabled for org.jboss.as.jpa enabled, this is what I already referenced (https://gist.github.com/magro/6250301/raw/6211afa2250b4fbf3102d83ebeddbbff9bd94fd3/jboss.log) Brett, thanx for having a look! I checked both issues, to me both don't look very similar, but I don't know much about jboss internals. And if classloader related things are fixed perhaps this one is resolved as well. AFAIU #963298 should be fixed in 6.1.1.ER4, can I download/clone this version somewhere to check if this issue is solved? The issues seem similar but are different. I was able to recreate today (classWithAnnotation.getPackage() returns null which I need to check into). Looks like org.jboss.as.jpa.classloader.TempClassLoader needs to implement getPackage(String name) or getPackageByName(String name). Created upstream jira https://issues.jboss.org/browse/WFLY-2001 for this issue. Just wanted to note that this problem also is a problem is you use name="xx" in the TypeDef annotation as well as with the defaultForType |