I've installed JBoss 3.0.3 with Jetty and created several small servlets that talk to my EJB, which in turn talks to DB2. Everything works fine until I try to configure XA support. When my EJB attempts to get a connection I get the following error on the console.
Could not locate datasource! Reason: Invalid authentication attempt, principal=null
java.lang.SecurityException: Invalid authentication attempt, principal=null.
My xa-service.xml contains the XADataSourceClass and XADataSourceProperties info and a JNDI name which matches the one specified in the application-policy info for my login-conf.xml, but I can't for the life of me figure out what additional info JBoss wants.
It sounds like you have configured the data source
to use application security rather than a fixed
user/password and you aren't logging in?
If your problem is the XA config try the JCA forum.
If your problem is security config try the security
If your problem is the web app try the HTTPD forum.