[
http://jira.jboss.com/jira/browse/JBAS-5123?page=comments#action_12396641 ]
Ales Justin commented on JBAS-5123:
-----------------------------------
The Seam example apps again work in AS5.
The support for AS5 VFS was added in Seam code base.
This VSFScanner still holds a simple hack, preventing duplicated resources from -exp.war
being picked up.
This -exp.war resources need resolving in WarDeployer/WarDeployment - see forum post.
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