Java crashes under FreeBSD 4.8-RELEASE

Gabriel - Iulian Dumbrava gabid at
Tue Oct 14 05:40:07 PDT 2003

Hello and thanks for your answer. Here is some more info:

We are using the JAAS mechanism. The jaas.config file which we are
refreshing at some defined moments seems to cause the mentioned exception:
java.lang.SecurityException: no

The code in charge is the following:
Configuration configFile =;

The code is executed in a synchronized block, the monitor being a static
variable from our application.
On Sun's JDK 1.3.1 and 1.4.x on Windows, Linux and Solaris it works with no

But on FreeBSD  4.8-RELEASE after some time of execution the code triggers
the above exception and thereafter it keeps throwing it everytime the code
executes. It is like something static is set in there.
Note that the exception is similar to the case when the jaas.config
file (specified using
parameter for the JVM) is not found by the JVM.
And of course if the jaas.config file cannot be found, thereafter every
login to our application fails so our application fails ;-( and the
workaround is to restart it.

Thanks again,
Gabriel - Iulian Dumbrava
Network Administrator
EduLib Soft, srl
Craiova, Romania

Tel: + 40 251 413496
Fax: + 40 251 418935
Email: gabriel.dumbrava at

----- Original Message -----
From: "Greg Lewis" <glewis at>
To: "Gabriel - Iulian Dumbrava" <gabid at>
Cc: "FreeBSD Java" <freebsd-java at>
Sent: Tuesday, October 14, 2003 12:09 AM
Subject: Re: Java crashes under FreeBSD 4.8-RELEASE

> On Mon, Oct 13, 2003 at 04:48:32PM +0300, Gabriel - Iulian Dumbrava wrote:
> > I am having a problem with JDK 1.3.1 downloaded from FreeBSD Foundation.
> >
> > The system on which the JVM is installed is a "FreeBSD 4.8-RELEASE"
> >
> > The error I get is:
> > Exception while refreshing policy file: java.lang.SecurityException:
> > no protocol: jaas.config
> >
> > It seems like the JVM is not able to read that file, or smth like that.
If I
> > restart the services, it works again. Everything looks ok for a period
> > time, and then the same error appears.
> >
> > Do you have any ideas?
> Could you please provide more information?  What exactly is being run to
> cause the exception?  You mention "services" but don't expand on what you
> mean by this.
> --
> Greg Lewis                          Email   : glewis at
> Eyes Beyond                         Web     :
> Information Technology              FreeBSD : glewis at
> _______________________________________________
> freebsd-java at mailing list
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at"

More information about the freebsd-java mailing list