‎2008 Jul 02 2:45 PM
We have a ABAP program that executes a Java program using JCo and imports the results.
We Run the ABAP program in one System (Sys-A), which will call the JCO Server program and open the JCO server instance in Sys-A. The Java server program returns the results from Sys-A.
We Run the ABAP program in another System (Sys-B) which will call the JCO Server program and open the JCO server instance in Sys-B. The Java server program returns the results from Sys-A.
Now as per step 1 and 2, the JCO Server instance is open in both the systems.
When we Run the ABAP program again and again, this time the ABAP program does not open any JCO server instance as the server instance in both the systems are already open, After 3-4 execution the results(Note: The results are hard coded in Java Server Program) from Java server program (Sys-A) overlaps with the results from another Java server program (Sys-B). Meaning Sys-A gets the results from Sys-Bs Java server program and vice versa.
Is there a way to avoid this cross talk.
Thanks,
‎2008 Jul 02 3:03 PM
Hi
Once you are done with your work in Java system then jus disconnect the connection from your ABAP System(meant your SAP JCO Connection).There is no need to keep your connection open once you are done with your job.
Cheers,
Hakim
‎2008 Jul 02 3:03 PM
Hi
Once you are done with your work in Java system then jus disconnect the connection from your ABAP System(meant your SAP JCO Connection).There is no need to keep your connection open once you are done with your job.
Cheers,
Hakim
‎2008 Jul 02 6:30 PM
For business reasons we cannot close the connection. Is there a way around?
‎2008 Dec 09 6:24 PM
Hello Prakash!
I'm searching the way to access a database server runing MySQL. People sugest me use JDBC. However im not clear about what components are neccesary - SAP Netweaver Developer Studio ? others ? JCo ?-.
I'll appreciate your orientation.
Regards,
Manuel H.