Installation mit MySql
Verfasst: Mittwoch 9. April 2014, 00:48
Hallo zusammen,
mein Erstkontakt mit JVerein verlief nicht so dolle: ich habe heute mehrfach (m.E. streng nach der Anleitung) erfolglos versucht, JVerein mit mysql auf meinem iMac zum Laufen zu bringen.
Hier meine de.jost_net.JVerein.rmi.JVereinDBService.properties:
database.driver=de.jost_net.JVerein.server.DBSupportMySqlImpl
database.driver.mysql.jdbcurl=jdbc\:mysql\://localhost\:3306/jverein?useUnicode\=Yes&characterEncoding\=ISO8859_1
database.driver.mysql.username=jverein
database.driver.mysql.password=passwort
database.driver.mysql.scriptprefix=mysql-
versucht habe ich außerdem statt localhost die IP meines Rechners sowie die 127.0.0.1
Mit PHP komme ich problemlos an die Datenbank. Hier noch die log-Datei:
[Wed Apr 09 00:40:11 CEST 2014][ERROR][de.jost_net.JVerein.Einstellungen.<clinit>] Fehler
java.rmi.RemoteException: error while getting database service; nested exception is:
de.willuhn.util.ApplicationException: Der Service "database" wurde nicht gefunden
at de.jost_net.JVerein.Einstellungen.getDBService(Einstellungen.java:176)
at de.jost_net.JVerein.Einstellungen.<clinit>(Einstellungen.java:104)
at de.jost_net.JVerein.gui.boxes.MitgliedNextBGruppeChecker.selektiereMitgliederZumAendern(MitgliedNextBGruppeChecker.java:80)
at de.jost_net.JVerein.gui.boxes.MitgliedNextBGruppeChecker.mussMitgliedGeaendertWerden(MitgliedNextBGruppeChecker.java:68)
at de.jost_net.JVerein.gui.boxes.MitgliedNextBGruppeChecker.<init>(MitgliedNextBGruppeChecker.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:310)
at de.willuhn.jameica.services.BeanService.get(BeanService.java:141)
at de.willuhn.jameica.gui.boxes.BoxRegistry.getBoxes(BoxRegistry.java:66)
at de.willuhn.jameica.gui.internal.views.Start.bind(Start.java:74)
at de.willuhn.jameica.gui.GUI$4.run(GUI.java:639)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.willuhn.jameica.gui.GUI$5.run(GUI.java:810)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
at org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
at de.willuhn.jameica.gui.GUI.startSync(GUI.java:806)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:535)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:470)
at de.willuhn.jameica.gui.internal.action.Start.handleAction(Start.java:31)
at de.willuhn.jameica.gui.Navigation.start(Navigation.java:385)
at de.willuhn.jameica.gui.Navigation.access$500(Navigation.java:52)
at de.willuhn.jameica.gui.Navigation$MyActionListener.handleEvent(Navigation.java:480)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at de.willuhn.jameica.gui.Navigation.select(Navigation.java:359)
at de.willuhn.jameica.gui.GUI.loop(GUI.java:822)
at de.willuhn.jameica.gui.GUI.init(GUI.java:310)
at de.willuhn.jameica.system.Application.init(Application.java:148)
at de.willuhn.jameica.system.Application.newInstance(Application.java:90)
at de.willuhn.jameica.Main.main(Main.java:78)
Caused by: de.willuhn.util.ApplicationException: Der Service "database" wurde nicht gefunden
at de.willuhn.jameica.system.ServiceFactory.lookup(ServiceFactory.java:231)
at de.jost_net.JVerein.Einstellungen.getDBService(Einstellungen.java:170)
... 37 more
Ich freue mich über jeden Tipp. Vielen Dank vorab!
mein Erstkontakt mit JVerein verlief nicht so dolle: ich habe heute mehrfach (m.E. streng nach der Anleitung) erfolglos versucht, JVerein mit mysql auf meinem iMac zum Laufen zu bringen.
Hier meine de.jost_net.JVerein.rmi.JVereinDBService.properties:
database.driver=de.jost_net.JVerein.server.DBSupportMySqlImpl
database.driver.mysql.jdbcurl=jdbc\:mysql\://localhost\:3306/jverein?useUnicode\=Yes&characterEncoding\=ISO8859_1
database.driver.mysql.username=jverein
database.driver.mysql.password=passwort
database.driver.mysql.scriptprefix=mysql-
versucht habe ich außerdem statt localhost die IP meines Rechners sowie die 127.0.0.1
Mit PHP komme ich problemlos an die Datenbank. Hier noch die log-Datei:
[Wed Apr 09 00:40:11 CEST 2014][ERROR][de.jost_net.JVerein.Einstellungen.<clinit>] Fehler
java.rmi.RemoteException: error while getting database service; nested exception is:
de.willuhn.util.ApplicationException: Der Service "database" wurde nicht gefunden
at de.jost_net.JVerein.Einstellungen.getDBService(Einstellungen.java:176)
at de.jost_net.JVerein.Einstellungen.<clinit>(Einstellungen.java:104)
at de.jost_net.JVerein.gui.boxes.MitgliedNextBGruppeChecker.selektiereMitgliederZumAendern(MitgliedNextBGruppeChecker.java:80)
at de.jost_net.JVerein.gui.boxes.MitgliedNextBGruppeChecker.mussMitgliedGeaendertWerden(MitgliedNextBGruppeChecker.java:68)
at de.jost_net.JVerein.gui.boxes.MitgliedNextBGruppeChecker.<init>(MitgliedNextBGruppeChecker.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:310)
at de.willuhn.jameica.services.BeanService.get(BeanService.java:141)
at de.willuhn.jameica.gui.boxes.BoxRegistry.getBoxes(BoxRegistry.java:66)
at de.willuhn.jameica.gui.internal.views.Start.bind(Start.java:74)
at de.willuhn.jameica.gui.GUI$4.run(GUI.java:639)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.willuhn.jameica.gui.GUI$5.run(GUI.java:810)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
at org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
at de.willuhn.jameica.gui.GUI.startSync(GUI.java:806)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:535)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:470)
at de.willuhn.jameica.gui.internal.action.Start.handleAction(Start.java:31)
at de.willuhn.jameica.gui.Navigation.start(Navigation.java:385)
at de.willuhn.jameica.gui.Navigation.access$500(Navigation.java:52)
at de.willuhn.jameica.gui.Navigation$MyActionListener.handleEvent(Navigation.java:480)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at de.willuhn.jameica.gui.Navigation.select(Navigation.java:359)
at de.willuhn.jameica.gui.GUI.loop(GUI.java:822)
at de.willuhn.jameica.gui.GUI.init(GUI.java:310)
at de.willuhn.jameica.system.Application.init(Application.java:148)
at de.willuhn.jameica.system.Application.newInstance(Application.java:90)
at de.willuhn.jameica.Main.main(Main.java:78)
Caused by: de.willuhn.util.ApplicationException: Der Service "database" wurde nicht gefunden
at de.willuhn.jameica.system.ServiceFactory.lookup(ServiceFactory.java:231)
at de.jost_net.JVerein.Einstellungen.getDBService(Einstellungen.java:170)
... 37 more
Ich freue mich über jeden Tipp. Vielen Dank vorab!