[Tomcat Integration Development] New message: "Re: Deployment of on-demand web applications"
by Shelly McGowan
JBoss development,
A new message was posted in the thread "Deployment of on-demand web applications":
http://community.jboss.org/message/525493#525493
Author : Shelly McGowan
Profile : http://community.jboss.org/people/smcgowan@redhat.com
Message:
--------------------------------------------------------------
With jbossas/trunk revision 100807, the admin-console.war fails to deploy when passing the argument -Djboss.as.deployment.ondemand=false starting the server. The deployment fails due to JBSEAM-4505
which was previously seen in other tests but not with this .war. This validation error is not seen and the admin-console initializes successfully if this argument is not used.
Another deployment exception seen when this property is passed
2010-02-10 11:22:46,015 DEBUG [org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer] (HDScanner) Error during deploy: vfsfile:/work/TRUNK/trunk/build/target/jboss-6.0.0-SNAPSHOT/common/deploy/jmx-console.war/WEB-INF/web.xml: org.jboss.deployers.spi.DeploymentException: java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.html.HtmlAdaptorServlet from BaseClassLoader@1ee7088{vfsfile:/work/TRUNK/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)
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525493#525493
14 years, 7 months
[JBoss Microcontainer Development] New message: "Re: Profiling the dependency project"
by Ales Justin
JBoss development,
A new message was posted in the thread "Profiling the dependency project":
http://community.jboss.org/message/525416#525416
Author : Ales Justin
Profile : http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
> What I would really like is to be able to is somehow roll the getting of the context and the on demand context into one, something along the lines of
>
> *public* *boolean* resolve(Controller controller)
> {
> *boolean* previous = resolved;
>
> ControllerState state = dependentState == *null* ? ControllerState.INSTALLED : dependentState;
> ControllerContext context = controller.getContextAtStateOrEnableOnDemand(iDependOn, state);
>
> *if* (context == *null*)
> {
> resolved = *false*;
> }
> *else*
> {
> addDependsOnMe(controller, context);
> resolved = *true*;
> }
> }
>
>
>
>
> That way we only query for the context once instead of twice (three times before my last change)
I would add Controller::getContext(name, state, boolean enableOnDemand),
where previous code would have false for 3rd param.
How much improvement do we see if you add this?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525416#525416
14 years, 7 months