cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chandramohan <chandramohan_murk...@hotmail.com>
Subject CXF webservice applocation failing on weblogic12c Cluster
Date Fri, 19 Apr 2013 12:42:13 GMT
Hi,

We have and CXF -SOAP application which is getting deployed and running fine
on standalone weblogic12c server. But it is failing to deploy on weblogic12c
Cluster with error,


org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.cxf.jaxws.EndpointImpl--1300944038': Invocation of
init method failed; nested exception is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
	at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
	at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
	at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
	at
com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.ContextLoaderListener.contextInitialized(Unknown
Source)
	at
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:582)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
	at
weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:233)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:190)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
	at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1730)
	at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2740)
	at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1704)
	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:781)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
	at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:212)
	at
weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:111)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
	at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
	at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
	at
weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
	at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
	at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:582)
	at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148)
	at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114)
	at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:335)
	at
weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
	at
weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
	at
weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
	at
weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
	at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
	at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
	at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
	at
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:357)
	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:246)
	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:525)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1546)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)
	... 56 more
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
	at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:294)
	at
org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:401)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:506)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:242)
	at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
	at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
	at
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
	at
org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:207)
	at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:442)
	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:329)
	... 65 more
Caused by: javax.xml.bind.JAXBException: 
Descriptor Exceptions: 
---------------------------------------------------------

Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Descriptor is missing for class
[org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].
Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseStatePartyRole]
Descriptor: XMLDescriptor(org.ossj.xml.common_cbeparty.v1_5.PartyRoleValue
--> [])

Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Descriptor is missing for class
[org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].
Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseCustomerStateCustomer]
Descriptor: XMLDescriptor(org.ossj.xml.common_cbecustomer.v1_5.CustomerValue
--> [])

Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Descriptor is missing for class
[org.ossj.xml.common_cbedatatypes.v1_5.CustomerState].
Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseCustomerStateCustomer]
Descriptor: XMLDescriptor(org.ossj.xml.common_cbecustomer.v1_5.CustomerValue
--> [])

Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Descriptor is missing for class
[org.ossj.xml.ordermanagement.v1_0.RequestState].
Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseCurrentStateRequestStateChangeEvent]
Descriptor:
XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateChangeEventType
--> [])

Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Descriptor is missing for class
[org.ossj.xml.common_cbebi.v1_5.BusinessInteractionState].
Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseCurrentStateRequestStateChangeEvent]
Descriptor:
XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateChangeEventType
--> [])

Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Descriptor is missing for class
[org.ossj.xml.common_cbebi.v1_5.BusinessInteractionState].
Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseInteractionStatusBusinessInteraction]
Descriptor:
XMLDescriptor(org.ossj.xml.common_cbebi.v1_5.BusinessInteractionValue -->
[])


*spring config looks as*

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
	xmlns:cxf="http://cxf.apache.org/core"
	xmlns:jee="http://www.springframework.org/schema/jee"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
	 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd 
	 http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
	 http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd">
	 
	<import resource="classpath:META-INF/cxf/cxf.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
	<jaxws:endpoint xmlns:tns="http://ossj.org/wsdl/OrderManagement/v1-0"
		implementor="#jvtordermanagementsessionwsport"
wsdlLocation="classpath:wsdl/RPM-RequestWS-v1-0.wsdl"
		endpointName="tns:JVTOrderManagementSessionWSPort11"
serviceName="tns:RPM-RequestWS-v1-0"
		address="/JVTOrderManagementSessionWSPort11">

		<jaxws:inInterceptors>
			
			<ref bean="saajIn" />
			<ref bean="wss4jIn" />
		</jaxws:inInterceptors>

		<jaxws:features>
			<bean class="org.apache.cxf.feature.LoggingFeature" />
		</jaxws:features>
	</jaxws:endpoint>

	<bean id="saajIn"
class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" />
	<bean id="wss4jIn"
class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
		<constructor-arg>
			<map>
				<entry key="action" value="UsernameToken" />
				<entry key="passwordType" value="PasswordText" />
			</map>
		</constructor-arg>
	</bean>


	<cxf:bus>
		<cxf:properties>
			<entry key="ws-security.validate.token" value="false" />
			<entry key="ws-security.ut.no-callbacks" value="true" />
			<entry key="ws-security.ut.validator" value="my.own.Authenticator" />
		</cxf:properties>
	</cxf:bus>
</beans>

Any help/hint/sample would help.
I am using spring3.0.7, cxf 2.5.4 java7 and weblogic12c

Regards,
Chandramohan



--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-webservice-applocation-failing-on-weblogic12c-Cluster-tp5726535.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message