• Post Reply Bookmark Topic Watch Topic
  • New Topic

CXF(JAXRS) + JAXB + Spring = property is not supported

 
Peter Grzeschik
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have build up an application with a SOAP1.2-Webservice using CXF-2.2.6 + JAXB-2.1.12 + Spring-2.5.6.
CXF(JAXWS) + JAXB + Spring is running and working fine.

Now I will add a new - alternative - access via JAX-RS to the same application instance.
The REST-Service should represent just a subset of the functionality of the existing web service.

Calls to the REST-Service currently causes on exit - application logic was already called - a JAXBException.

JAXBException occurred : property "org.springframework.transaction.config.internalTransactionAdvisor" is not supported.

-----------------------8<-------------------------------
Daemon Thread [http-8080-1] (Suspended (exception JAXBException))
ContextFactory.createContext(Class[], Map<String,Object>) line: 118
ContextFactory.createContext(String, ClassLoader, Map<String,Object>) line: 202
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 597
ContextFinder.newInstance(String, String, ClassLoader, Map) line: 128
ContextFinder.find(String, String, ClassLoader, Map) line: 277
JAXBContext.newInstance(String, ClassLoader, Map<String,?>) line: 372
JAXBElementProvider(AbstractJAXBProvider).getPackageContext(Class<?>) line: 382
JAXBElementProvider(AbstractJAXBProvider).getJAXBContext(Class<?>, Type) line: 354
JAXBElementProvider(AbstractJAXBProvider).createMarshaller(Object, Class<?>, Type, String) line: 453
JAXBElementProvider.marshal(Object, Class<?>, Type, String, OutputStream, MediaType) line: 296
JAXBElementProvider.writeTo(Object, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String,Object>, OutputStream) line: 219
JAXRSOutInterceptor.serializeMessage(Message, Response, OperationResourceInfo, boolean) line: 241
JAXRSOutInterceptor.processResponse(Message) line: 138
JAXRSOutInterceptor.handleMessage(Message) line: 77
PhaseInterceptorChain.doIntercept(Message) line: 243
OutgoingChainInterceptor.handleMessage(Message) line: 76
PhaseInterceptorChain.doIntercept(Message) line: 243
ChainInitiationObserver.onMessage(Message) line: 109
ServletDestination.invoke(ServletConfig, ServletContext, HttpServletRequest, HttpServletResponse) line: 98
ServletController.invokeDestination(HttpServletRequest, HttpServletResponse, ServletDestination) line: 406
ServletController.invoke(HttpServletRequest, HttpServletResponse) line: 139
CXFServlet(AbstractCXFServlet).invoke(HttpServletRequest, HttpServletResponse) line: 142
CXFServlet(AbstractHTTPServlet).handleRequest(HttpServletRequest, HttpServletResponse) line: 179
CXFServlet(AbstractHTTPServlet).doGet(HttpServletRequest, HttpServletResponse) line: 108
CXFServlet(HttpServlet).service(HttpServletRequest, HttpServletResponse) line: 617
CXFServlet(AbstractHTTPServlet).service(ServletRequest, ServletResponse) line: 159
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 290
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206
...
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 235
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206
StandardWrapperValve.invoke(Request, Response) line: 233
StandardContextValve.invoke(Request, Response) line: 191
StandardHostValve.invoke(Request, Response) line: 128
ErrorReportValve.invoke(Request, Response) line: 102
StandardEngineValve.invoke(Request, Response) line: 109
CoyoteAdapter.service(Request, Response) line: 286
Http11Processor.process(Socket) line: 845
Http11Protocol$Http11ConnectionHandler.process(Socket) line: 583
JIoEndpoint$Worker.run() line: 447
Thread.run() line: 619
----------------------->8-------------------------------

I hope i have not overlooked some thread to this or similar problem.
Can anybody help?

Thanks
resmai
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!