• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Blocker Blocker
    • JBossAS-5.0.0.CR1
    • JBossAS-5.0.0.Beta4
    • ClassLoading
    • None

      I'm getting unexpected (different from previous AS versions) URLs while scanning Seam applications:

      23:16:17,578 INFO [Scanner] scanning: C:\projects\jboss5\trunk\build\output\jboss-5.0.0.Beta4\server\default\deploy\jboss-seam-booking.ear\jboss-seam.jar
      23:16:17,593 WARN [Scanner] could not read entries
      java.net.MalformedURLException: unknown protocol: c
      at java.net.URL.<init>(URL.java:574)
      at java.net.URL.<init>(URL.java:464)
      at java.net.URL.<init>(URL.java:413)
      at org.jboss.seam.deployment.Scanner.scan(Scanner.java:194)

      Used to expect VFS url, or at least URL with protocol at the start.

      Only the jars that get extracted to tmp/deploy dir get the vfs URL.
      But they are dupliceted:
      23:16:17,609 INFO [Scanner] scanning: vfsfile:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta4/server/default/tmp/deploy/jboss-seam-booking2549-exp.war/WEB-INF/lib/jboss-seam-ui.jar
      23:16:17,640 INFO [Scanner] scanning: C:\projects\jboss5\trunk\build\output\jboss-5.0.0.Beta4\server\default\deploy\jboss-seam-booking.ear\jboss-seam-booking.war\WEB-INF\lib\jboss-seam-ui.jar

      We get URLs from ClassLoader: Enumeration<URL> urlEnum = classLoader.getResources(resourceName);

              ajustin@redhat.com Ales Justin
              ajustin@redhat.com Ales Justin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: