Hi,
This is the next one in my sporadic attempts to try rio-5.
rio start all gives:
INFO 14:20:39.201 org.rioproject.config.RioProperties
- /home/kuti/apps/rio-5.1.4/config/rio.env not found, skipping WARN
14:20:39.541 org.rioproject.start - service.creation.unknown
java.net.MalformedURLException: unknown protocol: artifact at
java.net.URL.<init>(URL.java:592) ~[na:1.7.0_65] at
java.net.URL.<init>(URL.java:482) ~[na:1.7.0_65] at
java.net.URL.<init>(URL.java:431) ~[na:1.7.0_65] at
com.sun.jini.start.ClassLoaderUtil.getCodebaseURLs(ClassLoaderUtil.java:103)
~[start-2.2.2.jar:na] at
org.rioproject.start.RioServiceDescriptor.create(RioServiceDescriptor.java:303)
~[rio-start-5.1.4.jar:5.1.4] at
org.rioproject.start.ServiceStarter.create(ServiceStarter.java:229)
~[rio-start-5.1.4.jar:5.1.4] at
org.rioproject.start.ServiceStarter.doStart(ServiceStarter.java:346)
~[rio-start-5.1.4.jar:5.1.4] at
org.rioproject.start.ServiceStarter.main(ServiceStarter.java:440)
~[rio-start-5.1.4.jar:5.1.4] WARN 14:20:39.541 org.rioproject.start -
service.creation.unknown.detail 1 RioServiceDescriptor codebase:
artifact:org.apache.river/reggie-dl/2.2.2;
http://10.254.2.34:9010,
policy: /home/kuti/apps/rio-5.1.4/policy/policy.all,
classpath: /home/kuti/apps/rio-5.1.4/lib/reggie-2.2.2.jar,
implClassName: com.sun.jini.reggie.TransientRegistrarImpl,
serverConfigArgs:
[/home/kuti/apps/rio-5.1.4/config/common.groovy, /home/kuti/apps/rio-5.1.4/config/reggie.groovy],
lifeCycle: org.rioproject.start.RioServiceDescriptor$1@10cc2e89
When a test (JavaSpace) service is to be depolyed regardless of the
above:
$ rio deploy resources/conf/ops.groovy
INFO 15:02:47.309 o.r.resolver.ResolverConfiguration - Using resolver
configuration /home/kuti/apps/rio-5.1.4/config/resolverConfig.groovy
ápr. 14, 2015 3:02:48 DU com.sun.jini.reggie.RegistrarProxy
handleException INFO: unmarshalling failure
java.rmi.UnmarshalException: incoming entry type: class
com.sun.jini.reggie.EntryClass[name=org.rioproject.entry.StandardServiceType,
hash=-8676480473068892386] is not assignable to the local version of
the type: class
com.sun.jini.reggie.EntryClass[name=org.rioproject.entry.StandardServiceType,
hash=6542888045916027194] at
com.sun.jini.reggie.EntryClass.toClass(EntryClass.java:186) at
com.sun.jini.reggie.EntryRep.get(EntryRep.java:98) at
com.sun.jini.reggie.EntryRep.toEntry(EntryRep.java:202) at
com.sun.jini.reggie.Item.get(Item.java:145) at
com.sun.jini.reggie.Item.toServiceItem(Item.java:177) at
com.sun.jini.reggie.Matches.get(Matches.java:62) at
com.sun.jini.reggie.RegistrarProxy.lookup(RegistrarProxy.java:128) at
net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupTask.run(ServiceDiscoveryManager.java:955)
at
net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$RegisterListenerTask.run(ServiceDiscoveryManager.java:925)
at com.sun.jini.thread.TaskManager$TaskThread.run(TaskManager.java:331)
This on FreeBSD 10.0, with
openjdk version "1.7.0_65"
OpenJDK Runtime Environment (build 1.7.0_65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
The test project depends on River 2.2.2 artifacts.
Any help appreciated!
Zsolt