Re: javaspace notify

John McClain <[email protected]> Wed, 25 Mar 2009 16:17:14 -0400
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
harikriii wrote:
> >>=94Outrigger (and all of the starter kit) use java.util.logging. If=20
> you don't provide your own logging configuration file (generally by=20
> setting the the java.util.logging.config.file system property) Java's=20
> default behavior is to log messages to "stderr", so generally you=20
> should see any log messages in the terminal where you started the=20
> *server>*.=94
>
>
> Thank you for your reply. I got some idea , but still am not clear=20
> about it.
> In Java.util.logging package, we could=92nt find config.file system=20
> property.
> What you meant by *server?* Is it jini service?
> How can we do logging? Can it be done by just setting some .config=20
> files?..
> Or it requires some coding..? I tried some coding parts too which I=20
> got from net.. which creates a XML log file..
> But the o/p could not find com.sun.jini.outrigger.event log messages..=20
I assume you are running some command line like "java=20
-Djava.security.policy=3Djsk-all.policy -jar start.jar startAll.config",=20
this is the VM where the Reggie (the lookup service), Outrigger (the=20
javaspace), Mahalo (the transaction manager), etc. are running. In your=20
deployment this is the "server". Are you getting any output from this=20
process?

If you want to change what sort of messages Outrigger logs you want to=20
write a logging configuration file (which shouldn't be confused with a=20
Jini configuration file) and add the appropriate "-D" option to the=20
command line, so something like :

java -Djava.security.policy=3Djsk-all.policy=20
-Djava.util.logging.config.file=3Dmy-logging-config -jar start.jar=20
startAll.config

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
To unsubscribe, send email to [email protected] and include in the bo=
dy
of the message "signoff JAVASPACES-USERS".  For general help, send email =
to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html