java web start 1.5版本追蹤記錄檔的設定

來源:互聯網
上載者:User
文章目錄
  • File Names
  • File Locations

在jws1.4版本中的jws的控制台中,有選擇控制台輸出日期到某個位置的檔案的功能,但是在1.5中卻找不到這個選項了,翻遍控制台也沒有發現相關的設定,經過尋找,發現設定規則有所變化。

File Names

The names of the trace and log files are

plugin<modified version number>.trace 
plugin<modified version number>.log

where the <modified version number> includes the major, minor and patch version numbers; e.g., plugin142_06.trace or plugin150.log

File Locations

The default location (directory) of the trace and log files is:

  • <user.home>/.java/deployment/log on Unix/Linux
  • <User Application Data Folder>/Sun/Java/Deployment/log on Windows

where <User Application Data Folder> is as defined here.

If the environment variable USER_JPI_PROFILE is set to <user plugin home> then the trace and log files will be written to:

  • <user plugin home>/.java/deployment/log on Unix/Linux
  • <user plugin home>/Sun/Java/Deployment/log on Windows

If the property javaplugin.outputfiles.path is set to <directory name> then the trace and log files will be written to <directory name>.

If both USER_JPI_PROFILE and javaplugin.outputfiles.path are set then the value of javaplugin.outputfiles.path takes precedence, and the trace and log files will be written to <directory name>.

 

Unique Java Plug-in Property File

The property file is now named deployment.properties. It is located in the directory

<User Application Data Folder>/Sun/Java/Deployment

where <User Application Data Folder> is an application data folder specific to the user. As an example, for a user stanleyh on a Windows XP system, the value of <User Application Data Folder> would be

C:/Documents and Settings/stanleyh/Application Data

This property file is used by version 1.4.2, as well as all later versions.

 

The value of <User Application Data Folder> is obtained from the Win32 API function call SHGetFolderPath() with CSIDL_APPDATA.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.