Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Launching TC rich client help using F1

Hi,

 

I am using TC 10.1 rich client and having trouble launching application specific help. Whenever I launch a dialog in TC (e.g 'Tools->Reports->Report builder reports->Report Generation Wizard’ dilaog) and try to launch the help related to it by hitting F1 key, nothing happens. This happens in case of some views also. I checked the log file and it seems something is wrong with the help system. The log file has an error as below.

 

ERROR 2018-11-19 11:31:58,838 - org.eclipse.core.runtime - org.eclipse.ui - 4 - Unable to instantiate help UI
ERROR 2018-11-19 11:32:32,381 - org.eclipse.core.runtime - org.eclipse.ui - 4 - Unable to instantiate help UI.

WARN 2018-11-19 11:41:05,373 - org.eclipse.core.runtime - org.eclipse.ui.workbench - 0 - Conflict for 'com.teamcenter.rac.help.application': 

HandlerActivation(commandId=com.teamcenter.rac.help.application,
handler=com.teamcenter.rac.aif.commands.help.DefaultHelpHandler@792610bb,
expression=org.eclipse.core.internal.expressions.AndExpression@574ac34d,sourcePriority=4194304)

 

What could be the possible reason and reslotion? I have attached the log file. Any inputs are appreciated. 

 

 

Regards,

Satyenjit Bagal.

9 REPLIES

Re: Launching TC rich client help using F1

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
The following are assumptions:
Teamcenter 10.1.0 (base w/no MP's nor patches).
You've installed the SPLM Documentation Server.
C:\Program Files\Siemens\PLM Documentation Server
You've installed the Tc10.1.0 Teamcenter Help files.
splmdocserver\wntx64\splmdocserver_install.pdf
You are using port 8282.
You've modified PORTAL_ROOT\plugins\configuration_10000.1.0\site_specific.properties
portalHelpWebServer=http://<server>:8282
portalHelpPage=/tdoc/tc/10.1.0/help/
You run IE in compatibility mode
Tools -> Compatibility View Setting -> and check the box for "Display all website in Compatibility View"
Options > Security, select Zone, click Custom Level, enable Initialize and script ActiveX controls is not marked safe for scripting
You've set Tc preferences
WEB_help_server
WEB_core_help_server

https://support.industrysoftware.automation.siemens.com/docs/teamcenter/10.1/help/index.html#uid:xid...
https://support.industrysoftware.automation.siemens.com/docs/teamcenter/10.1/help/index.html#uid:ind...
https://support.industrysoftware.automation.siemens.com/docs/teamcenter/10.1/help/index.html#uid:ind...
https://support.industrysoftware.automation.siemens.com/docs/teamcenter/10.1/help/en_US/graphics/gra...

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Launching TC rich client help using F1

Thank you, Randy. I started checking my TC installation as per your instructions and here is what I found:  

 

Exact TC version: 10 (10.1.6(20160315.00)) 64-bit

 

SPLM documentation server was not installed, so I installed it (Siemens PLM Documentation Server.msi) and now it is running. While installation I did not modify any setting and went ahead with defaults. 

 

Teamcenter Help files were not installed, so I am trying to install it using 'tchelp.exe' but getting errors. I found similar posts and managed to fix Java error. The posts I referred are as below. 

 

  1. https://community.plm.automation.siemens.com/t5/Teamcenter-Administrators-Forum/Teamcenter-10-1-6-ca...
  2.  https://community.plm.automation.siemens.com/t5/Teamcenter-Administrators-Forum/Why-do-I-get-no-feat...

 

But, I am still having trouble with installation. The exe just exits with no error. One of the posts mentions downloading the latest 'tchelp.exe' from GTAC website. I am not able to find the link for this. Please provide me the link.

Re: Launching TC rich client help using F1

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
Can you attach plm_helpserver.properties? You can find its location in the registry:
Siemens PLM Documentation Server
HKLM\Software\Wow6432Node\Apache Software Foundation\Procrun 2.0\Siemens PLM Documentation Server\Parameters
Note 1: you can increase JvmMs and JvmMx while you're at it. The default values are 192 and 320 respectively and you'll likely want to increase those settings. e.g. 512 and 1024 is a good start depending on the number of expected concurrent users.
Note 2: Ensure that you are using a valid login name and password for these services (Log On > This Account).
Note 3: Ensure that ports 8283 (SOLR) and 8282 (DOCS) are opened in the firewall.

Siemens PLM Solr Server
HKLM\Software\Wow6432Node\Apache Software Foundation\Procrun 2.0\Siemens PLM Solr Server\Parameters

You can also increase the log level for the Documentation Server using:
HKLM\Software\Wow6432Node\Apache Software Foundation\Procrun 2.0\Siemens PLM Documentation Server\Parameters\Log\Level
HKLM\Software\Wow6432Node\Apache Software Foundation\Procrun 2.0\Siemens PLM Solr Server\Parameters\Log\Level
Note: set the level to DEBUG, restart the windows services, then try running tchelp.exe w/"Run as administrator" again and review the service log in C:\Windows\System32\LogFiles\Apache

Also, review the tdoc_client.txt and data_service.txt logs at C:\Program Files\Siemens\PLM Documentation Server\logs\ after setting DEBUG and retrying the exe. SOLR logs are at C:\Program Files\Siemens\PLM Documentation Server\SolrServer\logs\.

Right-click cmd.exe "Run as administrator"
cd
tchelp LAX_VM "C:\Program Files\Java\jre1.8.0_151\bin\java.exe"
Where, "C:\Program Files\Java\jre1.8.0_151\bin\java.exe" is the full path to java.exe on your system.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Launching TC rich client help using F1

Attaching the file 'plm_helpserver.properties'.

 

I am trying other steps you mentioned.

Re: Launching TC rich client help using F1

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
Do you have other web servers (or IIS) configured on the same server? For instance, JBoss may be using rmi port 1099. The default ports for doc server are 8282 and solr is 8283 yet properties file shows 8181? Was this a default install?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Launching TC rich client help using F1

Yes, this was a default install of SPLM server. I just re-installed it using port 8282. Now 'solr' points to 8282. My insstallation of 'tchelp.exe' is aborting without any notification. I need to check if any other web servers (or IIS) configured on the same server.

 

 

Image 19-Nov-18 04.31.06 PM.gif

 

In my registry I do not have the entry 'Siemens PLM Solr Server' as shown here - 

 

Image 19-Nov-18 04.41.39 PM.gif

 

 

FYI - This issue is observed for all the users in my organization.  

Re: Launching TC rich client help using F1

Randy,

 

I do not have IIS installed on my system. When I try to reach 'http://localhost:8282/' I see below web page. I am not sure if this is related to TC. 

 

For 'http://localhost:8283' I get no page found. Therefore, none other servers are running on these ports. 

 

Image 19-Nov-18 04.52.14 PM.gif

 

 

Re: Launching TC rich client help using F1

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
Your answers are confusing me. The doc server is 8282 which is correct according to your screen shot. It does not appear that SOLR is installed (8283).

What issue is observed by your whole organization? You are only installing one Doc Server, yes? Not one per client.

I think you need to reach out to GTAC since they can help you better than I can here.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Launching TC rich client help using F1

Randy,

 

I checked invoking the TC help on system of 4-5 different users and for all of them it does not work. The log file shows same error for all. We do not have a doc server setup on any system.  Now, I am trying to set doc server on my machine and then make the TC help to invoke correctly. Once I am successful, I can set it up on a server and then all users can access it.

 

I am currently trying to install SOLR using resources at - https://lucene.apache.org/solr/guide/7_0/installing-solr.html.

 

I will get in touch with reseller/GTAC for setting up the server. Thank you for ypur inputs.