Skip to main content
19-Tanzanite
July 10, 2023
Solved

Error When Returning to the Search Tab in the Browser After 20 Minutes

  • July 10, 2023
  • 4 replies
  • 4982 views

I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.2

I get a Windchill Error when searching after leaving browser alone for a time period of about 20 minutes or more.

Here are the errors that I have in the browser window.
Status Code: 500
Message: Cannot restore "wt.query.SearchHistory. 198022734" because it no longer exists.

This isn't the only 12.1.2.2 issues we are seeing with the GUI.

Best answer by HelesicPetr

Hi @BrianToussaint 

I just clarify that  com.ptc.windchill.search.historyCount is a number of the record not a time how long the history is stored.

 

I guess that the issue is connected with session timeout how long is the login session active. 

I would suggest to increase a timeout and you will see it it helps

CS74864 - How to configure Session Timeout in Windchill PDMLink

 

PetrH

4 replies

jbailey
18-Opal
July 10, 2023

Out of curiosity, what type of authentication is being used? Username/Password? SAML?

19-Tanzanite
July 11, 2023

We are using just a simple connection to Microsoft AD using http.

jbailey
18-Opal
July 11, 2023

Hmm.. does it happen with just you, or others as well? Did you test with a different browser?

Does your search history come back when you log back in?  

 

If so, maybe there is something going on with the browser session... if not, maybe it is a DB issue?

 

 

17-Peridot
July 11, 2023

are you getting this error message?

Your session data has expired. Please repeat your action.

19-Tanzanite
July 11, 2023

No I am not.  I do have this

 

com.ptc.jca.error <user name> - ---------- JCA Exception ---------- wt.util.WTRuntimeException: Cannot restore "wt.query.SearchHistory.198022734" because it no longer exists. Nested exception 

 

I also had this afterwards and in a lot of different places in my logs....

 wt.system.out <user name>  - requestNonce:

18-Opal
July 20, 2023

Hello BrianToussaint,
This is Charles from PTC Technical Support in Europe, I will provide you assistance on this question.
Is com.ptc.windchill.search.historyCount set inside wt.properties ?
the default is 15.
Can you try setting some higher value?
KR,
Charles.

19-Tanzanite
July 20, 2023

Hello Charles,

I searched wt.properties and that is not in there.  Do I need to set it at something higher?  I am guessing that value relates to minutes.

Thanks,

Brian

1-Visitor
November 6, 2023

Hi,

 

We noticed similar error in our Windchill version 12.1.2.0, but we have some test server with 12.1.2.4 and I don't see this error message there. So it looks like it is fixed in CPS04.

 

Regards,

Balraj

19-Tanzanite
December 8, 2023

hi,

 

I found this after I updated to CPS06 for a different issue.

 

Thanks,

Brian