It's all about the answers!

Ask a question

RAM API to upload file around 250 mb gets failed


satish chandra (11621) | asked Aug 14 '14, 2:18 a.m.
 Situation:  When ever do a build of webapp and once it is stable, we do publish of ear to the RAM. We use RAM API to automate.

Problem: 
1) When we try to publish to RAM we get the error (com.ibm.ram.common.data.exception.RAMRuntimeException: No such file or directory
at ) 
2) The below are the logs 
Logging:
com.ibm.ram.common.data.exception.RAMRuntimeException: No such file or directory
at com.ibm.ram.client.RAMSession.putAsset(RAMSession.java:3432)
at com.ibm.ram.client.RAMSession.put(RAMSession.java:5032)
at colruyt.jdp.commandline.publishbuild.PublishNewImplementationAsset.createNewImplementationAssetVersion(PublishNewImplementationAsset.java:353)
at colruyt.jdp.commandline.publishbuild.PublishNewImplementationAsset.run(PublishNewImplementationAsset.java:93)
at colruyt.jdp.commandline.Program.startup(Program.java:21)
at colruyt.jdp.commandline.Main.run(Main.java:69)
at colruyt.jdp.commandline.Main.main(Main.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)

Observations
1) The size of the ear we are publishing is 250mb 
2) When we had file around 80-100mb it gets published.

Can any one help me what to do if I try to upload/publish an ear which is around 250MB. Any setting need to be updated????

Comments
Lin Lu commented Aug 15 '14, 3:07 a.m.
JAZZ DEVELOPER

Hi,
What is the ram version you are using now? Any test fix applied?
Is there any log info from ram server side?
Could you offer the code segment of your API code about artifact upload?

Thanks.
 

Be the first one to answer this question!


Register or to post your answer.