Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5742

some date in <jta-data-source> cause the persistence unit to silently fail without any meanfull Exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.2.2.GA
    • None
    • None
    • Windows XP SP2, Sun JDK 1.5.0_15, Sun JRE 1.5.0_15, JBoss 4.2.2 GA.

    • Low
    • Workaround Exists
    • Hide

      Real solve: use sorter names.

      Show
      Real solve: use sorter names.

      Sometimes and usually when redeploy application that application can not locate persistent unit.

      if have <jta-data-source>java:VeryLongNameWith22Characters</jta-data-source>, cause the persistence unit deployment to silently fail without any meanfull Exception.
      The same with <jta-data-source>java:/VeryLongNameWith22Characters</jta-data-source>.

      Also problem appear when application is redeploing. Can work before deploy, can not work after deploy.

      Solve: restart full server, application and datasource should be placed before restart.

      Real solve: use sorter names.

              Unassigned Unassigned
              spamolovko spamolovko spamolovko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: