on 05-11-2015 12:23 PM
Hi all,
My scenario is JDBC-->Proxy (Abap). I have defined a operation mapping parameter to create the connection JDBC:
This parameter is called from message mapping:
In the integration directory I have a ICO and also I have defined the operation mapping parameter in receiver interfaces.
This configuration is working fine but the problem is with the value of JDBC_CONN in production environment,
This value have a size higher to development URL.
The error is:
Runtime Exception when executing application mapping program SQLTest/SQLTest; Details: java.lang.NullPointerException; while trying to invoke the method java.sql.Connection.setAutoCommit(bool) of an object loaded from local variable 'conn'
'conn' is a varible used in java mapping,I know the problem isn't in java mapping because it is working fine with another value for JDBC_CONN parameter.
If I get the value for JDBC_CONN from message mapping instead of operation mapping parameter I have not this problem:
Is posible there is some problem or limitation in the size of operation mapping parameters? someone have idea where is the problem?
Thanks and regards
Mónica
Hi Monica, can u try to use 5 char in the name? I mean: JDBC_CONN it's like the 5 first chars are ok but not *CONN
I had a similar error using an RFC against SAP with some field values.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Everybody.
Like this blog shows , i can't notice any problem with the length name of the variable.
What is you PI version Monica?, Have you got several receivers?.
On another hand i don't know why you are using FixValues function and you have not choose to do a value-mapping, because i think you have three pair of values.
Regards.
Hi Monica,
Have you tried directly from the ESR?, if you are testing form Message Mapping you should go to parameters tab and to fill the variable manually.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.