Re: Excalibur Integration

2005-03-18 Thread Martin Kalén
Markus Wolf wrote: Thanks for your help, When the dtd is in the jar also (in the same directory) then it works. Great - but it really shows that the error reporting needs to be shaped up in that area. When specifying then ConnectionFactoryManagedImpl then each and every connection attempt is

Re: Excalibur Integration

2005-03-17 Thread Markus Wolf
Martin Kalén wrote: Markus Wolf wrote: is there a way to reuse existing connections for the whole OJB setup? I've implemented a ConnectionFactory for OJB as Excalibur component, but when I create a new database and open it (as stated in the tutorials) the repository_database.xml part is

Re: Excalibur Integration

2005-03-17 Thread Robert r. Sanders
I haven't tried putting the xml files in a jar before as I've felt that I wanted to preserve the editablity. It sounds like the entity resolver (or some such, my xml terminology isn't the best) is only looking in the file system. From my understanding there is a way to implement custom entity

Re: Excalibur Integration

2005-03-17 Thread Martin Kalén
Markus Wolf wrote: So doesn't this log output mean the files are not found?... Am I missing something here? Can anybody give me a hint how to successful load the repository.xml from a jar-file? I have all repository parts in the root (default-package) of my jar-file. This setup works for me. OJB

Re: Excalibur Integration

2005-03-17 Thread Martin Kalén
Markus Wolf wrote: So doesn't this log output mean the files are not found?... Am I missing something here? Can anybody give me a hint how to successful load the repository.xml from a jar-file? As Charles Harvey just pointed out, if your are using a repository with a HTTP dtd-declaration the

Re: Excalibur Integration

2005-03-17 Thread Markus Wolf
Martin Kalén wrote: Markus Wolf wrote: So doesn't this log output mean the files are not found?... Am I missing something here? Can anybody give me a hint how to successful load the repository.xml from a jar-file? As Charles Harvey just pointed out, if your are using a repository with a HTTP

Excalibur Integration

2005-03-16 Thread Markus Wolf
Hi, is there a way to reuse existing connections for the whole OJB setup? I've implemented a ConnectionFactory for OJB as Excalibur component, but when I create a new database and open it (as stated in the tutorials) the repository_database.xml part is always expected. Are there any

Re: Excalibur Integration

2005-03-16 Thread Martin Kalén
Markus Wolf wrote: is there a way to reuse existing connections for the whole OJB setup? I've implemented a ConnectionFactory for OJB as Excalibur component, but when I create a new database and open it (as stated in the tutorials) the repository_database.xml part is always expected. Are there