Author Topic: failed to retreive a document  (Read 3237 times)

Sushma

  • Newbie
  • *
  • Posts: 1
failed to retreive a document
« on: January 29, 2014, 11:46:58 AM »
Getting this error msg when trying to retreive

00002e SystemErr     R com.ibm.edms.od.ODException: The client application is unable to initialize server communications.  Contact your system administrator.
[1/29/14 13:42:45:077 EST] 0000002e SystemErr     R    at com.ibm.edms.od.ODServer.getFolders(ODServer.java:1110)
[1/29/14 13:42:45:077 EST] 0000002e SystemErr     R    at com.ibm.edms.od.ODServer.openFolder(ODServer.java:709)

javed.khan

  • Jr. Member
  • **
  • Posts: 25
Re: failed to retreive a document
« Reply #1 on: January 30, 2014, 02:29:28 AM »
Check to see that the server is running and that TCP/IP is started. Use the ARSSOCK= debug parameter to help you identify possible TCP/IP errors.

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
Re: failed to retreive a document
« Reply #2 on: February 03, 2014, 12:28:29 AM »
Hello Sushma,

Well let start with the beginning...

What ODWEK and CMOD Server version do you have?

Has your program work before or not?
If yes, what has changed in your environment that now it doesn't work?

If your program doesn't work, could we have the minimum java program to do what you want to do?
Normally a minimal java program should look something like that:

Code: [Select]
    ODConfig odConfig = new ODConfig();
    ODServer odServer = new ODServer(odConfig);
    odServer.setServerName("localhost");
    odServer.setPort(1445);
    odServer.setUserId("ADMIN");
    odServer.setPassword("password");
    odServer.initialize("/applets");
   
    odServer.logon();   
    System.out.println("CMOD is alive");
    odServer.logoff();
    odServer.terminate();

Well any additional information would be helpful :-)
For example, do you do some CMOD connection polling? How do you do it?
etc... etc... there are tons of possibility why it might go wrong.

But my first impression would be that you didn't do a "ODServer.initialize()".

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

jeffs42885

  • Guest
Re: failed to retreive a document
« Reply #3 on: February 17, 2014, 08:04:50 AM »
Check the resources on the library server, as well as the uptime. If you can replicate the error in a lower tier, open two windows

1) performing the issue/retrieve
2) type topas in your shell window and monitor resources.

Thanks,

Jeff