Topic
No replies
SystemAdmin
SystemAdmin
1830 Posts
ACCEPTED ANSWER

Pinned topic Regarding upgradation from JAXB2.0 to 2.1 and testing on WAS7 server

‏2012-11-02T06:20:43Z |
Hi,

This is regarding upgradation of JAXB2.0 to JAXB2.1. I have added jaxb2.1 jar and when I testing I am getting below error. Please help me I am unable to find out the solution.

com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>(RuntimeBuiltinLeafInfoImpl.java:186), java.lang.J9VMInternals.initializeImpl(Native Method), java.lang.J9VMInternals.initialize(J9VMInternals.java:200), com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:25), com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:77), com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:40), com.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:97), com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:43), com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:345), com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:217), com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76), com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55), com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:124), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37), java.lang.reflect.Method.invoke(Method.java:611), javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:133), javax.xml.bind.ContextFinder.find(ContextFinder.java:286), javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372), javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337), javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244), com.americanexpress.merchsub.util.GetFileServiceXMLHelper.createSubmitterFileDetailRequest(GetFileServiceXMLHelper.java:266), com.americanexpress.merchsub.jmsconverter.QuerySubmFileDetailMsgConverter.toMessage(QuerySubmFileDetailMsgConverter.java:39), org.springframework.jms.core.JmsTemplate$7.createMessage(JmsTemplate.java:643), org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:565), org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:536), org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466), org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:534), org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:641), com.americanexpress.merchsub.dataaccessor.SubmissionsJMSProcessor.processMessage(SubmissionsJMSProcessor.java:78), com.americanexpress.merchsub.service.filetracking.impl.SubmitterFileService.getSubmitterFileDetail(SubmitterFileService.java:105), com.americanexpress.merchsub.service.filetracking.impl.SubmitterFileService$$FastClassByCGLIB$$dd7f1ebe.invoke(<generated>), net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149), org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150), com.americanexpress.merchsub.service.interceptor.StaleConnectionRetryInterceptor.invoke(StaleConnectionRetryInterceptor.java:61), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172), org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622), com.americanexpress.merchsub.service.filetracking.impl.SubmitterFileService$$EnhancerByCGLIB$$9246c4d.getSubmitterFileDetail(<generated>), com.americanexpress.merchsub.filetracking.action.SubmitterFileDetailAction.getSubmitterFileDetail(SubmitterFileDetailAction.java:241), com.americanexpress.merchsub.filetracking.action.SubmitterFileDetailAction.execute(SubmitterFileDetailAction.java:140), org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431), org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236), com.americanexpress.util.spring.integration.AETSpringTilesRequestProcessor.process(AETSpringTilesRequestProcessor.java:27), org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196), org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432), javax.servlet.http.HttpServlet.service(HttpServlet.java:738), javax.servlet.http.HttpServlet.service(HttpServlet.java:831), com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657), com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597), com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131), com.americanexpress.merchsub.filter.ApplicationContextTeardownComponent.doFilter(ApplicationContextTeardownComponent.java:41), com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188), com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116), com.americanexpress.merchsub.filter.ApplicationContextSetupComponent.doFilter(ApplicationContextSetupComponent.java:46), com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188), com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116), com.americanexpress.merchsub.filter.ASRSecurityValidationFilter.doFilter(ASRSecurityValidationFilter.java:81), com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188), com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116), com.americanexpress.merchsub.filter.ProfileLockComponent.doFilter(ProfileLockComponent.java:139), com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188), com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116), com.americanexpress.merchsub.filter.AuthorizationPipeline.doFilter(AuthorizationPipeline.java:245), com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188), com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116), com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77), com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908), com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934), com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502), com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179), com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935), com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276), com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931), com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583), com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186), com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452), com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511), com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305), com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83), com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165), com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217), com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161), com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138), com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204), com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775), com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905), com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)

Thanks