After Update from 4.57.1 to 4.65.1 the Service Fails to Start #3838
Replies: 4 comments 3 replies
-
How do you Start the application? Do you use the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Tobias,
danke auf Deutsch ist auch OK, oder?
Wir starten die .war über einen Service:
[Unit]
Description=Urlaubsplanung
After=syslog.target
[Service]
User=urlaubsplan
WorkingDirectory=/opt/urlaub/
ExecStart=/bin/java -Xms4096m -Xmx8192m -jar /opt/urlaub/urlaubsverwaltung.war
SuccessExitStatus=143
Restart=on-failure
RestartSec=180
TimeoutSec=120
[Install]
WantedBy=multi-user.target
Hoffe, das hilft etwas.
Wie gesagt, lässt sich die Anwendung problemlos starten in der Version 4.57.1
Mit freundlichen Grüßen
Mario Stuck
Raindancer by
IT-Direkt Business Technologies GmbH
Aroser Allee 66
13407 Berlin
Tel.: +49 30 89 00 61 20
E-Mail: ***@***.******@***.***>
Von: Tobias Schneider ***@***.***>
Gesendet: Montag, 8. Mai 2023 19:09
An: urlaubsverwaltung/urlaubsverwaltung ***@***.***>
Cc: MarioStuck ***@***.***>; Author ***@***.***>
Betreff: Re: [urlaubsverwaltung/urlaubsverwaltung] After Update from 4.57.1 to 4.65.1 the Service Fails to Start (Discussion #3838)
How do you Start the application? Do you use the .war file? Please use the .jar file if you start it via java -jar
—
Reply to this email directly, view it on GitHub<#3838 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKETV3J5NYYSS5O2MAQKP5DXFESB7ANCNFSM6AAAAAAX2AZHJM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi Tobias,
in den Properties steht relativ wenig. Ich schicke unsere mal mit. Ich werde das mal mit dem .jar versuchen und melde mich dann noch einmal bei dir. Danke vorab.
# DATABASE -------------------------------------------------------------------------------------------------------------
# spring.datasource.url=jdbc:mysql://localhost:3306/Urlaubsverwaltung
spring.datasource.url=jdbc:mariadb://localhost:3306/Urlaubsverwaltung
spring.datasource.username=dbUrlaub
spring.datasource.password=xxx
server.port=8181
# DEMO DATA ------------------------------------------------------------------------------------------------------------
# Should demo data be created on startup or not?
uv.development.demodata.create=false
# AUTHENTICATION -------------------------------------------------------------------------------------------------------
# Choose one: default, ldap, activedirectory
uv.security.auth=activedirectory
# ical calendar
***@***.******@***.***>
uv.security.directory-service.active-directory.url=ldap://xxx/
uv.security.directory-service.active-directory.domain=it-direkt.de
#uv.security.directory-service.active-directory.searchFilter=
#uv.security.directory-service.active-directory.sync.enabled=false
#uv.security.directory-service.active-directory.sync.password=xxx
#uv.security.directory-service.active-directory.sync.user-dn=xxx
#uv.security.directory-service.active-directory.sync.user-search-base=xxx
***@***.******@***.***>
***@***.******@***.***>
uv.mail.application-url=https://xxx
spring.mail.host=xxx
spring.mail.port=25
logging.file.name=logs/urlaubsverwaltung.log
logging.level.org.synyx.urlaubsverwaltung=TRACE
logging.level.org.springframework.security=TRACE
Mit freundlichen Grüßen
Mario Stuck
Raindancer by
IT-Direkt Business Technologies GmbH
Aroser Allee 66
13407 Berlin
Tel.: +49 30 89 00 61 20
E-Mail: ***@***.******@***.***>
Von: Tobias Schneider ***@***.***>
Gesendet: Montag, 8. Mai 2023 19:42
An: urlaubsverwaltung/urlaubsverwaltung ***@***.***>
Cc: MarioStuck ***@***.***>; Author ***@***.***>
Betreff: Re: [urlaubsverwaltung/urlaubsverwaltung] After Update from 4.57.1 to 4.65.1 the Service Fails to Start (Discussion #3838)
Hey Mario,
bitte verwende die jar für java -jar in der 4er Version sollte dies eigentlich noch laufen mit der *.war, aber da wir das *.war so oder so mit der 5.x entfernen werden. Könntest du ja auch direkt auf die *.jar wechseln.
Steht in deiner application.properties|yaml was mit thymleaf? Wenn ja poste mal bitte.
—
Reply to this email directly, view it on GitHub<#3838 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKETV3IJKOBWQJZNZJWTBDDXFEV43ANCNFSM6AAAAAAX2AZHJM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi Tobias,
habe jetzt den Service auf die .jar umgestellt und es läuft. Sollte damit also gelöst sein. Vielen Dank für die Unterstützung. Kann ich dir noch irgendwelche Logs oder ähnliches zukommen lassen?
Wenn nicht, dann einfach nur ein großes Danke...
Mit freundlichen Grüßen
Mario Stuck
Raindancer by
IT-Direkt Business Technologies GmbH
Aroser Allee 66
13407 Berlin
Tel.: +49 30 89 00 61 20
E-Mail: ***@***.******@***.***>
Von: Tobias Schneider ***@***.***>
Gesendet: Dienstag, 9. Mai 2023 11:52
An: urlaubsverwaltung/urlaubsverwaltung ***@***.***>
Cc: MarioStuck ***@***.***>; Author ***@***.***>
Betreff: Re: [urlaubsverwaltung/urlaubsverwaltung] After Update from 4.57.1 to 4.65.1 the Service Fails to Start (Discussion #3838)
Funktioniert es denn wenn du die jar verwendest?
-
Reply to this email directly, view it on GitHub<#3838 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKETV3LWAIEEQC2V23V75VLXFIHSNANCNFSM6AAAAAAX2AZHJM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we have just tried to update our Urlaubsverwaltung to the current version (from 4.57.1 to 4.65.1) without success. The service will not start anymore with this errors taken from journalctl:
We are using mariadb.
The same behavior occured with an older version (don't remember exactly, around 4.60). Any ideas?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions