6.1.0.1 WebSphere Portal をインストールし、最新の推奨フィックスパック (WAS を含む) に更新しました。LDAP サーバー (Tivoli Directory Server 6.0) で構成されたユーザー・レジストリー。
グループ/ユーザー管理などのポータル アプリケーションは、ユーザーを正しく処理します。管理コンソールのユーザーの管理/グループの管理についても同様です。
しかし、アプリケーションでそのようなコードを実行すると:
String dn = "cn=agsgroup,cn=groups,dc=egov2g,dc=kz";
String id = "cn";
Context ctx = new InitialContext();
PumaHome service = (PumaHome) ctx.lookup(PumaHome.JNDI_NAME);
PumaProfile pp = service.getProfile();
PumaLocator pl = service.getLocator();
Group group = pl.findGroupByIdentifier(dn);
Map map = pp.getAttributes(group, Arrays.asList(new String[] {id}));
私は常にMemberNotFoundExceptionを取得します
com.ibm.portal.puma.MemberNotFoundException: EJPSG0002E: Requested Member does not exist.cn=agsgroup,cn=groups,dc=egov2g,dc=kz
dn は 100% 正しいです。同じコードが本番環境と別のサーバーで機能します。しかし、他の開発者の新しいインストールとサーバーには、説明されている問題があります。
稼働中のサーバーと稼働していないサーバーの wimconfig.xml ファイルを比較しましたが、違いは見つかりませんでした。
アイデア募集中
UPDATE コードはポートレットで正しく実行されます。したがって、ポートレット コンテキストなしで実行すると、puma が正しく初期化されないように見えます