[jboss-dev-forums] [Design of JBoss Deployment Framework] - SAR Deployment Deployers Ordering

richard.opalka@jboss.com do-not-reply at jboss.com
Fri Oct 31 09:39:17 EDT 2008


Relates to: JBWS-2246
---

Usecase 1: Service archive (.sar) with POJO web service endpoint (.war archive inside).
Usecase 2: Service archive (.sar) with EJB web service endpoint (.jar archive inside).

Problem Description:
---

Both usecases work fine when we deploy service archive to already running AS instance (using hot deploy feature).
The problem appears when service archive is present in deploy directory at AS startup time.

Current JBossWS Deployers Architecture:
---

There are three JBossWS deployers registered with the JBoss Main Deployer which order is important:

EJBDeployer < WebServiceDeployerEJB < WarDeployer
WebServiceDeployerPreJSE < WarDeployer < WebServiceDeployerPostJSE

Questions:
---
When sar deployment (containing .war) is in place the war archive deployment order is different comparing to when war archive is deployed standalone :(
Q1: Is it correct deployers behavior?
Q2: Shouldn't war or ejb archive inside .sar archive be deployed later?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186027#4186027

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186027



More information about the jboss-dev-forums mailing list