Error 5494 - Any ideas?

Posted by justinfowler on 19-Apr-2011 11:34

Getting 'Unable to find persistent procedure handle for proxy 2d. (5494)' when running on an appserver. Same calls work fine from a client.

Any general ideas why one would get that error?

Thanks.

Relevant part of the appserver log:

[11/04/19@15:49:56.436-0400] P-004244 T-003608 4 AS AS -- TRACE: Open4GLWriteLast 3837. (8401)

[11/04/19@15:49:56.436-0400] P-004244 T-003608 4 AS AS -- TRACE: Open4GLWrite 3837. (8402)

[11/04/19@15:49:56.436-0400] P-004244 T-003608 4 AS AS -- TRACE: cso4GL: Before loadProc() (8458)

[11/04/19@15:49:56.436-0400] P-004244 T-003608 2 AS AS -- TRACE: User Defined Function 'Interface_Process' (in 'CLASS/Interface/Interface.p') START. (5696)

[11/04/19@15:49:56.436-0400] P-004244 T-003608 4 AS AS -- TRACE: cso4GL: After successfull loadProc() (8458)

[11/04/19@15:49:56.436-0400] P-004244 T-003608 4 AS AS -- TRACE: Set open 4GL server state to 2. (8400)

[11/04/19@15:49:56.436-0400] P-004244 T-003608 4 AS AS -- TRACE: cso4GL: In execProc() - before execution. (8458)

[11/04/19@15:50:05.013-0400] P-004244 T-003608 3 AS AS -- TRACE: User Defined Function END SUCCESS. (8399)

[11/04/19@15:50:05.013-0400] P-004244 T-003608 4 AS AS -- TRACE: cso4GL: In execProc() - successful execution. (8458)

[11/04/19@15:50:05.013-0400] P-004244 T-003608 4 AS AS -- TRACE: cso4GL: In execCall() - execProc() success. (8458)

[11/04/19@15:50:05.013-0400] P-004244 T-003608 4 AS AS -- TRACE: Set open 4GL server state to 3. (8400)

[11/04/19@15:50:05.013-0400] P-004244 T-003608 4 AS AS Server Message state = MSGSTATE_SENDRESP

[11/04/19@15:50:05.013-0400] P-004244 T-003608 4 AS AS -- TRACE: Set open 4GL server state to 1. (8400)

[11/04/19@15:50:05.013-0400] P-004244 T-003608 4 AS AS -- TRACE: open4GLRead 74. (8403)

[11/04/19@15:50:05.013-0400] P-004244 T-003608 4 AS AS Server Message state = MSGSTATE_FINISHRQ

[11/04/19@15:50:05.013-0400] P-004244 T-003608 4 AS AS Server Message state = MSGSTATE_IDLE

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS Server Message state = MSGSTATE_INITRQ

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS Server Message state = MSGSTATE_RECVLAST

[11/04/19@15:50:06.294-0400] P-005912 T-004924 3 AS AS         requestID= <REQ|O4GL-000037>

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS -- TRACE: Set open 4GL server state to 1. (8400)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS -- TRACE: Open4GLWriteLast 60. (8401)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS -- TRACE: Open4GLWrite 60. (8402)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS -- TRACE: cso4GL: Before loadProc() (8458)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS -- TRACE: cso4GL: loadProc() failed. (8458)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS -- TRACE: Set open 4GL server state to 5. (8400)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS Server Message state = MSGSTATE_SENDRESP

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS -- TRACE: Set open 4GL server state to 1. (8400)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 1 AS -- Unable to find persistent procedure handle for proxy 2d. (5494)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS -- TRACE: open4GLRead 92. (8403)

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS Server Message state = MSGSTATE_FINISHRQ

[11/04/19@15:50:06.294-0400] P-005912 T-004924 4 AS AS Server Message state = MSGSTATE_IDLE

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS Server Message state = MSGSTATE_INITRQ

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS Server Message state = MSGSTATE_RECVLAST

[11/04/19@15:50:06.998-0400] P-001996 T-001560 3 AS AS         requestID= <REQ|O4GL-000038>

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS -- TRACE: Set open 4GL server state to 1. (8400)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS -- TRACE: Open4GLWriteLast 60. (8401)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS -- TRACE: Open4GLWrite 60. (8402)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS -- TRACE: cso4GL: Before loadProc() (8458)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS -- TRACE: cso4GL: loadProc() failed. (8458)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS -- TRACE: Set open 4GL server state to 5. (8400)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS Server Message state = MSGSTATE_SENDRESP

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS -- TRACE: Set open 4GL server state to 1. (8400)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 1 AS -- Unable to find persistent procedure handle for proxy 2d. (5494)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS -- TRACE: open4GLRead 92. (8403)

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS Server Message state = MSGSTATE_FINISHRQ

[11/04/19@15:50:06.998-0400] P-001996 T-001560 4 AS AS Server Message state = MSGSTATE_IDLE

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS Server Message state = MSGSTATE_INITRQ

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS Server Message state = MSGSTATE_RECVLAST

[11/04/19@15:50:09.904-0400] P-005624 T-005580 3 AS AS         requestID= delete(<Progress.Open4GL.DynamicAPI.PersistentProc|Progress.Open4GL.DynamicAPI.Session|CLASS/Interface/Interface.p|2>)

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS -- TRACE: Set open 4GL server state to 1. (8400)

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS -- TRACE: Open4GLWriteLast 12. (8401)

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS -- TRACE: Open4GLWrite 12. (8402)

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS -- TRACE: Set open 4GL server state to 5. (8400)

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS Server Message state = MSGSTATE_SENDRESP

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS -- TRACE: Set open 4GL server state to 1. (8400)

[11/04/19@15:50:09.904-0400] P-005624 T-005580 1 AS -- Unable to find persistent procedure handle for proxy 2d. (5494)

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS -- TRACE: open4GLRead 101. (8403)

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS Server Message state = MSGSTATE_FINISHRQ

[11/04/19@15:50:09.904-0400] P-005624 T-005580 4 AS AS Server Message state = MSGSTATE_IDLE

[11/04/19@15:50:12.497-0400] P-005948 T-004484 4 AS AS Server Message state = MSGSTATE_RECVLAST

[11/04/19@15:50:12.497-0400] P-005948 T-004484 2 AS AS Application Server disconnected with connection id: apak-11::base41xAS::3092::cd6782206f4e2f80:10957c32:12f6f47157b:-7fcc. (8359)

[11/04/19@15:50:12.497-0400] P-005948 T-004484 4 AS AS Server Message state = MSGSTATE_IDLE

All Replies

Posted by sridevi.stalin on 25-Apr-2011 01:17

Hi,

     Go to www.peg.com -> click the tab "Find Solution by Error.

type you error code 5494 there I think, You can get related information.

Posted by Admin on 25-Apr-2011 01:35

Go to http://www.peg.com -> click the tab "Find Solution by Error.

type you error code 5494 there I think, You can get related information.

The K-Base is available at www.progress.com/support then go to OpenEdge as a product.

There you'll find the find solution by error option.

Posted by justinfowler on 25-Apr-2011 07:08

Ya I hammered the KB with no luck.

Not sure what it was, but I was able to get around the problem by moving a large portion of code out of one object and into another. Couldn't waste any more time tracking this down.

I suspect, but cannot confirm or even be sure that a call to a .net object was to blame, but no chance I could find it. If it was a .net issue it should have been captured by the appserver with that .net gui error.

I should be able to DEF VAR blah AS .NET CLASS without issue as long as I don't NEW it right??

Posted by Admin on 25-Apr-2011 07:20

I should be able to DEF VAR blah AS .NET CLASS without issue as long as I don't NEW it right??

On the AppServer? I doubt it. For the AppServer you should best compile in the TTY client and that should fail to compile.

This thread is closed