Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

ClassCastException while calling tWebService

Hi,

 

I have a twebservice component which runs fine with in the studio environment. However, when i deploy to a linux server, i get an ClassCastException which seems to be originating from the apache cxf component.

 

Stracktrace :

 

2018-01-25 18:54:01,192 WARN [org.apache.cxf.bus.extension.ExtensionManagerImpl] Loading Bus extensions via META-INF/cxf/bus-extensions.xml (found url jar:file:/data5/TalendEE/jboss-4.2.2.GA/server/default/tmp/deploy/tmp5616080712500284711tem.ear-contents/lib/z.cxf-2.2.5.jar!/META-INF/cxf/bus-extensions.xml) is deprecated. Use META-INF/cxf/bus-extensions.txt instead.
2018-01-25 18:54:01,464 WARN [org.apache.cxf.common.injection.ResourceInjector] method annotated by @PostConstruct throws exception when invoked
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.cxf.common.injection.ResourceInjector.invokePostConstruct(ResourceInjector.java:346)
at org.apache.cxf.common.injection.ResourceInjector.construct(ResourceInjector.java:125)
at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:224)
at org.apache.cxf.bus.extension.ExtensionManagerImpl.initialize(ExtensionManagerImpl.java:118)
at org.apache.cxf.bus.extension.ExtensionManagerBus.doInitializeInternal(ExtensionManagerBus.java:147)
at org.apache.cxf.bus.CXFBusImpl.initialize(CXFBusImpl.java:191)
at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:43)
at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:36)
at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:32)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:99)
at org.apache.cxf.BusFactory.createThreadBus(BusFactory.java:165)
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:155)
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:140)

Labels (4)
2 Replies
Anonymous
Not applicable
Author

Hello,

The job design should be Ok without error if it runs fine with in the studio environment. It looks like a build problem.

Did you build your job as a standalone job and execute it (.sh file)on your linux server? Could you please show us your build job screenshot?

Best regards

Sabrina

 

Anonymous
Not applicable
Author

Here is the job screenshot.

 

0683p000009Lsq1.pngoccurs in the twebservice component