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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce Bug
    • Affects Version/s: 7.0.0.CR1
    • Fix Version/s: No Release
    • Component/s: Console
    • Labels:
      None
    • Environment:

      AS7 built from git repo master, updated Morning of June 24th 2011

      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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                heiko.braun Heiko Braun
                Reporter:
                dmison Dana Mison
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: