-
OK, I've fixed loading of the procedure (it was missing due to additional space in
QUERY START
directive…):2017-04-28 13:15:30.289 [main] DBSchemaLoader.validateDBSchema() FINEST: Executing query: CREATE PROCEDURE TigUpdateAccountStatus("userId" VARCHAR(2049), "status" INT) PARAMETER STYLE JAVA LANGUAGE JAVA MODIFIES SQL DATA EXTERNAL NAME 'tigase.db.derby.StoredProcedures.tigUpdateAccountStatus'
2017-04-28 13:21:20.161 [main] Kernel.injectDependencies() WARNING: Can't inject dependency to bean default (class: class tigase.db.beans.AuthRepositoryMDPoolBean$AuthRepositoryConfigBean) unloading bean default RootCause: -> java.lang.RuntimeException: Could not initialize tigase.db.jdbc.TigaseCustomAuth for name 'default' [tigase.db.beans.MDPoolConfigBean.setInstances(MDPoolConfigBean.java:169)] -> tigase.db.DBInitException: Problem initializing jdbc connection: jdbc:derby:/Users/wojtek/dev/tigase/tigase-testsuite/tigase_test_db;create=true [tigase.db.jdbc.TigaseCustomAuth.initRepository(TigaseCustomAuth.java:621)] -> java.sql.SQLSyntaxErrorException: No method was found that matched the method call tigase.db.derby.StoredProcedures.tigAccountStatus(java.lang.String, java.sql.ResultSet[]), tried all combinations of object and primitive types and any possible type conversion for any parameters the method call may have. The method might exist but it is not public and/or static, or the parameter types are not method invocation convertible. [org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)] -> ERROR 42X50: No method was found that matched the method call tigase.db.derby.StoredProcedures.tigAccountStatus(java.lang.String, java.sql.ResultSet[]), tried all combinations of object and primitive types and any possible type conversion for any parameters the method call may have. The method might exist but it is not public and/or static, or the parameter types are not method invocation convertible. [org.apache.derby.iapi.error.StandardException.newException(Unknown Source)]
please resolve it and verify that database prepared with:
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
5416
|
Version |
tigase-server-8.0.0
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
Looks like changes from #5315/49d1ad2c doesn't work well with derby: