Details
-
Bug
-
Resolution: Obsolete
-
Major
-
JBossAS-4.2.2.GA
-
None
-
None
-
Low
-
Workaround Exists
-
Description
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.