-
Sub-task
-
Resolution: Done
-
Blocker
-
JBossAS-5.0.0.Beta4
-
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);
- blocks
-
JBAS-5548 Make sure Seam runs on AS5.
- Closed