[JBossWS] - Errors in AS after updating JBossWS - plz help
by FabianW
Hi there
I wanted to run the Web Service example which belongs to the JBossESB quickstarts. I tried to deploy it, but i got the error message, that I have to update JBossWS according to the AdministrationGuide.pdf. In this guide two steps are mentioned. First I downloaded and deployed JBossWS 2.0.1. Then I executed 'ant patch-jbossws' from the ESB 'install' directory which was also successful.
Everything seemed fine so far. But everytime I start the JBoss AS I get some huge errors:
15:44:57,421 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.beans:service=JBossBeanDeployment,name='jbossws.sar#jbossws.beans'
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Cannot start AbstractKernelDeployment@87cd5c{name=file:/C:/JBoss_AS_4.2.1/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml installed=true beans=[AbstractBeanMetaData@1bb8694{name=WSEndpointJAXBIntrosCustomizationsDeployer bean=org.jboss.wsf.spi.deployment.JAXBIntrosCustomizationsDeployer properties= constructor=null}, AbstractBeanMetaData@80669d{name=WSServerConfig bean=org.jboss.wsf.stack.jbws.NativeServerConfig properties=[mbeanServer, modifySOAPAddress, webServiceHost] constructor=null}, AbstractBeanMetaData@1d0feea{name=WSEndpointRegistry bean=org.jboss.wsf.framework.management.ManagedEndpointRegistry properties=[mbeanServer] constructor=null}, AbstractBeanMetaData@fbbbc{name=WSSubscriptionManager bean=org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager properties=[bindAddress] constructor=null}, AbstractBeanMetaData@ee3dee{name=WSNativeContextPropertiesDeploymentAspect bean=org.jboss.wsf.framework.deployment.ContextPropertiesDeploymentAspect properties=[provides, contextProperties] constructor=null}, AbstractBeanMetaData@123defe{name=WSNativeEagerInitializeDeploymentAspect bean=org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@508be{name=WSNativeEndpointHandlerDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@811e10{name=WSNativeEventingDeploymentAspect bean=org.jboss.wsf.stack.jbws.EventingDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData@dcdffc{name=WSNativePublishContractDeploymentAspect bean=org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData@f546f8{name=WSNativeServiceEndpointInvokerDeploymentAspect bean=org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData@1064a6d{name=WSNativeUnifiedMetaDataDeploymentAspect bean=org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@5861{name=WSNativeDeploymentAspectInstallerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null demands=[WSDeploymentAspectInstallerPreJSE]}, AbstractBeanMetaData@aa559d{name=WSNativeDeploymentAspectInstallerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null demands=[WSDeploymentAspectInstallerPostJSE]}, AbstractBeanMetaData@dabcea{name=WSNativeDeploymentAspectInstallerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null demands=[WSDeploymentAspectInstallerEJB]}, AbstractBeanMetaData@a8a81c{name=WSNativeDeploymentAspectInstallerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null demands=[WSDeploymentAspectInstallerEndpointAPI]}, AbstractBeanMetaData@b4faeb{name=WSKernelLocator bean=org.jboss.wsf.spi.util.KernelLocator properties=[kernel] constructor=null}, AbstractBeanMetaData@1c5809e{name=WSMBeanServerLocator bean=org.jboss.wsf.framework.management.MBeanServerLocator properties= constructor=null}, AbstractBeanMetaData@17f1d92{name=WSHTTPServer bean=org.jboss.wsf.container.jboss42.DeploymentAspectHttpServer properties= constructor=null}, AbstractBeanMetaData@6e8504{name=WSServiceRefHandler bean=org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl properties= constructor=null}, AbstractBeanMetaData@1dedb45{name=ServiceRefHandler bean=org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl properties= constructor=null}, AbstractBeanMetaData@d9205{name=WSDeployerHook_JAXRPC_PRE_JSE bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPreJSE properties=[deploymentManagerName, phaseOneInterceptors] constructor=null}, AbstractBeanMetaData@edbca8{name=WSDeployerHook_JAXRPC_POST_JSE bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPostJSE properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData@1fcca7b{name=WSDeployerHook_JAXRPC_EJB21 bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookEJB21 properties=[phaseTwoInterceptors, deploymentManagerName] constructor=null}, AbstractBeanMetaData@1517e5e{name=WSDeployerHook_JAXWS_PRE_JSE bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE properties=[phaseOneInterceptors, deploymentManagerName] constructor=null}, AbstractBeanMetaData@13f5841{name=WSDeployerHook_JAXWS_POST_JSE bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookPostJSE properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData@1bb205a{name=WSDeployerHook_JAXWS_EJB3 bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookEJB3 properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData@48fbc0{name=WSDeploymentAspectManagerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData@18837f1{name=WSDeploymentAspectManagerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[parent, name] constructor=null}, AbstractBeanMetaData@10f0a0{name=WSDeploymentAspectManagerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData@25bd56{name=WSDeploymentAspectManagerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData@1b18235{name=WSContainerMetaDataDeploymentAspect bean=org.jboss.wsf.container.jboss42.ContainerMetaDataDeploymentAspect properties=[provides, metaDataAdapter] constructor=null}, AbstractBeanMetaData@db95a1{name=WSContextRootDeploymentAspect bean=org.jboss.wsf.framework.deployment.BackwardCompatibleContextRootDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData@3c9616{name=WSEndpointAPIDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointAPIDeploymentAspect properties=[provides] constructor=null}, AbstractBeanMetaData@1a18ee2{name=WSEndpointAddressDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointAddressDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@1abcd9b{name=WSEndpointHandlerDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@47b35d{name=WSEndpointLifecycleDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData@150b45a{name=WSEndpointMetricsDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointMetricsDeploymentAspect properties=[provides] constructor=null}, AbstractBeanMetaData@170a650{name=WSEndpointNameDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointNameDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData@b6f7f5{name=WSEndpointRegistryDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@5113f0{name=WSModifyWebMetaDataDeploymentAspect bean=org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect properties=[requires, webXMLRewriter] constructor=null}, AbstractBeanMetaData@f41393{name=WSRuntimeLoaderDeploymentAspect bean=org.jboss.wsf.container.jboss42.RuntimeLoaderDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData@314585{name=WSURLPatternDeploymentAspect bean=org.jboss.wsf.framework.deployment.BackwardCompatibleURLPatternDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@cb1edc{name=WSWebAppDeploymentAspect bean=org.jboss.wsf.container.jboss42.WebAppDeploymentAspect properties=[requires, webXMLRewriter] constructor=null}, AbstractBeanMetaData@1570f5c{name=WSWebAppGeneratorDeploymentAspect bean=org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect properties=[securityHandlerEJB21, requires, securityHandlerEJB3, provides] constructor=null}, AbstractBeanMetaData@b18494{name=WSApplicationMetaDataAdapterEJB21 bean=org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB21 properties= constructor=null}, AbstractBeanMetaData@773d03{name=WSApplicationMetaDataAdapterEJB3 bean=org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB3 properties= constructor=null}, AbstractBeanMetaData@46a09b{name=WSContainerMetaDataAdapter bean=org.jboss.wsf.container.jboss42.ContainerMetaDataAdapter properties=[webMetaDataAdapter, applicationMetaDataAdapterEJB3, applicationMetaDataAdapterEJB21] constructor=null}, AbstractBeanMetaData@da5bc0{name=WSSecurityHandlerEJB21 bean=org.jboss.wsf.container.jboss42.SecurityHandlerEJB21 properties= constructor=null}, AbstractBeanMetaData@1bdbf9d{name=WSSecurityHandlerEJB3 bean=org.jboss.wsf.container.jboss42.SecurityHandlerEJB3 properties= constructor=null}, AbstractBeanMetaData@6f19d5{name=WSWebAppDesciptorModifier bean=org.jboss.wsf.container.jboss42.DefaultWebAppDesciptorModifierImpl properties= constructor=null}, AbstractBeanMetaData@91520{name=WSWebMetaDataAdapter bean=org.jboss.soa.esb.jbossws.ESBWebMetaDataAdapter properties= constructor=null}, AbstractBeanMetaData@4a0ac5{name=WSWebXMLRewriter bean=org.jboss.wsf.container.jboss42.WebXMLRewriterImpl properties=[desciptorModifier] constructor=null}, AbstractBeanMetaData@1092447{name=WSDeploymentAspectInstallerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[manager, aspects, sortAspectsOnCreate] constructor=null}, AbstractBeanMetaData@12cd8d4{name=WSDeploymentAspectInstallerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, sortAspectsOnCreate, manager] constructor=null demands=[WSDeploymentAspectInstallerPreJSE]}, AbstractBeanMetaData@14f5021{name=WSDeploymentAspectInstallerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null}, AbstractBeanMetaData@15da7d{name=WSDeploymentAspectInstallerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null}]}; - nested throwable: (java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS IN ERROR:
| WSWebMetaDataAdapter -> java.lang.NoClassDefFoundError: org/jboss/wsf/container/jboss42/WebMetaDataAdapter
| WSEndpointJAXBIntrosCustomizationsDeployer -> java.lang.NoClassDefFoundError: org/jboss/wsf/spi/deployment/AbstractDeployer
|
| *** DEPLOYMENTS MISSING DEPENDENCIES:
| WSNativeDeploymentAspectInstallerPostJSE -> WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPostJSE{Create:Configured}, WSDeploymentAspectInstallerPostJSE{Start:Configured}
| WSDeploymentAspectInstallerEJB -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WSWebAppDeploymentAspect{Configured:Installed}, WSWebAppGeneratorDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}
| WSContainerMetaDataDeploymentAspect -> WSContainerMetaDataAdapter{Configured:Instantiated}
| WSDeploymentAspectInstallerPreJSE -> WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSModifyWebMetaDataDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}
| WSNativeDeploymentAspectInstallerPreJSE -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
| WSNativeDeploymentAspectInstallerEJB -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}, WSDeploymentAspectInstallerEJB{Create:Instantiated}, WSDeploymentAspectInstallerEJB{Start:Instantiated}
| WSDeploymentAspectInstallerPostJSE -> WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
| WSContainerMetaDataAdapter -> WSWebMetaDataAdapter{Configured:**ERROR**}, WSApplicationMetaDataAdapterEJB3{Configured:Installed}, WSApplicationMetaDataAdapterEJB21{Configured:Installed}
| )
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.beans:service=JBossBeanDeployment,name='jbossws.sar#jbossws.beans'
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Cannot start AbstractKernelDeployment@87cd5c{name=file:/C:/JBoss_AS_4.2.1/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml installed=true beans=[AbstractBeanMetaData@1bb8694{name=WSEndpointJAXBIntrosCustomizationsDeployer bean=org.jboss.wsf.spi.deployment.JAXBIntrosCustomizationsDeployer properties= constructor=null}, AbstractBeanMetaData@80669d{name=WSServerConfig bean=org.jboss.wsf.stack.jbws.NativeServerConfig properties=[mbeanServer, modifySOAPAddress, webServiceHost] constructor=null}, AbstractBeanMetaData@1d0feea{name=WSEndpointRegistry bean=org.jboss.wsf.framework.management.ManagedEndpointRegistry properties=[mbeanServer] constructor=null}, AbstractBeanMetaData@fbbbc{name=WSSubscriptionManager bean=org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager properties=[bindAddress] constructor=null}, AbstractBeanMetaData@ee3dee{name=WSNativeContextPropertiesDeploymentAspect bean=org.jboss.wsf.framework.deployment.ContextPropertiesDeploymentAspect properties=[provides, contextProperties] constructor=null}, AbstractBeanMetaData@123defe{name=WSNativeEagerInitializeDeploymentAspect bean=org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@508be{name=WSNativeEndpointHandlerDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@811e10{name=WSNativeEventingDeploymentAspect bean=org.jboss.wsf.stack.jbws.EventingDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData@dcdffc{name=WSNativePublishContractDeploymentAspect bean=org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData@f546f8{name=WSNativeServiceEndpointInvokerDeploymentAspect bean=org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData@1064a6d{name=WSNativeUnifiedMetaDataDeploymentAspect bean=org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@5861{name=WSNativeDeploymentAspectInstallerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null demands=[WSDeploymentAspectInstallerPreJSE]}, AbstractBeanMetaData@aa559d{name=WSNativeDeploymentAspectInstallerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null demands=[WSDeploymentAspectInstallerPostJSE]}, AbstractBeanMetaData@dabcea{name=WSNativeDeploymentAspectInstallerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null demands=[WSDeploymentAspectInstallerEJB]}, AbstractBeanMetaData@a8a81c{name=WSNativeDeploymentAspectInstallerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null demands=[WSDeploymentAspectInstallerEndpointAPI]}, AbstractBeanMetaData@b4faeb{name=WSKernelLocator bean=org.jboss.wsf.spi.util.KernelLocator properties=[kernel] constructor=null}, AbstractBeanMetaData@1c5809e{name=WSMBeanServerLocator bean=org.jboss.wsf.framework.management.MBeanServerLocator properties= constructor=null}, AbstractBeanMetaData@17f1d92{name=WSHTTPServer bean=org.jboss.wsf.container.jboss42.DeploymentAspectHttpServer properties= constructor=null}, AbstractBeanMetaData@6e8504{name=WSServiceRefHandler bean=org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl properties= constructor=null}, AbstractBeanMetaData@1dedb45{name=ServiceRefHandler bean=org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl properties= constructor=null}, AbstractBeanMetaData@d9205{name=WSDeployerHook_JAXRPC_PRE_JSE bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPreJSE properties=[deploymentManagerName, phaseOneInterceptors] constructor=null}, AbstractBeanMetaData@edbca8{name=WSDeployerHook_JAXRPC_POST_JSE bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPostJSE properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData@1fcca7b{name=WSDeployerHook_JAXRPC_EJB21 bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookEJB21 properties=[phaseTwoInterceptors, deploymentManagerName] constructor=null}, AbstractBeanMetaData@1517e5e{name=WSDeployerHook_JAXWS_PRE_JSE bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE properties=[phaseOneInterceptors, deploymentManagerName] constructor=null}, AbstractBeanMetaData@13f5841{name=WSDeployerHook_JAXWS_POST_JSE bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookPostJSE properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData@1bb205a{name=WSDeployerHook_JAXWS_EJB3 bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookEJB3 properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData@48fbc0{name=WSDeploymentAspectManagerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData@18837f1{name=WSDeploymentAspectManagerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[parent, name] constructor=null}, AbstractBeanMetaData@10f0a0{name=WSDeploymentAspectManagerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData@25bd56{name=WSDeploymentAspectManagerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData@1b18235{name=WSContainerMetaDataDeploymentAspect bean=org.jboss.wsf.container.jboss42.ContainerMetaDataDeploymentAspect properties=[provides, metaDataAdapter] constructor=null}, AbstractBeanMetaData@db95a1{name=WSContextRootDeploymentAspect bean=org.jboss.wsf.framework.deployment.BackwardCompatibleContextRootDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData@3c9616{name=WSEndpointAPIDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointAPIDeploymentAspect properties=[provides] constructor=null}, AbstractBeanMetaData@1a18ee2{name=WSEndpointAddressDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointAddressDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@1abcd9b{name=WSEndpointHandlerDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@47b35d{name=WSEndpointLifecycleDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData@150b45a{name=WSEndpointMetricsDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointMetricsDeploymentAspect properties=[provides] constructor=null}, AbstractBeanMetaData@170a650{name=WSEndpointNameDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointNameDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData@b6f7f5{name=WSEndpointRegistryDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@5113f0{name=WSModifyWebMetaDataDeploymentAspect bean=org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect properties=[requires, webXMLRewriter] constructor=null}, AbstractBeanMetaData@f41393{name=WSRuntimeLoaderDeploymentAspect bean=org.jboss.wsf.container.jboss42.RuntimeLoaderDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData@314585{name=WSURLPatternDeploymentAspect bean=org.jboss.wsf.framework.deployment.BackwardCompatibleURLPatternDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData@cb1edc{name=WSWebAppDeploymentAspect bean=org.jboss.wsf.container.jboss42.WebAppDeploymentAspect properties=[requires, webXMLRewriter] constructor=null}, AbstractBeanMetaData@1570f5c{name=WSWebAppGeneratorDeploymentAspect bean=org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect properties=[securityHandlerEJB21, requires, securityHandlerEJB3, provides] constructor=null}, AbstractBeanMetaData@b18494{name=WSApplicationMetaDataAdapterEJB21 bean=org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB21 properties= constructor=null}, AbstractBeanMetaData@773d03{name=WSApplicationMetaDataAdapterEJB3 bean=org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB3 properties= constructor=null}, AbstractBeanMetaData@46a09b{name=WSContainerMetaDataAdapter bean=org.jboss.wsf.container.jboss42.ContainerMetaDataAdapter properties=[webMetaDataAdapter, applicationMetaDataAdapterEJB3, applicationMetaDataAdapterEJB21] constructor=null}, AbstractBeanMetaData@da5bc0{name=WSSecurityHandlerEJB21 bean=org.jboss.wsf.container.jboss42.SecurityHandlerEJB21 properties= constructor=null}, AbstractBeanMetaData@1bdbf9d{name=WSSecurityHandlerEJB3 bean=org.jboss.wsf.container.jboss42.SecurityHandlerEJB3 properties= constructor=null}, AbstractBeanMetaData@6f19d5{name=WSWebAppDesciptorModifier bean=org.jboss.wsf.container.jboss42.DefaultWebAppDesciptorModifierImpl properties= constructor=null}, AbstractBeanMetaData@91520{name=WSWebMetaDataAdapter bean=org.jboss.soa.esb.jbossws.ESBWebMetaDataAdapter properties= constructor=null}, AbstractBeanMetaData@4a0ac5{name=WSWebXMLRewriter bean=org.jboss.wsf.container.jboss42.WebXMLRewriterImpl properties=[desciptorModifier] constructor=null}, AbstractBeanMetaData@1092447{name=WSDeploymentAspectInstallerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[manager, aspects, sortAspectsOnCreate] constructor=null}, AbstractBeanMetaData@12cd8d4{name=WSDeploymentAspectInstallerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, sortAspectsOnCreate, manager] constructor=null demands=[WSDeploymentAspectInstallerPreJSE]}, AbstractBeanMetaData@14f5021{name=WSDeploymentAspectInstallerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null}, AbstractBeanMetaData@15da7d{name=WSDeploymentAspectInstallerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null}]}; - nested throwable: (java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS IN ERROR:
| WSWebMetaDataAdapter -> java.lang.NoClassDefFoundError: org/jboss/wsf/container/jboss42/WebMetaDataAdapter
| WSEndpointJAXBIntrosCustomizationsDeployer -> java.lang.NoClassDefFoundError: org/jboss/wsf/spi/deployment/AbstractDeployer
|
| *** DEPLOYMENTS MISSING DEPENDENCIES:
| WSNativeDeploymentAspectInstallerPostJSE -> WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPostJSE{Create:Configured}, WSDeploymentAspectInstallerPostJSE{Start:Configured}
| WSDeploymentAspectInstallerEJB -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WSWebAppDeploymentAspect{Configured:Installed}, WSWebAppGeneratorDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}
| WSContainerMetaDataDeploymentAspect -> WSContainerMetaDataAdapter{Configured:Instantiated}
| WSDeploymentAspectInstallerPreJSE -> WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSModifyWebMetaDataDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}
| WSNativeDeploymentAspectInstallerPreJSE -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
| WSNativeDeploymentAspectInstallerEJB -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}, WSDeploymentAspectInstallerEJB{Create:Instantiated}, WSDeploymentAspectInstallerEJB{Start:Instantiated}
| WSDeploymentAspectInstallerPostJSE -> WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
| WSContainerMetaDataAdapter -> WSWebMetaDataAdapter{Configured:**ERROR**}, WSApplicationMetaDataAdapterEJB3{Configured:Installed}, WSApplicationMetaDataAdapterEJB21{Configured:Installed}
| )
I really have no clue what happened or how I can reverse it without installing everything from scratch.
By the way: I can deploy the example successfully but http://localhost:8080/jbossws/ shows no deployed service.
Every advice is appreciated!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098331#4098331
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098331
17 years, 2 months
[JBossWS] - Re: Exception while deploying the webservice using jax-ws
by tpawankumar
Hi,
This issue has been resolved by moving to Jbossws 2.0.1 GA.
Now i am getting different exception
java.lang.IllegalStateException: Cannot find endpoint meta data for: MacafeeAdapter
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM
etaData(UnifiedMetaDataDeploymentAspect.java:117)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:86)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
18:29:00,849 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@f00a09d9 { url=file:/D:/jboss-4.2.1.GA/serve
r/default/deploy/mcafeeAdapter.war }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Cannot find endpoint meta data for: MacafeeA
dapter
state: FAILED
watch: file:/D:/jboss-4.2.1.GA/server/default/deploy/mcafeeAdapter.war
altDD: null
lastDeployed: 1193230739941
lastModified: 1193230739925
mbeans:
jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/mcafeeAdapter,
J2EEApplication=none,J2EEServer=none (state not available)
jboss.web:j2eeType=Servlet,name=MacafeeAdapter,WebModule=//localhost/mcafeeA
dapter,J2EEApplication=none,J2EEServer=none (state not available)
jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/mcafeeAdapter,J2EE
Application=none,J2EEServer=none (state not available)
This is my remote interface
import javax.xml.ws.ResponseWrapper;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* JBossWS Generated Source
*
* Generation Date: Tue Oct 23 09:29:51 IST 2007
*
* This generated source code represents a derivative work of the input to
* the generator that produced it. Consult the input for the copyright and
* terms of use that apply to this source code.
*
* JAX-WS Version: 2.0
*
*/
@WebService(name = "VendorOrderPort", targetNamespace = "http://smo.xsd.covad.com/vendororder")
public interface VendorOrderPort extends Remote{
/**
*
* @param vendorOrder
* @return
* returns com.covad.xsd.smo.vendororder.VendorOrder
* @throws RemoteException
*/
@WebMethod
@WebResult(targetNamespace = "http://smo.xsd.covad.com/vendororder")
@RequestWrapper(localName = "processVendorOrder", targetNamespace = "http://smo.xsd.covad.com/vendororder", className = "com.covad.xsd.smo.vendororder.ProcessVendorOrder")
@ResponseWrapper(localName = "processVendorOrderResponse", targetNamespace = "http://smo.xsd.covad.com/vendororder", className = "com.covad.xsd.smo.vendororder.ProcessVendorOrderResponse")
public VendorOrder processVendorOrder(
@WebParam(name = "vendorOrder", targetNamespace = "http://smo.xsd.covad.com/vendororder")
VendorOrder vendorOrder)
throws RemoteException
;
}
This is Web service implementation class
package com.covad.mcafee.adapter.webservice;
import com.covad.mcafee.service.McAfeeProxy;
import com.covad.xsd.smo.vendororder.VendorOrder;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.covad.xsd.smo.vendororder.VendorOrderPort;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
@WebService(endpointInterface="com.covad.xsd.smo.vendororder.VendorOrderPort")
public class macafeeAdapter implements VendorOrderPort {
private static Log logger = LogFactory.getLog("com.covad.mcafee.adapter");
@WebMethod(operationName = "ProcessVendorOrder")
public VendorOrder processVendorOrder(VendorOrder vendorOrder) {
// logger.info("Entering mcafeeadapter.processVendorOrder() with "+vendorOrder.xmlText());
logger.info("Entering mcafeeadapter.processVendorOrder() with ");
McAfeeProxy mcAfeeProxy = new McAfeeProxy();
VendorOrder res = mcAfeeProxy.processVendorOrder(vendorOrder);
logger.info("COMPLETE");
return res;
}
}
Please help me.
Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098293#4098293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098293
17 years, 2 months
[JBossWS] - Basic Authentication with WSSecureEndpoint on JBoss 4.2.2GA
by ejb3workshop
I want to use Username Tokens to authenticate with a webservice provided by a Session Bean as shows:
@Stateless
| @WebService
| @EndpointConfig(configName="Standard WSSecurity Endpoint")
| @SecurityDomain("java:/jaas/THZone")
| @RolesAllowed("friend")
| @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
| use=SOAPBinding.Use.LITERAL,
| parameterStyle=SOAPBinding.ParameterStyle.BARE)
I searched the forum and found several references to :
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecureEndpoint
which points to the user guide.
I configured the login module in conf/login-config.xml to use a properties file to test the configuration. However when I try to access the principal I get a null back. Since added the RolesAllowed annotation the service fails with :
anonymous wrote :
| 11:46:07,984 ERROR [RoleBasedAuthorizationInterceptor] Insufficient permissions, principal=null, requiredRoles=[friend], principalRoles=[]
| 11:46:07,984 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.ejb.EJBAccessException: Authorization failure
| at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:120)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:103)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
|
It seems that I am just missing the right configuration. Any pointers on what to configure would help me a great deal.
Tx
Alex
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098251#4098251
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098251
17 years, 2 months