Forum OpenACS Development: ::Users: unabled to dispatch method 'ad_doc' during '::Users ad_doc'


Do you know how could I get rid of this error?

[05/Oct/2007:12:02:21][1956.1400][-conn:0-] Error: GET
referred by ""
::Users: unabled to dispatch method 'ad_doc' during '::Users ad_doc'
::Users ::xotcl::Object->configure
::xotcl::Class ::xotcl::Class->create
Invoked from within
"Class create Users -parameter { point_in_time } -ad_doc {
This class is responsible for the user tracking and is defined only in a separate Tc..."
invoked from within
"::thread::send $tid $initcmd"
(procedure "do" line 35")
::throtle ::xotcl::THREAD->..........................


It seems, you are using xotcl-core functions before xotcl-core is loaded. What version of openacs are you using? might be the same problem as described in:

-gustaf neumann

Hi Gustaf,

Thanks for your answer. I'm still getting the error :(, sorry but I've just started to explore the oacs w/XOTcl world. I'm using oacs-5-3 (aol45, ora10g & ws2003) and have read your faq. The only way I've found to verify if XOTcl has been loaded properly is through the server log and it seems to be loaded ok since there are no errors and I got the "Loading ...packages\xotcl*" messages. OACS starts up successfully but as soon as the server gets any hit I got the server error. it looks like something wasn't loaded properly (this method library) but How can I verify this? What exactly this 'dispatch method' means and How could I debug it?

Thanks a lot!

oook! :), seems to be ok now, I added a 'package require Thread' and 'package require XOTcl' to my config.tcl and I'm not getting that message anymore. Does that sound good or I shouldn't add those lines there?


If you have to load package require XOTcl to your config file, this indicates that you have not installed xotcl properly.
In particular, after "make" in the xotcl directory, you have to use "make install-aol" to install xotcl.tcl and the xotcl serializer properly. For more details, see:

Triggered by your message, i extended the xotcl-core regression test (under automated test, <yoursite>/test) to check for the serializer as well. When your site is running the regression test properly, the basic installation should be ok.

Concerning installation of libthread, see e.g.

-gustaf neumann