Hi Knut, thanks a lot - i wasn't aware that the supposedly "normal" way (using "-h 0.0.0.0" as startup flags) doesn't work. In the meantime, I also came across this post which was very helpful: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6218143
Nevertheless, thank you for answering my question - I'm really happy the community is that responsive even to newbie questions. Best regards, Jan -----Urspr?ngliche Nachricht----- Von: Knut.Hatlen at Sun.COM [mailto:Knut.Hatlen at Sun.COM] Gesendet: Donnerstag, 19. M?rz 2009 11:29 An: Jan Lagerpusch Cc: databases-discuss at opensolaris.org Betreff: Re: How to configure Derby/java DB on opensolaris/SMF for remote access Jan Lagerpusch <jan.lagerpusch at edict.de> writes: > 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? 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
