[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-864) Patch for EJBTHREE-719, but not all required extensions, only, jar, zip, jar:file, zip:file
Norbert Kenderesi (JIRA)
jira-events at jboss.com
Wed Feb 7 03:43:20 EST 2007
[ http://jira.jboss.com/jira/browse/EJBTHREE-864?page=comments#action_12352509 ]
Norbert Kenderesi commented on EJBTHREE-864:
--------------------------------------------
There is another bug according to this patch, which makes the patch not working in case of jar:file and zip:file. In the URL which is got as a parameter, the protocol in the case of jar:file is only jar, and the 'file:' piece is part of the filename, which leads to a FileNotoFoundException. I think the problem is where the URL is created. A workaround can be made in the attached file, but it's just a workaround...
> Patch for EJBTHREE-719, but not all required extensions, only, jar, zip, jar:file, zip:file
> -------------------------------------------------------------------------------------------
>
> Key: EJBTHREE-864
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-864
> Project: EJB 3.0
> Issue Type: Patch
> Affects Versions: EJB 3.0 RC9 - Patch 1
> Reporter: Norbert Kenderesi
> Attachments: ArchiveBrowser.java
>
>
> With this patch the following exception won't come in case of protocols: jar, zip, jar:file, zip:file and file of course. This is tested on weblogic 9.2 where the workaround doesn't work
> Caused by: java.lang.RuntimeException: NOT IMPLEMENTED
> at org.jboss.util.file.ArchiveBrowser.getBrowser(ArchiveBrowser.java:42)
> at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:541)
> ... 148 more
--
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