Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  [solved] Java broken - dont know the reason  (Read 3441 times)

Offline df8oe

  • User
  • Posts: 112
  • Linux von Innen
    • DF8OE
[solved] Java broken - dont know the reason
« on: 2018/03/19, 17:07:25 »
Today I noticed that my online banking software, Java based (Jameica/Hibiscus) does not run anymore. It stops during initialization and finishes with a "critical error":
Code: [Select]
de.willuhn.jameica.system.JameicaException: UpdateSettingsView kann nicht erstellt werden: javax/annotation/Resource
   at de.willuhn.jameica.services.BeanService.get(BeanService.java:187)
   at de.willuhn.jameica.services.RepositoryServic e.init(RepositoryService.java:108)
   at de.willuhn.boot.BootLoader.resolve(BootLoader.java:139)
   at de.willuhn.boot.BootLoader.resolve(BootLoader.java:119)
   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:106)
   at de.willuhn.jameica.system.Application.newIns tance(Application.java:90)
   at de.willuhn.jameica.Main.main(Main.java:78)


I have not started Jameica the last few days so I cannot tell when the issue appears. But it is present on all machines running Siduction-64, it is present with every java-jre I choose (9,10,11) and it is NOT present on my standard Debian 9 system. Can anyone confirm (or not confirm) malfunctioning of Java integration?


Best regards
DF8OE
« Last Edit: 2018/03/20, 10:20:51 by df8oe »

Offline jure

  • User
  • Posts: 635
Re: Java broken - dont know the reason
« Reply #1 on: 2018/03/19, 17:28:56 »
I can confirm this and I started a thread in the http://www.onlinebanking-forum.de/forum/topic.php?t=21884
Gruss Juergen

Offline unklarer

  • User
  • Posts: 816
Re: Java broken - dont know the reason
« Reply #2 on: 2018/03/19, 18:32:51 »
I know these problems with jamaica/hibiscus whenever a new version number of the runtime environment came in.

So for now back to openjdk-8-jre and openjdk-8-jre-headless   ;)   and "hold".

Offline jure

  • User
  • Posts: 635
Re: Java broken - dont know the reason
« Reply #3 on: 2018/03/19, 20:21:17 »
as unklarer mentioned, I switched to openjdk-8-jre and for now it works again

Code: [Select]
update-alternatives --config java
Es gibt 2 Auswahlmöglichkeiten für die Alternative java (welche /usr/bin/java bereitstellen).

  Auswahl      Pfad                                            Priorität Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-9-openjdk-amd64/bin/java       1091      automatischer Modus
* 1            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manueller Modus
  2            /usr/lib/jvm/java-9-openjdk-amd64/bin/java       1091      manueller Modus
Gruss Juergen

Offline df8oe

  • User
  • Posts: 112
  • Linux von Innen
    • DF8OE
Re: Java broken - dont know the reason
« Reply #4 on: 2018/03/20, 10:20:10 »
Many thanks - that solved it for me. Latest upgrades of Siduction thtre away my java selection. Java itself was not removed - just setting was modified. Put it back and everything works as a charme :)


Greetings
DF8OE

Offline unklarer

  • User
  • Posts: 816
Re: [solved] Java broken - dont know the reason
« Reply #5 on: 2018/03/20, 16:37:06 »
Das ist schön für dich, wenn es jetzt wieder funktioniert.   ;)   Ich verstand nur nicht, warum du das im englischen Teil des Forum postest, wo doch die Hombanking-Software jameica/hibiscus im allgemeinen und HBCI im besonderen mit Banken außerhalb Germany nicht nutzbar sind.   ;D

Was ich gestern auch noch nicht wußte, die Version 9 der Java-Laufzeitumgebung funktioniert doch mit jameica/hibiscus, wenn man die Nightly-Build's des Entwicklers benutzt.   :P

Er erklärt das hier:
https://www.willuhn.de/blog/index.php?/archives/766-Stolpersteine-unter-Java-9,-Teil-1.html
und hier
http://www.onlinebanking-forum.de/forum/topic.php?t=21884&page=last#last_post

Offline jure

  • User
  • Posts: 635
Re: [solved] Java broken - dont know the reason
« Reply #6 on: 2018/03/22, 13:26:41 »
Quote from: unklarer
Was ich gestern auch noch nicht wußte, die Version 9 der Java-Laufzeitumgebung funktioniert doch mit jameica/hibiscus, wenn man die Nightly-Build's des Entwicklers benutzt.   :P

oder man fügt als vorletzte Zeile
Code: [Select]
export JDK_JAVA_OPTIONS='--add-modules=java.se.ee' in die reguläre jameica.sh ein . Damit funzt das auch mit java 9.0.4. wieder.
Gruss Juergen

Offline df8oe

  • User
  • Posts: 112
  • Linux von Innen
    • DF8OE
Re: [solved] Java broken - dont know the reason
« Reply #7 on: 2018/03/22, 14:01:00 »
...und genau das habe ich getan. Interessanterweise hilft das bei Java 9 - aber beim brandneuen Java 11 geht auch das nicht. Aber egal - Gefahr erkannt, Gefahr gebannt  ;D


Gruß
DF8OE