tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Ting" <stephent...@shinyang.com.my>
Subject Failed to read DTD files in local system
Date Fri, 24 Jan 2003 08:57:06 GMT
Jakarta OJB repository.xml failed to validate against the DTD file after
I upgrade tomcat from ver. 4.1.16 to version 4.1.18. On previous version
this problems didn't occured. Where should I put the DTD file if I want
to place it in my local system instead of in other web server? 

I uses Windows xp.


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE descriptor-repository SYSTEM "repository.dtd" [

<!ENTITY database SYSTEM "repository_database.xml">
<!ENTITY user SYSTEM "repository_user.xml">
<!ENTITY internal SYSTEM "repository_internal.xml">
]>


Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not
read repository class descriptor data, using repository: repository.xml:
no protocol: repository.dtd  at
org.apache.ojb.broker.metadata.MetadataManager.<init>(Unknown Source)
at org.apache.ojb.broker.metadata.MetadataManager.<clinit>(Unknown
Source)  ... 45 more

Caused by: java.net.MalformedURLException: no protocol: repository.dtd
at java.net.URL.<init>(URL.java:579)  at
java.net.URL.<init>(URL.java:476)  at java.net.URL.<init>(URL.java:425)
at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.jav
a:796)
 at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.
java:756)
 at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImp
l.java:267)
 at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XML
DocumentScannerImpl.java:826)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo
cumentFragmentScannerImpl.java:333)
 at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
24)
 at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
80)
 at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java
:1108)
 at
org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(Unkno
wn Source)  at
org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorReposit
ory(Unknown Source)  ... 47 more


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


Mime
View raw message