I go to the "root" of the application en create a Configuration.xml whith the following:
<?xml version="1.0" encoding="UTF-8" ?>
<Application name="ceshi" rootSystem="ceshi/ceshi">
<Resource name="jdbc/Main" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" maxActive="20" maxIdle="10" maxWait="10000" type="javax.sql.DataSource" username="sa" password="123456" url="jdbc:sqlserver://kwx;databaseName=shiyan" />
but Error after runningļ¼
INFO 2015-07-12 10:33:56,834 [Worker-5] Initializing WebContext #1
INFO 2015-07-12 10:33:56,834 [Worker-5] WebContext #1 initialized in 0 ms.
ERROR 2015-07-12 10:33:56,857 [Worker-5] Request ID:20150712-10:33:56:833 [Worker-5]
</Application>
Database Microsoft SQL Server not supported
at tersus.runtime.DatabaseAdapterManager.getDatabaseAdapter(DatabaseAdapterManager.java:37)
at tersus.runtime.RuntimeContext.getDBAdapter(RuntimeContext.java:258)
at tersus.runtime.SQLUtils.tableExists(SQLUtils.java:57)
at tersus.runtime.RuntimeContext.cacheUpdateTableExits(RuntimeContext.java:472)
at tersus.runtime.RuntimeContext.permissionCacheExists(RuntimeContext.java:462)
at tersus.runtime.RuntimeContext.clearPermissionCacheIfNeeded(RuntimeContext.java:449)
at tersus.runtime.ContextPool.getContext(ContextPool.java:505)
at tersus.webapp.ContextPool.getContext(ContextPool.java:738)
at tersus.runtime.ContextPool.startUp(ContextPool.java:276)
at tersus.webapp.ContextPool.initAndStartup(ContextPool.java:233)
at tersus.webapp.ContextPool.contextInitialized(ContextPool.java:221)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at tersus.appserver.ApplicationServer.start(ApplicationServer.java:466)
at tersus.appserver.ui.LaunchApplicationActionDelegate$1.run(LaunchApplicationActionDelegate.java:107)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR 2015-07-12 10:31:01,424 [Worker-2] Startup failed
INFO 2015-07-12 10:31:01,427 [Worker-2] Initializing WebContext #2
INFO 2015-07-12 10:31:01,427 [Worker-2] WebContext #2 initialized in 0 ms.
ERROR 2015-07-12 10:31:01,440 [Worker-2] Shutdown failed
at tersus.runtime.ContextPool.shutdown(ContextPool.java:885)
at tersus.webapp.ContextPool.contextDestroyed(ContextPool.java:711)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
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