[solved] Java broken - dont know the reason

Started by df8oe, 2018/03/19, 17:07:25

Previous topic - Next topic

df8oe

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":
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

jure

Gruss Juergen

unklarer

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".

jure

as unklarer mentioned, I switched to openjdk-8-jre and for now it works again

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

df8oe

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

unklarer

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

jure

Quote from: unklarerWas 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 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

df8oe

...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