TM1 Java API - Need help getting started

Post Reply
Eruadan
Posts: 4
Joined: Fri Feb 13, 2015 4:08 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

TM1 Java API - Need help getting started

Post by Eruadan »

Hello everyone,

I've recently began playing with the TM1 Java API. However all my attempts to even connect have resulted in "SystemServerNotFound" and the TM1Bean's getnumberofservers is always -1.

I looked through these forums extensively and tried various methods to fix this problem. I feel as if my IDE (NetBeans) isn't properly configured to connect to the TM1 Admin Server. Perhaps something to do with SSL connections? I've imported applixca.der using Java's keystore and still no success. So I'm hoping someone here may be able to help me get things started. Below is my code.

TM1Connection.java -> http://pastebin.com/HMXgGML2
TM1CAMConnector.java -> http://pastebin.com/6pm2e3aR

Overall, pretty simple code, but for some reason I keep getting systemservernotfound and -1

Thanks in advance!
BrianL
MVP
Posts: 264
Joined: Mon Nov 03, 2014 8:23 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2 PA2
Excel Version: 2016

Re: TM1 Java API - Need help getting started

Post by BrianL »

Eruadan wrote:Perhaps something to do with SSL connections? I've imported applixca.der using Java's keystore and still no success.
Yes, I'd guess it's the SSL certificate. Check the guide at http://www-01.ibm.com/support/docview.w ... wg21414527. Note: That guide says to use applixca.pem NOT applixca.der as you described.
Eruadan
Posts: 4
Joined: Fri Feb 13, 2015 4:08 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: TM1 Java API - Need help getting started

Post by Eruadan »

Thanks! That solved the issue!
Post Reply