Dear
group!
When working with
JBoss 3.2.2 and later versions I experience a strange
problem:
I've desinged a
datasource descriptor file that starts a new instance of the HSQLDB service
that
listens on the 1702 TCP port. The <user-name/> and <password> tags
are present in the descriptor.
The descriptior seem
to deploy properly and the HSQDB instance is accessible from DbVisualizer
using "sa" as user and "" as password.
In my
application I lookup the DataSource using JNDI.
InitialContext ic =
new InitialContext();
DataSource ds =
(DataSource) ic.lookup("java:/MyDB");
Connection con =
ds.getConnection();
This causes an
exception with a message saying somthing like:
"No matching
credentials found in Subject!"
Has anyone seen
something similar, and is there a solution without going through the source
code??!
/Erik
