Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I've seen this error and in some cases it appears to be caused by an incorrect URL.
Is this happening for all users, or just some users?
EmptyModelCommand -> look to see if the OID is getting passed to the page, etc.
We experienced this issue systematically.
It occurred when displaying a table with no elements in it (ex. going to the search page for the first time, empty results table). The problem occurred systematically for italian localization.
We opened a call. TS gaveus a patch and never happened again. We are on 9.1 M020
This is most likely caused by insufficient heap space (memory) allocation for Tomcat. Regardless of how much RAM your server has, Tomcat and various Windchill java processes (ServerManager and MethodServer) have a specific max memory allocation.
For wtomcat_start, you need to increase JAVA_OPS values -XX:PermSize, -XXMaxPermSize, -Xms and -Xmx. Double them from their old values if you have enough unused system RAM (keep total used system memory below 85% of actual total RAM). I always make these values some multiple of 2, like 92, 128, 192, 256, 512 or 1024.
If Tomcat is installed as a Windows service, run regedit and go to HEKY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tomcat\Parameters. To change them, double-click on each JVM Option Number where these 4 values appear.
Be sure to leave the "M" at the end of each numeric value, and keep the two PermSize values less than the two Xms/Xmx values. You can make PermSize = MaxPermSize and Xms = Xmx if you want.
Mark Plimley NxRev, Inc.
PLM Implementer/Trainer
Hey Tony,
We did have issues back in WC090M050 with thePTC supplied version of java. We even tried to start tomcat first and have a delay to make sure tomcat has allocated the resources when starting the process. That's now all gonewhen I've reset it to the latest supported version.
I usually use the one of the latest versions of Java. If it is Java 1.6.0_19 or 1.6.0_20, I have to install this patch 9.1-M050_TP23 if using WC091M050. for SPRS 1985832, 1974670...
I then set my tomcat heap to in the $TOMCAT_HOME/bin/wttomcat_start:
-Xms768M -Xmx3968M.
We haven't had any issues which results in restarting our servlet engine Tomcat. I talso depends on how much ram you have on your system to allocate. I usually give a minimum of 768MEG.