Re: Xstream-1.4.18 jar issue

88 views
Skip to first unread message
Message has been deleted

Jörg Schaible

unread,
Feb 2, 2022, 1:57:34 PM2/2/22
to XStream User

Hi Vageesha,


all that I can do is to point you to the change history and the optional dependencies. Especially if you have the version running in one environment, but not in the other.


Regards,

Jörg


On Wednesday, 2. February 2022, 15:53:02 CET Vageesha Basutkar wrote:

> Hi Team,

>

> We are hitting a roadblock while the loading of xstream-1.4.18.jar version

> in our application, requesting support / suggestions.

>

> Issue - After Application deployment in Production Environment,

> xstream-1.4.18.jar is found in the deployment path but not loaded in to the

> Application Class path causing feature failure in the Application.

>

> Same build having xstream-1.4.18.jar version, working fine in other Test

> Environments but not working only in Production Environment.

> Test and Prod Environments configurations are same.

>

> We created the new build with old version xstream-1.4.16.jar, it went

> through without any hiccups in both Test and Prod Environments.

>

> We need help to understand what are the dependencies to take care for

> xstream-1.4.18.jar usage.

>

> Application is on WAS version - 8.5.5.19 with the JAVA 1.8.

>

> Steps tried below on WAS Server but still situation remains same - Xstream

> 1.4.18 jar not loaded on Application Classpath only in Production

> Environment,

>

> 1) Synchronized all nodes and restarted all JVMs

>

> 2) Reviewed the path / permission / ownership and compared with other env.

>

> 3) Added classpaths to all JVMs

>

> 3) Added classpath to only one JVM

>

> 4) Full WAS restart

>

> 5) Redeployed same build.

>

> 6) Synchronized DMgrs on WAS Servers.

>

> 7) Added xstream jar to manifest file Classpath to the Services component

> of the Application

>

>

>

> Regards,

> Vageesha



Message has been deleted

Jörg Schaible

unread,
Feb 2, 2022, 6:30:05 PM2/2/22
to XStream User
Hi Vageesha,

and what should this stack trace tell me, except that it cannot instantiate a
HierarchivalStreamDriver? It does not even print a cause. I don't know Drools
nor this IBM stuff, not WAS nor the rest of the runtime environment.

Sorry,
Jörg

On Wednesday, 2. February 2022, 20:25:29 CET Vageesha Basutkar wrote:
> Hi Jorg,
>
> This is the exception occur in Production, indicating that JVM looked into
> its internal class definition but did not find it (also mean previously
> attempted to load a class from the classpath and it failed). Please have a
> look on Exception Stack trace and if anything to suggest.
>
> "BeanId(finance_glui#GluiServices.jar#WCAViewJournalServiceBean, null)".
> *Exception data: java.lang.NoClassDefFoundError:
> com.thoughtworks.xstream.io.HierarchicalStreamDriver*
> at
> org.drools.compiler.kproject.models.KieModuleModelImpl.<clinit>(KieModuleMod
> elImpl.java:146) at
> org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieModuleModel(KieSe
> rvicesImpl.java:153) at
> org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieModuleModel(KieB
> uilderImpl.java:395) at
> org.drools.compiler.kie.builder.impl.KieBuilderImpl.init(KieBuilderImpl.java
> :116) at
> org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.
> java:154) at
> com.ibm.finance.glui.rulesengine.core.SingletonGLUIRulesValidator.createKieC
> ontainer(SingletonGLUIRulesValidator.java:349) at
> com.ibm.finance.glui.rulesengine.core.SingletonGLUIRulesValidator.createKieS
> ession(SingletonGLUIRulesValidator.java:111) at
> com.ibm.finance.glui.rulesengine.core.SingletonGLUIRulesValidator.<init>(Sin
> gletonGLUIRulesValidator.java:99) at
> com.ibm.finance.glui.rulesengine.core.SingletonGLUIRulesValidator.getInstanc
> e(SingletonGLUIRulesValidator.java:70) at
> com.ibm.finance.glui.service.wca.WCAViewJournalServiceBean.refreshCache(WCAV
> iewJournalServiceBean.java:3584) at
> com.ibm.finance.glui.service.wca.WCAViewJournalServiceBean.validateAccountIt
> em(WCAViewJournalServiceBean.java:4136) at
> com.ibm.finance.glui.service.wca.EJSLocal0SLWCAViewJournalServiceBean_43e1f5
> 8a.validateAccountItem(EJSLocal0SLWCAViewJournalServiceBean_43e1f58a.java)
> at
> com.ibm.finance.glui.delegate.wca.WCAViewJournalBD.validateAccountItem(WCAVi
> ewJournalBD.java:1226) at
> com.ibm.finance.glui.delegate.wca.WCAViewJournalBD.doBusiness(WCAViewJournal
> BD.java:456) at
> com.ibm.finance.glui.web.struts.action.wca.WCAViewJournalAction.saveAccountL
> ineItemChanges(WCAViewJournalAction.java:6659)
>
> Regards,
> Vageesha
>
> On Thursday, February 3, 2022 at 12:27:34 AM UTC+5:30 joehni wrote:
> > Hi Vageesha,
> >
> > all that I can do is to point you to the change history
> > <https://x-stream.github.io/changes.html> and the optional dependencies
> > <https://x-stream.github.io/download.html#optional-deps>. Especially if

Vageesha Basutkar

unread,
Feb 3, 2022, 9:24:27 AM2/3/22
to XStream User

Jörg Schaible

unread,
Feb 3, 2022, 4:57:29 PM2/3/22
to XStream User
On Thursday, 3. February 2022, 15:13:21 CET Vageesha Basutkar wrote:

[snip]

please stop this. Just because you did not get an answer you do not like, it
does not mean that you can repeatedly post the same question here on and on
again. Every subscriber got it now 5 timers and it is enough.

Regards,
Jörg


Vageesha Basutkar

unread,
Feb 3, 2022, 11:29:58 PM2/3/22
to XStream User
 Hi Jörg,

Its by mistake main message got deleted, reposted it. Sorry for that.

Going through the change history and the optional dependencies which you pointed me. Thank you.

Regards,
Vageesha

 
Reply all
Reply to author
Forward
0 new messages