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

no custom stylesheets displayed if RAC DEBUG activated

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

We're struggle with freezing problems of 4-tier client at our customer site. The client freezes with (Swing UI / SWT UI Thread is not responding on 4-tier RAC). There is a open IR for that issue, although Siemens like to close the IR, because it is no software problem. We still don't know why that's happen. Also, we're not able to reproduce the issue directly. The client freeze during work, but we don't know when.

 

Hence, GTAC advice us to enable server and client side debug logging to upload the logs for further investigation. When activate RAC logging with aligned TcLogger.properties, most of our custom rendering summary stylesheets of item revisions didn't get loaded anymore. I found java.lang.NullPointerException in RAC debug log, but nothing in server debug log or server journal debug log.

 

RAC debug log to big to upload, but some fragments may explains the problem.

I need help from system experts to figure out the stylesheet problem.

 

 

 

Michael
Teamcenter UA | NX CAD
5 REPLIES 5

Re: no custom stylesheets displayed if RAC DEBUG activated

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
Usually, TextService issues can be resolved by rebuilding the Client Meta Cache and Shared Memory. You will need to shutdown Teamcenter and all the services except for the FSC service that owns the FMS Master. Delete the shared memory directory (Note: you will not be able to delete it if any processes are accessing it).

Then open a Teamcenter command window and run:
# Delete
generate_metadata_cache -u=infodba -p=infodba -g=dba -delete -log %TC_TMP_DIR%
generate_client_meta_cache -u=infodba -p=infodba -g=dba -t delete all
# Regenerate
generate_client_meta_cache -u=infodba -p=infodba -g=dba -t generate all
generate_metadata_cache -u=infodba -p=infodba -g=dba -force -log %TC_TMP_DIR%

You can also try disabling the client cache by adding to portal.bat:
set TC_SKIP_CLIENT_CACHE=1
As a temporary work-around until you can shutdown Teamcenter to rebuild shared memory, client meta and metadata caches. Note: this will increase the amount of memory each tcserver consumes until they begin to share a cache again.

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

Re: no custom stylesheets displayed if RAC DEBUG activated

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
The first is just debug info. The second looks like a plugin for Structure Manager although I haven't seen that one before. Have you already evaluated your Transient Volume settings?

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

Re: no custom stylesheets displayed if RAC DEBUG activated

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Good point Randy! I forgot to check the transient volume folder - it isn't empty... looks like something goes wrong.

I checked the settings. The Transient_Volume_Installation_Location is set to %COMPUTERNAME% in TC_DATA\tc_profilevars.bat seems to be correct. Also checked the FMS master config. Transient volume_id and root path looks good as well. Attached the Prefs of *transient* and the backup.xml.

What could be the reason that the transient files are not cleared?

Once the setting are OK, would you just clear the transient volume and try again?

Michael
Teamcenter UA | NX CAD

Re: no custom stylesheets displayed if RAC DEBUG activated

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
As far as I can tell, all the preferences look correct from the given backup.xml. The only recommendation I can make is that the order needs to be changed for Transient_Volume_RootDir. Teamcenter will read the first in the list and if it fails then the second, etc. so reverse the order that you have them in.

Transient_Volume_RootDir
d:\plm\server_vols\test\transientVolume
/tmp/transientVolume_infodba

Or, you can remove the /tmp/transientVolume_infodba altogether.
As you stated, the transient volume folder should be empty if all is working well. I don't think changing the order of the tc pref will make a difference.

Another point with transient volumes is that every Server Manager (tcserver) instance requires one be defined locally on the server. Ensure that you have a TV on each server running Server Manager. You can have only one default but many TV's. The trick is that they all need the same path (or a path defined in Transient_Volume_RootDir) so maybe it should read:

Transient_Volume_RootDir
d:\plm\server_vols\test\transientVolume
C:\Temp


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

Re: no custom stylesheets displayed if RAC DEBUG activated

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Thx Randy! I've cleared the transient volume and removed the unix Transient_Volume_RootDir path from the Pref. But all this doesn't solved my issue.

Tomorrow I'm going to review the logs again...

Michael
Teamcenter UA | NX CAD