简体   繁体   English

WSO2 EI - 错误 - java.sql.SQLException: ORA-01483: DATE 或 NUMBER 绑定变量的长度无效

[英]WSO2 EI - ERROR - java.sql.SQLException: ORA-01483: invalid length for DATE or NUMBER bind variable

I am getting following Registry Exception exception while trying to start WSO2 EI server.The server configurations were working fine and started showing this error recently.Some details from error log is as below.我在尝试启动 WSO2 EI 服务器时遇到了注册表异常异常。服务器配置工作正常,最近开始显示此错误。错误日志中的一些详细信息如下。

 [2020-07-22 12:18:47,493] [-1234] [] [localhost-startStop-1] ERROR {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} -  Failed to write resource content to the database.
java.sql.SQLException: ORA-01483: invalid length for DATE or NUMBER bind variable

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:951)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:513)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3694)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
    -------
[2020-07-22 12:18:47,493] [-1234] [] [localhost-startStop-1] ERROR {org.wso2.carbon.theme.mgt.util.ThemeUtil} -  Error loading theme to the sytem registry for registry path: /repository/components/org.wso2.carbon.all-themes/Default/images
org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to put resource Failed to write resource content to the database.
    at org.wso2.carbon.registry.core.jdbc.handlers.builtin.MountHandler.put(MountHandler.java:299)
    at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.put(HandlerManager.java:2503)
    at org.wso2.carbon.registry.core.jdbc.handlers.UserDefinedHandlerManager.put(UserDefinedHandlerManager.java:204)
    at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.put(HandlerLifecycleManager.java:949)
    at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:705)
    at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:591)
    at org.wso2.carbon.registry.core.session.UserRegistry.putInternal(UserRegistry.java:828)
    at org.wso2.carbon.registry.core.session.UserRegistry.access$1000(UserRegistry.java:61)
    at org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:804)
    at org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:801)

What can be the root cause of the issue and How can I debug the error?问题的根本原因是什么?如何调试错误?

Please check the following alternative workaround available to resolve the issue.请检查以下可用于解决问题的替代解决方法。

Navigate to the <EI_HOME>/resources/ folder.导航到 <EI_HOME>/resources/ 文件夹。 Rename the allthemes directory to the allthemes1 .将 allthemes 目录重命名为allthemes1 Restart the server and check you could resolve the issue.重新启动服务器并检查您是否可以解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM