Hi,
Currently I have written a code in tm1 java api which communicates with application running on data server.
TM1Bean tm1_bean = new TM1Bean();
TM1Server tm1_server = tm1_bean.openConnection("application1", "username", "password");
I need to know, if I have to execute this java code from another PC/Server to communicate with application1 what do I have to pass in openConnection.. Will IP work?? What are other ways to do so..? Is it possible to create some DSN or something.. Please guide.
I am trying to do this... coz initially my server was having 2 GB RAM and my java code works fine.. after enhancing it to 16 GB my java code executing partially giving a JVM crash error..After trying to find the root cause, we reduced the RAM to 8 GB. Now the code is getting executed and then crashes (jvm)..
Thanks and Regards,
Sushanti
{Admin note: Moved out of the Enhancements sub-forum.}
Connection of TM1 application from java API
-
- Posts: 12
- Joined: Thu Oct 29, 2009 8:05 am
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: 2007
Re: Connection of TM1 application from java API
Thanks for viewing my post.
I have managed to get the solution.
i added the following code :
TM1Bean bean = new TM1Bean();
bean.setAdminHost("computer_name");
bean.setAdminPort(8000);
TM1Server tm1_server = tm1_bean.openConnection("application1", "username", "password");
Hence, I can execute my code from another machine and access TM1 application lying on another server.
Thanks
I have managed to get the solution.
i added the following code :
TM1Bean bean = new TM1Bean();
bean.setAdminHost("computer_name");
bean.setAdminPort(8000);
TM1Server tm1_server = tm1_bean.openConnection("application1", "username", "password");
Hence, I can execute my code from another machine and access TM1 application lying on another server.
Thanks