0

現在、Ubuntu VM 上に構築されたハイチャート エクスポート サーバー v3 があります。

現在 (デモ ページを使用)、7 バイトの .png ファイルが与えられ、画像が含まれていない場合があります。ただし、ファイルが与えられるのではなく、次のエラーが発生する場合があります。

「SVG の変換がタイムアウトしました。ファイルがこれほど大きいか、JavaScript コールバックで構文エラーが発生した可能性がありますか?」

コマンド ラインから phantomJS を実行すると、グラフが表示されますが、デモ ページからは何も得られません。アドバイスをいただければ幸いです。

私の app.properties ファイルは次のようになります。

#### phantomjs properties ####

# the host and port phantomjs listens to
host = 127.0.0.1
port = 7777

# location of the phantomjs executable, could be for example /usr/local/bin/phantomjs
exec = /usr/bin/phantomjs

# location of convert script used by phantomjs, optional to leave the script property empty, than it's using the script located in: /WEB-INF/phantomjs/highcharts-convert.js. This is tested in TOMCAT, but sp$
script = /var/lib/tomcat6/webapps/highcharts-export/WEB-INF/phantomjs/highcharts-convert.js

#### connect properties used to connect with phantomjs running as HTTP-server ####
# all values in milliseconds

# specifies the timeout when reading from phantomjs when a connection is established
readTimeout = 6000

# timeout to be used when opening a communications link to the phantomjs server
connectTimeout = 500

# the whole request to the phantomjs server is scheduled, max timeout can last to this value. This is because in java you can't rely on the above two timeouts.
maxTimeout = 6500

#### Pool properties ####

# number of phantomjs servers you can run in the pool.
poolSize = 5

# The pool is implemented as a BlockingQueue. When asking for a phantom server connection and nothing is available, it waits for the number of milliseconds defined by maxWait
maxWait = 500
4

0 に答える 0