db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvaro Coronel <alvarocorone...@yahoo.com>
Subject Re: java.lang.InstatiationException
Date Sat, 19 May 2007 14:48:19 GMT
Hello Herold. It would be useful if you could also post the classpath and the Torque.properties
file you are using.

Good luck,
Álvaro.

Gerold Christof Mosinzer <e0125116@stud3.tuwien.ac.at> wrote: Hello!

I found this problem in apache forum. I tried out but i get no 
solution. Maybe i did something wrong. Wrong classpath or wrong 
jar-file. Please help me!

Thx Gerry

19.05.2007 10:22:14 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance 
in production environments was not found on the java.library.path: 
C:\Programme\Java\jre1.6.0_01\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Sonic\MyDVD;;C:\www\Apache2\bin;C:\www\php5;C:\www\mysql\bin;C:\www\perl\bin;C:\www\Tomcat5\bin;C:\php;C:\apache-ant-1.6.5\bin;C:\Java\jdk1.5.0_06\bin;C:\Sun\AppServer\bin;C:\Programme\QuickTime\QTSystem\;"C:\Programme\Zone

Labs\ZoneAlarm\MailFrontier";d:\programme\matlab6p5\bin\win32;C:\Programme\JWDP\jwsdp-shared\bin;;C:\Java\jdk1.5.0_06\bin;;C:\windows\system32\chuck.exe;C:\apache-ant-1.6.5\bin;
19.05.2007 10:22:14 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
19.05.2007 10:22:14 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1242 ms
19.05.2007 10:22:14 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
19.05.2007 10:22:14 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
19.05.2007 10:22:15 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
19.05.2007 10:22:15 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
19.05.2007 10:22:18 org.apache.torque.TorqueInstance initAdapters
SCHWERWIEGEND: Error reading configuration seeking database adapters
java.lang.InstantiationException: Unknown JDBC driver: MySql: Check 
your configuration file
 at org.apache.torque.adapter.DBFactory.create(DBFactory.java:130)
 at org.apache.torque.TorqueInstance.initAdapters(TorqueInstance.java:241)
 at org.apache.torque.TorqueInstance.initialize(TorqueInstance.java:158)
 at org.apache.torque.TorqueInstance.init(TorqueInstance.java:399)
 at org.apache.torque.Torque.init(Torque.java:135)
 at lucullus.Index.init(Index.java:105)
 at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
 at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
 at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
 at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
 at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
19.05.2007 10:22:18 org.apache.catalina.core.StandardContext loadOnStartup
SCHWERWIEGEND: Servlet /Lucullus threw load() exception
javax.servlet.ServletException: org.apache.torque.TorqueException: 
java.lang.InstantiationException: Unknown JDBC driver: MySql: Check 
your configuration file
 at lucullus.Index.init(Index.java:108)
 at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
 at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
 at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
 at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
 at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Error in Torque initialization! org.apache.torque.TorqueException: 
org.apache.commons.configuration.ConfigurationException: Cannot locate 
configuration source Lucullus.properties
19.05.2007 10:22:19 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
19.05.2007 10:22:19 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
19.05.2007 10:22:19 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/80  config=null
19.05.2007 10:22:19 org.apache.catalina.startup.Catalina start
INFO: Server startup in 4717 ms



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org



       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message