- Developer is able to deploy Content service war successfully in local environment.
- On Websphere 9.0.5, Content service is deployed but displays None instead of expected endpoints as in below screenshot.
- In Websphere
stdout.log, below stacktraces are seen
2021-05-20 09:02:38,802 ERROR ContentV2Controller - Error handling Content V2 request.
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.LinkageError: loading constraint violation when overriding method
"javax/xml/bind/Marshaller.marshal(Ljava/lang/Object;Ljavax/xml/transform/Result;)V" during creation of class "com/sdl/web/content/odata/xml/WrappedMarshaller":
loader "com/ibm/ws/classloader/CompoundClassLoader@803a5032" of class "com/sdl/web/content/odata/xml/WrappedMarshaller" and loader
"com/ibm/oti/vm/BootstrapClassLoader@83a13c86" of class "javax/xml/bind/Marshaller" have different types for the method signature
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:978)
...
[5/20/21 8:56:43:988 EDT] 00000303 SystemErr R Uncaught error from thread [ODataAkkaSpringContext-akka.actor.default-dispatcher-37] shutting down JVM since
'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[ODataAkkaSpringContext]
[5/20/21 8:56:43:989 EDT] 00000303 SystemErr R java.lang.ExceptionInInitializerError
...
[5/20/21 8:59:32:281 EDT] 000001f3 SystemErr R at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[5/20/21 8:59:32:281 EDT] 000001f3 SystemErr R at java.lang.Thread.run(Thread.java:822)
[5/20/21 8:59:32:282 EDT] 000001f3 SystemErr R Caused by: java.lang.ClassCastException: com.ibm.xml.xlxp2.api.stax.XMLOutputFactoryImpl incompatible with
javax.xml.stream.XMLOutputFactory