Posted by
Anna Schietz on
Feb 20, 2006; 12:52pm
URL: http://ofbiz.116.s1.nabble.com/Users-RMI-CertificateExpiredException-tp137510.html
hi,
it's me again.. :(
I didn't find out how to solve my SOAP problem so I decided to use RMI
instead.
Here's my code:
*******************
String RMI_URL = "rmi://127.0.0.1:1099/RMIDispatcher";
Object o = Naming.lookup(RMI_URL);
rd=(RemoteDispatcher)o;
Map context = new HashMap();
context.put("productId", "testid");
Map result=rd.runSync("remoteStoreEntitySyncDataRmi", context);
*******************
Namking.lookup() returns a RemoteDispatcherImpl_StubRemIdsp and I cast this
to a RemoteDispatcher successfully. But after runSnyc() I get a
RemoteException:
RemoteException:error during JRMP connection establishment; nested exception
is:
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertificateExpiredException: NotAfter: Thu Oct 27
22:03:44 CEST 2005
Do you think this is really caused by an expired certificate? If yes: what
can I do about it? (I don't know where to find it, etc.; the certificate
that is used in the ecommerce app is valid until 2016 so there have to be at
least 2 different certificates).
Btw: I'm using svn 6670.
And here's the service setup:
<service name="getVariantCombinations" engine="java"
location="org.ofbiz.product.feature.ProductFeatureServices"
export="true" auth="false" invoke="getVariantCombinations">
<attribute type="String" mode="IN" name="productId" optional="false"/>
<attribute type="List" mode="OUT" name="featureCombinations"
optional="false"/>
</service>
<service name="remoteGetVariantCombinationsRmi" engine="rmi"
location="entity-sync-rmi" invoke="getVariantCombinations"
use-transaction="false" auth="false">
<implements service="getVariantCombinations"/>
</service>
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat
http://www.gmx.net/de/go/telefonie
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users