Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 weblogic下发布war时出错:Cant look up information for non-default security realm. .
itsenser





发贴: 3
积分: 0
于 2003-10-13 16:19 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
发布war时出错:Cant look up information for non-default security realm. .

[Deployer:149033]preparing application portal on myserver
[Deployer:149033]failed application portal on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application portal on myserver.: Exception:weblogic.management.ApplicationException: prepare failed for portal-web-complete Module: portal-web-complete Error: Could not load portal-web-complete: java.lang.UnsupportedOperationException: [Security:090401]Cant look up information for non-default security realm. .

请部可能是什么问题:
web中相关部分:
<security-constraint>
<web-resource-collection>
<web-resource-name>/c/my_account/protected</web-resource-name>
<url-pattern>/c/my_account/protected</url-pattern>
</web-resource-collection>
<web-resource-collection>
<web-resource-name>/jcvs/*</web-resource-name>
<url-pattern>/jcvs/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>PortalRealm</realm-name>
<form-login-config>
<form-login-page>/c/my_account/j_login</form-login-page>
<form-error-page>/c/my_account/j_login_error</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>users</role-name>
</security-role>

PortalRealm 和users 都已经设好,下面是weblogic上相关设定:
<Security Name=“mydomain“
PasswordPolicy=“wl_default_password_policy“
Realm=“wl_default_realm“ RealmSetup=“true“>
<weblogic.security.providers.authentication.DefaultAuthenticator
Name=“Security:Name=myrealmDefaultAuthenticator“ Realm=“Security:Name=myrealm“/>

<weblogic.security.providers.authentication.DefaultIdentityAsserter
ActiveTypes=“AuthenticatedUser“
Name=“Security:Name=myrealmDefaultIdentityAsserter“ Realm=“Security:Name=myrealm“/>
<weblogic.security.providers.authorization.DefaultRoleMapper
Name=“Security:Name=myrealmDefaultRoleMapper“ Realm=“Security:Name=myrealm“/>
<weblogic.security.providers.authorization.DefaultAuthorizer
Name=“Security:Name=myrealmDefaultAuthorizer“ Realm=“Security:Name=myrealm“/>
<weblogic.security.providers.authorization.DefaultAdjudicator
Name=“Security:Name=myrealmDefaultAdjudicator“ Realm=“Security:Name=myrealm“/>
<weblogic.security.providers.credentials.DefaultCredentialMapper
Name=“Security:Name=myrealmDefaultCredentialMapper“ Realm=“Security:Name=myrealm“/>
<weblogic.management.security.authentication.UserLockoutManager
Name=“Security:Name=myrealmUserLockoutManager“ Realm=“Security:Name=myrealm“/>
<weblogic.management.security.Realm
Adjudicator=“Security:Name=myrealmDefaultAdjudicator“
AuthenticationProviders=“Security:Name=myrealmDefaultAuthenticator|Security:Name=myrealmDefaultIdentityAsserter“
Authorizers=“Security:Name=myrealmDefaultAuthorizer“
CredentialMappers=“Security:Name=myrealmDefaultCredentialMapper“
DefaultRealm=“false“ DisplayName=“myrealm“
Name=“Security:Name=myrealm“
RoleMappers=“Security:Name=myrealmDefaultRoleMapper“ UserLockoutManager=“Security:Name=myrealmUserLockoutManager“/>
<weblogic.security.providers.authorization.DefaultAdjudicator
DisplayName=“LiferayAdjudicator“
Name=“Security:Name=PortalRealmLiferayAdjudicator“ Realm=“Security:Name=PortalRealm“/>
<weblogic.security.providers.authorization.DefaultRoleMapper
Name=“Security:Name=PortalRealmDefaultRoleMapper“ Realm=“Security:Name=PortalRealm“/>
<weblogic.security.providers.authorization.DefaultAuthorizer
Name=“Security:Name=PortalRealmDefaultAuthorizer“ Realm=“Security:Name=PortalRealm“/>
<weblogic.security.providers.credentials.DefaultCredentialMapper
Name=“Security:Name=PortalRealmDefaultCredentialMapper“ Realm=“Security:Name=PortalRealm“/>
<weblogic.security.providers.audit.DefaultAuditor
Name=“Security:Name=PortalRealmDefaultAuditor“ Realm=“Security:Name=PortalRealm“/>
<weblogic.security.providers.authentication.DefaultAuthenticator
ControlFlag=“OPTIONAL“
Name=“Security:Name=PortalRealmDefaultAuthenticator“ Realm=“Security:Name=PortalRealm“/>

<weblogic.security.providers.authentication.DefaultIdentityAsserter
ActiveTypes=“AuthenticatedUser“
Name=“Security:Name=PortalRealmDefaultIdentityAsserter“
Realm=“Security:Name=PortalRealm“ TrustedClientPrincipals=““/>
<weblogic.security.providers.authorization.DefaultRoleMapper
DisplayName=“users“ Name=“Security:Name=PortalRealmusers“ Realm=“Security:Name=PortalRealm“/>
<weblogic.management.security.Realm
AuthenticationProviders=“Security:Name=PortalRealmRealmAdapterAuthenticator|Security:Name=PortalRealmDefaultAuthenticator1“
Authorizers=“Security:Name=PortalRealmDefaultAuthorizer1“
CredentialMappers=“Security:Name=PortalRealmDefaultCredentialMapper1“
DefaultRealm=“true“ DisplayName=“PortalRealm“
FullyDelegateAuthorization=“true“
Name=“Security:Name=PortalRealm“
RoleMappers=“Security:Name=PortalRealmDefaultRoleMapper1“ UseDeprecatedWebResource=“true“/>
<weblogic.security.providers.authorization.DefaultRoleMapper
DisplayName=“DefaultRoleMapper1“
Name=“Security:Name=PortalRealmDefaultRoleMapper1“ Realm=“Security:Name=PortalRealm“/>

<weblogic.security.providers.realmadapter.RealmAdapterAuthenticator
ActiveTypes=“AuthenticatedUser“ ControlFlag=“OPTIONAL“
Name=“Security:Name=PortalRealmRealmAdapterAuthenticator“ Realm=“Security:Name=PortalRealm“/>
<weblogic.security.providers.authorization.DefaultAuthorizer
DisplayName=“DefaultAuthorizer1“
Name=“Security:Name=PortalRealmDefaultAuthorizer1“ Realm=“Security:Name=PortalRealm“/>
<weblogic.security.providers.credentials.DefaultCredentialMapper
DisplayName=“DefaultCredentialMapper1“
Name=“Security:Name=PortalRealmDefaultCredentialMapper1“ Realm=“Security:Name=PortalRealm“/>
<weblogic.security.providers.authentication.DefaultAuthenticator
ControlFlag=“OPTIONAL“ DisplayName=“DefaultAuthenticator1“
Name=“Security:Name=PortalRealmDefaultAuthenticator1“ Realm=“Security:Name=PortalRealm“/>
</Security>




话题树型展开
人气 标题 作者 字数 发贴时间
3005 weblogic下发布war时出错:Cant look up information for non-default security realm. . itsenser 6056 2003-10-13 16:19

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923