Author Topic: Installing ODWEK 10.1 on Linux  (Read 1681 times)

dineshkhanna04

  • Newbie
  • *
  • Posts: 5
    • View Profile
Installing ODWEK 10.1 on Linux
« on: May 27, 2021, 08:10:31 AM »
Hi, everyone!!!

We have installed ODWEK 10.1 on Linux VM using the base installation of CMOD 10.1 package. On this server we also have ODWEK 9.5 which is already installed and working without any issues. We developed a webservice and deployed it on Websphere server. On Websphere Application Server, we only have one server (icn_appserver01) where we mapped the path "/opt/ibm/ondemand/V9.5/www" on LD_LIBRARY_PATH environment entry. When using V9.5/www path on environment entry, our webservice is working as expected. But when we change the LD_LIBRARY_PATH and map it to new ODWEK10.1 "/opt/ibm/ondemand/V10.1/www" it is throwing the below error.

java.lang.NoClassDefFoundError: com.ibm.edms.od.ArsWWWInterface (initialization failure)
        at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:97) ~[?:2.9 (07-29-2020)]
Caused by: java.lang.UnsatisfiedLinkError: ars3wapi32 (Not found in java.library.path)
        at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1462) ~[?:2.9 (07-29-2020)]

CLASSPATH entry is also updated to "/opt/ibm/ondemand/V10.1/www/ODApi.jar"

Is there anything I missed.

Thanks

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
Re: Installing ODWEK 10.1 on Linux
« Reply #1 on: May 27, 2021, 10:11:58 AM »
Is this happening when you try to add the CMOD repository in ICN?
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

dineshkhanna04

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Installing ODWEK 10.1 on Linux
« Reply #2 on: May 27, 2021, 12:06:16 PM »
Hi Jsquizz,

No, we are not trying anything related to ICN. We have developed a java API which connects to CMOD server running on a different VM. This API is deployed on Websphere server where we now have 2 versions of ODWEK, 9.5 and 10.1. API is able to connect to CMOD server if we use the paths of V9.5 on WAS environment entries. But when we point the environment entries to V10.1 path we are getting this error.

Thanks

Darrell Bryant

  • Full Member
  • ***
  • Posts: 104
  • Sed fugit interea fugit inreparabile tempus-Virgil
    • View Profile
Re: Installing ODWEK 10.1 on Linux
« Reply #3 on: May 28, 2021, 05:27:18 AM »
You said that you are using a base 10.1 install. In case you install the 10.1.0.5 or higher fixpack you should be aware of the following tip published in the 3Q2019 OnDemand newsletter.

ODWEK Java API users need to update CLASSPATH

Beginning with server version 10.1.0.5, customer applications that are using the Content Manager OnDemand Web Enablement Kit (ODWEK) Java APIs will need to include the Gson jar file, with path, in the CLASSPATH for the application. The file name for Gson version 2.8.1 is gson-2.8.1.jar and can be found in the <CMOD install directory>/jars directory, where CMOD install directory is your Content Manager OnDemand installation directory.
For example, the file name for Gson version 2.8.1 is gson-2.8.1.jar.  If this is the name of your most current Gson file, the CLASSPATH statement must be updated to include:

AIX:
CLASSPATH=/opt/IBM/ondemand/V10.1/jars/gson-2.8.1.jar
Linux:
CLASSPATH=/opt/ibm/ondemand/V10.1/jars/gson-2.8.1.jar
Windows:
CLASSPATH=C:\Program Files\IBM\OnDemand\V10.1\jars\gson-2.8.1.jar
IBM i
CLASSPATH=/QIBM/ProdData/OnDemand/jars/gson-2.8.1.jar.
#IBMi #iSeries #PDF #XML #400 Indexer #ASM

dmalvi19

  • Guest
Re: Installing ODWEK 10.1 on Linux
« Reply #4 on: June 01, 2021, 12:09:39 AM »
I kind of faced similar issue where there was same error when I was using V10.1 but things were running fine on V9.5.
the issue was with the "Linux version".
for CMOD v10.1 minimum need is RHEL 7.2 and for v9.5 minimum need is RHEL  6.4, and I was lower then 7.2, once we upgraded it started working.

check your RHEL version, may be this is causing some conflict.

https://www.ibm.com/software/reports/compatibility/clarity-reports/report/html/softwareReqsForProduct?deliverableId=E877A7C04AB511E5BB33E7199C786195

All the best.