Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
System
>
TERASOLUNA Framework
>
Forums
>
Open Discussion
>
Oracleインスタンスが起動完了となるまで接続を試行し続けるような設定方法
TERASOLUNA Framework
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
List of Releases
Stats
Source Code
Code Repository list
Subversion
View Repository
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Wiki
FrontPage
Title index
Recent changes
Doc Mgr
List Docs
Communication
Forums
List of Forums
Open Discussion (1277)
Mailing Lists
list of ML
terasoluna-information
News
Forums:
Open Discussion
(Thread #21894)
Return to Thread list
RSS
Oracleインスタンスが起動完了となるまで接続を試行し続けるような設定方法 (2009-03-03 18:22 by
Anonymous
#42285)
Reply
Create ticket
お世話になります。
jp.terasoluna.fw.batch.springsupport.init.AsyncBatchDaemon を Windowsサービスで起動しております。
DBはOracleを使用しておりますが、システム起動時のサービス起動では、接続先のOracleインスタンスが未起動であるため、
AsyncBatchDaemonが異常終了してしまいます。
AsyncBatchDaemonを異常終了させることなく、Oracleインスタンスが起動完了となるまで接続を試行し続けるような設定方法はありますでしょうか?。
Reply to #42285
×
Subject
Body
Reply To Message #42285 > お世話になります。 > > jp.terasoluna.fw.batch.springsupport.init.AsyncBatchDaemon を Windowsサービスで起動しております。 > DBはOracleを使用しておりますが、システム起動時のサービス起動では、接続先のOracleインスタンスが未起動であるため、 > AsyncBatchDaemonが異常終了してしまいます。 > AsyncBatchDaemonを異常終了させることなく、Oracleインスタンスが起動完了となるまで接続を試行し続けるような設定方法はありますでしょうか?。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel
RE: Oracleインスタンスが起動完了となるまで接続を試行し続けるような設定方法 (2009-03-04 15:29 by
kuramotoki
#42308)
Reply
Create ticket
マシン構成をAPサーバ、DBサーバ2台構成にしており、APサーバにて
AsyncBatchDaemonを起動している前提で回答します。
バッチFWではDBに接続できるまで待ち続けるような設定はありません。
ですので、Windowsサービスの起動時に、別途DBが起動しているか確認してから
AsyncBatchDaemonを起動するような仕組みを考える必要があるかと思います。
サービスがWSHでしたら、javaプロセスを実行する前にSQLを一定時間おいて
投げ続け、正常に繋がったらjavaプロセスを実行するようにするのも良いかと思います。
また、AsyncBatchDaemonは処理途中にDB接続できないことでエラーになった場合は
異常終了するかと思いますので、AsyncBatchDaemonの運用ポリシーも
別途考える必要はあるかと思います。
以上です。
Reply to
#42285
Reply to #42308
×
Subject
Body
Reply To Message #42308 > マシン構成をAPサーバ、DBサーバ2台構成にしており、APサーバにて > AsyncBatchDaemonを起動している前提で回答します。 > > バッチFWではDBに接続できるまで待ち続けるような設定はありません。 > ですので、Windowsサービスの起動時に、別途DBが起動しているか確認してから > AsyncBatchDaemonを起動するような仕組みを考える必要があるかと思います。 > サービスがWSHでしたら、javaプロセスを実行する前にSQLを一定時間おいて > 投げ続け、正常に繋がったらjavaプロセスを実行するようにするのも良いかと思います。 > > また、AsyncBatchDaemonは処理途中にDB接続できないことでエラーになった場合は > 異常終了するかと思いますので、AsyncBatchDaemonの運用ポリシーも > 別途考える必要はあるかと思います。 > > 以上です。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel
RE: Oracleインスタンスが起動完了となるまで接続を試行し続けるような設定方法 (2009-03-04 22:17 by
Anonymous
#42320)
Reply
Create ticket
御回答ありがとうございました。
Reply to
#42308
Reply to #42320
×
Subject
Body
Reply To Message #42320 > 御回答ありがとうございました。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel