elangでremote objectのチュートリアルをやっていたわけだが、エラーが出て詰まった
? var uri := "captp://*yajqnhlyv6dsln4lbldub3sde2pv4ntl@6da37224c737:45401,172.24.0.2:45401/4vpusf2seuryrx5e6d2iu4npzvsltfvk" # value: "captp://*yajqnhlyv6dsln4lbldub3sde2pv4ntl@6da37224c737:45401,172.24.0.2:45401/4vpusf2seuryrx5e6d2iu4npzvsltfvk" ? def sr := introducer.sturdyFromURI(uri) # value: <SturdyRef> ? introducer.onTheAir() # value: ["3DES_SDH_M2", "3DES_SDH_M"] ? def remote := sr.getRcvr() # value: <Promise> ? === 2020-01-07T16:07:37.396Z (StartUpProtocol.processMessage:StartUpProtocol.java:1227) ERR comm: Exception during startup for net.vattp.data.DataPath@115d4d7b|172.24.0.2:45401|yajqnhlyv6dsln4lbldub3sde2pv4ntl, startupState=6 --vvvv-- No parameter accepted java.security.InvalidParameterException: No parameter accepted at java.base/sun.security.provider.DSA.engineSetParameter(DSA.java:371) at java.base/java.security.Signature$Delegate.engineSetParameter(Signature.java:1427) at java.base/java.security.Signature.setParameter(Signature.java:993) at net.vattp.data.StartUpProtocol.signSent(StartUpProtocol.java:1517) at net.vattp.data.StartUpProtocol.handleStateOutgoingExpectREPLYINFO(StartUpProtocol.java:913) at net.vattp.data.StartUpProtocol.processMessage(StartUpProtocol.java:1187) at net.vattp.data.DataPath.newIncomingMsg(DataPath.java:703) at net.vattp.data.DataCommThunk.run(DataCommThunk.java:207) at org.erights.e.elib.vat.PendingCall.innerRun(PendingCall.java:75) at org.erights.e.elib.vat.PendingEvent.run(PendingEvent.java:74) at org.erights.e.elib.vat.HeadlessRunner.run(HeadlessRunner.java:174) at java.base/java.lang.Thread.run(Thread.java:830) --^^^^-- === 2020-01-07T16:07:37.449Z (StartUpProtocol.processMessage:StartUpProtocol.java:1227) ERR comm: Exception during startup for net.vattp.data.DataPath@1fe3232a|172.24.0.2:45401|yajqnhlyv6dsln4lbldub3sde2pv4ntl, startupState=6 --vvvv-- No parameter accepted java.security.InvalidParameterException: No parameter accepted at java.base/sun.security.provider.DSA.engineSetParameter(DSA.java:371) at java.base/java.security.Signature$Delegate.engineSetParameter(Signature.java:1427) at java.base/java.security.Signature.setParameter(Signature.java:993) at net.vattp.data.StartUpProtocol.signSent(StartUpProtocol.java:1517) at net.vattp.data.StartUpProtocol.handleStateOutgoingExpectREPLYINFO(StartUpProtocol.java:913) at net.vattp.data.StartUpProtocol.processMessage(StartUpProtocol.java:1187) at net.vattp.data.DataPath.newIncomingMsg(DataPath.java:703) at net.vattp.data.DataCommThunk.run(DataCommThunk.java:207) at org.erights.e.elib.vat.PendingCall.innerRun(PendingCall.java:75) at org.erights.e.elib.vat.PendingEvent.run(PendingEvent.java:74) at org.erights.e.elib.vat.HeadlessRunner.run(HeadlessRunner.java:174) at java.base/java.lang.Thread.run(Thread.java:830) --^^^^-- === 2020-01-07T16:07:37.451Z (PendingEvent.report:PendingEvent.java:107) WRN causality: Problem in turn <<Vat start in <runs in start>>,115>: --vvvv-- Failed: done - DelayedRedirector#__reactToLostClient(Object) . <a DelayedRedirector>.__reactToLostClient(problem: <IOException: 172.24.0.2:45401: java.security.InvalidParam...a.base/java.lang.Thread.run(Thread.java:830)\n \n >) java.lang.RuntimeException: Failed: done at org.erights.e.develop.assertion.T.fail(T.java:85) at org.erights.e.elib.ref.EProxyResolver.getOptRef(EProxyResolver.java:112) at org.erights.e.elib.ref.EProxyResolver.resolve(EProxyResolver.java:184) at org.erights.e.elib.ref.EProxyResolver.smash(EProxyResolver.java:212) at org.erights.e.elib.ref.DelayedRedirector.__reactToLostClient(DelayedRedirector.java:115) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.erights.e.elib.prim.InstanceMethodNode.innerExecute(InstanceMethodNode.java:111) at org.erights.e.elib.prim.JavaMemberNode.execute(JavaMemberNode.java:188) at org.erights.e.elib.prim.E.callAll(E.java:164) at org.erights.e.elib.vat.PendingDelivery.innerRun(PendingDelivery.java:96) at org.erights.e.elib.vat.PendingEvent.run(PendingEvent.java:74) at org.erights.e.elib.vat.HeadlessRunner.run(HeadlessRunner.java:174) at java.base/java.lang.Thread.run(Thread.java:830) --^^^^--
openjdk最新を使っていたのが原因のようで、6まで下げたら動いた
そのためのdocker
FROM openjdk:6 ENV EHOME=/ehome RUN mkdir $EHOME RUN curl -O http://erights.org/download/0-9-3/E-purej-0.9.3a.tar.gz RUN tar zxvf E-purej-0.9.3a.tar.gz -C $EHOME