[
http://jira.jboss.com/jira/browse/JBAS-5123?page=all ]
Ales Justin resolved JBAS-5123.
-------------------------------
Resolution: Done
Current Seam examples do not suffer from this issue anymore.
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.Beta4
Reporter: Ales Justin
Assigned To: Ales Justin
Priority: Blocker
Fix For: JBossAS-5.0.0.CR1
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