Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-25-2006
Jacky_Lee Jacky_Lee is offline
Registered User
 
Name: jacky lee
Organization: ustb
Project: graduate student recearch
 
Join Date: Jul 2006
Posts: 13
icessl get unknow exception threadpool.server

when i use ice's callback example, i change the config files to ssl endpoint.
serverside config.server
Code:
Callback.Server.Endpoints=tcp -h 10.130.15.12 -p 10000: ssl -h 10.130.15.12 -p 10001
clientside config.client
Code:
Callback.Client.CallbackServer=callback:ssl -h 10.130.15.12 -p 10001
i got output in server side :

Code:
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: attempting to bind to
 tcp socket 10.130.15.12:10000 ]
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: accepting tcp connect
ions at 10.130.15.12:10000 ]
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: attempting to bind to
 ssl socket 10.130.15.12:10001 ]
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: accepting ssl connect
ions at 10.130.15.12:10001 ]
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: trying to validate in
coming ssl connection
  local address = 10.130.15.12:10001
  remote address = 10.130.15.12:1366 ]
c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: error: unknown exception in `Ice
.ThreadPool.Server'
__________________
Jack Lee
University of science and technology of beijing
Reply With Quote
  #2 (permalink)  
Old 09-25-2006
Jacky_Lee Jacky_Lee is offline
Registered User
 
Name: jacky lee
Organization: ustb
Project: graduate student recearch
 
Join Date: Jul 2006
Posts: 13
there is the source code for project, will you help me to look it?
ICESSL.zip
__________________
Jack Lee
University of science and technology of beijing

Last edited by Jacky_Lee : 09-26-2006 at 02:29 AM.
Reply With Quote
  #3 (permalink)  
Old 09-25-2006
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,088
Did you attach the process with a debugger and work out where the exception is coming from? In many cases these unknown exceptions are actually caused by access violations.
Reply With Quote
  #4 (permalink)  
Old 09-26-2006
Jacky_Lee Jacky_Lee is offline
Registered User
 
Name: jacky lee
Organization: ustb
Project: graduate student recearch
 
Join Date: Jul 2006
Posts: 13
Thumbs up

thank you for response.
when i use vc2003 debug it, i got the exception from 127 lines at AcceptorI.cpp.
it's a invocation for openssl, i cannot get in it.

Ice-3.1.0\src\IceSSL\AcceptorI.cpp
[code]
...
try
{
do
{
int ret = SSL_accept(ssl);
switch(SSL_get_error(ssl, ret))
...
[code]
__________________
Jack Lee
University of science and technology of beijing
Reply With Quote
  #5 (permalink)  
Old 09-26-2006
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,088
My guess is that you must somehow have an incompatible OpenSSL DLL somewhere in your PATH. Can you check that please?
Reply With Quote
  #6 (permalink)  
Old 09-26-2006
Jacky_Lee Jacky_Lee is offline
Registered User
 
Name: jacky lee
Organization: ustb
Project: graduate student recearch
 
Join Date: Jul 2006
Posts: 13
yes, when i use a clean plateform, the programe work correctly!
__________________
Jack Lee
University of science and technology of beijing
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
Unknow exception in "Printer" sample code wangh705 Help Center 6 10-26-2006 01:01 PM
error: filedescriptor 1257 not registered with `Ice.ThreadPool.Server' kent Help Center 11 08-23-2006 08:21 AM
unknown exception in `Ice.ThreadPool.Server' aroan Bug Reports 5 03-27-2006 12:21 AM
error info of Ice.ThreadPool.Server simpley Help Center 1 10-28-2004 08:21 AM
unknown exception in 'Ice.ThreadPool.Server' Mr.Freeze Help Center 1 09-24-2003 12:22 PM


All times are GMT -4. The time now is 11:15 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.