Hi Olli,
Thanks for your quick response,
Here is my repository.xml.
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a sample metadata repository for the
ObJectBridge System.
Use this file as a template for building your own
mappings-->
<!-- defining entities for include-files -->
<!DOCTYPE descriptor-repository SYSTEM
"repository.dtd" [
<!ENTITY database SYSTEM "repository_database.xml">
<!ENTITY internal SYSTEM "repository_internal.xml">
<!ENTITY junit SYSTEM "repository_junit.xml">
<!ENTITY user SYSTEM "repository_user.xml">
<!ENTITY ejb SYSTEM "repository_ejb.xml">
<!ENTITY jdo SYSTEM "repository_jdo.xml">
]>
<descriptor-repository version="1.0"
isolation-level="read-uncommitted">
<!-- include all used database connections -->
&database;
<!-- include ojb internal mappings here -->
&internal;
<!-- include mappings for JUnit tests -->
<!-- This could be removed (with <!ENTITY entry),
if junit test suite was not used -->
<!-- &junit; -->
<!-- include user defined mappings here -->
&user;
<!-- include mappings for the EJB-examples -->
<!-- &ejb; -->
<!-- include mappings for the JDO tutorials -->
<!-- &jdo; -->
</descriptor-repository>
Pls do the needful.
Anu
--- [EMAIL PROTECTED] wrote:
> Hello,
>
> > -----Original Message-----
> > From: anuradha devi
> [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 23, 2003 11:18 AM
> > To: [EMAIL PROTECTED]
> > Subject: java.net.MalformedURLException: no
> protocol: repository.dtd
> >
> >
> > Hi,
> > We are trying to migrate our application with
> OJB1.0
> > which is currently working OJB0.9.5.
> > There by I have added the new OJB1.0 binaries and
> I
> > have made necessary changes like using new
> > repository.dtd, repository.xml etc., and I have
> also
> > changed the code to resolve all the compilation
> > problems.
> > But it gives me the following exception, can
> someone
> > help us on this.
>
> can you please post the beginning of
> your repository.xml?
>
> > java.lang.ExceptionInInitializerError:
> > java.net.MalformedURLException: no protocol:
> > repository.dtd
> > at java.net.URL.<init>(URL.java(Compiled Code))
>
> Olli
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]