Community

EOFException from ShrinkWrap Deployment into MCAnn

reply from Andrew Rubinger in JBoss Microcontainer - View the full discussion

Added some logging output:

 

[alr@localhost trunk]$ svn di
Index: core/src/main/java/org/jboss/mcann/scanner/AbstractAnnotationScanner.java
===================================================================
--- core/src/main/java/org/jboss/mcann/scanner/AbstractAnnotationScanner.java    (revision 104694)
+++ core/src/main/java/org/jboss/mcann/scanner/AbstractAnnotationScanner.java    (working copy)
@@ -70,8 +70,10 @@
             for (URL url : urls)
             {
                InputStream is = getMcAnnInputStream(url);
-               if (is != null)
+               if (is != null){
+                  log.info("Attempting to scan :" + url);
                   reattach(repository, is);
+               }
                else
                   list.add(url);
             }

 

...yields:

 

16:30:28,635 INFO  [org.jboss.mcann.AnnotationScanner] Attempting to scan :vfs:/1fc8987a-6585-442e-a443-327b12f25237/outputSlsb.jar/

 

Indicates that we assume we can get a GZIP InputStream from the URL handed as a compressed object from an existing AnnotationRepository in "reattach()".

 

S,

ALR

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community