Skip to Content
avatar image
Former Member

Multiple sessions created in R3 when using JCA

Hi All,

I have created a simple iView in EP6 that retrieves data from R3. Instead of using JCo, I used the JCA, following the JCA tutorial published in SDN. It works fine. Problem is, I noticed that everytime the BAPI is called, it creates a new session in R3. I don't recall having this problem in EP5 using JCo with session pooling. Any idea?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 20, 2004 at 12:42 PM

    i got same problem too, i found some notes about SAPJ2ee for ISA which speak about it and it should work fine at certain patch level of SAPJ2EE. Anyway i'm running with SAPJ2EE PL 23 but worst is that JCA is not working anymore.

    in my developped iview I'm still getting java.nullpointer.exception when tries to connect to R3 backend. I'm using UIDPWD auth method. When i test the system launching a transaction it works.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 29, 2004 at 05:58 PM

    Hi,

    Could you pls. send the link for downloading the JCA tutorial(Retriveing data from R/3).

    Thanks in advance for ur help.

    Regards,

    Vasu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 11, 2004 at 10:58 AM

    Hi,

    I trying to do the same thing but not with much success!

    Could you send me your code to see where I fail??

    thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      The code is the one get in sample, i can send you what i downloaded from sdn, but i need you email.

      i changed nothing, I just create a new project in eclipse importing the par file and deployed to portal.

      i fixed the problem for multiple r/3 sessions open configuring sap j2ee under eisconnector| select sap|connector properties|select sapfactory in jndi name|pooling properties. change the connection lifetime from 0 to a value press set in pooling properties and again set in the widest mask.