Skip to main content
19-Tanzanite
Jul 10, 2023 6:36 PM UTC
Solved

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

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.

HelesicPetr
22-Sapphire II
Sep 7, 2023 6:27 AM UTC

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

19 replies

jbailey
18-Opal
Jul 10, 2023 11:59 PM UTC

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

Translate
19-Tanzanite
Jul 11, 2023 1:19 PM UTC

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

Translate
jbailey
18-Opal
Jul 11, 2023 1:24 PM UTC

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?

 

 

Translate
ScottMorris
17-Peridot
Jul 11, 2023 2:31 PM UTC

are you getting this error message?

Your session data has expired. Please repeat your action.

Translate
19-Tanzanite
Jul 11, 2023 2:45 PM UTC

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:

Translate
18-Opal
Jul 20, 2023 11:23 AM UTC

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.

Translate
19-Tanzanite
Jul 20, 2023 11:36 AM UTC

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

Translate
1-Visitor
Nov 6, 2023 10:30 AM UTC

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

Translate
19-Tanzanite
Dec 8, 2023 7:01 PM UTC

hi,

 

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

 

Thanks,

Brian

Translate