[jboss-jira] [JBoss JIRA] Created: (JBAS-5123) Seam deployment is failing due unexpected URLs

Ales Justin (JIRA) jira-events at lists.jboss.org
Thu Jan 10 17:30:44 EST 2008


Seam deployment is failing due unexpected URLs
----------------------------------------------

                 Key: JBAS-5123
                 URL: http://jira.jboss.com/jira/browse/JBAS-5123
             Project: JBoss Application Server
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
          Components: ClassLoading
    Affects Versions:  JBossAS-5.0.0.Beta3
            Reporter: Ales Justin
         Assigned To: Ales Justin
            Priority: Critical
             Fix For: JBossAS-5.0.0.Beta4


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);

-- 
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