Glassfish 3具有两种配置 [英] Glassfish 3 has two configurations
问题描述
我想在Glassfish 3.1中设置JDBC领域,我正在关注此博客
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
但是我注意到在Glassfish 3.1中,有两个配置,即默认配置和服务器配置
But I notice in Glassfish 3.1 that there are two configuration namely default-config and server-config
我只是想尝试使用glassfish进行身份验证,但是我不知道该在哪里配置我的领域?
I just wanted to try out authentication using glassfish but I dont know where should I configure my realm?
有任何提示吗?
谢谢
推荐答案
将其放入 server-config .
来自 Glassfish 3.1.1 doc :
default-config配置是一种特殊的配置,可以起作用 作为用于创建命名配置的模板.集群和 实例不能引用default-config配置.这 default-config配置只能复制创建 配置.
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.
这篇关于Glassfish 3具有两种配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!