1. The Deployment error for the war
-------
ERROR [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (ResourceContainer.invoker.nonDaemon-3) ENC setup failed
java.lang.NullPointerException
at org.jboss.injection.PersistenceUnitHandler.getEntityManagerFactory(PersistenceUnitHandler.java:172)
at org.jboss.injection.PersistenceUnitHandler.getFactory(PersistenceUnitHandler.java:163)
at org.jboss.injection.PuEncInjector.inject(PuEncInjector.java:54)
-------
2. sda.war uses r MS SQL Server Datasource on a Windows platform connecting to SQL Server using Integrated Authentication,
The driver sqljdbc4.jar loads the appropriate sqljdbc_auth.dll in the JVM library path from <JBOSS_HOME>\lib
(where JBOSS_HOME=E:\EnterprisePlatform-5.1.0\jboss-eap-5.1\jboss-as)
4. The driver and the Integrated Authentication are loaded fine and the error has to do with the sda-ds.xml or the persistence.xml.
Either specific type-mappings need to be specified in sda-ds.xml or specific jta-datasource properties needs to be added in the persistence.xml (sda.war\WEB-INF\classes\META-INF\persistence.xml) for both servicedeskappGlobalDatasource and the sdaDatasource.
5. It used to work in EAP 4.3.0 CP03 and not on EAP 5.1.0 GA.
Any assistance would be much appreciated.
Rgds
Dwai