geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-3770) Error reporting of undeclared data-sources from persistence.xml with the file path and such
Date Sun, 20 Jan 2008 18:32:34 GMT
Error reporting of undeclared data-sources from persistence.xml with the file path and such
-------------------------------------------------------------------------------------------

                 Key: GERONIMO-3770
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3770
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: usability
    Affects Versions: 2.1
            Reporter: Jacek Laskowski


When persistence.xml uses <jta-data-source>jdbc/sample</jta-data-source> and no
other files are in ear the following error is printed out:

    Error: Unable to distribute ear-ejb-beanname.ear: Unable to resolve
    reference "JtaDataSourceWrapper"

        in gbean
    default/ear-ejb-beanname/1200851914187/car?EJBModule=ear-ejb-beanname-ejb.jar,J2EEApplication=default/ear-ejb-beanname/1200851914187/car,PersistenceUnitModule=ear-ejb-beanname-ejb.j
ar,j2eeType=PersistenceUnit,name=ear-ejb-beanname-ejbPU

        to a gbean matching the pattern
    [?name=jdbc/sample#org.apache.geronimo.naming.ResourceSource]

        due to: No matches for referencePatterns:
    [?name=jdbc/sample#org.apache.geronimo.naming.ResourceSource]

It could be better off if a user faced a message like this:

 Unable to resolve "jdbc/sample" declared in persistence.xml (path=ejb-module.jar/META-INF/persistence.xml)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message