cancel
Showing results for 
Search instead for 
Did you mean: 

E-Sourcing Integration with ECC, script error

Former Member
0 Kudos

Hi,

I am trying to integrate ECC server with E-sourcing, following the document on SAP market place.

In this one step is to import DATA workbook.

In this excel there is a workbook called Scripts. While uploading all 24 enteries in it are failing.

I saw the log it says null pointer exception.

So I tried to create those enteries manually.

In that there is a script : classpath:///com/frictionless/sap/integration/data/FileExport.txt

So its trying to get the script from this location. But this file is not there on my E-sourcing server.

Can any one suggest where I am mistaking or what value classpath variable has or any one can give me this file

Regards,

Vaibhav

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Undeployed and then Re-deployed !

james_wojnicki
Employee
Employee
0 Kudos

What version software?

You are sure you deployed the Integration JAR file?

Former Member
0 Kudos

What version software?

E-sourcing 5.1 On Premise

You are sure you deployed the Integration JAR file?

Definately Sure, I followed at the step till I got stuck with this uploading Script errors.

Former Member
0 Kudos

Hi James,

Could you please zip all the required files(24) and attach here

So that I can altest move ahead with the integration process.

Getting error for all this script even after I have deployed sap-integration.jar successfully !

Also if you can guide me where does this "classpath" point to in the E-sourcing server ?

tridip_chakraborthy
Contributor
0 Kudos

Hi Vaibhav

You are getting this error because you have not implemented the SAP Integration.jar file

SAP hasnt included this step in their documentation.

Please open an OSS message for them to give u the SAP Integration.jar file and then deploy this by running the java executable in the folder SAP ESourcing

Hope this helps

I had also mentioned to SAP to update this in their documentation

Regards

Tridip

Former Member
0 Kudos

Hi Tridip,

I have followed the latest guide available on service market place.

Also I have sapintegration.jar file and have deployed it successfuly.

Then too getting this script error.

Could you please zip all the required 24 files and send it across to me.

Also what is the classpath value in classpath:///com/frictionless/sap/integration/data/FileExport.txt ?

Regards,

Vaibhav Modi

tridip_chakraborthy
Contributor
0 Kudos

Hi Vaibhav

There is absolutely no problem with the files you have.

Please follow the below steps and you will get a successful upload, we too faced the same issue

Steps

Now that you have the the integration jar, you need to add it to the ear file and redeploy the earfile.

1) start the configure utility.

FCIHOMEDIR/bin/configure.exe (on windows) (in your case G:/esourcing51/bin/configure.exe)

2) select these two options:

a) Include Custom Jar File

b) Update WAR and EAR Files

Note: no need to select any other options.

3) When you get to the add custom jar screen add the SAPintegration.jar file.

4) the utility will rebuild the EAR file.

5) using Netweaver Visual Administrator, redeploy as you have been. remember to stop the application and remove the old deployment first.

If the load fails after doing steps 1-5 then it will be because of the following reasons, first check the log file and then see the pointers below

It may be that the ear file was generated OK but the deletion of the temp directories failed. The only sources I can think of for this type of failure are:

1) file protection issues. either the directory tree was created by someone other than the person building the ear or the protections are not correct (too restrictive). check who owns and who can write/delete items in the directory tree. (starting at the top)

2) are multiple users trying to access the directories at the same time? (directory or files locked) Were there any aborted attempts in the creation process?

The contents of the fcsourcing.ear and war should be fine and this can be deployed on Netweaver. However since the cleanup fails the next step, creating the optimizer ear file, has not occurred. So for this you will need to address the file access problem you appear to have.

Vaibhav: The bottomline is that the EAR file has to be re-built, so please remove the old deployment and then re-deploy the EAR and the SAP integration.jar file

Let me know if this helped

Regards

Tridip