Re: Use of cayenne in caucho resin

From: enrico (enric..nricod.it)
Date: Wed Apr 27 2005 - 16:41:55 EDT

  • Next message: Andrus Adamchik: "Re: memory usage"

    enrico wrote:

    > Andrus Adamchik wrote:
    >
    >>> Error during configuration initialization. Domain 'name' attribute must
    >>> be not null
    >>>
    >>
    >>
    >> Doesn't look Resin-related. Check your cayenne.xml. Do you have a "name"
    >> attribute for each "domain" tag?
    >>
    >> Andrus
    >>
    >>
    > Yes, the attribute is present.
    > The same war file works fine under tomcat, jetty, jboss (tomcat
    > again), jonas ... that's why I suppose it's resin related.
    >
    > Thanks for the answer!
    > Bye
    > Enrico
    >
    >
    I think I solved the problem,
    May be someone else is interested:

    add in conf/resinf.conf the lines:

    <resin xmlns="http://caucho.com/ns/resin"
           xmlns:resin="http://caucho.com/ns/resin/core">
    <system-property javax.xml.transform.TransformerFactory=
                 "org.apache.xalan.processor.TransformerFactoryImpl"/>
    <system-property javax.xml.parsers.DocumentBuilderFactory=
                 "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
    <system-property javax.xml.parsers.SAXParserFactory=
                 "org.apache.xerces.jaxp.SAXParserFactoryImpl"/>

    Download xalan files from apache site, and copy in the lib directory of
    resin
    xalan.jar
    xercesImpl.jar
    xml-apis.jar

    ... everithing seems to work fine for the moment.

    Thanks again
    Enrico



    This archive was generated by hypermail 2.0.0 : Wed Apr 27 2005 - 16:41:56 EDT