Re: [bdbxml] DBXML Exception.
George Feinberg <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Atul, The problem below is happening because another module in the Apache server is loading an older version of Berkeley DB than the one you need for BDB XML. There are a couple of things that need to happen; 1. you need to build the python support for Berkeley DB with the same compiler that is used for Berkeley DB XML. 2. The version of Berkeley DB used for this must be 4.3.28. Using configuration from the pybsddb project (http://pybsddb.sourceforge.net/) you can build/install the module under a different name, and import that into your application. If there is anyone on the list who's done this and has successful step-by-step instructions, please feel free to chime in. Regards, George > Hi, > > We are using mod-python and dbxml-2.0.9 on the same server > > When creating an instance of XmlManager() through a .py file > located in cgi-bin directory of Apache Server , > an error is being generated in /var/log/httpd/error_log file as > follows > > terminate called after throwing an instance of 'DbException' > what(): DbEnv::set_cachesize: Invalid argument > > Need a solution for above issue. > > Regards > Atul K. >