Re: [AOLSERVER] Fwd: AOLserver 4.5.0 - ns_returnfile does not find file - file name contains special chars

2011-09-22 Thread Peter Sadlon
Just a guess here, but by default, TCL is compiled with Latin-1 encoding. This causes some issues when you are trying to do certain things in utf-8, even if you set all possible TCL config variables to use the UTF-8 charset. You could attempt to recompile TCL with --with-encoding utf-8

Re: [AOLSERVER] Tcl error

2011-08-23 Thread Peter Sadlon
is there an error at all? This file is about as simple as it gets, yet there is an error. My sense is that I am missing something or something is broken. Thanks, Thorpe On Aug 22, at (Aug 22) 10:02 AM, Peter Sadlon wrote:Hu Check: /aolserver/modules/tcl/file.tcl It would seem like

Re: [AOLSERVER] Tcl error

2011-08-22 Thread Peter Sadlon
Hu Check: /aolserver/modules/tcl/file.tcl It would seem like your procedures are registered but that your errorPage variable is never set. A quick fix may be to change the line: if { $errorPage == } { to if {![info exists errorPage] || ($errorPage == ) } { Date:

Re: [AOLSERVER] chinese characters and oracle driver

2011-07-15 Thread Peter Sadlon
Just a quick shot in the dark here. I have ran into encoding issues in the past because by default TCL will assume everything is Latin-1 and it is not always straight forward when a conflict will happen. You can set a variable like $first_names to be a UTF-8 string and it can be written

Re: [AOLSERVER] What does 'exiting: exceeded max connections per thread' mean?

2011-02-15 Thread Peter Sadlon
Someone wiser than me may correct me on this but I believe this is just a notice message. Each thread can handle 126 connections ([expr $threads_maxthreads * 7]) after which the thread will get destroyed. This is historically done to make sure any memory leak doesn't take over the machine,

Re: [AOLSERVER] What does 'exiting: exceeded max connections per thread' mean?

2011-02-15 Thread Peter Sadlon
I would recommend killing them, just in case there is some memory leak or other glitch which causes problems. For example, I had an issue with threads when I used a filter to process requests, the filter would use ns_adp_parse to parse an adp which would either fill the buffer with HTML or

Re: [AOLSERVER] What does 'exiting: exceeded max connections per thread' mean?

2011-02-15 Thread Peter Sadlon
The server does it for you. Date: Tue, 15 Feb 2011 14:53:34 -0800 From: thejackschm...@gmail.com Subject: Re: [AOLSERVER] What does 'exiting: exceeded max connections per thread' mean? To: AOLSERVER@LISTSERV.AOL.COM Hi, Is there a way of killing the threads once max connection has been reached

Re: [AOLSERVER] What does 'exiting: exceeded max connections per thread' mean?

2011-02-15 Thread Peter Sadlon
If you have a lot of .tcl files then it will take longer for the new threads to be created (so if you are using OpenACS then it can take awhile depending on the RAM and CPU power of your server) Increase the connections per thread to 1000 and see how that works for you. There is (in theory)

Re: [AOLSERVER] AOLserver and Oracle unable to allocate db handle

2011-01-20 Thread Peter Sadlon
Maybe you already have a handle? If your adp already has a handle you can not get another, if you need 2 handles then do: set db [ns_db gethandle 2] set db1 [lindex $db 0] set db2 [lindex $db 1] Date: Thu, 20 Jan 2011 00:45:33 -0800 From: thejackschm...@gmail.com Subject: [AOLSERVER]

Re: [AOLSERVER] Unable to bind to port 80

2010-11-05 Thread Peter Sadlon
It would seem you have at least 2 ips to the one machine, what happens when you enter the ip addresses as a URL? It may give show that the ip address/port 80 is already in use. I would shut down Apache for a minute and try to start up Aolserver, just to make sure there's not some Apache

Re: [AOLSERVER] ADP error

2010-07-14 Thread Peter Sadlon
Are you using a redirect such as ns_returnredirect /file.html if so, immediately after put: ns_adp_abort When I upgraded from 4.0 to 4.5 my logs were filled with this error as well and slowly one by one I was able to fix them, unfortunately the logging doesn't really help on trying to find