[
https://issues.jboss.org/browse/WELD-979?page=com.atlassian.jira.plugin.s...
]
Geoffrey De Smet edited comment on WELD-979 at 10/3/11 10:54 AM:
-----------------------------------------------------------------
Jboss AS 7.0.2.Final also uses jboss-vfs 2:
{code}
[INFO] +- org.jboss.as:jboss-as-arquillian-container-managed:jar:7.0.2.Final:test
[INFO] | +- org.jboss.as:jboss-as-arquillian-common:jar:7.0.2.Final:test
...
[INFO] | | +- org.jboss.as:jboss-as-jmx:jar:7.0.2.Final:test
[INFO] | | | \- org.jboss.as:jboss-as-server:jar:7.0.2.Final:test
...t
[INFO] | | | \- org.jboss:jboss-vfs:jar:2.0.0.GA:test
{code}
The JBoss Nexus repo directly contradicts this:
It says that org.jboss.as:jboss-as-server:jar:7.0.2.Final:compile
depends on org.jboss:jboss-vfs:jar:3.0.1.GA:compile
https://repository.jboss.org/nexus/index.html#nexus-search;gav~~jboss-as-...
How is that possible?
was (Author: ge0ffrey):
Jboss AS 7.0.2.Final also uses jboss-vfs 2:
{code}
[INFO] +- org.jboss.as:jboss-as-arquillian-container-managed:jar:7.0.2.Final:test
[INFO] | +- org.jboss.as:jboss-as-arquillian-common:jar:7.0.2.Final:test
...
[INFO] | | +- org.jboss.as:jboss-as-jmx:jar:7.0.2.Final:test
[INFO] | | | \- org.jboss.as:jboss-as-server:jar:7.0.2.Final:test
...
{code}
The JBoss Nexus repo directly contradicts this:
It says that org.jboss.as:jboss-as-server:jar:7.0.2.Final:compile
depends on org.jboss:jboss-vfs:jar:3.0.1.GA:compile
https://repository.jboss.org/nexus/index.html#nexus-search;gav~~jboss-as-...
How is that possible?
Weld 1.1.3-SNAPSHOT and 1.1.2.AS7 fail on JBoss AS 7 with
FileNotFoundException on an existing file
---------------------------------------------------------------------------------------------------
Key: WELD-979
URL:
https://issues.jboss.org/browse/WELD-979
Project: Weld
Issue Type: Bug
Reporter: Geoffrey De Smet
Priority: Blocker
The file WEB-INF/lib/seam-transaction-3.1.0.Beta2.jar exists in my war, but when I deploy
my webapp to as7, weld fails with an exception claiming that it doesn't exist:
{code}
09:23:58,398 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/guvnor-webapp-5.4.0-SNAPSHOT]]
(MSC service thread 1-5) Exception sending context initialized event to listener instance
of class org.jboss.weld.environment.servlet.Listener: java.lang.RuntimeException: Error
handling file
/content/guvnor-webapp-5.4.0-SNAPSHOT.war/WEB-INF/lib/seam-transaction-3.1.0.Beta2.jar
at
org.jboss.weld.environment.servlet.deployment.VFSURLScanner.handleArchiveByFile(VFSURLScanner.java:77)
[weld-servlet-core-1.1.2.AS7.jar:]
at org.jboss.weld.environment.servlet.deployment.URLScanner.handle(URLScanner.java:158)
[weld-servlet-core-1.1.2.AS7.jar:]
at
org.jboss.weld.environment.servlet.deployment.URLScanner.scanResources(URLScanner.java:139)
[weld-servlet-core-1.1.2.AS7.jar:]
at
org.jboss.weld.environment.servlet.deployment.WebAppBeanDeploymentArchive.<init>(WebAppBeanDeploymentArchive.java:62)
[weld-servlet-core-1.1.2.AS7.jar:]
at
org.jboss.weld.environment.servlet.deployment.ServletDeployment.createWebAppBeanDeploymentArchive(ServletDeployment.java:34)
[weld-servlet-core-1.1.2.AS7.jar:]
at
org.jboss.weld.environment.servlet.deployment.ServletDeployment.<init>(ServletDeployment.java:25)
[weld-servlet-core-1.1.2.AS7.jar:]
at
org.jboss.weld.environment.servlet.Listener.createServletDeployment(Listener.java:111)
[weld-servlet-core-1.1.2.AS7.jar:]
at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:158)
[weld-servlet-core-1.1.2.AS7.jar:]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)
[jbossweb-7.0.1.Final.jar:7.0.1.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821)
[jbossweb-7.0.1.Final.jar:7.0.1.Final]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)
[jboss-as-web-7.0.1.Final.jar:7.0.1.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
[jboss-msc-1.0.0.GA.jar:1.0.0.GA]
at
org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
[jboss-msc-1.0.0.GA.jar:1.0.0.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_26]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: java.io.FileNotFoundException: seam-transaction-3.1.0.Beta2.jar doesn't
exist. (rootURI:
file:/content/guvnor-webapp-5.4.0-SNAPSHOT.war/WEB-INF/lib/seam-transaction-3.1.0.Beta2.jar,
file:
/content/guvnor-webapp-5.4.0-SNAPSHOT.war/WEB-INF/lib/seam-transaction-3.1.0.Beta2.jar)
at
org.jboss.virtual.plugins.context.file.FileSystemContext.getRoot(FileSystemContext.java:213)
[jboss-vfs-2.0.0.GA.jar:]
at org.jboss.virtual.VFS.getRoot(VFS.java:259) [jboss-vfs-2.0.0.GA.jar:]
at org.jboss.virtual.VFS.getRoot(VFS.java:146) [jboss-vfs-2.0.0.GA.jar:]
at
org.jboss.weld.environment.servlet.deployment.VFSURLScanner.handleArchiveByFile(VFSURLScanner.java:52)
[weld-servlet-core-1.1.2.AS7.jar:]
... 15 more
{code}
Tested with weld 1.1.3-SNAPSHOT and weld 1.1.2.AS7 with jboss AS 7.0.1.
The webapp deploys correctly to tomcat 6
and with seam 2 it deployed correctly to jboss as 7.0.1 too.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira