[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-978) Deployer should ignore files that Javassist throws a "non class file" exception for
Josh Devins (JIRA)
jira-events at lists.jboss.org
Thu May 31 14:20:13 EDT 2007
[ http://jira.jboss.com/jira/browse/EJBTHREE-978?page=all ]
Josh Devins updated EJBTHREE-978:
---------------------------------
Attachment: server.snipped.log
server log
> Deployer should ignore files that Javassist throws a "non class file" exception for
> -----------------------------------------------------------------------------------
>
> Key: EJBTHREE-978
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-978
> Project: EJB 3.0
> Issue Type: Bug
> Environment: JBoss 4.0.5 GA with EJB3 deployer and IBM DB2 JDBC driver v3.3.54
> Reporter: Josh Devins
> Attachments: server.snipped.log
>
>
> This is a follow-up to a Javassist issue # JASSIST-34.
> For some reason, the IBM DB2 JDBC jar file contains a class that does not start with the magic code "0xCAFEBABE". When the EJB3 deployer looks at this jar file and scans the classes in it, Javassist is throwing an IOException with message "non class file". This is entirely useless to the end user since there is no information given about what class file or jar file is in error.
> Javassist should be throwing a more descriptive exception (as per the issue JASSIST-34), and the EJB3 deployer should simply skip that file and output a warning telling the user/developer what jar file and class was in error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list