davismit
14th February 2007, 13:28
Hi all, We have a problem were when we run two direct network communication sessions at the same time for two different networks (as in setup in EDI) then we have problems with application locks. The locks that are created are kind of generic to the DNC session so the second DNC running cant run.
Any ideas.
The first DNC is quite complexly related to other processes so it would be difficult to create a unix cript to control it.
Is there any way to differentiate the two processes so they dont lock. I have seen on her users running the DNC process so surely this must have happened before.
Thanks for the help
Dave
Kozure Ohashi
14th February 2007, 15:45
Dear davismit,
the process (recieve // send data) is controlled by a semaphore (file).
Every 5 seconds baan checks if the file exists. If not the appl_to data is read into baan.
Maybe this makes problems.
Regards,
Kozure
PS: Info is related to BaaN IV c4
davismit
14th February 2007, 16:33
and it looks fine when we have just one DNC running. If we try to run two at the same time (each has a separate DNC network and directory structure) so I assume Baan could run both at the same time but it locks out. If I run it manually I get the message (Some EDI sessions are still active, it is not possible to start up session exclusively).
I was hoping that two DNC processes could run simultanuosly if they had different DNC networks in the session which had different directory structures.
Could this be possible??
Dave
Kozure Ohashi
14th February 2007, 18:12
Dear Davismit,
reason could be the exclusiv application lock.
Is it possible to register 2 different networks, with 2 different file structures but within one session dnc.
Regards,
Kozure
davismit
15th February 2007, 10:01
Yes, looks like application locks. DNC can only run for one network. Cant understand why Baan wouldnt allow multiple DNC runnig simultaeously if there looking at different networks and directory structures.
Surely this is posible???
Chandra
11th March 2007, 17:45
The DNC session has to be customized not to create application lock. In this way multiple DNC sessions for different networks is possible at the same time.
Many Baan clients has the requirement of running multiple networks at the same time and this is the solution I found for my client.