Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AF05F200C1E for ; Fri, 17 Feb 2017 17:07:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AD6D3160B55; Fri, 17 Feb 2017 16:07:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D1352160B3F for ; Fri, 17 Feb 2017 17:07:18 +0100 (CET) Received: (qmail 11949 invoked by uid 500); 17 Feb 2017 16:07:17 -0000 Mailing-List: contact dev-help@river.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@river.apache.org Delivered-To: mailing list dev@river.apache.org Received: (qmail 11937 invoked by uid 99); 17 Feb 2017 16:07:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2017 16:07:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 0FB07C0333 for ; Fri, 17 Feb 2017 16:07:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.979 X-Spam-Level: *** X-Spam-Status: No, score=3.979 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=panthers.onmicrosoft.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Noat4wWCxfS0 for ; Fri, 17 Feb 2017 16:07:13 +0000 (UTC) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0105.outbound.protection.outlook.com [104.47.41.105]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B94ED5F47D for ; Fri, 17 Feb 2017 16:07:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panthers.onmicrosoft.com; s=selector1-uwm-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6wHtE1cLQKsTdqOfqry6cNzp0DHtwwaQ9ekFjCaLvTU=; b=Vz3a2kO8vB2ar2vQ8YfO9quXuTzu1dfT0lvHNn/i5k1RNAXr/56Zk+Vj4E5GvXwq7nczyFMs4Mgh3qmwZC88wKL/UOMDPDUySxZKa9JGo0kOw34r/DVnLsIhXYX9QTBDHvGdv9tDH1s/OVIjUzilpmduThnAl3dkq3yzSPYNVjM= Received: from DM5PR04MB0476.namprd04.prod.outlook.com (10.173.169.149) by DM5PR04MB0476.namprd04.prod.outlook.com (10.173.169.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13; Fri, 17 Feb 2017 16:06:38 +0000 Received: from DM5PR04MB0476.namprd04.prod.outlook.com ([10.173.169.149]) by DM5PR04MB0476.namprd04.prod.outlook.com ([10.173.169.149]) with mapi id 15.01.0919.013; Fri, 17 Feb 2017 16:06:38 +0000 From: Timothy C Haas To: "dev@river.apache.org" Subject: 3.0.0 javaspaces example? Thread-Topic: 3.0.0 javaspaces example? Thread-Index: AQHSiTfRcES7gxdAdE6xksWEAP3kTQ== Date: Fri, 17 Feb 2017 16:06:38 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=haas@uwm.edu; x-originating-ip: [25.172.112.132] x-ms-office365-filtering-correlation-id: ff27d2a6-6f35-43ad-646d-08d4574ef4a0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM5PR04MB0476; x-microsoft-exchange-diagnostics: 1;DM5PR04MB0476;7:vswB/reQG2Jzz5wLFPshfPjs0/i+O/r0Ct9+GCSsMf6caqxsfI6szUEIZbrxO6BV3z/OW2SkQiFNnDpnGNMqbcveMViYBy1FNAgUe6vK1zVS01zyDZan9i5gfcFKAJTrMBntG0fYArfYtQEEdsUUliGHbNExh/o0XkigWPy25546bjFxc95AbreC1bRswhe6JoEq0kQI1yHnRTpp5pNAiyCenaaTaeeEqJhVQnecQHDU5quPmUOaLz9yJONPubXM6/dBiXTbCLVEGPIIs1X3JmKMM/UhyoEC3NOsRNaw91H3B6lv/dRBB04SDSi1jOol8K6AyhvKYLb7MnI5UE/o6A== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(5213294742642); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(20161123558025)(6072148);SRVR:DM5PR04MB0476;BCL:0;PCL:0;RULEID:;SRVR:DM5PR04MB0476; x-forefront-prvs: 02213C82F8 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6019001)(6009001)(7916002)(39450400003)(189002)(199003)(377454003)(52314003)(101416001)(92566002)(68736007)(3280700002)(106116001)(19627405001)(54896002)(2351001)(106356001)(6116002)(3846002)(66066001)(55016002)(2900100001)(7736002)(6306002)(102836003)(97736004)(189998001)(99286003)(105586002)(2906002)(88552002)(86362001)(77096006)(6606003)(81166006)(1730700003)(81156014)(8676002)(6436002)(9686003)(5640700003)(5660300001)(38730400002)(8936002)(50986999)(25786008)(110136004)(54356999)(2501003)(122556002)(3660700001)(6506006)(966004)(53936002)(7116003)(450100001)(33656002)(7696004)(6916009)(74316002)(75432002)(248505003)(344275003);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR04MB0476;H:DM5PR04MB0476.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: uwm.edu does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_DM5PR04MB0476E578EC6014D7FE79A88AD45D0DM5PR04MB0476namp_" MIME-Version: 1.0 X-OriginatorOrg: uwm.edu X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2017 16:06:38.7468 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0bca7ac3-fcb6-4efd-89eb-6de97603cf21 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR04MB0476 archived-at: Fri, 17 Feb 2017 16:07:19 -0000 --_000_DM5PR04MB0476E578EC6014D7FE79A88AD45D0DM5PR04MB0476namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Folks; I copied start-hello-service.config and hello-service.config in the 3.0.0 distribution and replaced com.sun.jini with org.apache.river. I was surprised that I had to do that. Anyway, I tried to start a lookup service with those files using the script below and received the following error. I looked in /lib and there is indeed no hello-api.jar= . Is it possible for you to post a working example of starting a javaspace with river 3.0.0? Regards, -Tim Haas ------------------------------------------------------------------------ [haas@tscc-2-60 jsutils]$ sh jstest.shl [Deleting jinitmp directory] [Creating jinitmp directory] - HTTP Server Running - Feb 17, 2017 7:52:29 AM org.apache.river.start.HTTPDStatus httpdWarning WARNING: Problem accessing desired URL[http://132.249.107.66:8080/hello-api= .jar] : java.io.FileNotFoundException: http://132.249.107.66:8080/hello-api.jar. Feb 17, 2017 7:52:29 AM org.apache.river.start.ServiceStarter checkResultFa= ilure s WARNING: Exception creating service. java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Me= thod) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons= truct orAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega= tingC onstructorAccessorImpl.java:45) ... ----------------------------------------------------------------------- rm -f -r /home/haas/jinitmp/ echo [Deleting jinitmp directory] # mkdir /home/haas/jinitmp echo [Creating jinitmp directory] # rh=3D"/projects/builder-group/jpg/apache-river" myconfigs=3D"/home/haas/jsutils" cd ${rh}/examples/home/src/main/home # # Start an http server. Was 4160 # java -jar ${rh}/lib/classserver.jar -port 8080 \ -dir lib:${rh}/lib-dl $* \ > /home/haas/jinitmp/http.out \ 2> /home/haas/jinitmp/http.err & echo - HTTP Server Running - # # Activation daemon # #java -Djava.security.manager=3D \ # -Djava.security.policy=3Dpolicy/all.policy \ # -Djava.rmi.server.codebase=3D"http://$host:8080/phoenix-dl.jar http://= $host:8080/jsk-dl.jar" \ # -DserverHost=3D$host \ # -jar ${rh}/lib/phoenix.jar \ # configs/jeri/phoenix/phoenix.config rmid -J-Djava.security.policy=3D${rh}/qa/harness/policy/all.policy \ -log /home/haas/jinitmp & # # Start a reggie lookup service. # java -Djava.security.policy=3D${rh}/qa/harness/policy/all.policy \ -Djava.ext.dirs=3D${rh}/lib-ext:${rh}/lib-dl:${rh}/lib:${rh}/dep-libs/groov= y \ -jar ${rh}/lib/start.jar ${myconfigs}/start-hello-service.config exit echo - Lookup Service Running # # Start the JavaSpace. # java -Djava.security.policy=3Dpolicy/all.policy \ -jar ${rh}/lib/start.jar \ configs/jeri/outrigger/outrigger.config echo - JavaSpace Running - --_000_DM5PR04MB0476E578EC6014D7FE79A88AD45D0DM5PR04MB0476namp_--