Skip to main content
1-Visitor
June 12, 2015
Question

How to start 'windchill profiler' on slave machine, in cluster environment?

  • June 12, 2015
  • 2 replies
  • 2000 views

Windchill is installed on cluster environment & profiler works on BMS but not on Slaves, it gives error on slave 'Unable to connect to Windchill', no prompt for credentials.

2 replies

7-Bedrock
June 12, 2015

If I'm not wrong profiler requires a FG method server to run with a command: windchill --javaArgs=-Xmx512M wt.tools.profiler.WindchillProfiler. It doesn't matter if it's slave or master.

In the profiler you can filter for bgms if you want but only in case you started on that specific node. Are you on linux or windows? If linux do you have X11 forwarded?

1-Visitor
June 16, 2015

Tried executing command windchill --javaArgs=-Xmx512M wt.tools.profiler.WindchillProfiler, same error. I am using Windows.

13-Aquamarine
June 18, 2015

What is the full stack trace of the error message when you try to start the profiler? That might give us a better idea of why it can't connect to Windchill. What version of Windchill are you using?

1-Visitor
June 13, 2015

I remember, profiler gets connected to WTadapter and BGMS does not have one. So in the background node which does have WTadapter, profiler should not work. Do you have a local mapping for your cluster URL in your slaves?

You can also use JConsole for profiling

Select com.ptc > MethodServers > MethodServer> com.ptc > WindchillProfiler > Attributes

    • Enter the full path of the output file in  CanonicalFilename(D:\ptc\test.prof)
    • Set SQLProfilingEnabled &  TaskProfilingEnabled to true
    • Set ProfilerUserName to the username(eg: wcadmin) which you want to profile

Thanks

Binesh