Thank you Adrian!

Yes, I understand that it would give much more if I included them. I
will do so
when I get to the site were the problem is experienced, was just trying
to get an idea about what it could be.

I'll try to remive the "<security-domain>" configuration, what exactly
does it do?

/Erik


-----Ursprungligt meddelande-----
Fr�n: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] F�r Adrian Brock
Skickat: den 5 december 2003 13:29
Till: [EMAIL PROTECTED]
�mne: Re: [JBoss-user] Problem with DataSource credentials....


If you want anything more than a guess, why don't you post
the problem deployment descriptor and the full stacktrace?

It sounds like your <security-domain> configuration is incorrect. Why
not just remove it if you are specifying user/password anyway?

Regards,
Adrian

On Fri, 2003-12-05 at 10:39, Erik Ytterman wrote:
> 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
>  
>  
>  
>  
>  
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to