Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Javax.mail not working in PI7.3

Hi All,

We recently upgraded PI systems(DEV and Quality) to version7.3

After the upgrade in PI7.3, I do face two issues:

Issue 1). I checked one of the mapping where I've used java email alert. I activiated the MAP I got the error as below:

package javax.mail does not exist import javax.mail.*; ^

It was working fine in the pre-upgraded systems(PI7.0) and it working fine in PI7.0(Production). I've that javax mail package in my 'imported archive'. Also in the import section I've included javax.mail.* in the my user defined function where i've the Java email coding. I imported the latest java mail API 1.4.4 version even then I see the same error.

Additionaly information: I noticed that when we have the javax.mail.* and javax.mail.internet in the import section of any user defined function (UDF) then when I activate I'm seeing the below error. It clears tells that we are using the obsolete API in PI7.3.

Not sure why the old or the latest java mail API is not compatible with PI 7.3.

Note: As I said earlier the present java mail API is working fine withPI 7.0 Production system.

ERROR:

-


Java Area import, Line 8:

package javax.mail does not exist import javax.mail.*; ^

Java Area import, Line 9:

package javax.mail.internet does not exist import

javax.mail.internet.*; ^

Note: /usr/sap/SYSID/DVEBMGS02/j2ee/cluster/server0/./temp/classpath_resolver/Mape1891ee962d211e1892000000149d67a/source/com/sap/xi/tf/_MY_MessageMapping_.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details. 2 errors

-


Issue 2). In PI7.0, in the message mapping select any mapping field and if you do CTRL + SHIFT and Right click we'll get the menu where we can navigate the Tools->Export tools->Export and download the message mapping.

In PI7.3 this facility is not available. Can you please help how to download the message mapping in PI7.3.

Can you please help me in resolving these two issue?

Thanks,

Edited by: XISearch on Mar 1, 2012 9:25 AM

Former Member
Not what you were looking for? View more on this topic or Ask a question