wildfly and handlers.xml issue
slopez01 May 2, 2015 2:05 PMI am running into a strange issue that I just can't seem to figure out. I have several classes that run as services in wildfly, all but one is able to launch. I have verified that the code is pretty much identical (except for web services naming for the different apps). When the @HandlerChain is present in one of the classes, the following cryptic error is given without any exceptions or other details:
2015-05-02 12:52:17,771 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014613: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"FFSCEnterprise.ear\".\"FFSCEnterpriseEJB.jar\".component.\"InventoryTransactionService-us.foodpantry.common.ClientIDHandler\".START is missing [jboss.ws.endpoint.\"FFSCEnterprise.ear\".\"FFSCEnterpriseEJB.jar\".InventoryTransactionService]"]}
When I comment out the @HandlerChain it seems to work, but then I have a different issue that I can no longer verify the clients token that is sent this way. The following fails:
@Stateless
@WebService(name = "InventoryTransactionService",
targetNamespace = "http://org.ffsc.webservices/InventoryTransactionService",
serviceName = "InventoryTransactionService")
@WebContext(contextRoot="/FFSCEnterprise-FFSCEnterpriseEJB",
urlPattern="/InventoryTransactionService",
transportGuarantee="CONFIDENTIAL",
authMethod=AuthMethod.BASIC)
@HandlerChain(file="/us/foodpantry/common/handlers.xml")
@Interceptors(TimingInterceptor.class)
public class InventoryTransactionService {
}
This one succeeds:
@Stateless
@WebService(name = "AuthorizationService",
targetNamespace = "http://org.ffsc.webservices/AuthorizationService",
serviceName = "AuthorizationService")
@WebContext(contextRoot="/FFSCEnterprise-FFSCEnterpriseEJB",
urlPattern="/AuthorizationService",
transportGuarantee="CONFIDENTIAL",
authMethod=AuthMethod.BASIC)
@HandlerChain(file="/us/foodpantry/common/handlers.xml")
@Interceptors(TimingInterceptor.class)
public class AuthorizationService
{
}
Any ideas would be greatly appreciated.