| |

VerySource

 Forgot password?
 Register
Search
View: 888|Reply: 5

Heroes help! DCOM runs multiple instances in the system process

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-8 19:00:01
| Show all posts |Read mode
Help me !!!!!!!!!!!!!!!!!!!!!
The system software communication layer has two servers, one is a node server and the other is an application server. The node server is written in VC ++, and the application server is written in C ++ BUILDER. The client is written in DELPHI. The node It mainly communicates with the hardware, and the application server mainly provides the interface to the client (upper software), and the node server and C ++ BUILDER are both DCOM servers. When the application server is created, multiple node servers will be created. An instance of the object.
And the way the client software calls the application server is to import the type and call the application server as a control.
The installation situation of the customer is that the application server and the node server are on the same machine and are professional servers.
Moreover, both the node server and the application server have mechanisms to prevent multiple runs. The application server also uses multiple mechanisms to prevent multiple runs.
The client software is not limited to multiple runs.


Now we have very strange problems:
If the client software runs repeatedly on the server, everything works fine.
If the client software is running on another machine in the network, if the client software is opened and closed multiple times,
Both the node server and the application server may run two identical instances in the process.

Similarly, if there are multiple clients, the same problem may occur at runtime.
But these issues have never been seen in our current environment.


The customer's network environment is multiple network segments and multiple routes.
Reply

Use magic Report

0

Threads

9

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-5-10 14:00:02
| Show all posts
Did not disconnect before closing? ?
Reply

Use magic Report

0

Threads

9

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-5-10 16:30:01
| Show all posts
Did the client disconnect before closing? ? Or is it a delay, will it be later?
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-5-14 13:45:01
| Show all posts
It's not disconnected.
But many other customers use such software,
Others also have clients, and such problems have never occurred.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-5-15 09:30:01
| Show all posts
In addition to this situation, may there be other situations?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-24 13:30:01
| Show all posts
So weird, is the client not closed when disconnected
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list