[EJB 3.0 Development] New message: "Re: EJBTHREE-2007: VFS Abstraction"
by John Bailey
JBoss development,
A new message was posted in the thread "EJBTHREE-2007: VFS Abstraction":
http://community.jboss.org/message/525543#525543
Author : John Bailey
Profile : http://community.jboss.org/people/johnbailey
Message:
--------------------------------------------------------------
Now that there is a reasonable option for making sure no VFS dependencies leak into the EJB3 projects, what is the plan moving forward? There has been some initial discussion on the SPI Carlo started, but I am not if there is more to be had.
Questions I have are as follows:
1. Are you waiting on me for anything?
2. What is the timeframe to complete the VFS abstraction, and can it be done soon to help meet the VFS3 migration goals?
3. Who will be responsible for the various pieces of work?
4. The plan is to still use VFS for the test code, correct?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525543#525543
14 years, 7 months
[Tomcat Integration Development] New message: "Re: Deployment of on-demand web applications"
by Brian Stansberry
JBoss development,
A new message was posted in the thread "Deployment of on-demand web applications":
http://community.jboss.org/message/525542#525542
Author : Brian Stansberry
Profile : http://community.jboss.org/people/bstansberry@jboss.com
Message:
--------------------------------------------------------------
The full stack trace shows this is actually a later scan by the HDScanner that is failing:
> 2:24:56,739 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to PreReal: name=vfsfile:/home/bes/dev/jboss/clean/trunk/build/target/jboss-6.0.0-SNAPSHOT/common/deploy/jmx-console.war/WEB-INF/web.xml state=PostClassLoader mode=Manual requiredState=PreReal: org.jboss.deployers.spi.DeploymentException: java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.html.HtmlAdaptorServlet from BaseClassLoader@1dc5e181{vfsfile:/home/bes/dev/jboss/clean/trunk/build/target/jboss-6.0.0-SNAPSHOT/common/deploy/jmx-console.war/WEB-INF/web.xml}
> at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.deployApplicationClass(ResteasyScannerDeployer.java:112)
> at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.internalDeploy(ResteasyScannerDeployer.java:57)
> at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
> at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
> at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1956)
> at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1019)
> at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1251)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1175)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1073)
> at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:887)
> at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:602)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
> at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
> at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
> at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:409)
> at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.html.HtmlAdaptorServlet from BaseClassLoader@1dc5e181{vfsfile:/home/bes/dev/jboss/clean/trunk/build/target/jboss-6.0.0-SNAPSHOT/common/deploy/jmx-console.war/WEB-INF/web.xml}
> at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:498)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.deployApplicationClass(ResteasyScannerDeployer.java:108)
> ... 28 more
>
I suspect I'm not setting up the profile correctly for hot deployment; i.e. the base URL that's scanned is the root of the war, rather than some parent like /deploy/. I'll check; I bet this happens with -Djboss.as.deployment.ondemand=true as well; it's just deferred until after you trigger the deployment.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525542#525542
14 years, 7 months