Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

weblogic.jdbc.enableLogFile=true

0 views
Skip to first unread message

Bassam Hijazi

unread,
Mar 7, 2001, 10:17:32 AM3/7/01
to
Hi,

I was just wondering if any of you encountered this problem before.

I am running weblogic 5.1 , SP6.
If I have the parameter 'weblogic.jdbc.enableLogFile=true' , weblogic fails to establish a connection pool. The error is :

Failed to invoke startup class
weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.internal.JdbcStartup
java.security.AccessControlException: access denied (java.sql.SQLPermission setLog)
 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
 at java.security.AccessController.checkPermission(AccessController.java:399)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
 at java.sql.DriverManager.setLogStream(DriverManager.java:397)
 at weblogic.jdbc.common.internal.JdbcInfo.initLog(JdbcInfo.java:66)
 at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:187)
 at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
 at java.lang.reflect.Method.invoke(Native Method)
 at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
 at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
 at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)

Any Ideas ?

Thanks,

Bassam

Kumar Allamraju

unread,
Mar 7, 2001, 1:41:54 PM3/7/01
to
Hi:

I just tried with SP6 & SP8 and i don't see the problem you described.
Is there a possibility that the user starting WLS doesn't have permissions to write onto jdbc.log
Also the following stack trace  doesn't say that you were unable to create a conn. pool.

Bassam Hijazi

unread,
Mar 7, 2001, 1:54:28 PM3/7/01
to
I am using NT. Besides the user starting Weblogic can create and write
to the weblogic log file. The jdbc.log files gets created but it seems
that it can write to it.

Kumar Allamraju

unread,
Mar 7, 2001, 4:48:02 PM3/7/01
to
This isn't reproduceable.
As i said, the stacktrace has nothing to do with the pool creation.
i'm not sure why security manager is coming into the picture?

--
Kumar

Andre

unread,
Apr 24, 2001, 8:44:41 AM4/24/01
to

Hi,

Did you find any reason for that problem?
We have the same problem on HP-UX 11, WLS 5.1, SP9.

thanks,
Andre

><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>Hi,
><p>I was just wondering if any of you encountered this problem before.
><p>I am running weblogic 5.1 , SP6.
><br>If I have the parameter <b>'weblogic.jdbc.enableLogFile=true' </b>,


>weblogic fails to establish a connection pool. The error is :

><p>Failed to invoke startup class
><br>weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.internal.JdbcStartup
><br>java.security.AccessControlException: access denied (java.sql.SQLPermission
>setLog)
><br> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
><br> at java.security.AccessController.checkPermission(AccessController.java:399)
><br> at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
><br> at java.sql.DriverManager.setLogStream(DriverManager.java:397)
><br> at weblogic.jdbc.common.internal.JdbcInfo.initLog(JdbcInfo.java:66)
><br> at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:187)
><br> at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
><br> at java.lang.reflect.Method.invoke(Native Method)
><br> at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
><br> at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
><br> at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
><p>Any Ideas ?
><p>Thanks,
><p>Bassam</html>
>
>

0 new messages