0

行の問題:

connection = Factory.Connection.getConnection("filenetuat:9080/wsi/FNCEWS40MTOM"); 
    Subject sub = UserContext.createSubject(connection,"c2l.user", "$up3r2015","FileNetP8WSI"); 

上記のコードは、スタンドアロンの Java コードでは機能しますが、JBoss では機能しません。

エラーログについては、以下を参照してください。

注:以前は次のようになっていました:

プロパティ ファイルがありません: users.properties またはデフォルト: defaultUsers.properties が見つかりません

この問題は、以下のリンクを参照して Jboss の standalone.xml ファイルを変更することで解決しました: https://developer.jboss.org/blogs/mukeshghildiyal/2012/01/09/enabling-the-users-and-roles -in-jboss7-and-adding-admin-console-restriction

「ユーザーが認証されていません」を解決するには、 を知る必要があります。jboss を変更する必要はありますか (jboss バージョン 7 を使用しています)。

ログ:

12:00:26,935 INFO  [stdout] (Thread-1 (group:HornetQ-client-global-threads-985873369)) [INFO] Recieved an object message with title saveJobRunLogService

12:00:26,948 INFO  [stdout] (org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor#2920964e-1) [ERROR] Encountered an error executing the step

12:00:26,948 INFO  [stdout] (org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor#2920964e-1) com.filenet.api.exception.EngineRuntimeException: FNRCE0040E: E_NOT_AUTHENTICATED: The user is not authenticated.
4

1 に答える 1