Results 1 to 3 of 3

Thread: PermissionDeniedException ,reason is "internal server error"

  1. #1
    ewiniar is offline Registered User
    Name: ewiniar
    Organization: soho
    Project: ssl vpn
    Join Date
    Jan 2006
    Posts
    30

    PermissionDeniedException ,reason is "internal server error"

    PermissionDeniedException



    I have learned connection 9,10,I writed a similar program,when router create session,PermissionDeniedException is thrown ,reason is "internal server error",
    I enable Ice.Trace.Network and Ice.Trace.Protocol,

    [ Network: ssl connection established
    local address = 10.5.0.1:50883
    remote address = 10.5.0.1:10005 ]
    [New Thread -1218942032 (LWP 10514)]
    [ Protocol: received validate connection
    message type = 3 (validate connection)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 14 ]
    [ Protocol: sending request
    message type = 0 (request)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 70
    request id = 1
    identity = Glacier2/router
    facet =
    operation = ice_isA
    mode = 1 (nonmutating)
    context = ]
    [ Protocol: received reply
    message type = 2 (reply)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 26
    request id = 1
    reply status = 0 (ok) ]
    [ Protocol: sending request
    message type = 0 (request)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 75
    request id = 2
    identity = Glacier2/router
    facet =
    operation = createSession
    mode = 0 (normal)
    context = ]
    [ Protocol: received reply
    message type = 2 (reply)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 90
    request id = 2
    reply status = 1 (user exception) ]
    permission denied
    internal server error

    I debuged Session server,It seem it had not runned to checkPermissions,
    so it puzzled me ,who can give me a hand?

    When does PermissionDeniedException is thrown with "internal server error" in Glacier2 ?

    Regards,
    ewiniar
    ------------------


    ewiniar Lee
    Software Engineer
    Company:THP Ltd.Co
    Project:Communication lib project

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    It's thrown if the call to the PermissionVerifier::checkPermission method raises an exception. Is your permission verifier raising exceptions?

    If you want to see which exception is thrown, you should enable session tracing on the Glacier2 router with the Glacier2.Trace.Session property set to 1.

    Cheers,
    Benoit.

  3. #3
    ewiniar is offline Registered User
    Name: ewiniar
    Organization: soho
    Project: ssl vpn
    Join Date
    Jan 2006
    Posts
    30

    thanks!

    thanks,Benoit
    thanks your quick reply ,I try to trace it.


    Regards
    ewiniar
    ------------------


    ewiniar Lee
    Software Engineer
    Company:THP Ltd.Co
    Project:Communication lib project

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 01-31-2011, 07:32 PM
  2. Replies: 6
    Last Post: 07-12-2009, 01:44 PM
  3. Replies: 1
    Last Post: 01-28-2009, 06:15 AM
  4. Replies: 4
    Last Post: 10-26-2006, 11:23 AM
  5. Replies: 4
    Last Post: 01-13-2006, 06:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •