New version QSystem 21.1 is available!

Facebook

Функциональность QSystem
× Help improve QSystem!

Errors and failures inevitable part of any software. Jointly improve quality.

[ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common

  • Самедов
  • Самедов's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
7 years 8 months ago #4771 by Самедов
Самедов created the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
2018-10-30 14:58:14,784 [ INFO] START LOGER. Logger: welcome.file at {ru.apertum.qsystem.common.QLog.initial(QLog.java:305)}
2018-10-30 14:58:14,786 [ INFO] Mode: FULL at {ru.apertum.qsystem.common.QLog.initial(QLog.java:309)}
2018-10-30 14:58:14,787 [ INFO] Plugins: YES at {ru.apertum.qsystem.common.QLog.initial(QLog.java:310)}
2018-10-30 14:58:14,842 [ INFO] Загрузка плагинов из папки plugins. at {ru.apertum.qsystem.common.Uses.loadPlugins(Uses.java:744)}
2018-10-30 14:58:14,844 [DEBUG] Плагин Journal.jar at {ru.apertum.qsystem.common.Uses.loadPlugins(Uses.java:751)}
2018-10-30 14:58:14,845 [DEBUG] Плагин printPlugin.jar at {ru.apertum.qsystem.common.Uses.loadPlugins(Uses.java:751)}
2018-10-30 14:58:14,850 [ INFO] Languages are loading... at {ru.apertum.qsystem.client.Locales.<init>(Locales.java:59)}
2018-10-30 14:58:14,859 [DEBUG] Langusge: English en_US at {ru.apertum.qsystem.client.Locales.<init>(Locales.java:97)}
2018-10-30 14:58:14,861 [DEBUG] Langusge: Русский ru_RU at {ru.apertum.qsystem.client.Locales.<init>(Locales.java:97)}
2018-10-30 14:58:14,949 [ INFO] Получение возможных услуг. at {ru.apertum.qsystem.common.NetCommander.getServiсes(NetCommander.java:165)}
2018-10-30 14:58:15,039 [TRACE] Задание "Получить перечень услуг" на 127.0.0.1:3128#
{"jsonrpc":"2.0","id":"1540897094949","method":"Получить перечень услуг"} at {ru.apertum.qsystem.common.NetCommander.sendRpc(NetCommander.java:108)}
2018-10-30 14:58:16,050 [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common.exceptions.QException.<init>(QException.java:34)}
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at ru.apertum.qsystem.common.NetCommander.sendRpc(NetCommander.java:113)
at ru.apertum.qsystem.common.NetCommander.send(NetCommander.java:97)
at ru.apertum.qsystem.common.NetCommander.getServiсes(NetCommander.java:169)
at ru.apertum.qsystem.client.forms.FWelcome.main(FWelcome.java:380)

Please Log in or Create an account to join the conversation.

  • Evgenic
  • Evgenic's Avatar
  • Offline
  • Администратор
  • Администратор
More
7 years 8 months ago #4772 by Evgenic
Evgenic replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
>>Can not connect to the server. Connection refused: connect

Нет соединения по сети. Либо адрес с портом не верно либо всякие антивиры-фаерволы.

В очереди все первые. Каждый в своё время.

Please Log in or Create an account to join the conversation.

  • Самедов
  • Самедов's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
7 years 8 months ago #4773 by Самедов
Самедов replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
Добрый день,

Попрошу посмотреть также лог Start Server.bat (приаттачел

File Attachment:

File Name: server.log
File Size:2 KB
).

Никакое ПО не менялось - фаерволы также все ок. Может проблема с базой как можно проверить, что с базой все хорошо ?
Attachments:

Please Log in or Create an account to join the conversation.

  • Evgenic
  • Evgenic's Avatar
  • Offline
  • Администратор
  • Администратор
More
7 years 8 months ago #4774 by Evgenic
Evgenic replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
>> Connection has timed out.

Получение данных из БД отвалилось по таймауту. Если сервер не поднялся, то пункт регистрации ничего не нашел для соединения. Проверить само соединение можно в admdbcom.bat. Посмотрите состояние в Workbench.

В очереди все первые. Каждый в своё время.

Please Log in or Create an account to join the conversation.

  • Самедов
  • Самедов's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
7 years 8 months ago #4775 by Самедов
Самедов replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
Пож-та
Check connection по H2 проходит успешно.

Но ошибка Server not Started
Attachments:

Please Log in or Create an account to join the conversation.

  • Evgenic
  • Evgenic's Avatar
  • Offline
  • Администратор
  • Администратор
More
7 years 8 months ago - 7 years 8 months ago #4776 by Evgenic
Evgenic replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
Н2 не при чем.

у вас в логах сервера DB server 'MySQL-local driver=com.mysql.jdbc.Driver' url=jdbc:mysql://127.0.0.1/qsystem?autoReconnect=true&characterEncoding=UTF-8

В очереди все первые. Каждый в своё время.
Last Edit: 7 years 8 months ago by Evgenic.

Please Log in or Create an account to join the conversation.

  • Самедов
  • Самедов's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
7 years 8 months ago #4777 by Самедов
Самедов replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
Как видно опции Main & Current не выбраны, поэтому получается что база основная у нас H2, поэтому и ошибка с связью MySql не может быть проблемой, верно ?
Attachments:

Please Log in or Create an account to join the conversation.

  • Самедов
  • Самедов's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
7 years 8 months ago #4778 by Самедов
Самедов replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
Вы уже ответили получается дело с MySql.

Можете что еще подсказать, как можно проверить что случилось с базой MySql?

Please Log in or Create an account to join the conversation.

  • Evgenic
  • Evgenic's Avatar
  • Offline
  • Администратор
  • Администратор
More
7 years 8 months ago #4779 by Evgenic
Evgenic replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
Не выбрано по факту.

В очереди все первые. Каждый в своё время.

Please Log in or Create an account to join the conversation.

  • Самедов
  • Самедов's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
7 years 8 months ago #4780 by Самедов
Самедов replied the topic: [ERROR] Exception!: Can not connect to the server. at {ru.apertum.qsystem.common
Можете что еще подсказать, как можно проверить что случилось с базой MySql?

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Работаем с QSystem