Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1109

can't specifiy correct JNDI name when creating datasource in console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • No Release
    • 7.0.0.CR1
    • Console
    • None

    Description

      I have a sample app with a persistence.xml with <jta-data-source>java:/todos-ds</jta-data-source>

      The *-ds.xml I was using for AS6 has <jndi-name>todos-ds</jndi-name>

      This works in AS6. But when I try to create a datasource in the AS7 managment console I can't create it with the name java:/todos-ds. I just get a red exclamation mark next to the JNDI name box until I remove the java:/ and then it lets me create the datasource but the app doesn't work of course. If I open up the standalone.xml I can edit the jndi-name and add the prefix, then the app works as expected.

      (I haven't looked at using the CLI to create a DS yet)

      Attachments

        Activity

          People

            rhn-support-hbraun Heiko Braun
            dmison_jira Dana Mison (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: