Glassfish 3 has two configurations

青春壹個敷衍的年華 提交于 2019-12-22 01:35:05

问题


I wanted to setup JDBC realm in Glassfish 3.1 and I am following this blog http://blog.gamatam.com/2009/11/jdbc-realm-setup-with-glassfish-v3.html

But I notice in Glassfish 3.1 that there are two configuration namely default-config and server-config

I just wanted to try out authentication using glassfish but I dont know where should I configure my realm?

Any hints?

Thanks


回答1:


Put it in server-config.

From the Glassfish 3.1.1 doc:

The default-config configuration is a special configuration that acts as a template for creating named configurations. Clusters and instances cannot refer to the default-config configuration. The default-config configuration can only be copied to create configurations.



来源:https://stackoverflow.com/questions/10188342/glassfish-3-has-two-configurations

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!