This content has been marked as final.
Show 2 replies
-
1. Re: EJB's and Default DataSource
carcudi Apr 9, 2003 9:58 PM (in response to carcudi)OK. This was easy: use the jbosscmp-jdbc.xml file.
Nice and clean.
One not so nice and clean part about it is the need to avoid using a realm to authenticate against your datasource because the default principal coming out of a deployed set of beans is NULL.
Is there a DD specification for any of the three xml files (ejb-jar, jboss, jbosscmp-jdbc) which can assign a default principal? -
2. Re: EJB's and Default DataSource
anupj Apr 29, 2003 8:59 AM (in response to carcudi)In the jboss.xml
add
<unauthenticated-principal>system</unauthenticated-principal>
I think, it will work