db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: How to configure Derby/java DB on opensolaris for remote access
Date Mon, 23 Mar 2009 12:10:25 GMT
Jan Lagerpusch <jan.lagerpusch@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
> 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?

For the archives I'll just mention that Jan's question was answered on
another mailing list:

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" "")'
$ 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

View raw message