Connection of TM1 application from java API
Posted: Mon Jan 04, 2010 5:55 am
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.}
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.}