My db is set up by the testcase so they're in the same process. Could it be a connection pooling thing? If several connections are made to the "." db, will they find the same db?

Russell Smyth wrote:
The problem you are (probably) having is one process creates the db, but a
different one
is running the tests - so the db "dissapears" - in memory db only lives in
the process in
which it is created.

you could try modifying the build.xml and change all "fork" parameters to
"false" to force all running in a single process...
OK, I tried this but I got this instead:


[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Already created persistence broker instances: 0
[DEFAULT] FATAL: loader constraints violated when linking org/xml/sax/XMLReader
class
------------- ---------------- ---------------
------------- Standard Error -----------------
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/XML
Reader class [....]

Ouch! Any clues?

Regards /Marcus

--
Marcus Ahnve email: [EMAIL PROTECTED]
Lecando AB Office: +46-(0)8-634 94 18
Sweden Mobile: +46-(0)70-462 19 18
www.lecando.com ICQ#: 4564879

PGP: 891C 2F84 7CA2 F9F7 9B87 EC2F D93B 961B 4441 9BA2
B941 DB1A



--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to