Unable to Login to Perforce Due to 'Password Not Allowed at This Server Security Level' Error
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
This problem is related to a third party plugin, and therefore not supported by Atlassian. See Atlassian Supported Plugins for more information.
症状
The JIRA Fisheye plugin is unable to login to Perforce due to error below:
<log level="VERBOSE" date="5/5/08 2:38:40 PM">From P4:error: Password not allowed at this server security level, use 'p4 login'.</log>
<log level="VERBOSE" date="5/5/08 2:38:40 PM">P4Process.readLine(): error: Password not allowed at this server security level, use 'p4 login'.</log>
<log level="VERBOSE" date="5/5/08 2:38:40 PM">From P4:exit: 1</log>
<log level="ERROR" date="5/5/08 2:38:40 PM">P4 exited with an Error!</log>
<log level="NOTIFY" date="5/5/08 2:38:40 PM">P4Process exit code: 1</log>
<log level="ERROR" date="5/5/08 2:38:40 PM">java.io.IOException: error: Password not allowed at this server security level, use 'p4 login'.
at com.perforce.api.P4Process.closeProcess(P4Process.java:587)
at com.perforce.api.Job.sync(Job.java:443)
at com.perforce.api.Job.sync(Job.java:379)
at com.perforce.api.Job.getJob(Job.java:124)
at com.atlassian.jira.plugin.ext.perforce.PerforceManagerImpl.getJob(PerforceManagerImpl.java:482)
at com.atlassian.jira.plugin.ext.perforce.issuetabpanels.job.P4JobTabPanel.getActions(P4JobTabPanel.java:45)
at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:99)
at com.atlassian.jira.web.action.issue.ViewIssue.getActions(ViewIssue.java:400)
...
原因
The Perforce security level is set to level 3 which requires ticket based authentication.
回避策
Create a file which stores the location of the tickets. The p4.ticketfile should be changed to p4tickets.txt. The p4tickets.txt should then reside in the classpath <install directory\atlassian-jira\WEB-INF\classes.
ソリューション
Perforce integration is now handled through the JIRA Fisheye Plugin.
この内容はお役に立ちましたか?