Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 05-18-2006
ewiniar ewiniar is offline
Registered User
 
Name: ewiniar
Organization: soho
Project: ssl vpn
 
Join Date: Jan 2006
Posts: 30
Send a message via MSN to ewiniar Send a message via Skype™ to ewiniar
-->
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
Reply With Quote
  #2 (permalink)  
Old 05-18-2006
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,564
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.
Reply With Quote
  #3 (permalink)  
Old 05-18-2006
ewiniar ewiniar is offline
Registered User
 
Name: ewiniar
Organization: soho
Project: ssl vpn
 
Join Date: Jan 2006
Posts: 30
Send a message via MSN to ewiniar Send a message via Skype™ to ewiniar
-->
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Invalid UTF8 string" when transer chinese chars between cpp server and csharp client raygo Help Center 8 03-21-2006 09:34 PM
fatal error C1189: #error : "Ice for Visual C++ 6.0 requires STLport" richardma Help Center 4 01-13-2006 07:23 AM
"Filesystem demo" runtime error oops Help Center 3 09-25-2004 09:42 AM
Going from "in" to "out" param, using a class as a union catalin Help Center 1 04-05-2004 09:55 AM
Ice-1.1.0: compile error "undefined reference to xercesc_2_2" Urs Help Center 2 05-30-2003 04:29 PM


All times are GMT -4. The time now is 11:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.