New version QSystem 21.1 is available!

Facebook

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

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

error java server

  • Evgenic
  • Evgenic's Avatar
  • Offline
  • Администратор
  • Администратор
More
9 years 9 months ago #1225 by Evgenic
Evgenic replied the topic: error java server
Could you attach a server log <qsystem>/logs/server.log?

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

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

  • palazos
  • palazos's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
9 years 9 months ago - 9 years 9 months ago #1226 by palazos
palazos replied the topic: error java server
.
Last Edit: 9 years 9 months ago by palazos.

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

  • Evgenic
  • Evgenic's Avatar
  • Offline
  • Администратор
  • Администратор
More
9 years 9 months ago #1227 by Evgenic
Evgenic replied the topic: error java server

Caused by: java.net.BindException: Address already in use: bind

becouse of double start of server. Kill all process "java".

Looks like server had connect to H2, but admin to MySQL.

Try next steps:
1. Remove all logs from "logs" folder
2. Remove file <qsystem>\plugins\Journal.jar - this is CRM plugin and not important.
3. Check connection to BD. Just to be sure.
4. Start server. Start admin.
5. Catch an error.
6. Attach the logs. Please not as plain text. Attach as the files.

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

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

  • palazos
  • palazos's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
9 years 9 months ago #1228 by palazos
palazos replied the topic: error java server
Sorry!

I attach the logs files.
Attachments:

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

  • Evgenic
  • Evgenic's Avatar
  • Offline
  • Администратор
  • Администратор
More
9 years 9 months ago - 9 years 9 months ago #1229 by Evgenic
Evgenic replied the topic: error java server
It is little bit unusual.
A problem is:
2015-03-01 11:15:52,572 [DEBUG]  Start thread for receiving task. host=127.0.0.1 ip=[127, 0, 0, 1] at {ru.apertum.qsystem.server.QServer.run(QServer.java:314)}
2015-03-01 11:16:02,575 [TRACE] Task:
 at {ru.apertum.qsystem.server.QServer.run(QServer.java:346)}

But it must be like:
[DEBUG]  Start thread for receiving task. host=127.0.0.1 ip=[127, 0, 0, 1] at ru.apertum.qsystem.server.QServer.run(QServer.java:314)
[TRACE] Task:
{"jsonrpc":"2.0","id":"1425208712056","method":"Получить состояние сервера"} at ru.apertum.qsystem.server.QServer.run(QServer.java:346)
[ INFO] Task processing: 'Получить состояние сервера' 
[DEBUG] Processing: "Получить состояние сервера" at ru.apertum.qsystem.server.controller.Executer$Task.process(Executer.java:144)

Look at Task:
{"jsonrpc":"2.0","id":"1425208712056","method":"Получить состояние сервера"}
<- This is body of server task.

Task was sent to server. Connection was opend but data wasnt receive.
Timeout in 10 sec must be enough but no data.
Probably error happens on client. Need figure out a situation in client logs i.e. client.log , welcome.log or admin.log.

And where is some tool PingNet for testing net in attachment. start.bat - get port - send data.

File Attachment:

File Name: PingNet.zip
File Size:11 KB

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

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

  • palazos
  • palazos's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
9 years 9 months ago #1230 by palazos
palazos replied the topic: error java server
thanks my friend:

I attach ping report;

Server started.

Create Socket.
OK.
...
Send message.
OK.
Read answer ...
read 1
GET DATA=ping-ping
serv 1
serv 2
serv 3 fin
.read 2 fin
Next


OK.




So I think that it recibes data..

Also attach all logs files
Attachments:

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

More
9 years 9 months ago #1231 by R2D2
R2D2 replied the topic: error java server
The following user(s) said Thank You: palazos

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

  • palazos
  • palazos's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
9 years 9 months ago #1232 by palazos
palazos replied the topic: error java server
Hello!!

I have unchecked the proxy settings.

I don't understand...

thanks for your replyes!

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

More
9 years 9 months ago #1233 by Philip
Philip replied the topic: error java server
did you have success or not?

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

More
9 years 9 months ago #1234 by Philip
Philip replied the topic: error java server
Switch off an antivirus and firewall.

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

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