Hallo zusammen,
wie gesagt habe ich nun alles in der Desktop-Version einrichten und abfragen können.
Die Verbindung zur MYSQL-Datenbank vom Server habe ich mit den Infos aus dem nachfolgendem Link hoffentlich erfolgreich herstellen können - die Umsätze über die Desktop-Version ließen sich auf jeden Fall abrufen:
-
https://www.willuhn.de/wiki/doku.php?id=support:mysql
Ein Abrufen der Umsätze über den Server klappte dann allerdings nicht und brachte folgende Fehlermeldung:
- Fehler beim Erstellen des Auftrags. Fehlermeldung: class java.time.LocalDateTime cannot be cast to class java.util.Date (java.time.LocalDateTime and java.util.Date are in module java.base of loader 'bootstrap')
Diese Fehlermeldung gegoogelt und anschließend die Tipps aus dem gleichen oben genannten Link umgesetzt. Leider war dies nicht von Erfolg gekrönt und ich bekomme nun folgende Fehlermeldungen (nun lassen sich auf dem Server leider nicht einmal mehr die Bank-Zugänge öffnen und somit auch nicht bearbeiten; ebenso ist ein Zugriff auf die Datenbank über die Desktop-Version nun auch nicht mehr möglich):
- unable to send reminder messages for provider de.willuhn.jameica.hbci.reminder.ReminderStorageProviderHibiscus
java.rmi.RemoteException: The service "database" could not be found
at de.willuhn.jameica.hbci.Settings.getDBService(Settings.java:78)
at de.willuhn.jameica.hbci.reminder.ReminderStorageProviderHibiscus.getUUIDs(ReminderStorageProviderHibiscus.java:112)
at de.willuhn.jameica.reminder.AbstractReminderStorageProvider.find(AbstractReminderStorageProvider.java:44)
at de.willuhn.jameica.services.ReminderService.run(ReminderService.java:141)
at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
at java.base/java.util.TimerThread.run(Timer.java:506)
- cache lookup error
java.util.concurrent.ExecutionException: java.rmi.RemoteException: The service "database" could not be found
at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:588)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:547)
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:113)
at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:240)
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2317)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2283)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2159)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2049)
at com.google.common.cache.LocalCache.get(LocalCache.java:3966)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4863)
at de.willuhn.jameica.hbci.server.DBPropertyUtil.get(DBPropertyUtil.java:361)
at de.willuhn.jameica.hbci.messaging.NeueUmsaetze.load(NeueUmsaetze.java:319)
at de.willuhn.jameica.hbci.messaging.NeueUmsaetze.reload(NeueUmsaetze.java:280)
at de.willuhn.jameica.hbci.messaging.NeueUmsaetze$SchedulerTask.run(NeueUmsaetze.java:391)
at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
at java.base/java.util.TimerThread.run(Timer.java:506)
Caused by: java.rmi.RemoteException: The service "database" could not be found
at de.willuhn.jameica.hbci.Settings.getDBService(Settings.java:78)
at de.willuhn.jameica.hbci.server.DBPropertyUtil.getScope(DBPropertyUtil.java:454)
at de.willuhn.jameica.hbci.server.DBPropertyUtil.access$200(DBPropertyUtil.java:41)
at de.willuhn.jameica.hbci.server.DBPropertyUtil$1.call(DBPropertyUtil.java:369)
at de.willuhn.jameica.hbci.server.DBPropertyUtil$1.call(DBPropertyUtil.java:361)
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4868)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3533)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2282)
... 10 more
- unable to load umsatz unread count
java.rmi.RemoteException: The service "database" could not be found
at de.willuhn.jameica.hbci.Settings.getDBService(Settings.java:78)
at de.willuhn.jameica.hbci.server.DBPropertyUtil.find(DBPropertyUtil.java:609)
at de.willuhn.jameica.hbci.server.DBPropertyUtil.get(DBPropertyUtil.java:386)
at de.willuhn.jameica.hbci.messaging.NeueUmsaetze.load(NeueUmsaetze.java:319)
at de.willuhn.jameica.hbci.messaging.NeueUmsaetze.reload(NeueUmsaetze.java:280)
at de.willuhn.jameica.hbci.messaging.NeueUmsaetze$SchedulerTask.run(NeueUmsaetze.java:391)
at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
at java.base/java.util.TimerThread.run(Timer.java:506)
Anbei die "de.willuhn.jameica.hbci.rmi.HBCIDBService.properties" von
Dektop-Variante:
- database.driver.h2.encryption.algorithm=AES
- database.driver.h2.encryption.encryptedpassword=nfopgaBL1dYtxpkqn9kfoLX3//xWHXi+S+t8SlwGwOl1Yn5LI F7RxrQXy4xZS7c9tqIMDX7WDqQhZ\r\nWnVXyXOHK+xZi/qMGkyb4DVE0sZMb/Iw9\r\ nT4xKdusvnqKmPJwzIytyBuRlndRd4iawHYCBhzC+0U9fRKUa9f/Y3HU4wldS0Eg\=\=
- database.driver=de.willuhn.jameica.hbci.server.DBSupportMySqlImpl
- database.driver.mysql.jdbcurl=jdbc\:mariadb\://XXX.XXX.XXX.XX\:3306/hibiscus?useUnicode\=Yes&characterEncoding\=ISO8859_1&serverTimezone\=Europe/Paris
- database.driver.mysql.username=hibiscus
- database.driver.mysql.password=XXXXXXXXXX
Server:
- database.driver.mysql.jdbcurl=jdbc\:mariadb\://db/hibiscus?useUnicode\=Yes&characterEncoding\=ISO8859_1
- database.driver.mysql.password=XXXXXXXXXX
- database.driver=de.willuhn.jameica.hbci.server.DBSupportMySqlImpl
- database.driver.mysql.username=hibiscus
- database.driver.h2.encryption.algorithm=AES
Kann mir jemand sagen was ich falsch gemacht habe und warum kein Zugriff mehr auf die Datenbank möglich ist?
Vielen Dank für eure Hilfe!