I have found out that the server is trying to validate login with the fileRealm. I have added a user there and it works. So i have not configured the web service to login with the jdbcRealm. Here is the full configuration file:
<sun-ejb-jar>
<security-role-mapping>
<role-name>superuser</role-name>
<group-name>superuser</group-name>
</security-role-mapping>
<enterprise-beans>
<ejb>
<ejb-name>UserPersonalSettings</ejb-name>
<webservice-endpoint>
<port-component-name>UserPersonalSettings</port-component-name>
<login-config>
<realm>uddirealm</realm>
</login-config>
</webservice-endpoint>
</ejb>
</enterprise-beans>
</sun-ejb-jar>
Thanks!
[Message sent by forum member 'powerhouse_b' (powerhouse_b)]
http://forums.java.net/jive/thread.jspa?messageID=265172