JBoss EAP 5.1 の JBossWS デプロイヤーから EJB デプロイヤーの依存性を削除
Issue
ナレッジベースの Slimming JBoss EAP 5.1 に従い、EJB 2.x と EJB 3 サービスのみを削除すると、JBoss の起動時に server.log に以下のエラーが表示されます。
ERROR [org.jboss.wsf.framework.deployment.DeploymentAspectInstaller] (main) Cannot add deployment aspect(s)
WSDeploymentAspectManagerPreJSE provides:[]
WSDeploymentAspectManagerPostJSE provides:[JAXBIntros]
org.jboss.wsf.container.jboss50.deployment.RuntimeLoaderDeploymentAspect, requires:ContainerMetaData
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect, requires:RuntimeLoader, ContainerMetaData, URLPattern, VFSRoot, JAXBIntros
org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect, requires:RegisteredEndpoint
org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect, requires:ContainerEndpointHandler, ContainerMetaData
org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect, requires:UnifiedMetaDataModel, JAXBIntros
org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect, requires:UnifiedMetaDataModel
org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect, requires:UnifiedMetaDataModel
ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Create: name=WSNativeDeploymentAspectInstallerPostJSE state=Configured
java.lang.IllegalStateException:Cannot add deployment aspect(s)
WSDeploymentAspectManagerPreJSE provides:[]
WSDeploymentAspectManagerPostJSE provides:[JAXBIntros]
org.jboss.wsf.container.jboss50.deployment.RuntimeLoaderDeploymentAspect, requires:ContainerMetaData
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect, requires:RuntimeLoader, ContainerMetaData, URLPattern, VFSRoot, JAXBIntros
org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect, requires:RegisteredEndpoint
org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect, requires:ContainerEndpointHandler, ContainerMetaData
org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect, requires:UnifiedMetaDataModel, JAXBIntros
org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect, requires:UnifiedMetaDataModel
org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect, requires:UnifiedMetaDataModel
at org.jboss.wsf.framework.deployment.DeploymentAspectInstaller.throwSortException(DeploymentAspectInstaller.java:170)
at org.jboss.wsf.framework.deployment.DeploymentAspectInstaller.create(DeploymentAspectInstaller.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
...(snip)...
ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "WSDeployerHook_JAXRPC_EJB21" is missing the following dependencies:
Dependency "WebServiceDeployerEJB" (should be in state "Create", but is actually in state "Configured")
Deployment "WSDeployerHook_JAXWS_EJB3" is missing the following dependencies:
Dependency "WebServiceDeployerEJB" (should be in state "Create", but is actually in state "Configured")
Deployment "WSDeploymentAspectInstallerEJB" is missing the following dependencies:
Dependency "WSInjectionMetaDataDeploymentAspect" (should be in state "Installed", but is actually in state "Instantiated")
Deployment "WSDeploymentAspectInstallerPreJSE" is missing the following dependencies:
Dependency "WSInjectionMetaDataDeploymentAspect" (should be in state "Installed", but is actually in state "Instantiated")
Deployment "WSInjectionMetaDataDeploymentAspect" is missing the following dependencies:
Dependency "org.jboss.ejb3.EjbReferenceResolver" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'org.jboss.ejb3.EjbReferenceResolver' **")
Deployment "WSNativeDeploymentAspectInstallerEJB" is missing the following dependencies:
Dependency "WSDeploymentAspectInstallerEJB" (should be in state "Create", but is actually in state "Instantiated")
Deployment "WSNativeDeploymentAspectInstallerPreJSE" is missing the following dependencies:
Dependency "WSDeploymentAspectInstallerPreJSE" (should be in state "Create", but is actually in state "Instantiated")
Deployment "WebServiceDeployerEJB" is missing the following dependencies:
Dependency "Ejb3Deployer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'Ejb3Deployer' **")
DEPLOYMENTS IN ERROR:
Deployment "WSNativeDeploymentAspectInstallerPostJSE" is in error due to the following reason(s): java.lang.IllegalStateException:Cannot add deployment aspect(s)
WSDeploymentAspectManagerPreJSE provides:[]
WSDeploymentAspectManagerPostJSE provides:[JAXBIntros]
org.jboss.wsf.container.jboss50.deployment.RuntimeLoaderDeploymentAspect, requires:ContainerMetaData
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect, requires:RuntimeLoader, ContainerMetaData, URLPattern, VFSRoot, JAXBIntros
org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect, requires:RegisteredEndpoint
org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect, requires:ContainerEndpointHandler, ContainerMetaData
org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect, requires:UnifiedMetaDataModel, JAXBIntros
org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect, requires:UnifiedMetaDataModel
org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect, requires:UnifiedMetaDataModel
Deployment "Ejb3Deployer" is in error due to the following reason(s):** NOT FOUND Depends on 'Ejb3Deployer' **
Deployment "org.jboss.ejb3.EjbReferenceResolver" is in error due to the following reason(s):** NOT FOUND Depends on 'org.jboss.ejb3.EjbReferenceResolver' **
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
