You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by chandramohan <ch...@hotmail.com> on 2013/04/19 14:42:13 UTC

CXF webservice applocation failing on weblogic12c Cluster

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.

RE: CXF webservice applocation failing on weblogic12c Cluster

Posted by Andrei Shakirin <as...@talend.com>.
Hi,

> -Djavax.xml.bind.JAXBContext=com.sun.xml.bind.v2.ContextFactory while
> starting the weblogic server solves the issue.

OK, EclipseLink JAXB context implementation was used instead Sun one and it causes the problem by CXF.

> Now the question is how can I make sure that application uses sun's
> implementation.
> Is there any bean configuration in jaxws?
> or adding jaxb.properties in domain classes?
> 
> still failing to load if server does not have the sun's implementation in java
> options.
> please suggest is there a way to ask WL server to use the sun's jaxb
> implementation

Not sure is there better solution as configuring -Djavax.xml.bind.JAXBContext JVM option in your Application Server.
@Dan: could you suggest any other options here?

Regards,
Andrei.

> -----Original Message-----
> From: chandramohan [mailto:chandramohan_murkute@hotmail.com]
> Sent: Dienstag, 30. April 2013 13:04
> To: users@cxf.apache.org
> Subject: RE: CXF webservice applocation failing on weblogic12c Cluster
> 
> I found a quick fix.
> By passing a java option as
> -Djavax.xml.bind.JAXBContext=com.sun.xml.bind.v2.ContextFactory while
> starting the weblogic server solves the issue.
> 
> that means if not defined CXF uses JAXBContext as
> org.eclipse.persistence.jaxb.JAXBContextFactory.
> 
> Now the question is how can I make sure that application uses sun's
> implementation.
> Is there any bean configuration in jaxws?
> or adding jaxb.properties in domain classes?
> 
> still failing to load if server does not have the sun's implementation in java
> options.
> please suggest is there a way to ask WL server to use the sun's jaxb
> implementation
> 
> Thanks,
> Chandramohan
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-
> webservice-application-failing-on-weblogic12c-Cluster-
> tp5726535p5726956.html
> Sent from the cxf-user mailing list archive at Nabble.com.

RE: CXF webservice applocation failing on weblogic12c Cluster

Posted by chandramohan <ch...@hotmail.com>.
I found a quick fix. 
By passing a java option as
-Djavax.xml.bind.JAXBContext=com.sun.xml.bind.v2.ContextFactory while
starting the weblogic server solves the issue. 

that means if not defined CXF uses JAXBContext as
org.eclipse.persistence.jaxb.JAXBContextFactory.

Now the question is how can I make sure that application uses sun's
implementation.
Is there any bean configuration in jaxws?
or adding jaxb.properties in domain classes?

still failing to load if server does not have the sun's implementation in
java options.
please suggest is there a way to ask WL server to use the sun's jaxb
implementation

Thanks,
Chandramohan



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

RE: CXF webservice applocation failing on weblogic12c Cluster

Posted by Andrei Shakirin <as...@talend.com>.
Hi,

It seems that CXF cannot initialize JAXB context by service registration because of persistence declaration problems.
One possible reason of this could be that EclipseLink does not consider your objects as entities.

Could you double check your persistence.xml class elements?
Is it test without persistence possible?

Regards,
Andrei.

> -----Original Message-----
> From: chandramohan [mailto:chandramohan_murkute@hotmail.com]
> Sent: Montag, 22. April 2013 08:25
> To: users@cxf.apache.org
> Subject: RE: CXF webservice applocation failing on weblogic12c Cluster
> 
> Hi Andrei,Thanks for replying.Stack trace is given in continuity. i.e. after the
> line of "Caused by: javax.xml.bind.JAXBException:" logs have the eclipseLink
> errors. Last part of stack trace was skipped in original post, adding it
> here.Runtime Exceptions:
> 
> --------------------------------------------------------- - with linked
> exception:[Exception [EclipseLink-0] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.IntegrityExceptionDescriptor Exceptions:
> ---------------------------------------------------------Exception
> [EclipseLink-110] (Eclipse Persistence Services - 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseS
> tateProductOffering]Descriptor:
> XMLDescriptor(org.ossj.xml.common_cbeproductoffering.v1_5.ProductOffe
> ringValue
> --> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbebi.v1_5.BusinessInteractionState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseI
> nteractionStatusBusinessInteraction]Descriptor:
> XMLDescriptor(org.ossj.xml.common_cbebi.v1_5.BusinessInteractionValue -
> -> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.ordermanagement.v1_0.RequestState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseI
> nteractionStatusBusinessInteraction]Descriptor:
> XMLDescriptor(org.ossj.xml.common_cbebi.v1_5.BusinessInteractionValue -
> -> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseS
> tatePartyRole]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.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.ordermanagement.v1_0.RequestState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseC
> urrentStateRequestStateChangeEvent]Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateChangeEv
> entType
> --> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbebi.v1_5.BusinessInteractionState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseC
> urrentStateRequestStateChangeEvent]Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateChangeEv
> entType
> --> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseC
> ustomerStateCustomer]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.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbedatatypes.v1_5.CustomerState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseC
> ustomerStateCustomer]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.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.ordermanagement.v1_0.RequestState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[base
> OriginatingStateRequestStateTransition]Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateTransition
> --> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbebi.v1_5.BusinessInteractionState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[base
> OriginatingStateRequestStateTransition]Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateTransition
> --> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.ordermanagement.v1_0.RequestState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseT
> argetStateRequestStateTransition]Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateTransition
> --> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbebi.v1_5.BusinessInteractionState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseT
> argetStateRequestStateTransition]Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateTransition
> --> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseS
> tateService]Descriptor:
> XMLDescriptor(org.ossj.xml.common_cbeservice.v1_5.ServiceValue -->
> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.ordermanagement.v1_0.BusinessInteractionItemAction].Mapp
> ing:
> org.eclipse.persistence.oxm.mappings.XMLCompositeCollectionMapping[ba
> seActionsItemTypeSupportedActionsPair]Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.ArrayOfActions -->
> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseP
> roductStateProduct]Descriptor:
> XMLDescriptor(org.ossj.xml.common_cbeproduct.v1_5.ProductValue -->
> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
> 2.3.2.v20111125-r10461):
> org.eclipse.persistence.exceptions.DescriptorExceptionException
> Description:
> Descriptor is missing for class
> [org.ossj.xml.common_cbeproduct.v1_5.ProductState].Mapping:
> org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseP
> roductStateProduct]Descriptor:
> XMLDescriptor(org.ossj.xml.common_cbeproduct.v1_5.ProductValue -->
> [])Runtime Exceptions:
> ---------------------------------------------------------]	at
> org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createCon
> textState(JAXBContext.java:832)
> at org.eclipse.persistence.jaxb.JAXBContext.(JAXBContext.java:143)	at
> org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContex
> tFactory.java:142)
> at
> com.sun.xml.ws.db.toplink.JAXBContextFactory.newContext(JAXBContextF
> actory.java:180)>
> Regards,Chandramohan
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-
> webservice-applocation-failing-on-weblogic12c-Cluster-
> tp5726535p5726563.html
> Sent from the cxf-user mailing list archive at Nabble.com.

RE: CXF webservice applocation failing on weblogic12c Cluster

Posted by chandramohan <ch...@hotmail.com>.
Hi Andrei,Thanks for replying.Stack trace is given in continuity. i.e. after
the line of "Caused by: javax.xml.bind.JAXBException:" logs have the
eclipseLink errors. Last part of stack trace was skipped in original post,
adding it here.Runtime Exceptions:
--------------------------------------------------------- - with linked
exception:[Exception [EclipseLink-0] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.IntegrityExceptionDescriptor Exceptions:
---------------------------------------------------------Exception
[EclipseLink-110] (Eclipse Persistence Services - 2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseStateProductOffering]Descriptor:
XMLDescriptor(org.ossj.xml.common_cbeproductoffering.v1_5.ProductOfferingValue
--> [])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException 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 -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.ordermanagement.v1_0.RequestState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseInteractionStatusBusinessInteraction]Descriptor:
XMLDescriptor(org.ossj.xml.common_cbebi.v1_5.BusinessInteractionValue -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException 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.DescriptorExceptionException 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.DescriptorExceptionException 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.DescriptorExceptionException 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.DescriptorExceptionException 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.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.ordermanagement.v1_0.RequestState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseOriginatingStateRequestStateTransition]Descriptor:
XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateTransition -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.common_cbebi.v1_5.BusinessInteractionState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseOriginatingStateRequestStateTransition]Descriptor:
XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateTransition -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.ordermanagement.v1_0.RequestState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseTargetStateRequestStateTransition]Descriptor:
XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateTransition -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.common_cbebi.v1_5.BusinessInteractionState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseTargetStateRequestStateTransition]Descriptor:
XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateTransition -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseStateService]Descriptor:
XMLDescriptor(org.ossj.xml.common_cbeservice.v1_5.ServiceValue -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.ordermanagement.v1_0.BusinessInteractionItemAction].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeCollectionMapping[baseActionsItemTypeSupportedActionsPair]Descriptor:
XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.ArrayOfActions -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.common_cbedatatypes.v1_5.LifeCycleState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseProductStateProduct]Descriptor:
XMLDescriptor(org.ossj.xml.common_cbeproduct.v1_5.ProductValue -->
[])Exception [EclipseLink-110] (Eclipse Persistence Services -
2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorExceptionException Description:
Descriptor is missing for class
[org.ossj.xml.common_cbeproduct.v1_5.ProductState].Mapping:
org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[baseProductStateProduct]Descriptor:
XMLDescriptor(org.ossj.xml.common_cbeproduct.v1_5.ProductValue -->
[])Runtime Exceptions:
---------------------------------------------------------]	at
org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:832)
at org.eclipse.persistence.jaxb.JAXBContext.(JAXBContext.java:143)	at
org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:142)
at
com.sun.xml.ws.db.toplink.JAXBContextFactory.newContext(JAXBContextFactory.java:180)>
Regards,Chandramohan



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

RE: CXF webservice applocation failing on weblogic12c Cluster

Posted by Andrei Shakirin <as...@talend.com>.
Hi,

This seems to be the most interesting:
...
Caused by: javax.xml.bind.JAXBException:

Is there more information after this line in the log file?

Regards,
Andrei.

> -----Original Message-----
> From: chandramohan [mailto:chandramohan_murkute@hotmail.com]
> Sent: Freitag, 19. April 2013 14:42
> To: users@cxf.apache.org
> Subject: CXF webservice applocation failing on weblogic12c Cluster
> 
> 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.AbstractAutowireCapableBeanF
> actory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
> 	at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> actory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
> 	at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> actory.createBean(AbstractAutowireCapableBeanFactory.java:455)
> 	at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObje
> ct(AbstractBeanFactory.java:293)
> 	at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g
> etSingleton(DefaultSingletonBeanRegistry.java:222)
> 	at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBea
> n(AbstractBeanFactory.java:290)
> 	at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(A
> bstractBeanFactory.java:192)
> 	at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preI
> nstantiateSingletons(DefaultListableBeanFactory.java:585)
> 	at
> org.springframework.context.support.AbstractApplicationContext.finishBea
> nFactoryInitialization(AbstractApplicationContext.java:895)
> 	at
> org.springframework.context.support.AbstractApplicationContext.refresh(A
> bstractApplicationContext.java:425)
> 	at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:282)
> 	at
> org.springframework.web.context.ContextLoader.initWebApplicationContex
> t(ContextLoader.java:204)
> 	at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:47)
> 	at
> com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.Cont
> extLoaderListener.contextInitialized(Unknown
> Source)
> 	at
> weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(Eve
> ntsManager.java:582)
> 	at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubj
> ect.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(EventsMa
> nager.java:233)
> 	at
> weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(Events
> Manager.java:190)
> 	at
> weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(Events
> Manager.java:175)
> 	at
> weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
> pServletContext.java:1730)
> 	at
> weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCont
> ext.java:2740)
> 	at
> weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.ja
> va:1704)
> 	at
> weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:781)
> 	at
> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
> river.java:213)
> 	at
> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
> river.java:208)
> 	at
> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver
> .java:35)
> 	at
> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriv
> er.java:70)
> 	at
> weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModule
> Driver.java:212)
> 	at
> weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleMo
> duleWrapper.java:111)
> 	at
> weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListe
> nerInvoker.java:124)
> 	at
> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
> river.java:213)
> 	at
> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
> river.java:208)
> 	at
> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver
> .java:35)
> 	at
> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriv
> er.java:70)
> 	at
> weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesF
> low.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.jav
> a:258)
> 	at
> weblogic.application.internal.EarDeployment.activate(EarDeployment.java:6
> 1)
> 	at
> weblogic.application.internal.DeploymentStateChecker.activate(Deployment
> StateChecker.java:165)
> 	at
> weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppCo
> ntainerInvoker.java:79)
> 	at
> weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate
> (AbstractOperation.java:582)
> 	at
> weblogic.deploy.internal.targetserver.operations.ActivateOperation.activate
> Deployment(ActivateOperation.java:148)
> 	at
> weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCom
> mit(ActivateOperation.java:114)
> 	at
> weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit
> (AbstractOperation.java:335)
> 	at
> weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym
> entCommit(DeploymentManager.java:844)
> 	at
> weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploy
> mentList(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.DeploymentReceiverCallbackD
> eliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
> 	at
> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackD
> eliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
> 	at
> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackD
> eliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
> 	at
> weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuni
> ngWorkManagerImpl.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.j
> ava:57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> actory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java
> :1546)
> 	at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> actory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
> 	at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> actory.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.initializeDataBindi
> ngs(AbstractServiceFactoryBean.java:86)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFro
> mWSDL(ReflectionServiceFactoryBean.java:401)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeService
> Model(ReflectionServiceFactoryBean.java:506)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Reflecti
> onServiceFactoryBean.java:242)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServic
> eFactoryBean.java:205)
> 	at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoin
> t(AbstractWSDLBasedEndpointFactory.java:101)
> 	at
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:
> 159)
> 	at
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryB
> ean.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[baseS
> tatePartyRole]
> 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[baseC
> ustomerStateCustomer]
> 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[baseC
> ustomerStateCustomer]
> 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[baseC
> urrentStateRequestStateChangeEvent]
> Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateChangeEv
> entType
> --> [])
> 
> 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[baseC
> urrentStateRequestStateChangeEvent]
> Descriptor:
> XMLDescriptor(org.ossj.xml.ordermanagement.v1_0.RequestStateChangeEv
> entType
> --> [])
> 
> 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[baseI
> nteractionStatusBusinessInteraction]
> 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/bea
> ns
> 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.