Hello,
I am running getting an Error trying to run Tersus on Mac.
java.lang.RuntimeException: Failed to create connection to DataSource jdbc/Main
(attached the log file) I have just installed the latest version from the Tersus Site,
Version: 2.1.8.2
Build id: 201205070419
Mac OS x 10.5.8
Safari 5.0.6
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
I looked on article http://www.tersus.com/?Id=5212 and the database folder in the project is empty.
Please advise.
Thanks
Log File
----------
INFO 2012-11-26 18:33:17,005 [Worker-8] Initializing WebContext #1
INFO 2012-11-26 18:33:17,006 [Worker-8] WebContext #1 initialized in 1 ms.
ERROR 2012-11-26 18:33:17,009 [Worker-8] Request ID:20121126-18:33:17:005 [Worker-8]
at tersus.runtime.SQLUtils.connectToDataSource(SQLUtils.java:169)
at tersus.runtime.SQLUtils.tableExists(SQLUtils.java:55)
at tersus.runtime.RuntimeContext.cacheUpdateTableExits(RuntimeContext.java:470)
at tersus.runtime.RuntimeContext.permissionCacheExists(RuntimeContext.java:460)
at tersus.runtime.RuntimeContext.clearPermissionCacheIfNeeded(RuntimeContext.java:447)
at tersus.runtime.ContextPool.getContext(ContextPool.java:493)
at tersus.webapp.ContextPool.getContext(ContextPool.java:672)
at tersus.runtime.ContextPool.startUp(ContextPool.java:264)
at tersus.webapp.ContextPool.initAndStartup(ContextPool.java:218)
at tersus.webapp.ContextPool.contextInitialized(ContextPool.java:206)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at tersus.appserver.ApplicationServer.start(ApplicationServer.java:421)
at tersus.appserver.ui.LaunchApplicationActionDelegate$1.run(LaunchApplicationActionDelegate.java:115)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at tersus.runtime.SQLUtils.connectToDataSource(SQLUtils.java:147)
... 17 more
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1415)
... 20 more
ERROR 2012-11-26 18:33:17,009 [Worker-8] Startup failed
ERROR 2012-11-26 18:33:17,010 [Worker-8] Startup failed
INFO 2012-11-26 18:33:17,016 [Worker-8] Initializing WebContext #2
INFO 2012-11-26 18:33:17,016 [Worker-8] WebContext #2 initialized in 0 ms.
ERROR 2012-11-26 18:33:17,018 [Worker-8] Shutdown failed
at tersus.runtime.ContextPool.shutdown(ContextPool.java:864)
at tersus.webapp.ContextPool.contextDestroyed(ContextPool.java:644)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4245)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4886)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4750)
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign