on 05-06-2004 12:51 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, you can find here a code example and documentation on how jca works:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/jca on ep6 building portal applications.zip
about the example, it has cahching problems, it means that refresh of jsp has not been mananged so it sounds all connections work or don't work, depending on which is the first response you get
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.