I use resin to develop with ojb, but I put my parsers on WEB-INF/lib On Thu, 2003-02-13 at 06:15, Klaasjan Brand wrote: > Hi, > > We're using OJB 0.9.9 for a web application which has to be deployed on > Resin. The app works fine on Tomcat, but when deployed on Resin I get > the following error: > > [BOOT] ERROR: Error in instantiation of PersistenceBrokerFactory class > Could not read repository class descriptor data, using repository: > repository.xml: Exception when reading metadata information, please > check your repository.xml file > java.lang.NullPointerException > at > >org.apache.ojb.broker.metadata.RepositoryXmlHandler.getIsoLevel(RepositoryXmlHandler.java:834) > at > >org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:211) > at com.caucho.xml.XmlParser.addElement(XmlParser.java:2222) > at com.caucho.xml.XmlParser.parseElement(XmlParser.java:609) > at com.caucho.xml.XmlParser.parseNode(XmlParser.java:360) > at com.caucho.xml.XmlParser.parseInt(XmlParser.java:242) > at com.caucho.xml.AbstractParser.parse(AbstractParser.java:584) > at com.caucho.xml.AbstractParser.parse(AbstractParser.java:654) > at > >org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(RepositoryPersistor.java:288) > ... > > It seems the repository.xml cannot be parsed using the default XML > parser provided by Resin. Switching Resin to xerces/xalan for XML > handling solves the problem, but since it's just XML it should work > without tweaking. (and without asking hosting providers to change global > server settings...) > > Did anyone install an OJB application on Resin and have the same > problem? Or does anyone understand why the Resin XML parser pukes at the > OJB repository? > > -- > Klaasjan Brand <[EMAIL PROTECTED]> > Topicus B.V. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://jakarta.apache.org/ojb
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
