Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Constant strukle with connecting to firebird/interbase

Richard Drent (Drent IT BV)

2003-10-14

Replies:



Tomcat version = 3.2.3
Sdk = 1.3

Met vriendelijke groeten


Richard Drent



Guyzzz


Im trying to connect my tomcat to a firebird database server.

The first time after a restart of the httpd/tomcat he gifs as an error

################################ start
Root cause:
java.lang.ExceptionInInitializerError: java.security.AccessControlException:
access denied (java.util.PropertyPermission log4j.configuration read)
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.lang.SecurityManager.checkPropertyAccess (SecurityManager.java:1278)
at java.lang.System.getProperty (System.java:599)
at org.apache.log4j.Category.(Category.java:137)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName (Class.java:120)
at
org.firebirdsql.logging.LoggerFactory.getLogger(LoggerFactory.java:35)
at
org.firebirdsql.logging.LoggerFactory.getLogger(LoggerFactory.java:65)
at org.firebirdsql.jdbc.FBDriver.(FBDriver.java:151)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName (Class.java:120)
at
_0002fconnect_00033_0002ejspconnect3_jsp_0._jspService(_0002fconnect_00033_0
002ejspconnect3_jsp_0.java:76)
######################### end

after an refresh he gives

######################### start
The root cause:

java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName (Class.java:120)
at
_0002fconnect_00033_0002ejspconnect3_jsp_11._jspService(_0002fconnect_00033_
0002ejspconnect3_jsp_11.java:76)

######################## end

@ line 76 is written

Class.forName("org.firebirdsql.jdbc.FBDriver").newInstance();

The firebirdsql.jar is in the /java_home/lib/

My feeling is that he crashes @ the moment when he starts with building the
.class file.

But I would like to have some input, how to solve

Thnzx richard




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.