Page 1 of 1

Websphere and docx4j

PostPosted: Wed Dec 11, 2013 3:52 pm
by atul.tewari
I am able to run docx4j within Eclipse. But when I deploy to WebSphere 7+, along with dependent JAR files, I get the following exception. I noticed there was an article for this for Weblogic 12c indicating updating eclipselink.jar. I don't see this under Websphere. I have spent several hours debugging this and am not sure if I am running into conflicts with including JAR files into this app with existing jar files. Any suggestions or recommendations? Websphere is using JDK 1.6.0

Code: Select all
[12/10/13 23:42:32:452 EST] 000038fe ContentTypeMa E org.docx4j.openpackaging.contenttype.ContentTypeManager parseContentTypesFile <Null Message>
                                 java.lang.NullPointerException
   at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:671)
   at org.docx4j.openpackaging.io3.Load3.get(Load3.java:132)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:353)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:293)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:261)
   at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:174)
   at org.docx4j.Docx4J.load(Docx4J.java:182)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingBase64(MsWordTemplate.java:326)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingTWList(MsWordTemplate.java:278)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
   at java.lang.reflect.Method.invoke(Method.java:611)
   at teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81)
   at com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51)
   at teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79)
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)
   at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
   at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.callEJBWorkflowManager(WebWorkflowManager.java:786)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processScreen(WebWorkflowManager.java:744)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processRequest(WebWorkflowManager.java:307)
   at com.lombardisoftware.servlet.AjaxControllerServlet.doPost(AjaxControllerServlet.java:128)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
   at com.lombardisoftware.servlet.CachingFilter.doFilter(CachingFilter.java:57)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.ClearThreadCachesFilter.doFilter(ClearThreadCachesFilter.java:34)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetUserTimeZoneFilter.doFilter(SetUserTimeZoneFilter.java:44)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.BidiSupportFilter.doFilter(BidiSupportFilter.java:50)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:81)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:33)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CompressionFilter.doFilter(CompressionFilter.java:54)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
   at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)
   at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
   at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
   at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
   at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
   at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
   at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)

[12/10/13 23:42:32:454 EST] 000038fe SystemOut     O org.docx4j.openpackaging.exceptions.Docx4JException: Couldn't get [Content_Types].xml from ZipFile
   at org.docx4j.openpackaging.io3.Load3.get(Load3.java:134)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:353)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:293)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:261)
   at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:174)
   at org.docx4j.Docx4J.load(Docx4J.java:182)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingBase64(MsWordTemplate.java:326)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingTWList(MsWordTemplate.java:278)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
   at java.lang.reflect.Method.invoke(Method.java:611)
   at teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81)
   at com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51)
   at teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79)
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)
   at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
   at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.callEJBWorkflowManager(WebWorkflowManager.java:786)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processScreen(WebWorkflowManager.java:744)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processRequest(WebWorkflowManager.java:307)
   at com.lombardisoftware.servlet.AjaxControllerServlet.doPost(AjaxControllerServlet.java:128)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
   at com.lombardisoftware.servlet.CachingFilter.doFilter(CachingFilter.java:57)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.ClearThreadCachesFilter.doFilter(ClearThreadCachesFilter.java:34)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetUserTimeZoneFilter.doFilter(SetUserTimeZoneFilter.java:44)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.BidiSupportFilter.doFilter(BidiSupportFilter.java:50)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:81)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:33)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CompressionFilter.doFilter(CompressionFilter.java:54)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
   at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)
   at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
   at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
   at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
   at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
   at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
   at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)
Caused by: org.docx4j.openpackaging.exceptions.InvalidFormatException: Bad [Content_Types].xml
   at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:705)
   at org.docx4j.openpackaging.io3.Load3.get(Load3.java:132)
   ... 78 more
Caused by: java.lang.NullPointerException
   at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:671)
   ... 79 more


Re: Websphere and docx4j

PostPosted: Wed Dec 11, 2013 5:19 pm
by jason
What libs does your WAR/EAR contain?

What else does docx4j's log file contain (when you first load docx4j), when logging is done at level INFO, for org.docx4j.jaxb.Context?

Re: Websphere and docx4j

PostPosted: Wed Dec 11, 2013 11:59 pm
by atul.tewari
Jason,
I am waiting for the admin to update the log4j.xml in Webshpere. Here are the libs I included in addition to the new Jar file I created that uses docx.4j 3.0:

Code: Select all
-rwxr-xr-x@  1 atultewari  staff   445288 Nov 26 19:07 antlr-2.7.7.jar
-rwxr-xr-x@  1 atultewari  staff   163650 Nov 26 19:07 antlr-runtime-3.3.jar
-rwxr-xr-x@  1 atultewari  staff    33218 Nov 26 19:07 avalon-framework-api-4.3.1.jar
-rwxr-xr-x@  1 atultewari  staff    61021 Nov 26 19:07 avalon-framework-impl-4.3.1.jar
-rwxr-xr-x@  1 atultewari  staff    95313 Nov 26 19:07 batik-anim-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   401858 Nov 26 19:07 batik-awt-util-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   558892 Nov 26 19:07 batik-bridge-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   310919 Nov 26 19:07 batik-css-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   173530 Nov 26 19:07 batik-dom-1.7.jar
-rwxr-xr-x@  1 atultewari  staff    10257 Nov 26 19:07 batik-ext-1.7.jar
-rwxr-xr-x@  1 atultewari  staff    67900 Nov 26 19:07 batik-extension-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   242866 Nov 26 19:07 batik-gvt-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   504741 Nov 26 19:07 batik-js-1.7.jar
-rwxr-xr-x@  1 atultewari  staff    73119 Nov 26 19:07 batik-parser-1.7.jar
-rwxr-xr-x@  1 atultewari  staff    60604 Nov 26 19:07 batik-script-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   601098 Nov 26 19:07 batik-svg-dom-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   215274 Nov 26 19:07 batik-svggen-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   121997 Nov 26 19:07 batik-transcoder-1.7.jar
-rwxr-xr-x@  1 atultewari  staff   128286 Nov 26 19:07 batik-util-1.7.jar
-rwxr-xr-x@  1 atultewari  staff    30843 Nov 26 19:07 batik-xml-1.7.jar
-rw-r--r--@  1 atultewari  staff    73098 May 14  2011 commons-codec-1.5.jar
-rwxr-xr-x@  1 atultewari  staff    83613 Nov 26 19:07 commons-io-1.3.1.jar
-rwxr-xr-x@  1 atultewari  staff   261809 Nov 26 19:07 commons-lang-2.4.jar
-rwxr-xr-x@  1 atultewari  staff    60686 Nov 26 19:07 commons-logging-1.1.1.jar
-rwxr-xr-x@  1 atultewari  staff  4095759 Nov 26 19:07 docx4j-3.0.0.jar
-rw-r--r--@  1 atultewari  staff   313898 Apr  5  2009 dom4j-1.6.1.jar
-rwxr-xr-x@  1 atultewari  staff  3546394 Nov 26 19:07 fop-1.1.jar
-rw-r--r--@  1 atultewari  staff  1130070 Nov 22 12:28 itext-2.1.7.jar
-rwxr-xr-x@  1 atultewari  staff   280402 Nov 26 19:07 jaxb-svg11-1.0.2.jar
-rwxr-xr-x@  1 atultewari  staff    27610 Nov 26 19:07 jaxb-xmldsig-core-1.0.0.jar
-rwxr-xr-x@  1 atultewari  staff   687147 Nov 26 19:07 jaxb-xslfo-1.0.1.jar
-rw-r--r--@  1 atultewari  staff   121070 Apr  5  2009 junit-3.8.1.jar
-rwxr-xr-x@  1 atultewari  staff   489884 Nov 26 19:07 log4j-1.2.17.jar
-rw-r--r--@  1 atultewari  staff  1869113 Nov 26  2012 poi-3.9-20121203.jar
-rw-r--r--@  1 atultewari  staff   309368 Nov 26  2012 poi-examples-3.9-20121203.jar
-rw-r--r--@  1 atultewari  staff    30446 Nov 26  2012 poi-excelant-3.9-20121203.jar
-rw-r--r--@  1 atultewari  staff   936648 Nov 26  2012 poi-ooxml-3.9-20121203.jar
-rw-r--r--@  1 atultewari  staff  4802621 Nov 26  2012 poi-ooxml-schemas-3.9-20121203.jar
-rw-r--r--@  1 atultewari  staff  1226511 Nov 26  2012 poi-scratchpad-3.9-20121203.jar
-rw-r--r--   1 atultewari  staff  6999704 Dec  9 20:46 psclnt.jar
-rwxr-xr-x@  1 atultewari  staff   278281 Nov 26 19:07 serializer-2.7.1.jar
-rwxr-xr-x@  1 atultewari  staff    26084 Nov 26 19:07 slf4j-api-1.7.5.jar
-rwxr-xr-x@  1 atultewari  staff     8869 Nov 26 19:07 slf4j-log4j12-1.7.5.jar
-rw-r--r--@  1 atultewari  staff    26514 Feb 23  2011 stax-api-1.0.1.jar
-rwxr-xr-x@  1 atultewari  staff   148627 Nov 26 19:07 stringtemplate-3.2.1.jar
-rwxr-xr-x@  1 atultewari  staff    55758 Nov 26 19:07 wmf2svg-0.9.0.jar
-rwxr-xr-x@  1 atultewari  staff  3176148 Nov 26 19:07 xalan-2.7.1.jar
-rw-r--r--@  1 atultewari  staff  2666695 Apr  5  2009 xmlbeans-2.3.0.jar
-rwxr-xr-x@  1 atultewari  staff   601866 Nov 26 19:07 xmlgraphics-commons-1.5.jar



Following libraries are included within Websphere:

Code: Select all
-rw-r--r--.  1 root root   194050 Aug  5 07:18 ant-contrib.jar
-rw-r--r--.  1 root root   358273 Aug  5 07:18 antlr.jar
-rw-r--r--.  1 root root   893754 Aug  5 07:18 api.common.jar
-rw-r--r--.  1 root root    43035 Aug  5 07:18 asm-3.1.jar
-rw-r--r--.  1 root root    17557 Aug  5 07:18 asm-analysis-3.1.jar
-rw-r--r--.  1 root root    32694 Aug  5 07:18 asm-commons-3.1.jar
-rw-r--r--.  1 root root    21880 Aug  5 07:18 asm-tree-3.1.jar
-rw-r--r--.  1 root root    34444 Aug  5 07:18 asm-util-3.1.jar
-rw-r--r--.  1 root root    50913 Aug  5 07:18 AtRiskTrackingBean-impl.jar
-rw-r--r--.  1 root root    63966 Aug  5 07:18 avalon-framework.jar
-rw-r--r--.  1 root root  1639596 Aug  5 07:18 axis.jar
-rw-r--r--.  1 root root    30564 Aug  5 07:18 axis-jaxrpc.jar
-rw-r--r--.  1 root root   203807 Aug  5 07:18 axis-schema.jar
-rw-r--r--.  1 root root  2640866 Aug  5 07:18 batik-all.jar
-rw-r--r--.  1 root root   126606 Aug  5 07:18 batik-jviews-svggen-8.8.jar
-rw-r--r--.  1 root root   287227 Aug  5 07:18 batik-jviews-tiff-8.8.jar
-rw-r--r--.  1 root root   515920 Aug  5 07:18 bcel-5.1.jar
-rw-r--r--.  1 root root   113875 Aug  5 07:18 BootstrapConfig.jar
-rw-r--r--.  1 root root     6451 May 25  2013 bpmasset.jar
-rw-r--r--.  1 root root   204699 Aug  5 07:18 bpmjaxws.jar
-rw-r--r--.  1 root root   267127 Aug  5 07:18 BPMJViewPalette.jar
-rw-r--r--.  1 root root    59451 Aug  5 07:18 bpmrepo-common.jar
-rw-r--r--.  1 root root   186665 Aug  5 07:18 bpmrepo-core.jar
-rw-r--r--.  1 root root   174716 Aug  5 07:18 bpmrepo-services.jar
-rw-r--r--.  1 root root      364 May 25  2013 bpmrest-common.jar
-rw-r--r--.  1 root root   119925 Aug  5 07:18 bpmrest-parser.jar
-rw-r--r--.  1 root root     2793 May 25  2013 bpmrest-ui.jar
-rw-r--r--.  1 root root    41555 Aug  5 07:18 bpmrest-util.jar
-rw-r--r--.  1 root root  1236280 Aug  5 07:18 bpmrest-web.jar
-rw-r--r--.  1 root root    44975 Aug  5 07:18 BPMSearchStartupBean-impl.jar
-rw-r--r--.  1 root root  1601332 Aug  5 07:18 castor.jar
-rw-r--r--.  1 root root   128340 Aug  5 07:18 chart-converter.jar
-rw-r--r--.  1 root root   109262 Aug  5 07:18 com.ibm.bpm.fds.repoclient.jar
-rw-r--r--.  1 root root    86243 Aug  5 07:18 com.ibm.bpmn.ext.vocabulary.jar
-rw-r--r--.  1 root root   643591 Aug  5 07:18 com.ibm.bpmn.model.jar
-rw-r--r--.  1 root root   103346 Aug  5 07:18 com.ibm.bpm.pal.statemachine.jar
-rw-r--r--.  1 root root   196285 Aug  5 07:18 com.ibm.bpm.websvcs.runtime.jar
-rw-r--r--.  1 root root   172080 Aug  5 07:18 com.ibm.rules.sdk.builder-8.0.0.0.jar
-rw-r--r--.  1 root root    24687 Aug  5 07:18 com.ibm.rules.sdk.execution.res-8.0.0.0.jar
-rw-r--r--.  1 root root    47983 Aug  5 07:18 com.ibm.wbimonitor.flm.repoclient.jar
-rw-r--r--.  1 root root   159021 Aug  5 07:18 com.ibm.wbimonitor.xml.compare.jar
-rw-r--r--.  1 root root   598600 Aug  5 07:18 com.ibm.wbimonitor.xml.core.gen.jar
-rw-r--r--.  1 root root   120347 Aug  5 07:18 com.ibm.wbimonitor.xml.mad.jar
-rw-r--r--.  1 root root    77952 Aug  5 07:18 com.ibm.wbimonitor.xml.model.ext.jar
-rw-r--r--.  1 root root    97745 Aug  5 07:18 com.ibm.wbit.bpm.trace.model.base.jar
-rw-r--r--.  1 root root    17790 Aug  5 07:18 com.ibm.wbit.cei.mad.base.tools.jar
-rw-r--r--.  1 root root  1256876 Aug  5 07:18 com.lombardi.jseditor.jar
-rw-r--r--.  1 root root   188671 Aug  5 07:18 commons-beanutils.jar
-rw-r--r--.  1 root root    30085 Aug  5 07:18 commons-codec.jar
-rw-r--r--.  1 root root   165119 Aug  5 07:18 commons-collections.jar
-rw-r--r--.  1 root root   100776 Aug  5 07:18 commons-dbcp.jar
-rw-r--r--.  1 root root   168446 Aug  5 07:18 commons-digester.jar
-rw-r--r--.  1 root root    71442 Aug  5 07:18 commons-discovery.jar
-rw-r--r--.  1 root root    30651 Aug  5 07:18 commons-email.jar
-rw-r--r--.  1 root root    57779 Aug  5 07:18 commons-fileupload.jar
-rw-r--r--.  1 root root     3980 May 25  2013 commons-httpclient-contrib.jar
-rw-r--r--.  1 root root   312739 Aug  5 07:18 commons-httpclient.jar
-rw-r--r--.  1 root root   109043 Aug  5 07:18 commons-io.jar
-rw-r--r--.  1 root root   285104 Aug  5 07:18 commons-jxpath-1.2.jar
-rw-r--r--.  1 root root   245274 Aug  5 07:18 commons-lang.jar
-rw-r--r--.  1 root root   212453 Aug  5 07:18 commons-net.jar
-rw-r--r--.  1 root root    39523 Aug  5 07:18 commons-pool.jar
-rw-r--r--.  1 root root    84462 Aug  5 07:18 commons-validator.jar
-rw-r--r--.  1 root root    29739 Aug  5 07:18 dbclean.jar
-rw-r--r--.  1 root root     2624 May 25  2013 db-common.jar
-rw-r--r--.  1 root root     1093 May 25  2013 EmbeddedECMStartupBean-impl.jar
-rw-r--r--.  1 root root    61843 Aug  5 07:18 eventdefinition.jar
-rw-r--r--.  1 root root    16161 Aug  5 07:18 eventmgr.jar
-rw-r--r--.  1 root root   577311 Aug  5 07:18 google-collect.jar
-rw-r--r--.  1 root root   694795 Aug  5 07:18 gwtcommon.jar
-rw-r--r--.  1 root root 12740243 Aug  5 07:18 gwt-user.jar
-rw-r--r--.  1 root root    11291 Aug  5 07:18 harmony-concurrent-locks.jar
-rw-r--r--.  1 root root   289954 Aug  5 07:18 httpclient.jar
-rw-r--r--.  1 root root   172914 Aug  5 07:18 httpcore.jar
-rw-r--r--.  1 root root  6340486 Aug  5 07:18 icu4j.jar
-rw-r--r--.  1 root root    53079 Aug  5 07:18 ilog.rules.brl.bal.jar
-rw-r--r--.  1 root root   225607 Aug  5 07:18 ilog.rules.brl.bom.jar
-rw-r--r--.  1 root root   762988 Aug  5 07:18 ilog.rules.brl.brldf.jar
-rw-r--r--.  1 root root    69915 Aug  5 07:18 ilog.rules.brl.l10n.ar.jar
-rw-r--r--.  1 root root    64318 Aug  5 07:18 ilog.rules.brl.l10n.de.jar
-rw-r--r--.  1 root root    64660 Aug  5 07:18 ilog.rules.brl.l10n.es.jar
-rw-r--r--.  1 root root    63629 Aug  5 07:18 ilog.rules.brl.l10n.fr.jar
-rw-r--r--.  1 root root    66881 Aug  5 07:18 ilog.rules.brl.l10n.it.jar
-rw-r--r--.  1 root root    71034 Aug  5 07:18 ilog.rules.brl.l10n.iw.jar
-rw-r--r--.  1 root root    67300 Aug  5 07:18 ilog.rules.brl.l10n.ja.jar
-rw-r--r--.  1 root root    65568 Aug  5 07:18 ilog.rules.brl.l10n.ko.jar
-rw-r--r--.  1 root root    64707 Aug  5 07:18 ilog.rules.brl.l10n.nl.jar
-rw-r--r--.  1 root root    68256 Aug  5 07:18 ilog.rules.brl.l10n.pl.jar
-rw-r--r--.  1 root root    72882 Aug  5 07:18 ilog.rules.brl.l10n.pt.jar
-rw-r--r--.  1 root root    71561 Aug  5 07:18 ilog.rules.brl.l10n.ru.jar
-rw-r--r--.  1 root root    65110 Aug  5 07:18 ilog.rules.brl.l10n.zh.jar
-rw-r--r--.  1 root root    66657 Aug  5 07:18 ilog.rules.brl.l10n.zh_TW.jar
-rw-r--r--.  1 root root   635072 Aug  5 07:18 ilog.rules.brl.parsing.jar
-rw-r--r--.  1 root root   367986 Aug  5 07:18 ilog.rules.brl.tokenmodel.jar
-rw-r--r--.  1 root root   228297 Aug  5 07:18 ilog.rules.brl.ui.jar
-rw-r--r--.  1 root root  1411766 Aug  5 07:18 ilog.rules.dt.jar
-rw-r--r--.  1 root root    33136 Aug  5 07:18 ilog.rules.language.shared.jar
-rw-r--r--.  1 root root   375701 Aug  5 07:18 ilog.rules.shared.jar
-rw-r--r--.  1 root root   235536 Aug  5 07:18 ilog.rules.vocabulary.bom.jar
-rw-r--r--.  1 root root   358524 Aug  5 07:18 ilog.rules.vocabulary.model.jar
-rw-r--r--.  1 root root    90031 Aug  5 07:18 instrumentation.jar
-rw-r--r--.  1 root root    85590 Aug  5 07:18 integration-clients.jar
-rw-r--r--.  1 root root   169900 Aug  5 07:18 jackson-core-asl.jar
-rw-r--r--.  1 root root    17065 Aug  5 07:18 jackson-jaxrs.jar
-rw-r--r--.  1 root root   485699 Aug  5 07:18 jackson-mapper-asl.jar
-rw-r--r--.  1 root root    24745 Aug  5 07:18 jackson-xc.jar
-rw-r--r--.  1 root root   222809 Aug  5 07:18 jaxen.jar
-rw-r--r--.  1 root root   151335 Aug  5 07:18 jdom.jar
-rw-r--r--.  1 root root     6275 May 25  2013 jmxcore.jar
-rw-r--r--.  1 root root   531011 Aug  5 07:18 joda-time.jar
-rw-r--r--.  1 root root 10355330 Aug  5 07:18 jrules-engine.jar
-rw-r--r--.  1 root root  1738995 Aug  5 07:18 jrules-res-execution.jar
-rw-r--r--.  1 root root   340250 Aug  5 07:18 jrules-res-memory-agentclient.jar
-rw-r--r--.  1 root root   194768 Aug  5 07:18 jrules-res-setup.jar
-rw-r--r--.  1 root root   989012 Aug  5 07:18 js.jar
-rw-r--r--.  1 root root    26594 Aug  5 07:18 json4j.jar
-rw-r--r--.  1 root root    51233 Aug  5 07:18 json.jar
-rw-r--r--.  1 root root  2935688 Aug  5 07:18 jviews-chart-all.jar
-rw-r--r--.  1 root root  4828021 Aug  5 07:18 jviews-diagrammer-all.jar
-rw-r--r--.  1 root root  7708672 Aug  5 07:18 jviews-framework-all.jar
-rw-r--r--.  1 root root   422539 Aug  5 07:18 jviews-palette-controls-8.8.jar
-rw-r--r--.  1 root root    25891 Aug  5 07:18 jviews-palette-entities-8.8.jar
-rw-r--r--.  1 root root   592627 Aug  5 07:18 jviews-palette-shared-symbols-8.8.jar
-rw-r--r--.  1 root root    68784 Aug  5 07:18 jviews-palette-tunnel-monitoring-8.8.jar
-rw-r--r--.  1 root root   115963 Aug  5 07:18 ktable.jar
-rw-r--r--.  1 root root   117632 Aug  5 07:18 langutil.jar
-rw-r--r--.  1 root root   391834 Aug  5 07:18 log4j.jar
-rw-r--r--.  1 root root    72150 Aug  5 07:18 logkit.jar
-rw-r--r--.  1 root root  1527069 Aug  5 07:18 lucene-analyzers-common.jar
-rw-r--r--.  1 root root  2038849 Aug  5 07:18 lucene-core.jar
-rw-r--r--.  1 root root   194652 Aug  5 07:18 lucene-queries.jar
-rw-r--r--.  1 root root   384953 Aug  5 07:18 lucene-queryparser.jar
-rw-r--r--.  1 root root   290844 Aug  5 07:18 madtools.jar
-rw-r--r--.  1 root root    57069 Aug  5 07:18 mmDeploymentClient.jar
-rw-r--r--.  1 root root   514721 Aug  5 07:18 monModel.jar
-rw-r--r--.  1 root root    47496 Aug  5 07:18 office-ejb-impl.jar
-rw-r--r--.  1 root root   155714 Aug  5 07:18 opensaml.jar
-rw-r--r--.  1 root root   211682 Aug  5 07:18 org.eclipse.emf.common.jar
-rw-r--r--.  1 root root  1231338 Aug  5 07:18 org.eclipse.emf.ecore.jar
-rw-r--r--.  1 root root   219248 Aug  5 07:18 org.eclipse.emf.ecore.xmi.jar
-rw-r--r--.  1 root root    10159 May 25  2013 org.eclipse.emf.jar
-rw-r--r--.  1 root root    79780 Aug  5 07:18 org.eclipse.equinox.common.jar
-rw-r--r--.  1 root root   360437 Aug  5 07:18 org.eclipse.gmf.runtime.notation.jar
-rw-r--r--.  1 root root   429803 Aug  5 07:18 org.eclipse.wst.wsdl.jar
-rw-r--r--.  1 root root   992818 Aug  5 07:18 org.eclipse.xsd.jar
-rw-r--r--.  1 root root    65261 Aug  5 07:18 oro.jar
-rw-r--r--.  1 root root    36142 Aug  5 07:18 PALStartupBean-impl.jar
-rw-r--r--.  1 root root  1688489 Aug  5 07:18 processadmin.jar
-rw-r--r--.  1 root root   140133 Aug  5 07:18 PSAntTasks.jar
-rw-r--r--.  1 root root   285630 Aug  5 07:18 psapiclnt.jar
-rw-r--r--.  1 root root  6999704 Aug  5 07:18 psclnt.jar
-rw-r--r--.  1 root root  9397061 Aug  5 07:18 ps.jar
-rw-r--r--.  1 root root    79685 Aug  5 07:18 pssearch.jar
-rw-r--r--.  1 root root    29871 Aug  5 07:18 regexp.jar
-rw-r--r--.  1 root root  2239383 Aug  5 07:18 repository.jar
-rw-r--r--.  1 root root    84091 Aug  5 07:18 resolver.jar
-rw-r--r--.  1 root root    65274 Aug  5 07:18 sam.jar
-rw-r--r--.  1 root root    23563 Aug  5 07:18 saxpath.jar
-rw-r--r--.  1 root root    35808 Aug  5 07:18 SCAStartupBean-impl.jar
-rw-r--r--.  1 root root    35956 Aug  5 07:18 ServerCommandStartupBean-impl.jar
-rw-r--r--.  1 root root    65496 Aug  5 07:18 SharingNotificationBean-impl.jar
-rw-r--r--.  1 root root    23445 Aug  5 07:18 slf4j-api.jar
-rw-r--r--.  1 root root     8817 May 25  2013 slf4j-jdk14.jar
-rw-r--r--.  1 root root  2949316 Aug  5 07:18 spring.jar
-rw-r--r--.  1 root root   543730 Aug  5 07:18 struts.jar
-rw-r--r--.  1 root root    67657 Aug  5 07:18 svgdom-1.0.jar
-rw-r--r--.  1 root root  1470411 Aug  5 07:18 svrcoreclnt.jar
-rw-r--r--.  1 root root   402064 Aug  5 07:18 svrcore.jar
-rw-r--r--.  1 root root    10360 Aug  5 07:18 tablelayout-20090826.jar
-rw-r--r--.  1 root root  1026768 Aug  5 07:18 trinidad-api-1.2.8.jar
-rw-r--r--.  1 root root  4183452 Aug  5 07:18 trinidad-impl-1.2.8.jar
-rw-r--r--.  1 root root    97708 Aug  5 07:18 twant.jar
-rw-r--r--.  1 root root  1255300 Aug  5 07:18 twcore-ejb-impl.jar
-rw-r--r--.  1 root root    23370 Aug  5 07:18 twperfsvrtool.jar
-rw-r--r--.  1 root root   946431 Aug  5 07:18 twportal.jar
-rw-r--r--.  1 root root    63224 Aug  5 07:18 twprocess-ejb-impl.jar
-rw-r--r--.  1 root root    76585 Aug  5 07:18 twtask-ejb-impl.jar
-rw-r--r--.  1 root root   178436 Aug  5 07:18 uddi4j.jar
-rw-r--r--.  1 root root  2545188 Aug  5 07:18 utility.jar
-rw-r--r--.  1 root root   804397 Aug  5 07:18 webapi.jar
-rw-r--r--.  1 root root    86927 Aug  5 07:18 webviewer-api.jar
-rw-r--r--.  1 root root   536271 Aug  5 07:18 wss4j.jar
-rw-r--r--.  1 root root  2665273 Aug  5 07:18 xbean.jar
-rw-r--r--.  1 root root   300421 Aug  5 07:18 xmlsec.jar

Re: Websphere and docx4j

PostPosted: Thu Dec 12, 2013 8:11 am
by atul.tewari
Here is additional info:

Code: Select all
[12/11/13 16:01:44:510 EST] 000038f3 Context       E org.docx4j.jaxb.Context <clinit> Cannot initialize context
                                 javax.xml.bind.JAXBException: Provider com.ibm.xml.xlxp2.jaxb.JAXBContextFactory could not be instantiated: com.ibm.jtc.jax.xml.bind.v2.runtime.IllegalAnnotationsException: 61 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "CT_TwipsMeasure". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTTwipsMeasure
      at protected org.docx4j.wml.CTTwipsMeasure org.docx4j.wml.CTFramesetSplitbar.w
      at org.docx4j.wml.CTFramesetSplitbar
      at public org.docx4j.wml.CTFramesetSplitbar org.docx4j.wml.ObjectFactory.createCTFramesetSplitbar()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.math.CTTwipsMeasure
      at protected org.docx4j.math.CTTwipsMeasure org.docx4j.math.CTMathPr.lMargin
      at org.docx4j.math.CTMathPr
      at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_LongHexNumber". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTLongHexNumber
      at protected org.docx4j.wml.CTLongHexNumber org.docx4j.wml.Numbering$AbstractNum.nsid
      at org.docx4j.wml.Numbering$AbstractNum
      at protected java.util.List org.docx4j.wml.Numbering.abstractNum
      at org.docx4j.wml.Numbering
      at public org.docx4j.wml.Numbering org.docx4j.wml.ObjectFactory.createNumbering()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTLongHexNumber
      at protected org.docx4j.w14.CTLongHexNumber org.docx4j.wml.CTSettings.docId14
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_Guid". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTGuid
      at protected java.util.List org.docx4j.wml.CTDocPartPr.nameOrStyleOrCategory
      at org.docx4j.wml.CTDocPartPr
      at public org.docx4j.wml.CTDocPartPr org.docx4j.wml.ObjectFactory.createCTDocPartPr()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w15.CTGuid
      at protected org.docx4j.w15.CTGuid org.docx4j.wml.CTSettings.docId15
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_OnOff". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.math.CTOnOff
      at protected org.docx4j.math.CTOnOff org.docx4j.math.CTMathPr.smallFrac
      at org.docx4j.math.CTMathPr
      at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTOnOff
      at protected org.docx4j.w14.CTOnOff org.docx4j.wml.CTSettings.conflictMode
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "ST_ColorSchemeIndex". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.STColorSchemeIndex
      at protected org.docx4j.wml.STColorSchemeIndex org.docx4j.wml.CTColorSchemeMapping.bg1
      at org.docx4j.wml.CTColorSchemeMapping
      at protected org.docx4j.wml.CTColorSchemeMapping org.docx4j.wml.CTSettings.clrSchemeMapping
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.STColorSchemeIndex
      at protected org.docx4j.dml.STColorSchemeIndex org.docx4j.dml.CTColorMapping.bg1
      at org.docx4j.dml.CTColorMapping
      at public org.docx4j.dml.CTColorMapping org.docx4j.dml.ObjectFactory.createCTColorMapping()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_Color". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTColor
      at protected org.docx4j.dml.CTColor org.docx4j.dml.CTShape3D.extrusionClr
      at org.docx4j.dml.CTShape3D
      at protected org.docx4j.dml.CTShape3D org.docx4j.dml.CTTextBodyProperties.sp3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.wml.CTColor
      at public org.docx4j.wml.CTColor org.docx4j.wml.ObjectFactory.createCTColor()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_String". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.math.CTString
      at protected org.docx4j.math.CTString org.docx4j.math.CTMathPr.mathFont
      at org.docx4j.math.CTMathPr
      at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.wml.CTString
      at public org.docx4j.wml.CTString org.docx4j.wml.ObjectFactory.createCTString()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_Text". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.Text
      at public org.docx4j.wml.Text org.docx4j.wml.ObjectFactory.createText()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.math.CTText
      at public org.docx4j.math.CTText org.docx4j.math.ObjectFactory.createCTText()
      at org.docx4j.math.ObjectFactory
      at protected java.util.List org.docx4j.math.CTOMathArg.egoMathElements
      at org.docx4j.math.CTOMathArg
      at protected org.docx4j.math.CTOMathArg org.docx4j.math.CTSPre.sub
      at org.docx4j.math.CTSPre
      at public javax.xml.bind.JAXBElement org.docx4j.wml.ObjectFactory.createRunTrackChangeSPre(org.docx4j.math.CTSPre)
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_Percentage". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTPercentage
      at public org.docx4j.dml.CTPercentage org.docx4j.dml.ObjectFactory.createCTPercentage()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTPercentage
      at public org.docx4j.w14.CTPercentage org.docx4j.w14.ObjectFactory.createCTPercentage()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_SRgbColor". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTSRgbColor
      at protected org.docx4j.dml.CTSRgbColor org.docx4j.dml.CTColor.srgbClr
      at org.docx4j.dml.CTColor
      at protected org.docx4j.dml.CTColor org.docx4j.dml.CTShape3D.extrusionClr
      at org.docx4j.dml.CTShape3D
      at protected org.docx4j.dml.CTShape3D org.docx4j.dml.CTTextBodyProperties.sp3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTSRgbColor
      at protected org.docx4j.w14.CTSRgbColor org.docx4j.w14.CTShadow.srgbClr
      at org.docx4j.w14.CTShadow
      at public org.docx4j.w14.CTShadow org.docx4j.w14.ObjectFactory.createCTShadow()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "ST_SchemeColorVal". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.STSchemeColorVal
      at protected org.docx4j.dml.STSchemeColorVal org.docx4j.dml.CTSchemeColor.val
      at org.docx4j.dml.CTSchemeColor
      at protected org.docx4j.dml.CTSchemeColor org.docx4j.dml.CTColor.schemeClr
      at org.docx4j.dml.CTColor
      at protected org.docx4j.dml.CTColor org.docx4j.dml.CTShape3D.extrusionClr
      at org.docx4j.dml.CTShape3D
      at protected org.docx4j.dml.CTShape3D org.docx4j.dml.CTTextBodyProperties.sp3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.STSchemeColorVal
      at protected org.docx4j.w14.STSchemeColorVal org.docx4j.w14.CTSchemeColor.val
      at org.docx4j.w14.CTSchemeColor
      at protected org.docx4j.w14.CTSchemeColor org.docx4j.w14.CTShadow.schemeClr
      at org.docx4j.w14.CTShadow
      at public org.docx4j.w14.CTShadow org.docx4j.w14.ObjectFactory.createCTShadow()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_SchemeColor". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTSchemeColor
      at protected org.docx4j.dml.CTSchemeColor org.docx4j.dml.CTColor.schemeClr
      at org.docx4j.dml.CTColor
      at protected org.docx4j.dml.CTColor org.docx4j.dml.CTShape3D.extrusionClr
      at org.docx4j.dml.CTShape3D
      at protected org.docx4j.dml.CTShape3D org.docx4j.dml.CTTextBodyProperties.sp3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTSchemeColor
      at protected org.docx4j.w14.CTSchemeColor org.docx4j.w14.CTShadow.schemeClr
      at org.docx4j.w14.CTShadow
      at public org.docx4j.w14.CTShadow org.docx4j.w14.ObjectFactory.createCTShadow()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "ST_RectAlignment". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.STRectAlignment
      at protected org.docx4j.dml.STRectAlignment org.docx4j.dml.CTTileInfoProperties.algn
      at org.docx4j.dml.CTTileInfoProperties
      at protected org.docx4j.dml.CTTileInfoProperties org.docx4j.dml.CTBlipFillProperties.tile
      at org.docx4j.dml.CTBlipFillProperties
      at protected org.docx4j.dml.CTBlipFillProperties org.docx4j.dml.CTFillOverlayEffect.blipFill
      at org.docx4j.dml.CTFillOverlayEffect
      at protected java.util.List org.docx4j.dml.CTBlip.alphaBiLevelOrAlphaCeilingOrAlphaFloor
      at org.docx4j.dml.CTBlip
      at protected org.docx4j.dml.CTBlip org.docx4j.dml.CTTextBlipBullet.blip
      at org.docx4j.dml.CTTextBlipBullet
      at protected org.docx4j.dml.CTTextBlipBullet org.docx4j.dml.CTTextParagraphProperties.buBlip
      at org.docx4j.dml.CTTextParagraphProperties
      at protected org.docx4j.dml.CTTextParagraphProperties org.docx4j.dml.CTTextListStyle.defPPr
      at org.docx4j.dml.CTTextListStyle
      at protected org.docx4j.dml.CTTextListStyle org.docx4j.dml.CTTextBody.lstStyle
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.STRectAlignment
      at protected org.docx4j.w14.STRectAlignment org.docx4j.w14.CTShadow.algn
      at org.docx4j.w14.CTShadow
      at public org.docx4j.w14.CTShadow org.docx4j.w14.ObjectFactory.createCTShadow()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_Color". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTColor
      at public org.docx4j.wml.CTColor org.docx4j.wml.ObjectFactory.createCTColor()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTColor
      at public org.docx4j.w14.CTColor org.docx4j.w14.ObjectFactory.createCTColor()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_GradientStop". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTGradientStop
      at protected java.util.List org.docx4j.dml.CTGradientStopList.gs
      at org.docx4j.dml.CTGradientStopList
      at protected org.docx4j.dml.CTGradientStopList org.docx4j.dml.CTGradientFillProperties.gsLst
      at org.docx4j.dml.CTGradientFillProperties
      at protected org.docx4j.dml.CTGradientFillProperties org.docx4j.dml.CTFillOverlayEffect.gradFill
      at org.docx4j.dml.CTFillOverlayEffect
      at protected java.util.List org.docx4j.dml.CTBlip.alphaBiLevelOrAlphaCeilingOrAlphaFloor
      at org.docx4j.dml.CTBlip
      at protected org.docx4j.dml.CTBlip org.docx4j.dml.CTTextBlipBullet.blip
      at org.docx4j.dml.CTTextBlipBullet
      at protected org.docx4j.dml.CTTextBlipBullet org.docx4j.dml.CTTextParagraphProperties.buBlip
      at org.docx4j.dml.CTTextParagraphProperties
      at protected org.docx4j.dml.CTTextParagraphProperties org.docx4j.dml.CTTextListStyle.defPPr
      at org.docx4j.dml.CTTextListStyle
      at protected org.docx4j.dml.CTTextListStyle org.docx4j.dml.CTTextBody.lstStyle
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTGradientStop
      at public org.docx4j.w14.CTGradientStop org.docx4j.w14.ObjectFactory.createCTGradientStop()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_GradientStopList". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTGradientStopList
      at protected org.docx4j.dml.CTGradientStopList org.docx4j.dml.CTGradientFillProperties.gsLst
      at org.docx4j.dml.CTGradientFillProperties
      at protected org.docx4j.dml.CTGradientFillProperties org.docx4j.dml.CTFillOverlayEffect.gradFill
      at org.docx4j.dml.CTFillOverlayEffect
      at protected java.util.List org.docx4j.dml.CTBlip.alphaBiLevelOrAlphaCeilingOrAlphaFloor
      at org.docx4j.dml.CTBlip
      at protected org.docx4j.dml.CTBlip org.docx4j.dml.CTTextBlipBullet.blip
      at org.docx4j.dml.CTTextBlipBullet
      at protected org.docx4j.dml.CTTextBlipBullet org.docx4j.dml.CTTextParagraphProperties.buBlip
      at org.docx4j.dml.CTTextParagraphProperties
      at protected org.docx4j.dml.CTTextParagraphProperties org.docx4j.dml.CTTextListStyle.defPPr
      at org.docx4j.dml.CTTextListStyle
      at protected org.docx4j.dml.CTTextListStyle org.docx4j.dml.CTTextBody.lstStyle
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTGradientStopList
      at public org.docx4j.w14.CTGradientStopList org.docx4j.w14.ObjectFactory.createCTGradientStopList()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_PositivePercentage". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTPositivePercentage
      at public org.docx4j.dml.CTPositivePercentage org.docx4j.dml.ObjectFactory.createCTPositivePercentage()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTPositivePercentage
      at public org.docx4j.w14.CTPositivePercentage org.docx4j.w14.ObjectFactory.createCTPositivePercentage()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_SphereCoords". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTSphereCoords
      at protected org.docx4j.dml.CTSphereCoords org.docx4j.dml.CTCamera.rot
      at org.docx4j.dml.CTCamera
      at protected org.docx4j.dml.CTCamera org.docx4j.dml.CTScene3D.camera
      at org.docx4j.dml.CTScene3D
      at protected org.docx4j.dml.CTScene3D org.docx4j.dml.CTTextBodyProperties.scene3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTSphereCoords
      at public org.docx4j.w14.CTSphereCoords org.docx4j.w14.ObjectFactory.createCTSphereCoords()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "ST_PresetCameraType". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.STPresetCameraType
      at protected org.docx4j.dml.STPresetCameraType org.docx4j.dml.CTCamera.prst
      at org.docx4j.dml.CTCamera
      at protected org.docx4j.dml.CTCamera org.docx4j.dml.CTScene3D.camera
      at org.docx4j.dml.CTScene3D
      at protected org.docx4j.dml.CTScene3D org.docx4j.dml.CTTextBodyProperties.scene3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.STPresetCameraType
      at protected org.docx4j.w14.STPresetCameraType org.docx4j.w14.CTCamera.prst
      at org.docx4j.w14.CTCamera
      at public org.docx4j.w14.CTCamera org.docx4j.w14.ObjectFactory.createCTCamera()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_Camera". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTCamera
      at protected org.docx4j.dml.CTCamera org.docx4j.dml.CTScene3D.camera
      at org.docx4j.dml.CTScene3D
      at protected org.docx4j.dml.CTScene3D org.docx4j.dml.CTTextBodyProperties.scene3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTCamera
      at public org.docx4j.w14.CTCamera org.docx4j.w14.ObjectFactory.createCTCamera()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_LinearShadeProperties". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTLinearShadeProperties
      at protected org.docx4j.dml.CTLinearShadeProperties org.docx4j.dml.CTGradientFillProperties.lin
      at org.docx4j.dml.CTGradientFillProperties
      at protected org.docx4j.dml.CTGradientFillProperties org.docx4j.dml.CTFillOverlayEffect.gradFill
      at org.docx4j.dml.CTFillOverlayEffect
      at protected java.util.List org.docx4j.dml.CTBlip.alphaBiLevelOrAlphaCeilingOrAlphaFloor
      at org.docx4j.dml.CTBlip
      at protected org.docx4j.dml.CTBlip org.docx4j.dml.CTTextBlipBullet.blip
      at org.docx4j.dml.CTTextBlipBullet
      at protected org.docx4j.dml.CTTextBlipBullet org.docx4j.dml.CTTextParagraphProperties.buBlip
      at org.docx4j.dml.CTTextParagraphProperties
      at protected org.docx4j.dml.CTTextParagraphProperties org.docx4j.dml.CTTextListStyle.defPPr
      at org.docx4j.dml.CTTextListStyle
      at protected org.docx4j.dml.CTTextListStyle org.docx4j.dml.CTTextBody.lstStyle
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTLinearShadeProperties
      at public org.docx4j.w14.CTLinearShadeProperties org.docx4j.w14.ObjectFactory.createCTLinearShadeProperties()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "ST_BevelPresetType". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.STBevelPresetType
      at protected org.docx4j.dml.STBevelPresetType org.docx4j.dml.CTBevel.prst
      at org.docx4j.dml.CTBevel
      at protected org.docx4j.dml.CTBevel org.docx4j.dml.CTShape3D.bevelT
      at org.docx4j.dml.CTShape3D
      at protected org.docx4j.dml.CTShape3D org.docx4j.dml.CTTextBodyProperties.sp3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.STBevelPresetType
      at protected org.docx4j.w14.STBevelPresetType org.docx4j.w14.CTBevel.prst
      at org.docx4j.w14.CTBevel
      at protected org.docx4j.w14.CTBevel org.docx4j.w14.CTProps3D.bevelT
      at org.docx4j.w14.CTProps3D
      at public org.docx4j.w14.CTProps3D org.docx4j.w14.ObjectFactory.createCTProps3D()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_Bevel". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTBevel
      at protected org.docx4j.dml.CTBevel org.docx4j.dml.CTShape3D.bevelT
      at org.docx4j.dml.CTShape3D
      at protected org.docx4j.dml.CTShape3D org.docx4j.dml.CTTextBodyProperties.sp3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTBevel
      at protected org.docx4j.w14.CTBevel org.docx4j.w14.CTProps3D.bevelT
      at org.docx4j.w14.CTProps3D
      at public org.docx4j.w14.CTProps3D org.docx4j.w14.ObjectFactory.createCTProps3D()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "ST_PresetMaterialType". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.STPresetMaterialType
      at protected org.docx4j.dml.STPresetMaterialType org.docx4j.dml.CTShape3D.prstMaterial
      at org.docx4j.dml.CTShape3D
      at protected org.docx4j.dml.CTShape3D org.docx4j.dml.CTTextBodyProperties.sp3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.STPresetMaterialType
      at protected org.docx4j.w14.STPresetMaterialType org.docx4j.w14.CTProps3D.prstMaterial
      at org.docx4j.w14.CTProps3D
      at public org.docx4j.w14.CTProps3D org.docx4j.w14.ObjectFactory.createCTProps3D()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_LineJoinMiterProperties". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTLineJoinMiterProperties
      at protected org.docx4j.dml.CTLineJoinMiterProperties org.docx4j.dml.CTLineProperties.miter
      at org.docx4j.dml.CTLineProperties
      at protected org.docx4j.dml.CTLineProperties org.docx4j.dml.CTTextCharacterProperties.ln
      at org.docx4j.dml.CTTextCharacterProperties
      at protected org.docx4j.dml.CTTextCharacterProperties org.docx4j.dml.CTTextParagraphProperties.defRPr
      at org.docx4j.dml.CTTextParagraphProperties
      at protected org.docx4j.dml.CTTextParagraphProperties org.docx4j.dml.CTTextListStyle.defPPr
      at org.docx4j.dml.CTTextListStyle
      at protected org.docx4j.dml.CTTextListStyle org.docx4j.dml.CTTextBody.lstStyle
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTLineJoinMiterProperties
      at public org.docx4j.w14.CTLineJoinMiterProperties org.docx4j.w14.ObjectFactory.createCTLineJoinMiterProperties()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_SolidColorFillProperties". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTSolidColorFillProperties
      at protected org.docx4j.dml.CTSolidColorFillProperties org.docx4j.dml.CTFillOverlayEffect.solidFill
      at org.docx4j.dml.CTFillOverlayEffect
      at protected java.util.List org.docx4j.dml.CTBlip.alphaBiLevelOrAlphaCeilingOrAlphaFloor
      at org.docx4j.dml.CTBlip
      at protected org.docx4j.dml.CTBlip org.docx4j.dml.CTTextBlipBullet.blip
      at org.docx4j.dml.CTTextBlipBullet
      at protected org.docx4j.dml.CTTextBlipBullet org.docx4j.dml.CTTextParagraphProperties.buBlip
      at org.docx4j.dml.CTTextParagraphProperties
      at protected org.docx4j.dml.CTTextParagraphProperties org.docx4j.dml.CTTextListStyle.defPPr
      at org.docx4j.dml.CTTextListStyle
      at protected org.docx4j.dml.CTTextListStyle org.docx4j.dml.CTTextBody.lstStyle
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTSolidColorFillProperties
      at protected org.docx4j.w14.CTSolidColorFillProperties org.docx4j.w14.CTFillTextEffect.solidFill
      at org.docx4j.w14.CTFillTextEffect
      at public org.docx4j.w14.CTFillTextEffect org.docx4j.w14.ObjectFactory.createCTFillTextEffect()
      at org.docx4j.w14.ObjectFactory
Two classes have the same XML type name "CT_RelativeRect". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTRelativeRect
      at protected org.docx4j.dml.CTRelativeRect org.docx4j.dml.CTPathShadeProperties.fillToRect
      at org.docx4j.dml.CTPathShadeProperties
      at protected org.docx4j.dml.CTPathShadeProperties org.docx4j.dml.CTGradientFillProperties.path
      at org.docx4j.dml.CTGradientFillProperties
      at protected org.docx4j.dml.CTGradientFillProperties org.docx4j.dml.CTFillOverlayEffect.gradFill
      at org.docx4j.dml.CTFillOverlayEffect
      at protected java.util.List org.docx4j.dml.CTBlip.alphaBiLevelOrAlphaCeilingOrAlphaFloor
      at org.docx4j.dml.CTBlip
      at protected org.docx4j.dml.CTBlip org.docx4j.dml.CTTextBlipBullet.blip
      at org.docx4j.dml.CTTextBlipBullet
      at protected org.docx4j.dml.CTTextBlipBullet org.docx4j.dml.CTTextParagraphProperties.buBlip
      at org.docx4j.dml.CTTextParagraphProperties
      at protected org.docx4j.dml.CTTextParagraphProperties org.docx4j.dml.CTTextListStyle.defPPr
      at org.docx4j.dml.CTTextListStyle
      at protected org.docx4j.dml.CTTextListStyle org.docx4j.dml.CTTextBody.lstStyle
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst


Re: Websphere and docx4j

PostPosted: Thu Dec 12, 2013 9:05 am
by atul.tewari
Jason,
After reviewing the docx4j code, it appears line 671 fails in org.docx4j.openpackaging.contenttype.ContentTypeManager. So no logs get created until that point. I tried the same docx in the Eclipse environment and it works. The same docx fails under Websphere.

Code: Select all
public void parseContentTypesFile(InputStream contentTypes)
                throws InvalidFormatException {
               
                CTTypes types;
               
                try {
                                 
    LINE: 671                    Unmarshaller u = Context.jcContentTypes.createUnmarshaller();

Re: Websphere and docx4j

PostPosted: Fri Dec 13, 2013 7:38 am
by jason
Please try the Java provided context factory com.sun.xml.internal.bind.v2.ContextFactory instead of provider com.ibm.xml.xlxp2.jaxb.JAXBContextFactory

See further https://www.ibm.com/developerworks/comm ... 0014779429

Re: Websphere and docx4j

PostPosted: Mon Dec 16, 2013 3:41 pm
by atul.tewari
Thanks Jason. I did not see your response until now. I have not used the ContextFactory in any of the code I developed. Are you suggesting I replace context factory com.sun.xml.internal.bind.v2.ContextFactory with provider com.ibm.xml.xlxp2.jaxb.JAXBContextFactory in docx4j source code, recompile, and redeploy the new docx4j?

I reviewed the developerworks link you included and it suggested we can use parentlast to load up all libraries and then ibm. That did not help. Can you elaborate and your recommendation?

Thanks again!
Atul

Re: Websphere and docx4j

PostPosted: Mon Dec 16, 2013 6:38 pm
by jason
Please see https://jaxb.java.net/nonav/2.2.4-1/doc ... ntext.html which says:

Discovery of JAXB implementation

When one of the newInstance methods is called, a JAXB implementation is discovered by the following steps.

1. For each package/class explicitly passed in to the newInstance(java.lang.String) method, in the order they are specified, jaxb.properties file is looked up in its package, by using the associated classloader — this is the owner class loader for a Class argument, and for a package the speified ClassLoader. If such a file is discovered, it is loaded as a property file, and the value of the JAXB_CONTEXT_FACTORY key will be assumed to be the provider factory class. This class is then loaded by the associated classloader discussed above. This phase of the look up allows some packages to force the use of a certain JAXB implementation. (For example, perhaps the schema compiler has generated some vendor extension in the code.)

2. If the system property JAXB_CONTEXT_FACTORY exists, then its value is assumed to be the provider factory class. This phase of the look up enables per-JVM override of the JAXB implementation.

3. Look for /META-INF/services/javax.xml.bind.JAXBContext file in the associated classloader. This file follows the standard service descriptor convention, and if such a file exists, its content is assumed to be the provider factory class. This phase of the look up is for automatic discovery. It allows users to just put a JAXB implementation in a classpath and use it without any furhter configuration.

4. Finally, if all the steps above fail, then the rest of the look up is unspecified. That said, the recommended behavior is to simply look for some hard-coded platform default JAXB implementation. This phase of the look up is so that JavaSE can have its own JAXB implementation as the last resort.


WebSphere may be using method 3 (reportedly 8.5 does; see http://stackoverflow.com/questions/1973 ... to-be-used )

You could try method 2 ie set system property JAXB_CONTEXT_FACTORY=com.sun.xml.internal.bind.v2.ContextFactory in your code, but your might get a security exception, or alter the behaviour of other applications running in Websphere.

So method 1 is better. I will post a jar shortly for you to try which contains the necessary properties files

Re: Websphere and docx4j

PostPosted: Mon Dec 16, 2013 7:03 pm
by jason
Please try adding the jar

http://www.docx4java.org/docx4j/docx4j- ... MENTAL.jar

and let us know how it goes, thank you.

Re: Websphere and docx4j

PostPosted: Mon Dec 16, 2013 11:51 pm
by atul.tewari
Thanks Jason. I did a quick test with the experimental JAR file you attached and I got the following exception, indicating that the existing Websphere apps are affected. I have not reviewed the property files inside of the experimental JAR file, but I will review that and the other methods (2,3, &4) and see what happens. I just wanted to reply back with the findings of the JAR file.

Thanks again and if there is anything else you can think of, let me know. Meanwhile I will dig deeper into this as per your recommendations.

Code: Select all
I   Loading the docx ...
[12/16/13 7:51:26:637 EST] 000001b7 Context       I org.docx4j.jaxb.Context <clinit> java.vendor=IBM Corporation
[12/16/13 7:51:26:639 EST] 000001b7 Context       I org.docx4j.jaxb.Context <clinit> java.version=1.6.0
[12/16/13 7:51:27:087 EST] 000001b7 FFDCJanitor   I com.ibm.ws.ffdc.impl.FFDCJanitor doCleanupIfNeeded FFDCJANITOR_DELETED_FILES
[12/16/13 7:51:27:092 EST] 000001b7 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/ibm/profiles/Node1Profile/logs/ffdc/SingleClusterMember1_b3c5f80_13.12.16_07.51.27.0878188439988442157428.txt com.lombardisoftware.server.core.ManagedAssetClassLoader 307
[12/16/13 7:51:27:122 EST] 000001b7 wle           E   CWLLG0594E: An exception occurred while initializing the runnable thread. Error: com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: java.lang.ExceptionInInitializerError
                                 com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: java.lang.ExceptionInInitializerError
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:421)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)
   at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
   at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.callEJBWorkflowManager(WebWorkflowManager.java:786)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processScreen(WebWorkflowManager.java:744)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processRequest(WebWorkflowManager.java:307)
   at com.lombardisoftware.servlet.AjaxControllerServlet.doPost(AjaxControllerServlet.java:128)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
   at com.lombardisoftware.servlet.CachingFilter.doFilter(CachingFilter.java:57)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.ClearThreadCachesFilter.doFilter(ClearThreadCachesFilter.java:34)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetUserTimeZoneFilter.doFilter(SetUserTimeZoneFilter.java:44)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.BidiSupportFilter.doFilter(BidiSupportFilter.java:50)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:81)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:33)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CompressionFilter.doFilter(CompressionFilter.java:54)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
   at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)
   at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
   at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
   at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)
Caused by: java.lang.ExceptionInInitializerError
   at java.lang.J9VMInternals.initialize(J9VMInternals.java:258)
   at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:671)
   at org.docx4j.openpackaging.io3.Load3.get(Load3.java:132)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:353)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:293)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:261)
   at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:174)
   at org.docx4j.Docx4J.load(Docx4J.java:182)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingBase64(MsWordTemplate.java:330)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingTWList(MsWordTemplate.java:282)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
   at java.lang.reflect.Method.invoke(Method.java:611)
   at teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81)
   at com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51)
   at teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79)
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409)
   ... 59 more
Caused by: com.lombardisoftware.core.TeamWorksRuntimeException: java.net.MalformedURLException: no protocol: null!org/docx4j/relationships/jaxb.properties
   at com.lombardisoftware.core.TeamWorksRuntimeException.asTeamWorksRuntimeException(TeamWorksRuntimeException.java:69)
   at com.lombardisoftware.server.core.ManagedAssetClassLoader.getResource(ManagedAssetClassLoader.java:355)
   at javax.xml.bind.ContextFinder.loadJAXBProperties(ContextFinder.java:442)
   at javax.xml.bind.ContextFinder.find(ContextFinder.java:270)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
   at org.docx4j.jaxb.NamespacePrefixMapperUtils.getPrefixMapper(NamespacePrefixMapperUtils.java:44)
   at org.docx4j.jaxb.Context.<clinit>(Context.java:79)
   at java.lang.J9VMInternals.initializeImpl(Native Method)
   at java.lang.J9VMInternals.initialize(J9VMInternals.java:236)
   ... 78 more
Caused by: java.net.MalformedURLException: no protocol: null!org/docx4j/relationships/jaxb.properties
   at java.net.URL.<init>(URL.java:579)
   at com.lombardisoftware.server.core.ManagedAssetClassLoader$5.run(ManagedAssetClassLoader.java:350)
   at com.lombardisoftware.server.core.ManagedAssetClassLoader$5.run(ManagedAssetClassLoader.java:347)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.server.core.ManagedAssetClassLoader.getResource(ManagedAssetClassLoader.java:347)
   ... 86 more

[12/16/13 7:51:27:129 EST] 000001b7 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/ibm/profiles/Node1Profile/logs/ffdc/SingleClusterMember1_b3c5f80_13.12.16_07.51.27.1287277437737248035725.txt com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport isTransactionFailure-NoRetryForException
[12/16/13 7:51:27:130 EST] 000001b7 wle           E   CWLLG1338E: An error occurred while running a service. ExecutionContext: ExecutionStack(ExecutionJob(worker(componentName = SubProcess, state = 2), processItemId = ProcessItem.5360d94b-3d8a-4e4d-818c-087dc5c6e8a4, processTiming = N, saveExecutionContextBehaviour = EXECUTION_CONTEXT_DO_NOT_SAVE), ExecutionJob(worker(com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker@66bb3405), processItemId = ProcessItem.c28aac02-918d-4228-a43c-af3e189afdcd, processTiming = N, saveExecutionContextBehaviour = EXECUTION_CONTEXT_DO_NOT_SAVE)), SymbolTable(SymbolTable(...)), sharedData = null


Re: Websphere and docx4j

PostPosted: Tue Dec 17, 2013 6:48 am
by jason
indicating that the existing Websphere apps are affected.


Using this jar will only affect docx4j :-)

Caused by: com.lombardisoftware.core.TeamWorksRuntimeException: java.net.MalformedURLException: no protocol: null!org/docx4j/relationships/jaxb.properties
at com.lombardisoftware.core.TeamWorksRuntimeException.asTeamWorksRuntimeException(TeamWorksRuntimeException.java:69)
at com.lombardisoftware.server.core.ManagedAssetClassLoader.getResource(ManagedAssetClassLoader.java:355)
at javax.xml.bind.ContextFinder.loadJAXBProperties(ContextFinder.java:442)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:270)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
at org.docx4j.jaxb.NamespacePrefixMapperUtils.getPrefixMapper(NamespacePrefixMapperUtils.java:44)
at org.docx4j.jaxb.Context.<clinit>(Context.java:79)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:236)
... 78 more
Caused by: java.net.MalformedURLException: no protocol: null!org/docx4j/relationships/jaxb.properties
at java.net.URL.<init>(URL.java:579)
at com.lombardisoftware.server.core.ManagedAssetClassLoader$5.run(ManagedAssetClassLoader.java:350)
at com.lombardisoftware.server.core.ManagedAssetClassLoader$5.run(ManagedAssetClassLoader.java:347)
at java.security.AccessController.doPrivileged(AccessController.java:280)
at com.lombardisoftware.server.core.ManagedAssetClassLoader.getResource(ManagedAssetClassLoader.java:347)
... 86 more


Looks like you need to find a way to stop com.lombardisoftware.server.core.ManagedAssetClassLoader from interfering with javax.xml.bind.ContextFinder.loadJAXBProperties. Maybe you'll need to diver deeper into websphere classloading.

or failing that, yes, try method 2.

Please keep us informed!

Re: Websphere and docx4j

PostPosted: Wed Dec 18, 2013 12:07 pm
by atul.tewari
Jason,
Thanks for your patience. Following your thought process, I changed the javax.xml.bind.context.factory to use eclipse org.eclipse.persistence.jaxb.JAXBContextFactory and then com.ibm.xml.xlxp2.jaxb.JAXBContextFactory in the jaxb.properties. Both threw errors. When I used IBM's, I got the line 106 error : "log.error("PANIC! No suitable JAXB implementation available"); The eclipse.persistence threw a InitError on the com.lombardi classes.

I also investigated the class loading within WAS 8.5 and basically that did not help. WAS 8.5 provides single/multiple and if you choose single you can select parent-first or parent-last. None of these made a difference. We are now contemplating on using "Apache POI". I actually spent time evaluating POI and docx4j. docx4j definitely is better. But given the timeline, we have to get something working soon. I am still investigating further, but at this point we may need to open a ticket with IBM.

I will keep you posted. But I want to thank you for your support.

Atul

Re: Websphere and docx4j

PostPosted: Wed Dec 18, 2013 12:39 pm
by atul.tewari
Jason,
I wanted to clarify with "com.ibm.xml.xlxp2.jaxb.JAXBContextFactory" I got the same error "ContentType' null exception - same as using "com.sun...."

I got the "PANIC" error because I had incorrectly configured the jaxb.properties in one of the test runs. I did not mean to confuse you.

Atul

Re: Websphere and docx4j

PostPosted: Wed Dec 18, 2013 2:35 pm
by jason
Did you try the method setting system property JAXB_CONTEXT_FACTORY=com.sun.xml.internal.bind.v2.ContextFactory

Re: Websphere and docx4j

PostPosted: Wed Dec 18, 2013 4:40 pm
by atul.tewari
Jason,
Yes, I tried JAXB_CONTEXT_FACTORY=com.sun.xml.internal.bind.v2.ContextFactory. The System.setProperty() method is called as the first line within the method being called from WAS 8.5.

[code
/** JAXB 2 Context Factory (System property) instead of "javax.xml.bind.context.factory" */
public static final String JAXB_CONTEXT_FACTORY = "javax.xml.bind.JAXBContext";

/** JAXB implementation 2.1.12 */
public static final String JAXB_CONTEXT_FACTORY_IMPLEMENTATION = "com.sun.xml.bind.v2.ContextFactory";

public void processDocx()
{
System.setProperty(JAXB_CONTEXT_FACTORY, JAXB_CONTEXT_FACTORY_IMPLEMENTATION);
log.info("JAXB implementation = " + System.getProperty(JAXB_CONTEXT_FACTORY));
}
[/code]
Exception
Code: Select all
[12/18/13 0:34:13:506 EST] 000001b7 MsWordTemplat I   JAXB implementation = com.sun.xml.bind.v2.ContextFactory
[12/18/13 0:34:13:506 EST] 000001b7 SystemOut     O Using Base64
[12/18/13 0:34:13:511 EST] 000001b7 SystemOut     O The sample and the input from ECM match.
[12/18/13 0:34:13:566 EST] 000001b7 MsWordTemplat I   Loading the docx ...
[12/18/13 0:34:38:276 EST] 000001b7 Context       I org.docx4j.jaxb.Context <clinit> java.vendor=IBM Corporation
[12/18/13 0:34:38:277 EST] 000001b7 Context       I org.docx4j.jaxb.Context <clinit> java.version=1.6.0
[12/18/13 0:34:40:652 EST] 000001b7 NamespacePref W org.docx4j.jaxb.NamespacePrefixMapperUtils getPrefixMapper name: com.sun.xml.internal.bind.namespacePrefixMapper value: org.docx4j.jaxb.NamespacePrefixMapperSunInternal@f13eb7e4 .. trying RI.
[12/18/13 0:34:40:932 EST] 000001b7 NamespacePref I org.docx4j.jaxb.NamespacePrefixMapperUtils tryUsingRI Using NamespacePrefixMapper, which is suitable for the JAXB RI
[12/18/13 0:34:41:225 EST] 000001b7 Context       I org.docx4j.jaxb.Context <clinit> Using JAXB Reference Implementation
[12/18/13 0:39:24:091 EST] 000001b7 Context       E org.docx4j.jaxb.Context <clinit> Cannot initialize context
                                 javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 61 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "CT_TwipsMeasure". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTTwipsMeasure
      at protected org.docx4j.wml.CTTwipsMeasure org.docx4j.wml.CTFramesetSplitbar.w
      at org.docx4j.wml.CTFramesetSplitbar
      at public org.docx4j.wml.CTFramesetSplitbar org.docx4j.wml.ObjectFactory.createCTFramesetSplitbar()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.math.CTTwipsMeasure
      at protected org.docx4j.math.CTTwipsMeasure org.docx4j.math.CTMathPr.lMargin
      at org.docx4j.math.CTMathPr
      at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_LongHexNumber". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTLongHexNumber
      at protected org.docx4j.wml.CTLongHexNumber org.docx4j.wml.Numbering$AbstractNum.nsid
      at org.docx4j.wml.Numbering$AbstractNum
      at protected java.util.List org.docx4j.wml.Numbering.abstractNum
      at org.docx4j.wml.Numbering
      at public org.docx4j.wml.Numbering org.docx4j.wml.ObjectFactory.createNumbering()
      at org.docx4j.wml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTLongHexNumber
      at protected org.docx4j.w14.CTLongHexNumber org.docx4j.wml.CTSettings.docId14
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
Two classes have the same XML type name "CT_Guid". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTGuid


Re: Websphere and docx4j

PostPosted: Wed Dec 18, 2013 10:04 pm
by jason
That's using JAXB_CONTEXT_FACTORY_IMPLEMENTATION = "com.sun.xml.bind.v2.ContextFactory", rather than com.sun.xml.internal.bind.v2.ContextFactory

Also, shouldn't the property name be literally, JAXB_CONTEXT_FACTORY ? You are using property name "javax.xml.bind.JAXBContext", which I don't think is correct.

atul.tewari wrote:[12/18/13 0:34:38:276 EST] 000001b7 Context       I org.docx4j.jaxb.Context <clinit> java.vendor=IBM Corporation
[12/18/13 0:34:38:277 EST] 000001b7 Context       I org.docx4j.jaxb.Context <clinit> java.version=1.6.0


If it still doesn't work after the above change, can you upgrade your IBM Java to a more recent release?

It is possible that the release you are running includes an old buggy JAXB implementation. Hopefully, a newer IBM Java would include an updated JAXB implementation.

Re: Websphere and docx4j

PostPosted: Wed Dec 18, 2013 11:24 pm
by atul.tewari
Jason,
I tried both "javax.xml.bind.JAXBContext" and "javax.xml.bind.context.factory" for the Context. Using "javax.xml.bind.context.factory" generated a InInitializerError exception (see below). Maybe the java instance needs to be upgraded. But I deployed the latest 2.2.7 JAXB implementation along with the docx4-3.0.0.jar, because it was complaining it could not find JAXB implementation (ClassNotFound). So I wonder if the latest 2.2.7 interferes with what is deployed on WAS 8.5. JAXB documentation says it is deployed under endorsed. Still looking.

As far as constant JAXB_CONTEXT_FACTORY goes, which class is it defined in ?

Code: Select all
/** JAXB 2 Context Factory (System property) instead of "javax.xml.bind.context.factory" */
   //public static final String JAXB_CONTEXT_FACTORY = "javax.xml.bind.JAXBContext";
   public static final String JAXB_CONTEXT_FACTORY = "javax.xml.bind.context.factory";

   /** JAXB implementation 2.1.12 */
   public static final String JAXB_CONTEXT_FACTORY_IMPLEMENTATION = "com.sun.xml.internal.bind.v2.ContextFactory";

Exception
Code: Select all
[12/18/13 7:21:47:730 EST] 00005a84 MsWordTemplat I   JAXB implementation = com.sun.xml.internal.bind.v2.ContextFactory
[12/18/13 7:21:47:731 EST] 00005a84 SystemOut     O Using Base64
[12/18/13 7:21:47:736 EST] 00005a84 SystemOut     O The sample and the input from ECM match.
[12/18/13 7:21:47:830 EST] 00005a84 MsWordTemplat I   Loading the docx ...
[12/18/13 7:22:37:661 EST] 00005a84 Context       I org.docx4j.jaxb.Context <clinit> java.vendor=IBM Corporation
[12/18/13 7:22:37:662 EST] 00005a84 Context       I org.docx4j.jaxb.Context <clinit> java.version=1.6.0
[12/18/13 7:22:40:170 EST] 00005a84 wle           E   CWLLG0594E: An exception occurred while initializing the runnable thread. Error: com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: java.lang.ExceptionInInitializerError
                                 com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: java.lang.ExceptionInInitializerError
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:421)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)
   at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
   at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.callEJBWorkflowManager(WebWorkflowManager.java:786)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processScreen(WebWorkflowManager.java:744)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processRequest(WebWorkflowManager.java:307)
   at com.lombardisoftware.servlet.AjaxControllerServlet.doPost(AjaxControllerServlet.java:128)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
   at com.lombardisoftware.servlet.CachingFilter.doFilter(CachingFilter.java:57)


Re: Websphere and docx4j

PostPosted: Wed Dec 18, 2013 11:48 pm
by atul.tewari
Jason,
I used the correct value in my last run where the exception was InInitializeError. So it appears that the latest JAXB jar files I deployed along with docx4j interferes with the lombardi application ear/war/jar file. I am not sure if I can change/upgrade that, but let me check into it.

Code: Select all
javax.xml.bind.JAXBContext.JAXB_CONTEXT_FACTORY = javax.xml.bind.context.factory.


Thanks!
Atul

Re: Websphere and docx4j

PostPosted: Thu Dec 19, 2013 12:02 am
by atul.tewari
Not sure if this is the issue. But upgrading to WAS 8.5.0.3 may be in order:

http://stackoverflow.com/questions/1501 ... webspher-8

See last post on the above link. It seems like a different issue. We are using WAS 8.5.0.2. I am also looking into just upgrading JAXB jars. Not sure upgrading from Java 1.6.0_22 to 1.6.0_65 will help. We are currently using 1.6.0_22 in our WAS environment.

Still digging through ...

Atul

Re: Websphere and docx4j

PostPosted: Thu Dec 19, 2013 12:24 am
by atul.tewari

Re: Websphere and docx4j

PostPosted: Thu Dec 19, 2013 10:54 am
by jason
OK, I downloaded and installed WebSphere Application Server 8.5.5.1 Liberty Profile on Win 7 x64, without the IBM JVM.

Everything "just worked" straight out of the box:

Code: Select all
Launching defaultServer (WebSphere Application Server 8.5.5.1/wlp-1.0.4.cl50120131011-1639) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0-b147 (en_US)

[err] 179 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - java.vendor=Oracle Corporation
[err] 180 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - java.version=1.7.0
[err] 260 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context -
wsjar:file:/C:/wlp/usr/servers/defaultServer/workarea/org.eclipse.osgi/bundles/45/data/cache/com.ibm.ws.app.manager_gen_79dfa082-f5ec-4016-b729-46fd8e2d5ccc/.cache/WEB-INF/lib/jaxb-impl-2.1.11.jar!/META-INF/MANIFEST.MF
[err] 261 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Implementation-Title : JAXB Reference Implementation
[err] 261 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Implementation-Version : 2.1.11
[err] 262 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Manifest-Version : 1.0
[err] 263 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Specification-Vendor : Sun Microsystems, Inc.
[err] 263 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Class-Path : jaxb-api.jar activation.jar jsr173_1.0_api.jar jaxb1-impl.jar
[err] 264 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Created-By : 1.5.0_06-b05 (Sun Microsystems Inc.)
[err] 264 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Ant-Version : Apache Ant 1.7.0
[err] 265 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Implementation-Vendor : Sun Microsystems, Inc.
[err] 265 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Implementation-Vendor-Id : com.sun
[err] 266 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Specification-Title : Java Architecture for XML Binding
[err] 267 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Specification-Version : 2.1
[err] 267 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Extension-Name : com.sun.xml.bind
[err] 268 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Build-Id : hudson-jaxb-ri-2.1-793
[err] 268 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Found JAXB reference implementation in wsjar:file:/C:/wlp/usr/servers/defaultServer/workarea/org.eclipse.osgi/bundles/45/data/cache/com.ibm.ws.app.manager_gen_79dfa082-f5ec-4016-b729-46fd8e2d5ccc/.cache/WEB-INF/lib/jaxb-impl-2.1.11.jar!/META-INF/MANIFEST.MF
[err] 269 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Implementation-Version : hudson-jaxb-ri-2.1-793
[err] 1495 [Default Executor-thread-3] WARN org.docx4j.jaxb.NamespacePrefixMapperUtils - name: com.sun.xml.internal.bind.namespacePrefixMapper value: org.docx4j.jaxb.NamespacePrefixMapperSunInternal@25246feb .. trying RI.
[err] 1499 [Default Executor-thread-3] INFO org.docx4j.jaxb.NamespacePrefixMapperUtils - Using NamespacePrefixMapper, which is suitable for the JAXB RI
[err] 1508 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Using JAXB Reference Implementation
[err] 10473 [Default Executor-thread-3] INFO org.docx4j.jaxb.Context - Not using MOXy.


atul.tewari wrote:As far as constant JAXB_CONTEXT_FACTORY goes, which class is it defined in ?


Since everything just worked, I haven't tried influencing JAXB implementation discovery, either by using the jar I provided earlier in this thread, or by setting system property JAXB_CONTEXT_FACTORY

But what I have been trying to say is that I think your attempt to set that should look something like:

Code: Select all
System.setProperty(   "JAXB_CONTEXT_FACTORY"  , JAXB_CONTEXT_FACTORY_IMPLEMENTATION);  // note the quotes!!

Re: Websphere and docx4j

PostPosted: Thu Dec 19, 2013 12:05 pm
by atul.tewari
Jason,
Wow - thanks for installing WAS (Liberty profile) and trying it out. We are using 8.5.0.2. In any case, I tried what you suggesting using the string literal as:
Code: Select all
System.setProperty("JAXB_CONTEXT_FACTORY", JAXB_CONTEXT_FACTORY_IMPLEMENTATION);


It throws exception at at Docx4j.load(). see exception below: I also added a name/value pair under servers -> Singlecluster1 --> Administration --> Custom properties
JAXB_CONTEXT_FACTORY = com.sun.xml.internal.bind.v2.ContextFactory
hoping this would force IBM to use "com.sun.xml.internal.bind.v2.ContextFactory"

I also noticed that my install does not have the following files - Class-Path : jaxb-api.jar activation.jar jsr173_1.0_api.jar jaxb1-impl.jar I added them along with docx4j. And I got

Code: Select all
E   CWLLG0594E: An exception occurred while initializing the runnable thread. Error: com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: java.lang.ExceptionInInitializerError
                                 com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: java.lang.ExceptionInInitializerError
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:421)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)
   at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
   at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)


I think the problem is lombardi is IBM-BPM's platform and therefore, it runs with IBM JVM version. In addition, lombardi, has its own ear files deployed on Websphere. I read several articles on IBM site hoping to find clues.


Code: Select all
[12/18/13 19:56:40:524 EST] 00000314 SystemOut     O Using Base64
[12/18/13 19:56:40:526 EST] 00000314 SystemOut     O The sample and the input from ECM match.
[12/18/13 19:56:40:530 EST] 00000314 MsWordTemplat I   Loading the docx ...
[12/18/13 19:56:40:544 EST] 00000314 ContentTypeMa E org.docx4j.openpackaging.contenttype.ContentTypeManager parseContentTypesFile <Null Message>
                                 java.lang.NullPointerException
   at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:671)
   at org.docx4j.openpackaging.io3.Load3.get(Load3.java:132)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:353)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:293)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:261)
   at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:174)
   at org.docx4j.Docx4J.load(Docx4J.java:182)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingBase64(MsWordTemplate.java:386)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingTWList(MsWordTemplate.java:326)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
   at java.lang.reflect.Method.invoke(Method.java:611)
   at teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81)
   at com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51)
   at teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79)
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)
   at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
   at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.callEJBWorkflowManager(WebWorkflowManager.java:786)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processScreen(WebWorkflowManager.java:744)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processRequest(WebWorkflowManager.java:307)
   at com.lombardisoftware.servlet.AjaxControllerServlet.doPost(AjaxControllerServlet.java:128)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
   at com.lombardisoftware.servlet.CachingFilter.doFilter(CachingFilter.java:57)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.ClearThreadCachesFilter.doFilter(ClearThreadCachesFilter.java:34)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetUserTimeZoneFilter.doFilter(SetUserTimeZoneFilter.java:44)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.BidiSupportFilter.doFilter(BidiSupportFilter.java:50)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:81)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:33)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CompressionFilter.doFilter(CompressionFilter.java:54)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
   at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)
   at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
   at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
   at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
   at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
   at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:816)
   at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)

[12/18/13 19:56:40:547 EST] 00000314 SystemOut     O org.docx4j.openpackaging.exceptions.Docx4JException: Couldn't get [Content_Types].xml from ZipFile
   at org.docx4j.openpackaging.io3.Load3.get(Load3.java:134)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:353)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:293)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:261)
   at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:174)
   at org.docx4j.Docx4J.load(Docx4J.java:182)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingBase64(MsWordTemplate.java:386)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingTWList(MsWordTemplate.java:326)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
   at java.lang.reflect.Method.invoke(Method.java:611)
   at teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81)
   at com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51)
   at teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79)
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)

Re: Websphere and docx4j

PostPosted: Thu Dec 19, 2013 12:16 pm
by atul.tewari
Could this have anything to do with annotation.jar as well?

Re: Websphere and docx4j

PostPosted: Thu Dec 19, 2013 12:34 pm
by jason
Notice that in my installation, Websphere is using the JAXB reference implementation (which I had bundled in my war file)

If I remove that, it uses the version bundled in Java HotSpot(TM) 64-Bit Server VM, version 1.7.0-b147:

Code: Select all
[err] 166 [Default Executor-thread-4] INFO org.docx4j.jaxb.Context - java.vendor=Oracle Corporation
[err] 167 [Default Executor-thread-4] INFO org.docx4j.jaxb.Context - java.version=1.7.0
[err] 503 [Default Executor-thread-4] INFO org.docx4j.jaxb.NamespacePrefixMapperUtils - Using NamespacePrefixMapperSunInternal, which is suitable for Java 6
[err] 507 [Default Executor-thread-4] INFO org.docx4j.jaxb.Context - Using Java 6/7 JAXB implementation
[err] 14118 [Default Executor-thread-4] INFO org.docx4j.jaxb.Context - Not using MOXy.

Re: Websphere and docx4j

PostPosted: Thu Dec 19, 2013 12:53 pm
by atul.tewari
Jason,
IBM-BPM provides a way to add special jar files called "Java connectors". I added our custom jar file that uses docx4j and other dependent libraries. These Java connectors' public methods of classes are exposed directly in BPM designer's IDE. We really cannot create a "war" file from our custom code. Having said that, our custom JAR file runs in context of lombardi ear file. And maybe therein lies the problem.

Until I can identify a way to force all existing ear/war files to use JAXB reference implementation (and not IBM), I may not be able to fix this issue. Errors are around "could not instantiate whichever JAXB factory I force docx4j to use.

Maybe I need to get the value of the current JAXB to determine what it is currently set to! Let me check that!

Atul

Re: Websphere and docx4j

PostPosted: Thu Dec 19, 2013 1:07 pm
by jason
Looking again at your post of 4.40pm yesterday, it looks like you were successfully using the JAXB RI:

Code: Select all
[12/18/13 0:34:41:225 EST] 000001b7 Context       I org.docx4j.jaxb.Context <clinit> Using JAXB Reference Implementation


You say you were using 2.1.12, so maybe the "Two classes have the same XML type name" error is specific to that?

You could try a different version. But I suspect the problem may be more along the lines of http://stackoverflow.com/questions/7361 ... ectfactory

Re: Websphere and docx4j

PostPosted: Fri Dec 20, 2013 12:50 am
by atul.tewari
Jason,
I updated JAXB in the endorsed_apis location to 2.2.7. It identifies the JAXB implementation (see logs below). But I get a parse error and the "two classes have the same xml type name objectfactory" exception. I looked at the possible solutions. I reviewed your link below and I am unable to determine why two XmlRegistry are loading


Code: Select all
[12/19/13 7:56:29:503 EST] 000000f1 MsWordTemplat I   Loading the docx ...
[12/19/13 7:57:17:576 EST] 000000f1 Context       I org.docx4j.jaxb.Context <clinit> java.vendor=IBM Corporation
[12/19/13 7:57:17:577 EST] 000000f1 Context       I org.docx4j.jaxb.Context <clinit> java.version=1.6.0
[12/19/13 7:57:17:581 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo
jar:file:/opt/ibm/endorsed_apis/jaxb-impl.jar!/META-INF/MANIFEST.MF
[12/19/13 7:57:17:582 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor : Oracle Corporation
[12/19/13 7:57:17:583 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor-Id : com.sun
[12/19/13 7:57:17:584 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Title : Java Architecture for XML Binding
[12/19/13 7:57:17:585 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Version : 2.2.7
[12/19/13 7:57:17:586 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Ant-Version : Apache Ant 1.8.4
[12/19/13 7:57:17:586 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Vendor : Oracle Corporation
[12/19/13 7:57:17:587 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Extension-Name : com.sun.xml.bind
[12/19/13 7:57:17:588 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Manifest-Version : 1.0
[12/19/13 7:57:17:589 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Build-Id : 04/24/2013 06:10 PM(yaroska)
[12/19/13 7:57:17:590 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Class-Path : jaxb-api.jar jaxb-core.jar
[12/19/13 7:57:17:591 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Created-By : 1.6.0_41-b02 (Sun Microsystems Inc.)
[12/19/13 7:57:17:591 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Title : JAXB Reference Implementation
[12/19/13 7:57:17:592 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Version : 2.2.7
[12/19/13 7:57:17:593 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo
jar:file:/opt/ibm/endorsed_apis/jaxb-core.jar!/META-INF/MANIFEST.MF
[12/19/13 7:57:17:594 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor : Oracle Corporation
[12/19/13 7:57:17:595 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor-Id : com.sun
[12/19/13 7:57:17:596 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Title : Java Architecture for XML Binding
[12/19/13 7:57:17:596 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Version : 2.2.7
[12/19/13 7:57:17:597 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Ant-Version : Apache Ant 1.8.4
[12/19/13 7:57:17:600 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Vendor : Oracle Corporation
[12/19/13 7:57:17:601 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Extension-Name : com.sun.xml.bind.core
[12/19/13 7:57:17:602 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Manifest-Version : 1.0
[12/19/13 7:57:17:602 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Build-Id : 04/24/2013 06:10 PM(yaroska)
[12/19/13 7:57:17:603 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Class-Path : jaxb-api.jar
[12/19/13 7:57:17:604 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Created-By : 1.6.0_41-b02 (Sun Microsystems Inc.)
[12/19/13 7:57:17:605 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Title : JAXB Reference Implementation
[12/19/13 7:57:17:606 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Version : 2.2.7
[12/19/13 7:57:17:607 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo
jar:file:/opt/ibm/endorsed_apis/jaxb-xjc.jar!/META-INF/MANIFEST.MF
[12/19/13 7:57:17:608 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor : Oracle Corporation
[12/19/13 7:57:17:609 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Main-Class : com.sun.tools.xjc.XJCFacade
[12/19/13 7:57:17:610 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor-Id : com.sun
[12/19/13 7:57:17:610 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Title : Java Architecture for XML Binding
[12/19/13 7:57:17:611 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Version : 2.2.7
[12/19/13 7:57:17:612 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Ant-Version : Apache Ant 1.8.4
[12/19/13 7:57:17:613 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Vendor : Oracle Corporation
[12/19/13 7:57:17:613 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Extension-Name : com.sun.tools.xjc
[12/19/13 7:57:17:614 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Class-Path : jaxb-api.jar jaxb-core.jar
[12/19/13 7:57:17:615 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Manifest-Version : 1.0
[12/19/13 7:57:17:616 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Build-Id : 04/24/2013 06:10 PM(yaroska)
[12/19/13 7:57:17:617 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Created-By : 1.6.0_41-b02 (Sun Microsystems Inc.)
[12/19/13 7:57:17:617 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Title : JAXB Reference Implementation
[12/19/13 7:57:17:618 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Version : 2.2.7
[12/19/13 7:57:17:619 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo
jar:file:/opt/ibm/endorsed_apis/jaxb-jxc.jar!/META-INF/MANIFEST.MF
[12/19/13 7:57:17:620 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor : Oracle Corporation
[12/19/13 7:57:17:621 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Main-Class : com.sun.tools.jxc.SchemaGeneratorFacade
[12/19/13 7:57:17:622 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor-Id : com.sun
[12/19/13 7:57:17:622 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Title : Java Architecture for XML Binding
[12/19/13 7:57:17:623 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Version : 2.2.7
[12/19/13 7:57:17:624 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Ant-Version : Apache Ant 1.8.4
[12/19/13 7:57:17:625 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Vendor : Oracle Corporation
[12/19/13 7:57:17:625 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Extension-Name : com.sun.tools.jxc
[12/19/13 7:57:17:626 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Class-Path : jaxb-api.jar jaxb-core.jar jaxb-xjc.jar jaxb-impl.jar
[12/19/13 7:57:17:627 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Manifest-Version : 1.0
[12/19/13 7:57:17:628 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Build-Id : 04/24/2013 06:10 PM(yaroska)
[12/19/13 7:57:17:629 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Created-By : 1.6.0_41-b02 (Sun Microsystems Inc.)
[12/19/13 7:57:17:630 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Title : JAXB Reference Implementation
[12/19/13 7:57:17:630 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Version : 2.2.7
[12/19/13 7:57:17:695 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo
jar:file:/opt/ibm/endorsed_apis/jaxb-impl.jar!/META-INF/MANIFEST.MF
[12/19/13 7:57:17:695 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor : Oracle Corporation
[12/19/13 7:57:17:696 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor-Id : com.sun
[12/19/13 7:57:17:696 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Title : Java Architecture for XML Binding
[12/19/13 7:57:17:697 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Version : 2.2.7
[12/19/13 7:57:17:698 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Ant-Version : Apache Ant 1.8.4
[12/19/13 7:57:17:698 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Vendor : Oracle Corporation
[12/19/13 7:57:17:699 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Extension-Name : com.sun.xml.bind
[12/19/13 7:57:17:700 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Manifest-Version : 1.0
[12/19/13 7:57:17:700 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Build-Id : 04/24/2013 06:10 PM(yaroska)
[12/19/13 7:57:17:701 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Class-Path : jaxb-api.jar jaxb-core.jar
[12/19/13 7:57:17:702 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Created-By : 1.6.0_41-b02 (Sun Microsystems Inc.)
[12/19/13 7:57:17:702 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Title : JAXB Reference Implementation
[12/19/13 7:57:17:703 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Version : 2.2.7
[12/19/13 7:57:17:704 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo
jar:file:/opt/ibm/endorsed_apis/jaxb-core.jar!/META-INF/MANIFEST.MF
[12/19/13 7:57:17:705 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor : Oracle Corporation
[12/19/13 7:57:17:705 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor-Id : com.sun
[12/19/13 7:57:17:706 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Title : Java Architecture for XML Binding
[12/19/13 7:57:17:707 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Version : 2.2.7
[12/19/13 7:57:17:707 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Ant-Version : Apache Ant 1.8.4
[12/19/13 7:57:17:709 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Vendor : Oracle Corporation
[12/19/13 7:57:17:709 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Extension-Name : com.sun.xml.bind.core
[12/19/13 7:57:17:710 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Manifest-Version : 1.0
[12/19/13 7:57:17:711 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Build-Id : 04/24/2013 06:10 PM(yaroska)
[12/19/13 7:57:17:711 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Class-Path : jaxb-api.jar
[12/19/13 7:57:17:712 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Created-By : 1.6.0_41-b02 (Sun Microsystems Inc.)
[12/19/13 7:57:17:713 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Title : JAXB Reference Implementation
[12/19/13 7:57:17:713 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Version : 2.2.7
[12/19/13 7:57:17:714 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo
jar:file:/opt/ibm/endorsed_apis/jaxb-xjc.jar!/META-INF/MANIFEST.MF
[12/19/13 7:57:17:715 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor : Oracle Corporation
[12/19/13 7:57:17:716 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Main-Class : com.sun.tools.xjc.XJCFacade
[12/19/13 7:57:17:716 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor-Id : com.sun
[12/19/13 7:57:17:717 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Title : Java Architecture for XML Binding
[12/19/13 7:57:17:718 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Version : 2.2.7
[12/19/13 7:57:17:718 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Ant-Version : Apache Ant 1.8.4
[12/19/13 7:57:17:719 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Vendor : Oracle Corporation
[12/19/13 7:57:17:720 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Extension-Name : com.sun.tools.xjc
[12/19/13 7:57:17:720 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Class-Path : jaxb-api.jar jaxb-core.jar
[12/19/13 7:57:17:721 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Manifest-Version : 1.0
[12/19/13 7:57:17:722 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Build-Id : 04/24/2013 06:10 PM(yaroska)
[12/19/13 7:57:17:723 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Created-By : 1.6.0_41-b02 (Sun Microsystems Inc.)
[12/19/13 7:57:17:723 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Title : JAXB Reference Implementation
[12/19/13 7:57:17:724 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Version : 2.2.7
[12/19/13 7:57:17:725 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo
jar:file:/opt/ibm/endorsed_apis/jaxb-jxc.jar!/META-INF/MANIFEST.MF
[12/19/13 7:57:17:726 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor : Oracle Corporation
[12/19/13 7:57:17:726 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Main-Class : com.sun.tools.jxc.SchemaGeneratorFacade
[12/19/13 7:57:17:727 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Vendor-Id : com.sun
[12/19/13 7:57:17:728 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Title : Java Architecture for XML Binding
[12/19/13 7:57:17:728 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Version : 2.2.7
[12/19/13 7:57:17:729 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Ant-Version : Apache Ant 1.8.4
[12/19/13 7:57:17:730 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Specification-Vendor : Oracle Corporation
[12/19/13 7:57:17:730 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Extension-Name : com.sun.tools.jxc
[12/19/13 7:57:17:731 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Class-Path : jaxb-api.jar jaxb-core.jar jaxb-xjc.jar jaxb-impl.jar
[12/19/13 7:57:17:732 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Manifest-Version : 1.0
[12/19/13 7:57:17:733 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Build-Id : 04/24/2013 06:10 PM(yaroska)
[12/19/13 7:57:17:733 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Created-By : 1.6.0_41-b02 (Sun Microsystems Inc.)
[12/19/13 7:57:17:734 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Title : JAXB Reference Implementation
[12/19/13 7:57:17:735 EST] 000000f1 Context       I org.docx4j.jaxb.Context searchManifestsForJAXBImplementationInfo Implementation-Version : 2.2.7
[12/19/13 7:57:20:962 EST] 000000f1 NamespacePref I org.docx4j.jaxb.NamespacePrefixMapperUtils getPrefixMapper Using NamespacePrefixMapperSunInternal, which is suitable for Java 6
[12/19/13 7:57:21:534 EST] 000000f1 Context       I org.docx4j.jaxb.Context <clinit> Using Java 6/7 JAXB implementation
[12/19/13 8:08:49:631 EST] 00000133 MsWordTemplat I   Loading the docx ...
[12/19/13 8:08:49:645 EST] 00000133 ContentTypeMa E org.docx4j.openpackaging.contenttype.ContentTypeManager parseContentTypesFile <Null Message>
                                 java.lang.NullPointerException
   at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:671)
   at org.docx4j.openpackaging.io3.Load3.get(Load3.java:132)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:353)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:293)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:261)
   at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:174)
   at org.docx4j.Docx4J.load(Docx4J.java:182)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingBase64(MsWordTemplate.java:382)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingTWList(MsWordTemplate.java:330)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
   at java.lang.reflect.Method.invoke(Method.java:611)
   at teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81)
   at com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51)
   at teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79)
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)
   at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
   at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.callEJBWorkflowManager(WebWorkflowManager.java:786)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processScreen(WebWorkflowManager.java:744)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processRequest(WebWorkflowManager.java:307)
   at com.lombardisoftware.servlet.AjaxControllerServlet.doPost(AjaxControllerServlet.java:128)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
   at com.lombardisoftware.servlet.CachingFilter.doFilter(CachingFilter.java:57)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.ClearThreadCachesFilter.doFilter(ClearThreadCachesFilter.java:34)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetUserTimeZoneFilter.doFilter(SetUserTimeZoneFilter.java:44)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.BidiSupportFilter.doFilter(BidiSupportFilter.java:50)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:81)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:33)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CompressionFilter.doFilter(CompressionFilter.java:54)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
   at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)
   at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
   at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
   at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
   at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
   at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
   at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)

[12/19/13 8:08:49:647 EST] 00000133 SystemOut     O org.docx4j.openpackaging.exceptions.Docx4JException: Couldn't get [Content_Types].xml from ZipFile
   at org.docx4j.openpackaging.io3.Load3.get(Load3.java:134)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:353)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:293)
   at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:261)
   at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:174)
   at org.docx4j.Docx4J.load(Docx4J.java:182)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingBase64(MsWordTemplate.java:382)
   at com._21ct.msword.MsWordTemplate.processTemplateUsingTWList(MsWordTemplate.java:330)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
   at java.lang.reflect.Method.invoke(Method.java:611)
   at teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81)
   at com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51)
   at teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146)
   at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79)
   at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1287)
   at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:407)
   at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
   at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
   at java.security.AccessController.doPrivileged(AccessController.java:280)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
   at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181)
   at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.callEJBWorkflowManager(WebWorkflowManager.java:786)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processScreen(WebWorkflowManager.java:744)
   at com.lombardisoftware.component.common.web.WebWorkflowManager.processRequest(WebWorkflowManager.java:307)
   at com.lombardisoftware.servlet.AjaxControllerServlet.doPost(AjaxControllerServlet.java:128)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
   at com.lombardisoftware.servlet.CachingFilter.doFilter(CachingFilter.java:57)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.ClearThreadCachesFilter.doFilter(ClearThreadCachesFilter.java:34)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetUserTimeZoneFilter.doFilter(SetUserTimeZoneFilter.java:44)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.BidiSupportFilter.doFilter(BidiSupportFilter.java:50)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:81)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.lombardisoftware.servlet.SetCharacterE


Re: Websphere and docx4j

PostPosted: Fri Dec 20, 2013 1:13 am
by atul.tewari
The solution that worked in the link you provided:
Code: Select all
@Override
public InputStream getResourceAsStream(String name)
{
  if (name!=null && name.equals("META-INF/services/javax.xml.bind.JAXBContext"))
  {
    return new ByteArrayInputStream("com.sun.xml.bind.v2.ContextFactory".getBytes());
  }
  return super.getResourceAsStream(name);
}

Even if I were to create my own ClassLoader as indicated in the link you sent, would I not have to create a collection of all the objects? Or am I missing something?

Thanks!
Atul

Re: Websphere and docx4j

PostPosted: Fri Dec 20, 2013 1:17 am
by atul.tewari
Based on this:
http://stackoverflow.com/questions/6198993/cxf-jaxb-jaxbencoderdecoder-unmarshalling-error-unexpected-element-when-having

Maybe a full namespace will make them unique. I am looking into enforcing that for docx4j. Is there a way to do this for docx4j?

Atul

Re: Websphere and docx4j

PostPosted: Fri Dec 20, 2013 11:37 am
by atul.tewari
Jason,
IBM-BPM (Lombardi software) comes with office plugins that allow manipulating word documents. Maybe it has the same Types as part of that jar file that manipulates Word/Excel documents.

Maybe I may need to use my own Class Loader class to load all relevant object factories. What object factories do I need for docx4j? Am I heading in the right direction?

Thanks!
Atul

Re: Websphere and docx4j

PostPosted: Fri Dec 20, 2013 5:50 pm
by jason
atul.tewari wrote:IBM-BPM (Lombardi software) comes with office plugins that allow manipulating word documents. Maybe it has the same Types as part of that jar file that manipulates Word/Excel documents./quote]

That would only be the case if they are using docx4j. You could unzip the relevant jars to have a look...

atul.tewari wrote:Maybe I may need to use my own Class Loader class to load all relevant object factories. What object factories do I need for docx4j? Am I heading in the right direction?


There is an object factory corresponding to each package in that jar earlier in the thread.

Note that org.docx4j.jaxb.Context contains:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
                        java.lang.ClassLoader classLoader = Context.class.getClassLoader();

                        jc = JAXBContext.newInstance("org.docx4j.wml: etc etc ",classLoader );
 
Parsed in 0.015 seconds, using GeSHi 1.0.8.4


I don't know whether you are heading in the right direction. I'd be inclined to try more recent JAXB releases, to see whether there is any difference in behaviour.

Re: Websphere and docx4j

PostPosted: Fri Dec 20, 2013 7:12 pm
by atul.tewari
Jason,
I added my own classloader and that resulted in the same issue. I am using the 2.2.7 JAXB. The latest is 2.2.8 (that is what I got). At this point I am not sure if the latest JAXB will help. I have to request permission to update the JARs and I will apply the changes. But I don't think this will help. I am using 2.2 of jaxws-api.jar.

I wonder if I will have the same problem with using Apache POI. Anyway, I will update to latest Jars once I have permission. I really appreciate you supporting me through this process - not many people do that.

Code: Select all
private JAXBContext initDocx4j()
   {
      log.info("Entering initDocx4j()");
      JAXBContext jc = null;
      Map<String, Object> objectFactories = getObjectFactories();
      ClassLoader classLoader = new JAXBServiceClassLoader(getParentClassLoader(),
                Collections.unmodifiableMap(objectFactories));
      
      StringBuffer contextPath = getContextPath();
      try
      {
         jc = JAXBContext.newInstance(contextPath.toString(), classLoader);
         log.info("initDocx4j()=" + jc.toString());
      }
      catch(Exception e)
      {
         e.printStackTrace();
         log.log(Level.WARNING, e.getMessage());
      }
      log.info("Leaving initDocx4j()");
      return jc;
   }
   protected ClassLoader getParentClassLoader()
   {
      ClassLoader classLoader = Context.class.getClassLoader() ;
      if (classLoader == null)
      {
         classLoader = Thread.currentThread().getContextClassLoader();
      }
      if (classLoader == null)
      {
         classLoader = getClass().getClassLoader();
      }
      return classLoader;
   }


Exception
Code: Select all
[12/20/13 3:10:11:499 EST] 00000af2 MsWordTemplat I   OVERRIDE getResourceAsStream( ) = org/opendope/conditions/jaxb.index
[12/20/13 3:10:11:501 EST] 00000af2 MsWordTemplat I   OVERRIDE getResourceAsStream( ) = org/opendope/questions/jaxb.index
[12/20/13 3:10:11:502 EST] 00000af2 MsWordTemplat I   OVERRIDE getResourceAsStream( ) = org/opendope/SmartArt/dataHierarchy/jaxb.index
[12/20/13 3:10:11:503 EST] 00000af2 MsWordTemplat I   OVERRIDE getResourceAsStream( ) = org/opendope/xpaths/jaxb.index
[12/20/13 3:10:12:701 EST] 00000af2 MsWordTemplat W   Provider com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 62 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "CT_TwipsMeasure". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTTwipsMeasure
      at protected org.docx4j.wml.CTTwipsMeasure org.docx4j.wml.CTFramesetSplitbar.w
      at org.docx4j.wml.CTFramesetSplitbar
      at public org.docx4j.wml.CTFramesetSplitbar org.docx4j.wml.ObjectFactory.createCTFramesetSplitbar()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.math.CTTwipsMeasure
      at protected org.docx4j.math.CTTwipsMeasure org.docx4j.math.CTMathPr.lMargin
      at org.docx4j.math.CTMathPr
      at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_LongHexNumber". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTLongHexNumber
      at protected org.docx4j.wml.CTLongHexNumber org.docx4j.wml.Style.rsid
      at org.docx4j.wml.Style
      at public org.docx4j.wml.Style org.docx4j.wml.ObjectFactory.createStyle()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTLongHexNumber
      at protected org.docx4j.w14.CTLongHexNumber org.docx4j.wml.CTSettings.docId14
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_Guid". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTGuid
      at protected java.util.List org.docx4j.wml.CTDocPartPr.nameOrStyleOrCategory
      at org.docx4j.wml.CTDocPartPr
      at public org.docx4j.wml.CTDocPartPr org.docx4j.wml.ObjectFactory.createCTDocPartPr()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w15.CTGuid
      at protected org.docx4j.w15.CTGuid org.docx4j.wml.CTSettings.docId15
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_OnOff". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.math.CTOnOff
      at protected org.docx4j.math.CTOnOff org.docx4j.math.CTMathPr.smallFrac
      at org.docx4j.math.CTMathPr
      at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTOnOff
      at protected org.docx4j.w14.CTOnOff org.docx4j.wml.CTSettings.conflictMode
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "ST_ColorSchemeIndex". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.STColorSchemeIndex
      at protected org.docx4j.wml.STColorSchemeIndex org.docx4j.wml.CTColorSchemeMapping.bg1
      at org.docx4j.wml.CTColorSchemeMapping
      at protected org.docx4j.wml.CTColorSchemeMapping org.docx4j.wml.CTSettings.clrSchemeMapping
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.STColorSchemeIndex
      at protected org.docx4j.dml.STColorSchemeIndex org.docx4j.dml.CTColorMapping.bg1
      at org.docx4j.dml.CTColorMapping
      at public org.docx4j.dml.CTColorMapping org.docx4j.dml.ObjectFactory.createCTColorMapping()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_Color". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.CTColor
      at protected org.docx4j.dml.CTColor org.docx4j.dml.CTShape3D.extrusionClr
      at org.docx4j.dml.CTShape3D
      at protected org.docx4j.dml.CTShape3D org.docx4j.dml.CTTextBodyProperties.sp3D
      at org.docx4j.dml.CTTextBodyProperties
      at protected org.docx4j.dml.CTTextBodyProperties org.docx4j.dml.CTTextBody.bodyPr
      at org.docx4j.dml.CTTextBody
      at protected org.docx4j.dml.CTTextBody org.docx4j.dml.CTTableCell.txBody
      at org.docx4j.dml.CTTableCell
      at protected java.util.List org.docx4j.dml.CTTableRow.tc
      at org.docx4j.dml.CTTableRow
      at public org.docx4j.dml.CTTableRow org.docx4j.dml.ObjectFactory.createCTTableRow()
      at org.docx4j.dml.ObjectFactory
      at protected java.lang.Object org.docx4j.dml.CTOfficeArtExtension.any
      at org.docx4j.dml.CTOfficeArtExtension
      at protected java.util.List org.docx4j.dml.CTOfficeArtExtensionList.ext
      at org.docx4j.dml.CTOfficeArtExtensionList
      at protected org.docx4j.dml.CTOfficeArtExtensionList org.docx4j.dml.CTHyperlink.extLst
      at org.docx4j.dml.CTHyperlink
      at protected org.docx4j.dml.CTHyperlink org.docx4j.dml.CTNonVisualDrawingProps.hlinkClick
      at org.docx4j.dml.CTNonVisualDrawingProps
      at protected org.docx4j.dml.CTNonVisualDrawingProps org.docx4j.dml.wordprocessingDrawing.Anchor.docPr
      at org.docx4j.dml.wordprocessingDrawing.Anchor
      at protected java.util.List org.docx4j.wml.Drawing.anchorOrInline
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.wml.CTColor
      at public org.docx4j.wml.CTColor org.docx4j.wml.ObjectFactory.createCTColor()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_String". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.math.CTString
      at protected org.docx4j.math.CTString org.docx4j.math.CTMathPr.mathFont
      at org.docx4j.math.CTMathPr
      at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.wml.CTString
      at public org.docx4j.wml.CTString org.docx4j.wml.ObjectFactory.createCTString()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_Text". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.Text
      at public org.docx4j.wml.Text org.docx4j.wml.ObjectFactory.createText()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.math.CTText
      at public org.docx4j.math.CTText org.docx4j.math.ObjectFactory.createCTText()
      at org.docx4j.math.ObjectFactory
      at protected java.util.List org.docx4j.math.CTOMathArg.egoMathElements
      at org.docx4j.math.CTOMathArg
      at protected org.docx4j.math.CTOMathArg org.docx4j.math.CTSPre.sub
      at org.docx4j.math.CTSPre
      at public javax.xml.bind.JAXBElement org.docx4j.wml.ObjectFactory.createRunTrackChangeSPre(org.docx4j.math.CTSPre)
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_Picture". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.chartDrawing.CTPicture
      at protected java.util.List org.docx4j.dml.chartDrawing.CTGroupShape.spOrGrpSpOrGraphicFrame
      at org.docx4j.dml.chartDrawing.CTGroupShape
      at protected org.docx4j.dml.chartDrawing.CTGroupShape org.docx4j.dml.chartDrawing.CTAbsSizeAnchor.grpSp
      at org.docx4j.dml.chartDrawing.CTAbsSizeAnchor
      at protected java.util.List org.docx4j.dml.chartDrawing.CTDrawing.egAnchor
      at org.docx4j.dml.chartDrawing.CTDrawing
      at public javax.xml.bind.JAXBElement org.docx4j.dml.chart.ObjectFactory.createUserShapes(org.docx4j.dml.chartDrawing.CTDrawing)
      at org.docx4j.dml.chart.ObjectFactory
Two classes have the same XML type name "CT_ShapeNonVisual". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.chartDrawing.CTShapeNonVisual
      at protected org.docx4j.dml.chartDrawing.CTShapeNonVisual org.docx4j.dml.chartDrawing.CTShape.nvSpPr
      at org.docx4j.dml.chartDrawing.CTShape
      at protected org.docx4j.dml.chartDrawing.CTShape org.docx4j.dml.chartDrawing.CTAbsSizeAnchor.sp
      at org.docx4j.dml.chartDrawing.CTAbsSizeAnchor
      at protected java.util.List org.docx4j.dml.chartDrawing.CTDrawing.egAnchor
      at org.docx4j.dml.chartDrawing.CTDrawing
      at public javax.xml.bind.JAXBElement org.docx4j.dml.chart.ObjectFactory.createUserShapes(org.docx4j.dml.chartDrawing.CTDrawing)
      at org.docx4j.dml.chart.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.diagram2008.CTShapeNonVisual
      at public org.docx4j.dml.diagram2008.CTShapeNonVisual org.docx4j.dml.diagram2008.ObjectFactory.createCTShapeNonVisual()
      at org.docx4j.dml.diagram2008.ObjectFactory
Two classes have the same XML type name "CT_GroupShapeNonVisual". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.chartDrawing.CTGroupShapeNonVisual
      at protected org.docx4j.dml.chartDrawing.CTGroupShapeNonVisual org.docx4j.dml.chartDrawing.CTGroupShape.nvGrpSpPr
      at org.docx4j.dml.chartDrawing.CTGroupShape
      at protected org.docx4j.dml.chartDrawing.CTGroupShape org.docx4j.dml.chartDrawing.CTAbsSizeAnchor.grpSp
      at org.docx4j.dml.chartDrawing.CTAbsSizeAnchor
      at protected java.util.List org.docx4j.dml.chartDrawing.CTDrawing.egAnchor
      at org.docx4j.dml.chartDrawing.CTDrawing
      at public javax.xml.bind.JAXBElement org.docx4j.dml.chart.ObjectFactory.createUserShapes(org.docx4j.dml.chartDrawing.CTDrawing)
      at org.docx4j.dml.chart.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.diagram2008.CTGroupShapeNonVisual
      at public org.docx4j.dml.diagram2008.CTGroupShapeNonVisual org.docx4j.dml.diagram2008.ObjectFactory.createCTGroupShapeNonVisual()
      at org.docx4j.dml.diagram2008.ObjectFactory
Two classes have the same XML type name "CT_GroupShape". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.chartDrawing.CTGroupShape
      at protected org.docx4j.dml.chartDrawing.CTGroupShape org.docx4j.dml.chartDrawing.CTAbsSizeAnchor.grpSp
      at org.docx4j.dml.chartDrawing.CTAbsSizeAnchor
      at protected java.util.List org.docx4j.dml.chartDrawing.CTDrawing.egAnchor
      at org.docx4j.dml.chartDrawing.CTDrawing
      at public javax.xml.bind.JAXBElement org.docx4j.dml.chart.ObjectFactory.createUserShapes(org.docx4j.dml.chartDrawing.CTDrawing)
      at org.docx4j.dml.chart.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.diagram2008.CTGroupShape
      at public org.docx4j.dml.diagram2008.CTGroupShape org.docx4j.dml.diagram2008.ObjectFactory.createCTGroupShape()
      at org.docx4j.dml.diagram2008.ObjectFactory
Two classes have the same XML type name "CT_Drawing". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.Drawing
      at public org.docx4j.wml.Drawing org.docx4j.wml.ObjectFactory.createDrawing()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.diagram2008.CTDrawing
      at public org.docx4j.dml.diagram2008.CTDrawing org.docx4j.dml.diagram2008.ObjectFactory.createCTDrawing()
      at org.docx4j.dml.diagram2008.ObjectFactory
Two classes have the same XML type name "CT_ShapeNonVisual". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.diagram2008.CTShapeNonVisual
      at public org.docx4j.dml.diagram2008.CTShapeNonVisual org.docx4j.dml.diagram2008.ObjectFactory.createCTShapeNonVisual()
      at org.docx4j.dml.diagram2008.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.spreadsheetdrawing.CTShapeNonVisual
      at protected org.docx4j.dml.spreadsheetdrawing.CTShapeNonVisual org.docx4j.dml.spreadsheetdrawing.CTShape.nvSpPr
      at org.docx4j.dml.spreadsheetdrawing.CTShape
      at protected org.docx4j.dml.spreadsheetdrawing.CTShape org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor.sp
      at org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor
      at public org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor org.docx4j.dml.spreadsheetdrawing.ObjectFactory.createCTTwoCellAnchor()
      at org.docx4j.dml.spreadsheetdrawing.ObjectFactory
Two classes have the same XML type name "CT_Shape". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.diagram2008.CTShape
      at protected java.util.List org.docx4j.dml.diagram2008.CTGroupShape.spOrGrpSp
      at org.docx4j.dml.diagram2008.CTGroupShape
      at public org.docx4j.dml.diagram2008.CTGroupShape org.docx4j.dml.diagram2008.ObjectFactory.createCTGroupShape()
      at org.docx4j.dml.diagram2008.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.spreadsheetdrawing.CTShape
      at protected org.docx4j.dml.spreadsheetdrawing.CTShape org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor.sp
      at org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor
      at public org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor org.docx4j.dml.spreadsheetdrawing.ObjectFactory.createCTTwoCellAnchor()
      at org.docx4j.dml.spreadsheetdrawing.ObjectFactory
Two classes have the same XML type name "CT_GroupShapeNonVisual". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.diagram2008.CTGroupShapeNonVisual
      at public org.docx4j.dml.diagram2008.CTGroupShapeNonVisual org.docx4j.dml.diagram2008.ObjectFactory.createCTGroupShapeNonVisual()
      at org.docx4j.dml.diagram2008.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.dml.spreadsheetdrawing.CTGroupShapeNonVisual
      at protected org.docx4j.dml.spreadsheetdrawing.CTGroupShapeNonVisual org.docx4j.dml.spreadsheetdrawing.CTGroupShape.nvGrpSpPr
      at org.docx4j.dml.spreadsheetdrawing.CTGroupShape
      at protected org.docx4j.dml.spreadsheetdrawing.CTGroupShape org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor.grpSp
      at org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor
      at public org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor org.docx4j.dml.spreadsheetdrawing.ObjectFactory.createCTTwoCellAnchor()
      at org.docx4j.dml.spreadsheetdrawing.ObjectFactory
Two classes have the same XML type name "CT_Picture". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.dml.chartDrawing.CTPicture
      at protected java.util.List org.docx4j.dml.chartDrawing.CTGroupShape.spOrGrpSpOrGraphicFrame
      at org.docx4j.dml.chartDrawing.CTGroupShape
      at protected org.docx4j.dml.chartDrawing.CTGroupShape org.docx4j.dml.chartDrawing.CTAbsSizeAnchor.grpSp
      at org.docx4j.dml.chartDrawing.CTAbsSizeAnchor
      at protected java.util.List org.docx4j.dml.chartDrawing.CTDrawing.egAnchor
      at org.docx4j.dml.chartDrawing.CTDrawing
      at public javax.xml.bind.JAXBElement org.docx4j.dm

Re: Websphere and docx4j

PostPosted: Sat Dec 21, 2013 12:55 am
by atul.tewari
Jason,
I tried the latest JAXB 2.2.8 (including jaxws-api, annotations, etc.) Exact same problem (exception) "Two classes". Reading up further, almost all articles indicate that this arises for following reasons:

* Annotations have to be defined on getters of schemas
* Enforce complete namespace for each attribute.
* In certain cases, the server jar libs and the custom jar files (using docx4j) use different set of jars (we already know this). But I cannot pinpoint which classes are duplicated.

Thanks!
Atul

Re: Websphere and docx4j

PostPosted: Sat Dec 21, 2013 2:00 am
by atul.tewari
Jason,
Once I instantiate JAXBContext using class loader, how to I pass that JAXBContext instance for docx4j library to use?

I also used the serializer and xalan 2.7.1 version and included them in the class loader

Atul

Re: Websphere and docx4j

PostPosted: Sat Dec 21, 2013 2:28 am
by atul.tewari
I tried this as well. I added a package-info.java in my package

Code: Select all
//com/_xxxx/msword/package-info.java
@javax.xml.bind.annotation.XmlSchema(namespace="msword._xxxx.com")

package com._xxxx.msword;


http://www-01.ibm.com/support/docview.w ... wg21386128

no luck. Still trying

Re: Websphere and docx4j

PostPosted: Sat Dec 21, 2013 6:36 am
by jason
Once I instantiate JAXBContext using class loader, how to I pass that JAXBContext instance for docx4j library to use?


If you can successfully load the context, ie:

Code: Select all
JAXBContext.newInstance("org.docx4j.wml: etc etc ", yourclassLoader );


without error, I'll modify docx4j's Context class, so docx4j can use it.

Re: Websphere and docx4j

PostPosted: Sat Dec 21, 2013 6:44 am
by atul.tewari
Yes, I can successfully load the context now using the context Path using

Code: Select all
JAXBContext.newInstance("org.docx4j.wml: etc etc ", yourclassLoader );


Wow, if you can modify the context class it is worth a shot.

thanks!
Atul

Re: Websphere and docx4j

PostPosted: Tue Dec 24, 2013 9:43 am
by jason
Good stuff :-)

For now, you could just ignore the errors during org.docx4j.jaxb.Context static init, then:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
                        Context.jc = JAXBContext.newInstance("org.docx4j.wml: etc etc ", yourclassLoader );

                        Context.jcThemePart = Context.jc;
                        Context.jcDocPropsCore = JAXBContext.newInstance("org.docx4j.docProps.core:org.docx4j.docProps.core.dc.elements:org.docx4j.docProps.core.dc.terms",yourclassLoader );
                        Context.jcDocPropsCustom = JAXBContext.newInstance("org.docx4j.docProps.custom",yourclassLoader );
                        Context.jcDocPropsExtended = JAXBContext.newInstance("org.docx4j.docProps.extended",yourclassLoader );
                        Context.jcXmlPackage = JAXBContext.newInstance("org.docx4j.xmlPackage",yourclassLoader );
                        Context.jcRelationships = JAXBContext.newInstance("org.docx4j.relationships",yourclassLoader );
                        Context.jcCustomXmlProperties = JAXBContext.newInstance("org.docx4j.customXmlProperties",yourclassLoader );
                        Context.jcContentTypes = JAXBContext.newInstance("org.docx4j.openpackaging.contenttype",yourclassLoader );
                       
                        Context.jcSectionModel = JAXBContext.newInstance("org.docx4j.model.structure.jaxb",yourclassLoader );
                       
                        Context.jcXmlDSig = JAXBContext.newInstance("org.plutext.jaxb.xmldsig",yourclassLoader );
 
Parsed in 0.015 seconds, using GeSHi 1.0.8.4


Let us know if that much works. If it does, we may still need to do something about jcXslFo (which is private).

Re: Websphere and docx4j

PostPosted: Wed Dec 25, 2013 12:27 am
by atul.tewari
Jason,
Looks like the "Two classes ..." error shows up as soon as I execute the first line - "jc = JAXBContext.newInstance(contextPath.toString(), classLoader);"

I thought it was loading this correctly under Websphere - sorry. The code you sent works perfectly in Eclipse. I did notice that "Context.jcThemePart" is deprecated and the last line does not throw an error in Eclipse "Context.jcXmlDSig = JAXBContext.newInstance("org.plutext.jaxb.xmldsig",classLoader );" class "plutext" does not exist.

I am not sure if there is anything else we can try now. I know you were hoping to expect something different. Here is wishing you a wonderful holiday season. Thanks for working through this -
Code: Select all
jc = JAXBContext.newInstance(contextPath.toString(), classLoader);
         log.info("initDocx4j()=" + jc.toString());
         Context.jcThemePart = Context.jc;
         log.info("loaded jcThemePart");
            Context.jcDocPropsCore = JAXBContext.newInstance("org.docx4j.docProps.core:org.docx4j.docProps.core.dc.elements:org.docx4j.docProps.core.dc.terms",classLoader );
            log.info("loaded jcDocPropsCore");
            Context.jcDocPropsCustom = JAXBContext.newInstance("org.docx4j.docProps.custom",classLoader );
            log.info("loaded jcDocPropsCustom");
            Context.jcDocPropsExtended = JAXBContext.newInstance("org.docx4j.docProps.extended",classLoader );
            log.info("loaded jcDocPropsExtended");
            Context.jcXmlPackage = JAXBContext.newInstance("org.docx4j.xmlPackage",classLoader );
            log.info("loaded jcXmlPackage");
            Context.jcRelationships = JAXBContext.newInstance("org.docx4j.relationships",classLoader );
            log.info("locaed jcRelationships");
            Context.jcCustomXmlProperties = JAXBContext.newInstance("org.docx4j.customXmlProperties",classLoader );
            log.info("loaded jcCustomXmlProperties");
            Context.jcContentTypes = JAXBContext.newInstance("org.docx4j.openpackaging.contenttype",classLoader );
            log.info("loaded jcContentTypes");
            Context.jcSectionModel = JAXBContext.newInstance("org.docx4j.model.structure.jaxb",classLoader );
            log.info("loaded jcSectionModel");
            Context.jcXmlDSig = JAXBContext.newInstance("org.plutext.jaxb.xmldsig",classLoader );


Here are environment details:
Code: Select all
************ Start Display Current Environment ************
WebSphere Platform 8.5.0.2 [ND 8.5.0.2 cf021312.01][BPMPC 8.5.0.0 20130525-092636] running with process name PCCell1\Node1\SingleClusterMember1 and process id 12640
Host Operating System is Linux, version 2.6.32-220.el6.x86_64
Java version = 1.6.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM
was.install.root = /opt/ibm
user.install.root = /opt/ibm/profiles/Node1Profile
Java Home = /opt/ibm/java/jre
ws.ext.dirs = /opt/ibm/java/lib:/opt/ibm/profiles/Node1Profile/classes:/opt/ibm/classes:/opt/ibm/lib:/opt/ibm/installedChannels:/opt/ibm/lib/ext:/opt/ibm/web/help:/opt/ibm/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = /opt/ibm/profiles/Node1Profile/properties:/opt/ibm/properties:/opt/ibm/lib/startup.jar:/opt/ibm/lib/bootstrap.jar:/opt/ibm/lib/jsf-nls.jar:/opt/ibm/lib/lmproxy.jar:/opt/ibm/lib/urlprotocols.jar:/opt/ibm/deploytool/itp/batchboot.jar:/opt/ibm/deploytool/itp/batch2.jar:/opt/ibm/java/lib/tools.jar
Java Library path = /opt/ibm/lib/native/linux/x86_64/:/opt/ibm/lib/native/linux/x86_64/:/opt/ibm/lib/native/linux/x86_64/:/opt/ibm/lib/native/linux/x86_64/:/opt/ibm/java/jre/lib/amd64/compressedrefs:/opt/ibm/java/jre/lib/amd64:/opt/ibm/lib/native/linux/x86_64/:/opt/ibm/bin:/usr/lib:
Orb Version = IBM Java ORB build orb626-20130112.01
************* End Display Current Environment *************


Code: Select all
[12/24/13 8:33:28:767 EST] 0000902b MsWordTemplat W   Provider com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 62 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "CT_TwipsMeasure". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTTwipsMeasure
      at protected org.docx4j.wml.CTTwipsMeasure org.docx4j.wml.CTFramesetSplitbar.w
      at org.docx4j.wml.CTFramesetSplitbar
      at public org.docx4j.wml.CTFramesetSplitbar org.docx4j.wml.ObjectFactory.createCTFramesetSplitbar()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.math.CTTwipsMeasure
      at protected org.docx4j.math.CTTwipsMeasure org.docx4j.math.CTMathPr.lMargin
      at org.docx4j.math.CTMathPr
      at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_LongHexNumber". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTLongHexNumber
      at protected org.docx4j.wml.CTLongHexNumber org.docx4j.wml.Style.rsid
      at org.docx4j.wml.Style
      at public org.docx4j.wml.Style org.docx4j.wml.ObjectFactory.createStyle()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
   this problem is related to the following location:
      at org.docx4j.w14.CTLongHexNumber
      at protected org.docx4j.w14.CTLongHexNumber org.docx4j.wml.CTSettings.docId14
      at org.docx4j.wml.CTSettings
      at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.docx4j.wml.Numbering.numPicBullet
      at org.docx4j.wml.Numbering
      at protected org.docx4j.wml.Numbering org.docx4j.convert.in.word2003xml.Transition03To06.numbering
      at org.docx4j.convert.in.word2003xml.Transition03To06
      at public org.docx4j.convert.in.word2003xml.Transition03To06 org.docx4j.convert.in.word2003xml.ObjectFactory.createTransition03To06()
      at org.docx4j.convert.in.word2003xml.ObjectFactory
Two classes have the same XML type name "CT_Guid". Use @XmlType.name and @XmlType.namespace to assign different names to them.
   this problem is related to the following location:
      at org.docx4j.wml.CTGuid
      at protected java.util.List org.docx4j.wml.CTDocPartPr.nameOrStyleOrCategory
      at org.docx4j.wml.CTDocPartPr
      at public org.docx4j.wml.CTDocPartPr org.docx4j.wml.ObjectFactory.createCTDocPartPr()
      at org.docx4j.wml.ObjectFactory
      at protected java.util.List org.docx4j.wml.CTPictureBase.anyAndAny
      at org.docx4j.wml.CTPictureBase
      at org.docx4j.wml.Pict
      at protected org.docx4j.wml.Pict org.docx4j.wml.Numbering$NumPicBullet.pict
      at org.docx4j.wml.Numbering$NumPicBullet
      at protected java.util.List org.do

Re: Websphere and docx4j

PostPosted: Wed Jan 08, 2014 1:31 am
by atul.tewari
Jason,
We are running into limitations with other libraries we tried like Apache POI. We are planning to open a ticket with IBM as well on this. Is there anything else you can think we have not tried that I should try with docx4j?

Hope you had a wonderful and restful holiday season!

Thanks!

Re: Websphere and docx4j

PostPosted: Wed Jan 08, 2014 6:35 pm
by jason
Opening a ticket with IBM sounds like a logical next step.

jason wrote:IBM-BPM (Lombardi software) comes with office plugins that allow manipulating word documents.


Were you able to find which library this uses (eg docx4j, POI, Aspose, or something else)?

If IBM can't solve the problem, I may be able to have another look at it, if you can tell me exactly what I need to download and from where (assuming free developer downloads are available) in order to repro the problem.

cheers .. Jason
ps, I will shortly move this post to the websphere deployment forum, and rename...

Re: Websphere and docx4j

PostPosted: Wed Jan 08, 2014 11:53 pm
by atul.tewari
Jason,
The MS-Office plugin is for a different purpose.

http://www-01.ibm.com/common/ssi/ShowDoc.wss?docURL=/common/ssi/rep_ca/2/897/ENUS211-092/index.html&request_locale=en
IBM BPM for Microsoft Office -- An optional add-on to all three configurations that enables Microsoft Office users to view and run IBM BPM tasks directly from their Outlook desktop. The Outlook add-on installs a IBM BPM plug-in onto the end-user Office desktop client. An add-on license is required for each production instance of IBM BPM that supports users via the Outlook desktop plug-in.
IBM BPM for Microsoft SharePoint -- An optional add-on to all three configurations that enables Microsoft SharePoint users to view and run IBM BPM tasks directly from webparts that are dropped into SharePoint portal pages. The SharePoint add-on is installed on any SharePoint server that will be used to host interactions with processes via the IBM BPM webparts. An add-on license is required for each production instance of IBM BPM that supports users via the Outlook desktop plug-in.

I am assuming it uses non of the libraries to support this plugin.

Unfortunately, there is no free developer license for IBM-BPM. I will keep you posted as we uncover what conflict is causing issues with docx4j.

Thanks again!
Atul

Re: Websphere and docx4j

PostPosted: Tue Jan 14, 2014 4:12 am
by atul.tewari
Jason,
Here is IBM's response (edited version)
BPM relies on same JAXB libraries as underlying WAS. docx4j is a third party library we do not support from IBM side regarding its implementation but known as heavily JAXB related. The error shown above is clearly defining an issue with duplicate JAXB type names; when we look at the naming we will see clearly that those names are non-IBM classes but are related to docx4j related code →

CT_TwipsMeasure
javax.xml.bind.JAXBException: Provider
com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated:
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 61
counts of IllegalAnnotationExceptions
Two classes have the same XML type name "CT_TwipsMeasure". Use
@XmlType.name and @XmlType.namespace to assign different names to them.

I briefly checked the docx4j sources online and indeed we will find duplicate classes within this implementation of third party code; just referring to above sample it complains about docx4j specific classes:
org.docx4j.wml.CTTwipsMeasure vs. org.docx4j.math.CTTwipsMeasure

@XmlType(name="CT_TwipsMeasure") @XmlType(name="CT_TwipsMeasure")
public class CTTwipsMeasure public class CTTwipsMeasure

Above two samples of classes that remain in different packages but are both declared with same XmlType; I cannot say how docx4j works internally or how it is loading classes; but the exception seen refers to the circumstances that there are duplicates as above.

Similar issues with same symptoms have already been reported earlier for docx4j project:


https://java.net/projects/jaxb/lists/us ... message/22

docx-java-f6/how-to-create-a-document-that-use-msoffice-vml-object-t56.html


Re: Websphere and docx4j

PostPosted: Wed Jan 15, 2014 5:30 pm
by jason
Hi Atul

Well, IBM's response so far seems singularly unhelpful!

Each Java package in docx4j which contains JAXB objects also contains a package-info.java file, containing @XmlSchema:

http://docs.oracle.com/javase/7/docs/ap ... chema.html

Maybe IBM's implementation is failing to read those? You might first verify the package-info files are present in your docx4j jar, for example in org.docx4j.wml.

You could try escalating with IBM.

Alternatively, docx4j supports using the MOXy JAXB implementation. To try this, add (in Maven dep format):

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
                <dependency>
                        <groupId>org.docx4j</groupId>
                        <artifactId>docx4j-MOXy-JAXBContext</artifactId>
                        <version>3.0.0</version>
                </dependency>
                        <dependency>
                                <groupId>org.eclipse.persistence</groupId>
                                <artifactId>org.eclipse.persistence.moxy</artifactId>
                                <version>2.5.1</version>
                        </dependency>
 
Parsed in 0.002 seconds, using GeSHi 1.0.8.4


docx4j-MOXy-JAXBContext can also be found at http://www.docx4java.org/docx4j/docx4j- ... onal/MOXy/

kind regards .. Jason

Re: Websphere and docx4j

PostPosted: Wed Jan 15, 2014 10:40 pm
by atul.tewari
Thanks Jason. For now we are wrapping up our development using Apache POI. But I definitely want to try MOXy and also verify package-info.java exists.

I will try this in the next week or two. Thanks again!

Atul

Re: Websphere and docx4j

PostPosted: Fri Feb 07, 2014 3:51 pm
by jason
Interestingly your post of 25 Dec says you are using Java version = 1.6.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM

I thought I'd test IBM Java standalone (on Windows) ie without websphere.

The 1.6.0 version I tried (see below) seems fine with docx4j:

Code: Select all
C:\Program Files\IBM\Installation Manager\eclipse\jre_6.0.0.sr9_20110208_03\jre>bin\java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwa6460sr9fp1-20110208_03(SR9 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows 7 amd64-64 jvmwa6460sr9-20110203_74623 (JIT enabled, AOT enabled)
J9VM - 20110203_074623
JIT  - r9_20101028_17488ifx3
GC   - 20101027_AA)
JCL  - 20110203_01

its rt.jar of 8/02/2011 includes:
com\sun\xml\internal\bind 

MOXy
---------

C:\Program Files\IBM\Installation Manager\eclipse\jre_6.0.0.sr9_20110208_03\jre\dist>..\bin\java   -cp antlr-2.7.7.jar;a
ntlr-runtime-3.3.jar;avalon-framework-api-4.3.1.jar;avalon-framework-impl-4.3.1.jar;batik-anim-1.7.jar;batik-awt-util-1.
7.jar;batik-bridge-1.7.jar;batik-css-1.7.jar;batik-dom-1.7.jar;batik-ext-1.7.jar;batik-extension-1.7.jar;batik-gvt-1.7.j
ar;batik-js-1.7.jar;batik-parser-1.7.jar;batik-script-1.7.jar;batik-svg-dom-1.7.jar;batik-svggen-1.7.jar;batik-transcode
r-1.7.jar;batik-util-1.7.jar;batik-xml-1.7.jar;commons-codec-1.3.jar;commons-io-1.3.1.jar;commons-lang-2.4.jar;commons-l
ogging-1.1.1.jar;docx4j-3.0.1-SNAPSHOT.jar;docx4j-MOXy-JAXBContext-3.0.0.jar;fop-1.1.jar;jaxb-svg11-1.0.2.jar;jaxb-xmlds
ig-core-1.0.0.jar;jaxb-xslfo-1.0.1.jar;log4j-1.2.17.jar;mail-1.4.jar;org.eclipse.persistence.antlr-2.5.1.jar;org.eclipse
.persistence.asm-2.5.1.jar;org.eclipse.persistence.core-2.5.1.jar;org.eclipse.persistence.moxy-2.5.1.jar;poi-3.8.jar;poi
-scratchpad-3.8.jar;serializer-2.7.1.jar;slf4j-api-1.7.5.jar;slf4j-log4j12-1.7.5.jar;stringtemplate-3.2.1.jar;wmf2svg-0.
9.0.jar;xalan-2.7.1.jar;xmlgraphics-commons-1.5.jar  org.docx4j.samples.CreateWordprocessingMLDocument

INFO org.docx4j.jaxb.Context .<clinit> line 73 - java.vendor=IBM Corporation
INFO org.docx4j.jaxb.Context .<clinit> line 74 - java.version=1.6.0
INFO org.docx4j.jaxb.Context .<clinit> line 95 - MOXy JAXB implementation intended..
INFO org.docx4j.jaxb.Context .<clinit> line 142 - MOXy JAXB implementation is in use!
INFO org.docx4j.jaxb.NamespacePrefixMapperUtils .getPrefixMapper line 61 - Using NamespacePrefixMapperSunInternal, which
is suitable for Java 6



no MOXy
-------------

C:\Program Files\IBM\Installation Manager\eclipse\jre_6.0.0.sr9_20110208_03\jre\dist>test-NotMOXy

C:\Program Files\IBM\Installation Manager\eclipse\jre_6.0.0.sr9_20110208_03\jre\dist>..\bin\java   -cp antlr-2.7.7.jar;a
ntlr-runtime-3.3.jar;avalon-framework-api-4.3.1.jar;avalon-framework-impl-4.3.1.jar;batik-anim-1.7.jar;batik-awt-util-1.
7.jar;batik-bridge-1.7.jar;batik-css-1.7.jar;batik-dom-1.7.jar;batik-ext-1.7.jar;batik-extension-1.7.jar;batik-gvt-1.7.j
ar;batik-js-1.7.jar;batik-parser-1.7.jar;batik-script-1.7.jar;batik-svg-dom-1.7.jar;batik-svggen-1.7.jar;batik-transcode
r-1.7.jar;batik-util-1.7.jar;batik-xml-1.7.jar;commons-codec-1.3.jar;commons-io-1.3.1.jar;commons-lang-2.4.jar;commons-l
ogging-1.1.1.jar;docx4j-3.0.1-SNAPSHOT.jar;fop-1.1.jar;jaxb-svg11-1.0.2.jar;jaxb-xmldsig-core-1.0.0.jar;jaxb-xslfo-1.0.1
.jar;log4j-1.2.17.jar;mail-1.4.jar;poi-3.8.jar;poi-scratchpad-3.8.jar;serializer-2.7.1.jar;slf4j-api-1.7.5.jar;slf4j-log
4j12-1.7.5.jar;stringtemplate-3.2.1.jar;wmf2svg-0.9.0.jar;xalan-2.7.1.jar;xmlgraphics-commons-1.5.jar  org.docx4j.sample
s.CreateWordprocessingMLDocument

INFO org.docx4j.jaxb.Context .<clinit> line 73 - java.vendor=IBM Corporation
INFO org.docx4j.jaxb.Context .<clinit> line 74 - java.version=1.6.0
INFO org.docx4j.jaxb.Context .<clinit> line 97 - No MOXy JAXB config found; assume not intended..
INFO org.docx4j.jaxb.NamespacePrefixMapperUtils .getPrefixMapper line 61 - Using NamespacePrefixMapperSunInternal, which
is suitable for Java 6
INFO org.docx4j.jaxb.Context .<clinit> line 106 - Using Java 6/7 JAXB implementation
INFO org.docx4j.jaxb.Context .<clinit> line 144 - Not using MOXy.


Given that on 19 Dec everything "just worked" straight out of the box for me with WebSphere Application Server 8.5.5.1 Liberty Profile on Win 7 x64, without the IBM JVM, it really does seem that the issues are specific to the presence of IBM-BPM (Lombardi software) in your environment (possibly classloader config and old JAXB).

Locking this topic now. Please feel free to start a new one.