cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cwhistler <chadd.whist...@sungard.com>
Subject Re: CXF Java first service, using XMLBean generated objects as the input and output parameters
Date Wed, 27 Jul 2011 18:55:44 GMT
I put the app in an ear and preferred the org.apache.cxf package to ensure i
am using cxf.  Still I can't get it to start up

Jul 27, 2011 1:29:41 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service {http://www.sungard.com/aata}NasuProcessorImplService
from class com.sungard.aa.ta.citioli.processors.nasu.NasuProcessor
827  [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] ERROR org.springframework.web.context.ContextLoader  -
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'NasuProcessorBasicAuth': 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:1420)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
	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:276)
	at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
	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:481)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
	at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
	at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
	at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
	at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
	at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
	at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
	at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
	at
weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
	at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
	at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
	at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
	at
weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
	at
weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
	at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
	at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
	at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:331)
	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:234)
	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:477)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:600)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
	... 49 more
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
	at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:339)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:429)
	at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:637)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:492)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:240)
	at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:180)
	at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99)
	at
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
	at
org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:177)
	at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:403)
	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:310)
	... 58 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 10
counts of IllegalAnnotationExceptions
noNamespace.MmmfAccountDocument is an interface, and JAXB can't handle
interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument
		at private noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess
noNamespace.MmmfAccountDocument does not have a no-arg default constructor.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument
		at private noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount is an interface, and JAXB can't
handle interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument$MmmfAccount
		at public abstract noNamespace.MmmfAccountDocument$MmmfAccount
noNamespace.MmmfAccountDocument.getMmmfAccount()
		at noNamespace.MmmfAccountDocument
		at private noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount does not have a no-arg default
constructor.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument$MmmfAccount
		at public abstract noNamespace.MmmfAccountDocument$MmmfAccount
noNamespace.MmmfAccountDocument.getMmmfAccount()
		at noNamespace.MmmfAccountDocument
		at private noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo is an interface, and
JAXB can't handle interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo
		at public abstract
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo[]
noNamespace.MmmfAccountDocument$MmmfAccount.getAddressInfoArray()
		at noNamespace.MmmfAccountDocument$MmmfAccount
		at public abstract noNamespace.MmmfAccountDocument$MmmfAccount
noNamespace.MmmfAccountDocument.getMmmfAccount()
		at noNamespace.MmmfAccountDocument
		at private noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo does not have a
no-arg default constructor.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo
		at public abstract
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo[]
noNamespace.MmmfAccountDocument$MmmfAccount.getAddressInfoArray()
		at noNamespace.MmmfAccountDocument$MmmfAccount
		at public abstract noNamespace.MmmfAccountDocument$MmmfAccount
noNamespace.MmmfAccountDocument.getMmmfAccount()
		at noNamespace.MmmfAccountDocument
		at private noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcess
noNamespace.MmmfResponseDocument is an interface, and JAXB can't handle
interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfResponseDocument
		at private noNamespace.MmmfResponseDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcessResponse._return
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcessResponse
noNamespace.MmmfResponseDocument does not have a no-arg default constructor.
	this problem is related to the following location:
		at noNamespace.MmmfResponseDocument
		at private noNamespace.MmmfResponseDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcessResponse._return
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcessResponse
noNamespace.MmmfResponseDocument$MmmfResponse is an interface, and JAXB
can't handle interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfResponseDocument$MmmfResponse
		at public abstract noNamespace.MmmfResponseDocument$MmmfResponse
noNamespace.MmmfResponseDocument.getMmmfResponse()
		at noNamespace.MmmfResponseDocument
		at private noNamespace.MmmfResponseDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcessResponse._return
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcessResponse
noNamespace.MmmfResponseDocument$MmmfResponse does not have a no-arg default
constructor.
	this problem is related to the following location:
		at noNamespace.MmmfResponseDocument$MmmfResponse
		at public abstract noNamespace.MmmfResponseDocument$MmmfResponse
noNamespace.MmmfResponseDocument.getMmmfResponse()
		at noNamespace.MmmfResponseDocument
		at private noNamespace.MmmfResponseDocument
com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcessResponse._return
		at com.sungard.aa.ta.citioli.processors.nasu.jaxws_asm.WsProcessResponse

	at
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
	at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:448)
	at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:297)
	at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
	at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:600)
	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:222)
	at javax.xml.bind.ContextFinder.find(ContextFinder.java:383)
	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:585)
	at
org.apache.cxf.jaxb.JAXBDataBinding.createContext(JAXBDataBinding.java:562)
	at
org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:502)
	at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:322)
	... 68 more

--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-Java-first-service-using-XMLBean-generated-objects-as-the-input-and-output-parameters-tp4591548p4639882.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Mime
View raw message