-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13375 from newrelic/translations-eb9c1df
Updated translations - (machine translation)
- Loading branch information
Showing
20 changed files
with
442 additions
and
159 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
...gents/java-agent/additional-installation/install-java-agent-java-2-security.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
title: WebLogic および WebSphere 用の Java 2 セキュリティ インストール | ||
tags: | ||
- Agents | ||
- Java agent | ||
- Additional installation | ||
metaDescription: 'For WebLogic and WebSphere users with Java 2 Security or Administrative Security: Additional install steps for the New Relic Java agent.' | ||
translationType: machine | ||
--- | ||
|
||
WebLogic または WebSphere ユーザーで Java 2 セキュリティ モデルを使用している場合、Java エージェント [のインストールに加えて、Java エージェント](/install/java)を構成する必要があります。 | ||
|
||
## WebLogicを使用しています。Java 2セキュリティ [#weblogic-java-2] | ||
|
||
Java 2 セキュリティを使用している場合は、次のエントリを `weblogic.policy` に追加してインストールを完了します。 | ||
|
||
``` | ||
grant codeBase "file:YOUR_FULL_PATH_TO_FILE/newrelic/-" { | ||
permission java.security.AllPermission; | ||
}; | ||
``` | ||
|
||
`/full/path/to/newrelic`に `newrelic.jar` を含むディレクトリを指定します。デフォルトのポリシー ファイルの場所は `weblogic_root/server/lib/weblogic.policy`です。 | ||
|
||
## WebSphere。Java 2 セキュリティまたは管理者用セキュリティ [#websphere-java-2] | ||
|
||
Java 2 Security または WebSphere Admin Security を使用している場合は、New Relic インストール フォルダー内のすべての jar に適切な権限を付与する必要があります。 | ||
|
||
すべてのアプリサーバーに対して New Relic を有効にするには、 `java.policy` ファイルを編集します。 | ||
|
||
1. 次の WebSphere インストール ディレクトリ内にある `java.policy` ファイルを開きます。 | ||
|
||
``` | ||
YOUR_WEBSPHERE_INSTALL_DIRECTORY/java/jre/lib/security/java.policy | ||
``` | ||
|
||
2. 次のテキストをポリシー ファイルに追加し、 `newrelic.jar`を含むフォルダーを指すように `file:` パスをカスタマイズします。パスの末尾にあるダッシュ `-` を必ず保持してください。これにより、ターゲット フォルダー内のすべての jar に必要な権限が付与されます。 | ||
|
||
``` | ||
grant codeBase "file:/YOUR_FULL_PATH_TO_NEW_RELIC_FOLDER/-" { | ||
permission java.security.AllPermission; | ||
permission java.net.NetPermission "specifyStreamHandler"; | ||
permission java.net.SocketPermission "*.newrelic.com", "connect,accept,resolve"; | ||
}; | ||
``` | ||
|
||
<Callout variant="important"> | ||
Windows システムの場合でも、 `codeBase` 値ではディレクトリ区切り文字としてバックスラッシュではなくスラッシュを使用する必要があります。 | ||
</Callout> | ||
|
||
3. アプリケーションサーバーを再起動します。 | ||
|
||
<Callout variant="tip"> | ||
各アプリの Java セキュリティ権限は、 `java.policy` と `server.policy`の和集合によって決定されます。複数のファイルに同じ権限設定を置かないでください。 | ||
</Callout> | ||
|
||
ポリシー ファイルの構文の詳細については、 [「デフォルトのポリシーの実装とポリシー ファイルの構文」](http://docs.oracle.com/javase/8/docs/technotes/guides/security/PolicyFiles.html)を参照してください。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.