no custom stylesheets displayed if RAC DEBUG activated

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.

Re: no custom stylesheets displayed if RAC DEBUG activated

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).

You can also try disabling the client cache by adding to portal.bat:set TC_SKIP_CLIENT_CACHE=1As 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.

Also tried to deactivate the Siemens TCPB Plug-In in tc_profilevars. Furthermore tried to comment the com.teamcenter.rac.viewer.stylesheet.StylesheetRenderingService in TcLogger.properties. Both with no effect.

I'm going further to reduce the logging parameters until the stylsheets gets loading, although it is may not sensible.

What else could prevent the stylesheet from loading in debug mode?

Two further questions:

1. Should I pay attention on the folowing rows in debug log, or is it just debug information and no error?

Re: no custom stylesheets displayed if RAC DEBUG activated

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?

Re: no custom stylesheets displayed if RAC DEBUG activated

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.

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: