[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
Russian Progress User Group • Appserver и две базы данных
Страница 1 из 2

Appserver и две базы данных

Добавлено: 02 авг 2014, 09:25
MaksimZ
Appserver подключен к двум различным базам данных в режиме State-free Win 32 10.2bSp03. Appserver и базы данных на одном компьютере.
При вызове программы из C# , периодически пропадает подключение всегда к одной из баз данных.
Например. Запускается в цикле программа. В ней создаются записи как в одной, так и в другой базе данных.
Два раза программа запускается корректно, на третий пишет, что ко второй базе нет подключения, и так регулярно. Два раза есть - один нет. Привожу лог из программы на C#.


/*************************************************************************************/

[19:54:09:781]Запуск пешки crA05.p, Входные параметры Строка параметров:commit-3patientcod1292041
Для вставки:commit" + CHR(2) + "-3" + CHR(1) + "patientcod" + CHR(2) + "1292041" + CHR(1) + "
[b][19:54:09:921]Пешка отработала корректно, ответ
[i][19:54:09:921]Запуск пешки crA05.p, Входные параметры Строка параметров:
[/b][/i]
[19:54:10:78]Закрыт плагин: RunAnyVoid
[19:54:10:78]Активацмя формы: ОтправкаДанных
[19:54:10:78]Разблокировка плагина Отправка данных
[19:54:10:109]Запуск плагина: RunAnyVoid
[19:54:10:109]Блокирование родительского окна: ОтправкаДанных
[19:54:10:109]Блокировка плагина Отправка данных
[19:54:10:531]Запуск пешки crA05.p, Входные параметры Строка параметров:commit-3patientcod730459
Для вставки:commit" + CHR(2) + "-3" + CHR(1) + "patientcod" + CHR(2) + "730459" + CHR(1) + "
[19:54:10:609]Пешка отработала корректно, ответ

[19:54:10:609]Запуск пешки crA05.p, Входные параметры Строка параметров:
[19:54:10:750]Закрыт плагин: RunAnyVoid
[19:54:10:750]Активацмя формы: ОтправкаДанных
[19:54:10:750]Разблокировка плагина Отправка данных
[19:54:10:796]Запуск плагина: RunAnyVoid
[19:54:10:796]Блокирование родительского окна: ОтправкаДанных
[19:54:10:796]Блокировка плагина Отправка данных
[19:54:11:218]Запуск пешки crA05.p, Входные параметры Строка параметров:commit-3patientcod340192
Для вставки:commit" + CHR(2) + "-3" + CHR(1) + "patientcod" + CHR(2) + "340192" + CHR(1) + "
[b][19:54:11:312]Пешка отработала корректно, ответ

[19:54:11:312]Запуск пешки crA05.p, Входные параметры Строка параметров:
Для вставки:[/b]
[b][19:54:11:375]Произошла ошибка: Progress.Open4GL.Exceptions.RunTime4GLErrorException: ERROR condition: crA05.p Database polis not connected. (1006) (7211) [/b]
[19:54:11:390]Закрыт плагин: RunAnyVoid

Re: Appserver и две базы данных

Добавлено: 03 авг 2014, 17:29
George
В лог базы, в лог аппсервера ничего не пишется?

Re: Appserver и две базы данных

Добавлено: 04 авг 2014, 18:23
MaksimZ

Re: Appserver и две базы данных

Добавлено: 04 авг 2014, 22:43
George

Re: Appserver и две базы данных

Добавлено: 05 авг 2014, 10:11
dmi
Если скомпилировать процедуры - то же самое?

Re: Appserver и две базы данных

Добавлено: 05 авг 2014, 15:41
MaksimZ

Re: Appserver и две базы данных

Добавлено: 06 авг 2014, 12:04
Forerunner

Re: Appserver и две базы данных

Добавлено: 06 авг 2014, 12:11
Forerunner
Проверил, возникает.

Re: Appserver и две базы данных

Добавлено: 06 авг 2014, 13:47
dmi
как подключены БД, какие алиасы, одинаковая ли у них структура или нет ... , если напихать отладки по подключению базы и куда какой алиас смотрит?

то есть, у тебя запущен сервер приложений, при запуске он соединяется с БД в стартап-процедуре принудительно через pf.
И дисконнектов нигде нет?
Ты попадаешь в третий раз на какой агент?
Что promon говорит по соединениям от сервера приложений.
Можно ли в песочнице повторить?

Re: Appserver и две базы данных

Добавлено: 06 авг 2014, 19:28
MaksimZ

Re: Appserver и две базы данных

Добавлено: 06 авг 2014, 23:16
dmi
Стартап/коннект процедуры есть?

Re: Appserver и две базы данных

Добавлено: 07 авг 2014, 16:09
MaksimZ

Re: Appserver и две базы данных

Добавлено: 07 авг 2014, 21:18
dmi

Re: Appserver и две базы данных

Добавлено: 08 авг 2014, 09:26
MaksimZ

Re: Appserver и две базы данных

Добавлено: 08 авг 2014, 10:01
Arelav