db-ojb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: Configuration problem with rc6
Date Fri, 02 Apr 2004 13:51:36 GMT
Hi,

Caused by:
org.apache.ojb.broker.metadata.MetadataException: Can
not read repository class descriptor data, using
repository: repository.xml

Caused by:
org.apache.ojb.broker.metadata.MetadataException:
Exception when reading metadata information, please
check your repository.xml file

indicate that something is wrong with your metadata mapping.
So, enable 'DEBUG' mode for

org.apache.ojb.broker.metadata.RepositoryXmlHandler
(and org.apache.ojb.broker.metadata.ConnectionDescriptorXmlHandler if 
you don't have success)

If you use OJB default logging change the entries in OJB.properties. 
Else it depends on the used logging framework.

regards,
Armin

Frédéric wrote:

> Well, sorry ;) ! 
> 
> Here is the root cause :
> 
> java.lang.ExceptionInInitializerError
> 	at
> org.apache.ojb.broker.util.BrokerHelper.crossCheckPBKey(BrokerHelper.java:123)
> 	at
> org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.createPersistenceBroker(PersistenceBrokerFactoryDefaultImpl.java:91)
> 	at
> org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(PersistenceBrokerFactory.java:86)
> 	at
> org.apache.ojb.odmg.DatabaseImpl.open(DatabaseImpl.java:121)
> 	at
> com.eads.agit.framework.DatabaseManager.(DatabaseManager.java:63)
> 	at
> com.eads.agit.framework.DatabaseManager.getInstance(DatabaseManager.java:46)
> 	at
> com.eads.agit.framework.AgitAction.getDatabaseManager(AgitAction.java:327)
> 	at
> com.eads.agit.conteneur.struts.ActIdentOut.execute(ActIdentOut.java:35)
> 	at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:480)
> 	at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> 	at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
> 	at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
> 	at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> 	at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
> 	at java.lang.Thread.run(Thread.java:536)
> Caused by:
> org.apache.ojb.broker.metadata.MetadataException: Can
> not read repository class descriptor data, using
> repository: repository.xml
> 	at
> org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:152)
> 	at
> org.apache.ojb.broker.metadata.MetadataManager.(MetadataManager.java:138)
> 	at
> org.apache.ojb.broker.metadata.MetadataManager.(MetadataManager.java:127)
> 	... 44 more
> Caused by:
> org.apache.ojb.broker.metadata.MetadataException:
> Exception when reading metadata information, please
> check your repository.xml file
> 	at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524)
> 	at
> org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
> 	at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
> 	at
> org.apache.ojb.broker.metadata.RepositoryPersistor.readMetadataFromXML(RepositoryPersistor.java:309)
> 	at
> org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(RepositoryPersistor.java:264)
> 	at
> org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorRepository(RepositoryPersistor.java:176)
> 	at
> org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:148)
> 	... 46 more
> 
> ***
> 
>  --- Armin Waibel <arminw@apache.org> a écrit : > Hi
> Frederic,
> 
>>could you post the whole stack trace?
>>It's hard to say what's going wrong from your snip.
>>
>>regards,
>>Armin
>>
>>Frédéric wrote:
>>
>>>Hi everyone,
>>>
>>>Switching from rc3 to rc6, i have the following
>>>configuration problem :
>>>
>>>java.lang.ExceptionInInitializeError at
>>>
>>
> org.apache.ojb.broker.util.BrokerHelper.crossCheckPBKey...
> 
>>>I have replaced the files repository.dtd and
>>>ojb.properties with the new files...
>>>
>>>Any help would be useful :)
>>>
>>>Frederic
>>>
>>>
>>>	
>>>
>>>	
>>>		
>>>Yahoo! Mail : votre e-mail personnel et gratuit
>>
>>qui vous suit partout ! 
>>
>>>Créez votre Yahoo! Mail sur
>>
>>http://fr.benefits.yahoo.com/
>>
>>>Dialoguez en direct avec vos amis grâce à Yahoo!
>>
>>Messenger !Téléchargez Yahoo! Messenger sur
>>http://fr.messenger.yahoo.com
>>
>>>
> ---------------------------------------------------------------------
> 
>>>To unsubscribe, e-mail:
>>
>>ojb-user-unsubscribe@db.apache.org
>>
>>>For additional commands, e-mail:
>>
>>ojb-user-help@db.apache.org
>>
>>>
>>>
>>
> ---------------------------------------------------------------------
> 
>>To unsubscribe, e-mail:
>>ojb-user-unsubscribe@db.apache.org
>>For additional commands, e-mail:
>>ojb-user-help@db.apache.org
>> 
> 
> 
> 
> 	
> 
> 	
> 		
> Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger
sur http://fr.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Mime
View raw message