anonymous wrote :
| "mwringe" wrote :
| | But it does get a little tricky when the top deployment is the dependency of a
child deployment, last I tried doing this it doesn' work as expected.
|
| Tricky how?
| What about if you change the deployer hierarchy order?
| e.g. setParentFirst == false
I must not understand this part enough. If I have a sar with a nested war, the war is sent
to the tomcat deployer last no matter what parentfirst is set in the sar deployer.
Note that I tested this deploying the sar after the server has been started. If the sar is
in the deploy directory as the server starts its behaves differently.
I have been trying it using the dependency deployer, but it doesn't work. If I specify
I want the war to be deployed after the sar is done with the real stage, it fails since it
can't find the sar dependency. It will work perfectly fine in the war is removed from
the sar and is no longer nested.
I would prefer to use the dependency mechanism rather than changing the portal from a sar
into something else with its own custom deployer, but I can if necessary.
anonymous wrote : "mwringe" wrote :
| |
| | FYI, the manipulation of deployer order based on another deployer's order is
also used in a few other deployers in AS5.
| |
| Where? To kick some butt ... :-)
EARContentsDeployer and WebServiceDeployerPreJSE do at least. There could be others.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202583#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...