OK, I've downloaded the release sdo source and compiled it. Then I compiled
the sdo misc sample and I got the same error. Debugging the sample I found
out that the exception is being thrown on this part of the
ObjectCreation.cpp file:

       ...
       /**
        * Set the company name to Acme
        */

       dor->setCString("name","Acme"); // here the bad_alloc exception is
being thrown

       /**
        * Set up the two departments  - using the
        * DataObject createDataObject API
        */
       ...

Have any idea what is happening?

Adriano Crestani

On 3/22/07, Adriano Crestani <[EMAIL PROTECTED]> wrote:

Sorry, I added now the <sdo>/bin to the path variable, but the sample is
still not working. I will download the release source and compile it, if the
problem persists I will debug it till I find where is throwing this
bad_alloc exception.

Adriano Crestani

On 3/22/07, Pete Robbins <[EMAIL PROTECTED]> wrote:
>
> The libxml dependency has not changed so if you have run SDO
> previously, which you have, then you should be fine.
>
> I really can't think why you are seeing this problem. It works fine
> for everyone else so it must be something in your environment. If that
> is your complete PATH then you do not have any version of Tuscany SDO
> on it!
>
> Cheers,
>
> On 22/03/07, Adriano Crestani <[EMAIL PROTECTED]> wrote:
> > My VC version is the 2005 express.
> >
> > Maybe this problem has something to do with my libxml, iconv or zlib
> > version. What is the minimum required version of these libraries
> to  run the
> > misc sample?
> >
> > Answering Pete's question: PATH =
> > C:\Adriano\Faculdade\Tuscany\Tuscany\CPP\libxml2-2.6.13.win32\bin;
> > C:\Adriano\Faculdade\Tuscany\Tuscany\CPP\iconv;
> > C:\Adriano\Faculdade\Tuscany\Tuscany\CPP\zlib- 1.2.3-lib;
> > C:\Program Files\Microsoft Visual Studio 8\VC\bin;
> >
> >
> > On 3/21/07, Pete Robbins <[EMAIL PROTECTED]> wrote:
> > >
> > > On 21/03/07, Caroline Maynard <[EMAIL PROTECTED]> wrote:
> > > > Just wanted quickly to report that I've updated my local copy of
> the PHP
> > > > extension for SDO to Tuscany revision level 520962, and I am
> seeing two
> > > > regressions in previously working testcases. I don't have enough
> > > evidence
> > > > yet to say if these are Tuscany issues or errors introduced in the
> PHP
> > > side,
> > > > but FWIW, one of them getting a
> > > >
> > > > SDO_UnsupportedOperationException: Sequence::add of property which
> > > already
> > > > exists in sequence
> > > >
> > > > when working with Sequences of Open types, and the other is
> occurring in
> > > a
> > > > ChangeSummary test. I'll update the list as soon as I can with
> more
> > > detail.
> > > >
> > > > --
> > > > Caroline
> > > >
> > >
> > > FYI the M3 release is at revision 519688. What was your previous
> > > working revision?
> > >
> > > --
> > > Pete
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
> --
> Pete
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to