Forum Stats

  • 3,875,064 Users
  • 2,266,800 Discussions


Webcenter sites JSK Login Issue

3587839 Member Posts: 2
edited Feb 20, 2019 12:10AM in WebCenter Sites

Currently facing issue trying to login to WCS console on my JSK. This is occurring frequently and do not know what is causing this issue.

Due to this, I have to use new JSK and import all the data again and is time consuming for development.

Could you please help me with the root cause and solution

Below are the logs

[2019-01-18T04:49:34.527+00:00] [wcsites] [ERROR] [] [oracle.wcsites.db] [tid: 134] [ecid: 0000MXVIizU3z0WjLxyGOA1SGLdJ000002,0] Exception loading meta data for data sourcewcsitesDS[[

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (error in script file line: 1 Unexpected token UNIQUE, requires COLLATION in statement [SET DATABASE UNIQUE])

at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(

at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(

at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(

at com.fatwire.cs.core.db.DataSourceBackedPool.acquire(

at COM.FutureTense.Servlet.JDBCConn.getMeta_trans(

at COM.FutureTense.Servlet.JDBCConn.getMeta(

at COM.FutureTense.Servlet.JDBCTable.<init>(

at COM.FutureTense.Servlet.JDBCConn.GetTable(

at COM.FutureTense.Common.ftDBTable.getconn(

at COM.FutureTense.Common.ftDBTable.grab(

at COM.FutureTense.Common.ftAppLogic.getEvent(

at COM.FutureTense.Common.ftAppLogic.initEventEngine(

at COM.FutureTense.Common.ftAppLogic.init(

at COM.FutureTense.Servlet.SContentServer.init(

at javax.servlet.GenericServlet.init(

at org.apache.catalina.core.StandardWrapper.initServlet(

at org.apache.catalina.core.StandardWrapper.loadServlet(

at org.apache.catalina.core.StandardWrapper.allocate(

at org.apache.catalina.core.StandardWrapperValve.invoke(

at org.apache.catalina.core.StandardContextValve.invoke(

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(

at org.apache.catalina.core.StandardHostValve.invoke(

at org.apache.catalina.valves.ErrorReportValve.invoke(

at org.apache.catalina.valves.AccessLogValve.invoke(

at org.apache.catalina.core.StandardEngineValve.invoke(

at org.apache.catalina.connector.CoyoteAdapter.service(

at org.apache.coyote.http11.AbstractHttp11Processor.process(

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(


at java.util.concurrent.ThreadPoolExecutor.runWorker(

at java.util.concurrent.ThreadPoolExecutor$

at org.apache.tomcat.util.threads.TaskThread$


Caused by: java.sql.SQLException: error in script file line: 1 Unexpected token UNIQUE, requires COLLATION in statement [SET DATABASE UNIQUE]

at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

at org.hsqldb.jdbcDriver.connect(Unknown Source)

at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(

at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(

at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(

at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(

... 32 more



  • Graham L
    Graham L Member Posts: 69 Blue Ribbon
    edited Jan 18, 2019 8:38AM

    When you say WCS console I presume you mean the Contributor UI or Admin UI?

    Anyway this can happen when you have wrong version of hsqldb.jar. When you originally started the JSK did it download the hsqldb.jar for you or did you download it yourself and place it in the CATALINA_HOME/lib directory?

  • 3587839
    3587839 Member Posts: 2
    edited Feb 20, 2019 12:10AM

    Yes, was unable to login to Contributor/Admin UI. This seems to be happening whenever I connect to WCS JSK database using DBeaver, perhaps its corrupting it in some way even though I am performing only read operations. However now I am using another copy of JSK.