java.io.StreamCorruptedException in Spring HttpSpringInvoker (help)

Hi,

I encountered the following exception during the retrieval of Object[][] from the service.

org.springframework.remoting.RemoteAccessException : Cannot access HTTP invoker remote service at [https://test.org.net/context/remotin...vokerService]; nested exception is java.io.StreamCorruptedException: invalid stream header

here is my code:

1. JamonRMIService.java

package org.service;

import java.rmi.Remote;

import java.rmi.RemoteException;

import com.jamonapi.MonitorComposite;

public interface JamonRMIService {

public String[] getBasicHeader(String rangeName);

public Object[][] getBasicData(String rangeName);

}

2.JamonRMIServiceImpl.java

public class JamonRMIServiceImpl implements JamonRMIService{

/**

* @param monitorFactory The monitorFactory to set.

*/

public String[] getBasicHeader(String rangeName){

return MonitorFactory.getComposite(rangeName).getBasicHea der();

}

public Object[][] getBasicData(String rangeName){

return MonitorFactory.getComposite(rangeName).getBasicDat a();

}

}

3. invocation of the service

public static List getBasicDataList(String rangeName) throws Exception{

Iterator serviceUrlIterator = dataMapCollector.keySet().iterator();

List<Object[][]> basicDataList = new ArrayList<Object[][]>();

while (serviceUrlIterator.hasNext()){

Object serviceIteratorKey = serviceUrlIterator.next();

String serviceUrl = (String)dataMapCollector.get(serviceIteratorKey);

HttpInvokerProxyFactoryBean proxy = getInvokerProxyBean(JAMONSERVICEINTERFACE, serviceUrl);

JamonRMIService jamonServiceFactoryInterface = (JamonRMIService)proxy.getObject();

Object[][] basicData = jamonServiceFactoryInterface.getBasicData(rangeNam e);

Object[][] newBasicData = getObjectWithUrl(basicData, serviceUrl);

basicDataList.add(newBasicData);

}

return basicDataList;

}

I have two url where the basicData[][] come, one is in

1. http://localhost:8080/halo/remoting/jamonServiceInvoker

2. https://test.org.net/halo/remoting/jamonServiceInvoker

retrieval of http://localhost:8080/halo/remotin...ServiceInvoker is ok while https://test.org.net/halo/remoting/jamonServiceInvoker does not work. Any idea on this? help. is this something to do with https? is there a difference between the url?

[2465 byte] By [garethcpa] at [2007-11-27 9:19:19]
# 1
exception is happening in jamonServiceInterface.getData(rangeName), do you have any idea why Im getting this error?
garethcpa at 2007-7-12 22:11:25 > top of Java-index,Core,Core APIs...