cancel
Showing results for 
Search instead for 
Did you mean: 

add public part to DTR with Exception

Former Member
0 Kudos

Hi all

I have created a DC which type is External Library.

I put a jar file into the folder libraries.

I right clicked on the jar file and chose "add to public part"

no matter I chose "API" or "SDAs", as soon as i clicked "ok"

the DTR console will print

"ADD (FAILED: Failed to execute operations. macro execution failed [cause: Communication error [ cause: number of bytes written to stream exceeds content length. ]]) SDAs.pp......."

is there anybody know how to fix it?

thanks in advance.

Allen

Edited by: Allen Chou on Aug 25, 2009 6:19 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185086
Active Contributor
0 Kudos

Hi Allen

I hope you are using 7.1, if yes please follow

1. Once you put jar file into the folder libraries, select the added jar and right click.

2. You will get options like Publish as archive and Publish as jar

3. You have to create the public part for both as mentioned in point 2.

4. Just build this EL DC and deploy the respective component (Dont deploy the EL DC)

Best Regards

Satish Kumar

Former Member
0 Kudos

What a pity, I am using 7.0.

is there any other solutions?

tks.

Allen

Former Member
0 Kudos

Hi,

Our portal system is Nw 2004s. We want to deploy some documents to portal with NWDI. But we can't do it. Here is the error;

:25:40.953  ADD  (FAILED: Failed to execute operations. Communication error )  poi_comp.pp   (C:Documents and Settings........)

There is any documents about this error in *.sap.com. or web.

Thanks.

Former Member
0 Kudos

You can probably fix this by increasing the allowed content length in the HTTP Provider service.

Former Member
0 Kudos

You can probably fix this by increasing the allowed content length in the HTTP Provider service.

Former Member
0 Kudos

You can probably fix this by increasing the allowed content length in the HTTP Provider service.

Former Member
0 Kudos

Hi

Where did you mean "HTTP Provider"?

I had log in visual administrator and found "HTTP Provider" in left side.

But I can't find parameter to change the content length.

Allen

Former Member
0 Kudos

MaxRequestContentLength in the HTTP Provider service of the Dispatcher.

Former Member
0 Kudos

MaxRequestContentLength in the HTTP Provider service of the Dispatcher.

Former Member
0 Kudos

Hi

I've checked the value of MaxRequestContentLength.

It is set 1458576

Isn't big enougth?

Allen

Former Member
0 Kudos

How big is the jar you're adding?

Former Member
0 Kudos

I added only a jar file "commons-net-1.4.1.jar" which size is 180 KB

Former Member
0 Kudos

Have you found a solution? We are having same problem.