It's all about the answers!

Ask a question

When do you get the RAMServiceException (Caused by: com.ibm.ram.internal.client.RAMServiceException: Internal Server Error[500])?


Manjiri Kamat (5132325) | asked Apr 10 '13, 1:35 a.m.
edited Apr 10 '13, 1:36 a.m.
I get this error while creating a copy of the asset using the RAM api.
RAM :7.5.1
WAS :6.1

[4/9/13 22:09:59:126 GMT-06:00] 000000b0 TSAMImageMana E com.ibm.cloud.tsam.TSAMImageManagementService clone <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
Internal Server Error
                                 com.ibm.cloud.ram.RAMAccessException: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
Internal Server Error
        at com.ibm.cloud.ram.RAMClient.createAsset(RAMClient.java:2328)
        at com.ibm.cloud.asset.RAMAbstractionUtil.createAsset(RAMAbstractionUtil.java:258)
        at com.ibm.cloud.tsam.TSAMImageManagementService.clone(TSAMImageManagementService.java:474)
        at com.ibm.cloud.image.ImageManagementSOAPImpl.cloneImage(ImageManagementSOAPImpl.java:1179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher.invokeTargetOperation(JavaDispatcher.java:100)
        at org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:117)
        at org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:111)
        at org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:161)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:189)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WASAxis2Servlet.java:1380)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1049)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:643)
        at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)
Caused by: com.ibm.ram.common.data.exception.RAMRuntimeException: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
Internal Server Error
        at com.ibm.ram.client.RAMSession.putAsset(RAMSession.java:3432)
        at com.ibm.ram.client.RAMSession.put(RAMSession.java:5032)
        at com.ibm.cloud.ram.RAMClient.createAsset(RAMClient.java:2316)
        ... 39 more
Caused by: com.ibm.ram.internal.client.RAMServiceException: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
Internal Server Error[500]
        at com.ibm.ram.internal.client.RAMClient.uploadAsset(RAMClient.java:1535)
        at com.ibm.ram.client.RAMSession.putAsset(RAMSession.java:3215)
        ... 41 more


Comments
Manjiri Kamat commented Apr 10 '13, 1:36 a.m.

Duplication of the same asset using the web client works fine.


Gili Mendel commented Apr 10 '13, 8:10 a.m.
JAZZ DEVELOPER

Can you post here the (ramdebug)log from the server?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.