Page 1 of 1

TM1 Java API - Need help getting started

Posted: Fri Feb 13, 2015 5:25 pm
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!

Re: TM1 Java API - Need help getting started

Posted: Fri Feb 13, 2015 6:22 pm
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.

Re: TM1 Java API - Need help getting started

Posted: Fri Feb 13, 2015 7:05 pm
by Eruadan
Thanks! That solved the issue!