cancel
Showing results for 
Search instead for 
Did you mean: 

KM package size while import

former_member261631
Participant
0 Kudos

Hi Experts,

I am trying to upload **.kmc package file while performing KM import in KM repository i.e, KM Content area in Portal 7.31.

But while doing import I am getting "Page cannot be displayed" in the Portal Container area.

The file is around 400 MB and having almost 700 items. And secondly the CM repository is in db mode (Persistance mode).

And here I believe when KM repostiory is in db mode and not in dbfs / fs mode; then KM import should work irrespective of package size..

I need inputs to clear my doubt.....

Regards,

Hanif

Accepted Solutions (1)

Accepted Solutions (1)

tanushsingh_parihar
Contributor
0 Kudos

Hi Hanif,

You should check if the upload fails for large files (> 32KB) only. If that is the case, then check SAP note 1629755 which addresses the issue of uploading large files to KM. Now since you are on a 7.31x portal,you will have to also adjust the another parameter in addition to the one mentioned in the note to allow upload of large files. In short you have to do the following:

1.Add the parameter MaxRequestContentLength with a large value (Unit is KB) in  http://<server>:50000/NWA -> CONFIGURATION ->  Infrastructure -> Java System Properties -> Services -> HTTP Provider

2.Relevant parameter in 730 for configuring the upload limit is
  icm/HTTP/max_request_size_KB

Refer the following documentation for more:

http://help.sap.com/saphelp_nw73/helpdata/en/49/b7299496ee200ce10000000a42189c/frameset.htm

3.After configuring both the parameters restart the J2EE engine.

Former Member
0 Kudos

Hi Tanushsingh,

since many of my customer had this problem already, Im interested in a working solution. I hope you dont mind if I join the discussion.


Now since you are on a 7.31x portal,you will have to also adjust the another parameter in addition to the one mentioned in the note to allow upload of large files

 

This "also" irritatets me: since there is no Visual Admin Tool on 7.31 at all, how could we add any values according to the note? Also, you are clear Hanif is not talking about uploading KM large content from the KM explorer, he is talking about the import web frontend for KMC files?

1.Add the parameter MaxRequestContentLength with a large value (Unit is KB) in  http://<server>:50000/NWA -> CONFIGURATION ->  Infrastructure -> Java System Properties -> Services -> HTTP Provider

This step was new to me, I didnt found the key you mentioned and created a new one. I gave it a value of 1073741824.


2.Relevant parameter in 730 for configuring the upload limit is
  icm/HTTP/max_request_size_KB

Refer the following documentation for more:

http://help.sap.com/saphelp_nw73/helpdata/en/49/b7299496ee200ce10000000a42189c/frameset.htm

I had already configured this value to a custom value (also to 1073741824), since I knew its allows large uploads in KM from the upload functionality in the KM explorer.

After all I restarded J2EE on my VM (Im on 7.31 SP6) I tryed uploading large KMC files and it I had the same error like always. I guess we are talking about different things, either Hanif or I are talking about file upload in the KM explorer. May be we missed something? Thank you,

regards

tanushsingh_parihar
Contributor
0 Kudos

Hi Lawrence,

The same parameters(MaxrequestContentLength and icm/HTTP/max_request_size_KB) control the upload limit for both the import frontend and the KM Content explorer UI. I faced the same issue when uploading a large import package file and found the 2nd parameter. But setting this parameter did not help. Then I found the note I mentioned and adding this parameter as I showed helped solve the issue in my case. However, it is possible, that Hanif( or you) might not be facing an issue with the upload limit here and so I asked him to first check if the issue happens for smaller files.

P.S. You are surely welcome to add to the discussion here. We can definitely learn a lot from you.

Former Member
0 Kudos

Hi Tanushsingh,

thank you, I understood now. Thats tricky to find out, if I got you right there is no such note for the 7.31 and because of that nobody has find out you need to maintain both parameters.

The thing I also forgot was, if you change the ICM parameter from the MMC, the system will "forget" this change after a restart. I controlled and set it after restart and it worked immidiately, I guess you need to adapt the profile on the fs of ep to make it permanently.

The only thing about it now is handling large data with many kmc volumes, if I upload a single volume (first kmc file) it does not asks me for following volumes. So it leads you astray showing your import is ready to be started after the first volume. On the other site you cant upload a volume twice, it says the name is not unique in the import directory, thats good.

Thank you again for your friendly support,

regards

former_member261631
Participant
0 Kudos

Hi Tanush and Lawrence,

Thanks to both of you on contributing in this thread....

I really appreciate that by using such thread we can discuss and lead towards issue resolution on problems we face in SAP Portal.

I will make the changes as mention by tanush and will get to back to you with my result...

Thanks for the inputs...

Regards,

Hanif

former_member261631
Participant
0 Kudos

Hi Tanush,

I having one problem now, As you have said to increase the value of icm/HTTP/max_request_size_KB, which is not present under the NWA navigation (http://<server>:50000/NWA -> CONFIGURATION ->  Infrastructure -> Java System Properties -> Services -> HTTP Provider)

And on which you said to add the same paramater over there, but when I have open the ICM area from SAP MMC, here in the ICM - > Paramater navigation I able to see the paramater already exist in the system with value as 102400 (which is 100MB).

HTTP settings
icm/HTTP/max_request_size_KB102400

Now I dont know how to make change for this value from 102400 to 1024000, which will be 1000 BM (0.97 GB).

Do you have any idea...?

Regards,

Hanif

tanushsingh_parihar
Contributor
0 Kudos

Hi Hanif,

The parameter to be added is MaxRequestContentLength.

"1.Add the parameter MaxRequestContentLength with a large value (Unit is KB) in  http://<server>:50000/NWA -> CONFIGURATION ->  Infrastructure -> Java System Properties -> Services -> HTTP Provider"

As you correctly mention the parameter icm/HTTP/max_request_size_KB  is already present in the ICM. Please refer the help document for more on this parameter. If you still have any doubts I will try to answer them.

http://help.sap.com/saphelp_nw73/helpdata/en/49/b7299496ee200ce10000000a42189c/frameset.htm

Also do not forget to restart the J2EE engine after configuring both the parameters

Former Member
0 Kudos

Hi Hanif


I having one problem now, As you have said to increase the value of icm/HTTP/max_request_size_KB, which is not present under the NWA navigation (http://<server>:50000/NWA -> CONFIGURATION ->  Infrastructure -> Java System Properties -> Services -> HTTP Provider)

Yes, just create it like I did. I also didnt found it to be already there and needed to do so.


Now I dont know how to make change for this value from 102400 to 1024000, which will be 1000 BM (0.97 GB).

Do you have any idea...?

If you are using the MMC snapshot, just mark it. After you done so, you can click the "Edit" button. The assistant in following windows will also point you to the max volume: 1073741824.

regards

former_member261631
Participant
0 Kudos

Hi Tanush,

I have made two things,

1. Added the parameter MaxRequestContentLength with value 1024000 KB (~0.97GB). And this has done without any issue.

2. Edit the ICM parameter from SAP MMC. But here even after increasing the value, still the parameter remains to 102400. I have tried change the value to 1024000 and 1073741824, but still the value remains to 102400 after system restart.

And also the KM upload for 700 MB file issue exist. I thought atleast MaxRequestContentLength parameter will help, but no sucess.

Is there any other property which is impacting ICM area to make changes or whether I am doing something wrong.

Regards,

Hanif

former_member261631
Participant
0 Kudos

Hi Lawrence,

I have made the change for two parameters the same way as you mentioned, but the ICM parameter value is not getting changed from SAP MMC.

And I am not using MMC snapshot.

Regards,

Hanif

Former Member
0 Kudos

Hi Hanif,


I have made the change for two parameters the same way as you mentioned, but the ICM parameter value is not getting changed from SAP MMC.

And I am not using MMC snapshot.

That are two contrary statements, or may be I misunderstood you? However, if you change this value like I did it, see attached screenshot, and you restart the engine afterwards, it will be set to the default value again, this is normal. To avoid it that, you have to edit the appropriate profile on the fs of EP. But: for testing on my local VM I dont needed a restart after I edited the ICM property and it worked immidiately.

regards

former_member261631
Participant
0 Kudos

Hi Lawrence,

My concern is, how we can make the size value of ICM paramter for a permanent solution.

As changing value from SAP MMC, is kind of temporary solution. And once restart the ICM Parameter sets to default value 102400 KB.

My question is which file system from SAP Portal will help to make the size value as an permanent solution.

Regards,

Hanif

Former Member
0 Kudos

Hi Hanif,

I didnt try on my own, but its probably \usr\sap\SID\SYS\profile\DEFAULT.PFL? With the informations Tanush provided I found this here: . Thats a basis task, your basis consultant will probably help you.

regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Hanif,

I assume you are using the web frontend for doing that. You cant upload large KM packages for importing, its a well known EP bug. Use the file system of your Portal to foist the KMC packages  you need to import: \usr\sap\SID\SYS\global\config\cm\expimp\import. After that your import packages will be available on the web frontend and you can import them regulary.

regards

former_member261631
Participant
0 Kudos

Hi Lawrence,

Thanks for reply.

I think SAP should say on such limitation or issues which curretly lying with SAP KM. As untill and unless we dont have proper clearance of SAP KMe in SAP Portal how we will be able to make maximum usage of such features of SAP...

I am really unhappy with this...

Regards,

Hanif

Former Member
0 Kudos

Hi Hanif,

let me tell you: you are not alone. Im also not happy with KM, specially not with the performance of the KM explorer und also not with Flex UI framework. I dont think pointing to 3rd party tools, (thats what people from Walldorf will probably tell you, if you talk to them about) cant be the final solution. A software company of the dimesions like SAP AG should be eligible to deliver own products with acceptable quality. KM is actually under "slight improvement", I guess they will let it die, as far I know there is even no product manager for KM actually.

But back on topic: from my experience, if you import large amount of KM data you have to ensure 2 things before you do it:

1. you have to ensure the tablespaces of underlying DB are big enough

2. you need double space on the files system for importing your stuff: since KMC are archives, they need to be extracted before import. This happens if you trigger the import routine. While importing EP will keep KMC archives as well as extracted stuff

regards