Subject Logging Problems
Author olinm_umich
When running JayBird through an applet and trying to just do a:
Class.forName("org.firebirdsql.jdbc.FBDriver");
I get error messages like this:

log4j: Could not read system property "log4j.configDebug".
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.firebirdsql.logging.LoggerFactory.getLogger
(LoggerFactory.java:35)
at org.firebirdsql.logging.LoggerFactory.getLogger
(LoggerFactory.java:65)
at org.firebirdsql.jdbc.FBDriver.<clinit>
(FBDriver.java:151)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at
com.compellent.common.reporting.DatabaseFactory.ConnectDatabase
(DatabaseFactory.java:21)
at com.compellent.common.ReportingJFrame.<init>
(ReportingJFrame.java:82)
at com.compellent.systemexplorer.ReportingViewer.init
(ReportingViewer.java:77)
at sun.applet.AppletPanel.run(AppletPanel.java:347)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.security.AccessControlException: access denied
(java.util.PropertyPermission log4j.configuration read)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:270)
at java.security.AccessController.checkPermission
(AccessController.java:401)
at java.lang.SecurityManager.checkPermission
(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess
(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:611)
at org.apache.log4j.Category.<clinit>(Category.java:137)
... 12 more

Is there anyway to turn off logging in the application before I get
to this point. If I run the same code in an application I do not get
the error.

Any help would be great.

Thanks,
Marc Olin