[jboss-jira] [JBoss JIRA] Commented: (AS7-708) Ability to specify classloading exceptions to ignore similar to scanning-deployers-jboss-beans.xml
David Lloyd (JIRA)
jira-events at lists.jboss.org
Mon May 2 23:48:18 EDT 2011
[ https://issues.jboss.org/browse/AS7-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599529#comment-12599529 ]
David Lloyd commented on AS7-708:
---------------------------------
Ah I see. That's not actually what is happening here. The class reflection index is something that is used to cache information about classes which are referenced by deployment descriptors, annotated with Java EE annotations, or referenced thereby. Suppressing the exception is definitely not the appropriate solution here, since AS 7 approaches annotation scanning completely differently from AS 6. What might be a better solution is to allow the specification of a pattern which class names can be matched against, which tells the scanner to ignore annotations (maybe just certain annotations) from that class.
As an aside, the error message here is pretty awful. However, we are retooling part of the EE component installation process so I suspect that once that is done it will look somewhat better. But ideally we'd have an error saying "Failed to install EJB class org.foo.MyWhatever" before going into the mind-numbing detail, so the user at least knows where to look. Solutions for deployment issues should follow directly from the errors describing them.
> Ability to specify classloading exceptions to ignore similar to scanning-deployers-jboss-beans.xml
> --------------------------------------------------------------------------------------------------
>
> Key: AS7-708
> URL: https://issues.jboss.org/browse/AS7-708
> Project: Application Server 7
> Issue Type: Bug
> Reporter: Jason Porter
> Assignee: David Lloyd
> Attachments: catch-demo.war
>
>
> We need to be able to specify exceptions to ignore during classpath scanning. This was available in AS6, we need it in AS7, or something similar. Please see https://issues.jboss.org/browse/SEAMFORGE-156
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list