Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 49299 invoked from network); 23 Mar 2009 11:36:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2009 11:36:22 -0000 Received: (qmail 65626 invoked by uid 500); 23 Mar 2009 11:36:21 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 65552 invoked by uid 500); 23 Mar 2009 11:36:21 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 65544 invoked by uid 99); 23 Mar 2009 11:36:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 11:36:21 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.6.21] (HELO gmp-eb-inf-1.sun.com) (192.18.6.21) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 11:36:12 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe2.eu.sun.com [192.18.6.11]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n2NBZaN0007775 for ; Mon, 23 Mar 2009 11:35:48 GMT MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; format=flowed; charset=windows-1252 Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7.0-5.01 64bit (built Feb 19 2009)) id <0KGY00400IINIL00@fe-emea-09.sun.com> for derby-user@db.apache.org; Mon, 23 Mar 2009 11:35:36 +0000 (GMT) Received: from [129.159.139.223] ([unknown] [129.159.139.223]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7.0-5.01 64bit (built Feb 19 2009)) with ESMTPSA id <0KGY00A2KIVB2M30@fe-emea-09.sun.com> for derby-user@db.apache.org; Mon, 23 Mar 2009 11:35:35 +0000 (GMT) Date: Mon, 23 Mar 2009 12:34:48 +0100 From: Kristian Waagan Subject: Re: How to configure Derby/java DB on opensolaris for remote access In-reply-to: <002801c9a7e9$c0dbab10$42930130$%lagerpusch@edict.de> Sender: Kristian.Waagan@Sun.COM To: Derby Discussion Message-id: <49C773D8.4050509@Sun.COM> References: <002801c9a7e9$c0dbab10$42930130$%lagerpusch@edict.de> User-Agent: Thunderbird 2.0.0.18 (X11/20090203) X-Virus-Checked: Checked by ClamAV on apache.org Jan Lagerpusch wrote: > > Hi, > > I am not sure whether this belongs to the derby or to the > opensolaris/SMF mailing list, but I�ll give it a try here: > > I am desperately trying to enable remote access to the SUNWjavadb > (coming with GlassFish) on an x86 openSolaris (2008.11) system. I > would like to use the SMF, so the javadb service is controlled by SMF, > but I am not able to find out which properties I have to set. > > Without SMF, I can simply start /opt/SUNWjavadb/bin/startNetworkServer > �h 0.0.0.0 > > But by doing this, that javadb instance is not under SMF control. > > Using SMF, remote access to the javadb instance is disabled. What do I > have to do to enable it? > > Thanks a lot in advance, > > Jan Lagerpusch > This question was answered on databases-discuss@opensolaris.org (2009-03-19). Copying the reply here: """ Hi Jan, You can add extra startup flags to the network server from the command line like this: $ svccfg -s javadb 'setprop javadb/server_start_args = ("-h" "0.0.0.0")' $ svcadm refresh javadb $ svcadm restart javadb There are other properties you could set too to change how the network server is started/stopped. If you take a look at /lib/svc/method/javadb it should give you a pretty good idea of how you can tweak it. -- Knut Anders """ -- Kristian