Zitat geschrieben von hibiscus
Deine Schritte oben klingen soweit korrekt. Kann es sein, dass du den Ordner nicht aus dem Ordner "plugins" entfernt sondern nur umbenannt hast? In dem Fall wird die alte Version u.U. dennoch geladen.
Jau, das war's. Aber jetzt hab ich ein neues Problem, und zwar klappt die Datenbank-Anbindung auf einmal nicht mehr.
Ich nutze Postgres 9.2 als Datenbank, und das hat bis vor dem Hibiscus-Update von 2.4.0 auf 2.4.2 auch problemlos funktioniert.
Seit dem Update bekomme ich Fehlermeldungen:
Code
[Sun Feb 24 23:14:48 CET 2013][ERROR][de.willuhn.sql.ScriptExecutor.execute] error while executing sql script. Current statement: ALTER TABLE property ALTER COLUMN content TYPE varchar(10000) NULL
org.postgresql.util.PSQLException: ERROR: syntax error at or near "NULL"
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1608)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1343)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:194)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:336)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:282)
at de.willuhn.sql.ScriptExecutor.execute(ScriptExecutor.java:168)
at update0039.execute(update0039.java:64)
at de.willuhn.sql.version.Updater.execute(Updater.java:258)
at de.willuhn.sql.version.Updater.execute(Updater.java:168)
at de.willuhn.sql.version.Updater.execute(Updater.java:70)
at de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.checkConsistency(HBCIDBServiceImpl.java:133)
at de.willuhn.jameica.hbci.HBCI$1.call(HBCI.java:104)
at de.willuhn.jameica.hbci.HBCI.call(HBCI.java:330)
at de.willuhn.jameica.hbci.HBCI.init(HBCI.java:100)
at de.willuhn.jameica.plugin.PluginLoader.initPlugin(PluginLoader.java:342)
at de.willuhn.jameica.plugin.PluginLoader.init(PluginLoader.java:203)
at de.willuhn.jameica.services.PluginService.init(PluginService.java:42)
at de.willuhn.boot.BootLoader.resolve(BootLoader.java:139)
at de.willuhn.boot.BootLoader.resolve(BootLoader.java:119)
at de.willuhn.boot.BootLoader.getBootable(BootLoader.java:72)
at de.willuhn.jameica.system.Application.init(Application.java:102)
at de.willuhn.jameica.system.Application.newInstance(Application.java:86)
at de.willuhn.jameica.Main.main(Main.java:78)
[Sun Feb 24 23:14:48 CET 2013][ERROR][update0039.execute] unable to execute update
im Postgres-Log steht das hier:
Code
2013-02-24 23:23:58 CET ERROR: syntax error at or near "NULL" at character 63
2013-02-24 23:23:58 CET STATEMENT: ALTER TABLE property ALTER COLUMN content TYPE varchar(10000) NULL
Infolge dessen wird das Hibiscus-Plugin gar nicht mehr geladen (jedenfalls steht's nicht unter localhost:8080/webadmin in der Plugin-Liste), und es hagelt nur so von Fehler wie dem hier:
Code
[Sun Feb 24 23:38:46 CET 2013][ERROR][de.willuhn.jameica.sensors.service.impl.SchedulerImpl$Worker.run] error while collecting data from device hibiscus.serve
r: statistics
java.rmi.RemoteException: Der Service "database" wurde nicht gefunden
at de.willuhn.jameica.hbci.Settings.getDBService(Settings.java:84)
at de.willuhn.jameica.hbci.payment.sensors.DeviceImpl.collect(DeviceImpl.java:80)
at de.willuhn.jameica.sensors.service.impl.SchedulerImpl$Worker.run(SchedulerImpl.java:158)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Ich bin ein wenig ratlos ...
VG, Andreas.