2014-02-20 21 views
1

我們已經安裝了帶有Websphere Liberty配置文件的Worklight服務器。 安裝war文件並創建derby數據庫,如以下url中所述,並在server.xml中引用它們。我收到下面的錯誤。無法獲取Worklight Console

Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized:300' 
javax.servlet.ServletException: Worklight Console initialization failed. 
Logged Exception: com.worklight.server.database.api.WorklightDataSourceException: 
FWLSE0194E: Worklight server cannot be started because of failure while getting a connection from data-source bound to resource reference: jdbc/WorklightDS. Make sure the 
database is up, the credentials are correct and the driver is available for the server. [project bluemine] 
at com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized(AuthenticationFilter.java:300) 
at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:111) 
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194) 
at [internal classes] 
+0

真的沒有足夠的信息來嘗試回答你的問題。請告訴我們您設置數據庫的步驟,您部署WAR文件的步驟以及您使用的Worklight版本。根據您提出的最後一個問題,我猜測您正在使用Worklight 6.1,請告訴我們這是不正確的。根據你在這裏提供的內容,它看起來像數據庫沒有正確設置。您需要使用Ant任務來執行此操作,因爲Worklight Server配置工具不支持將Derby用作數據庫。 – patbarron

+0

如果您尚未這樣做,您應該閱讀本節的文檔:http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/topic/com.ibm.worklight.deploy.doc/devref/ r_ant_tasks_configure_dbs.html – patbarron

+0

問題已解決。有一個版本不匹配的數據庫和jar文件被使用。謝謝 – Vinay

回答

1

問題得到了解決。 DB和正在使用的jar文件之間存在版本錯誤。謝謝

相關問題