[jboss-user] [JBoss Microcontainer] - EOFException from ShrinkWrap Deployment into MCAnn

Andrew Rubinger do-not-reply at jboss.com
Tue May 11 17:36:48 EDT 2010


Andrew Rubinger [http://community.jboss.org/people/ALRubinger] replied to the discussion

"EOFException from ShrinkWrap Deployment into MCAnn"

To view the discussion, visit: http://community.jboss.org/message/542425#542425

--------------------------------------------------------------
Added some logging output:

[alr at 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
[http://community.jboss.org/message/542425#542425]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100511/081ec5d7/attachment-0001.html 


More information about the jboss-user mailing list