[Spacewalk-list] 2.7 Schedule issue
Ree, Jan-Albert van
J.A.v.Ree at marin.nl
Thu Jan 4 10:57:29 UTC 2018
We are still stuck with the same issue.
Unfortunately this for us did not help :
root at spacewalk ~ # rpm -V spacewalk-java spacewalk-java-lib spacewalk-java-postgresql spacewalk-java-config spacewalk-taskomatic
..5....T. c /etc/logrotate.d/rhn_web_api
root at spacewalk ~ # grep hibernate /etc/rhn/rhn.conf
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class=org.postgresql.Driver
hibernate.connection.driver_proto=jdbc:postgresql
We still get the same tracebacks when clicking on any of the scheduled tasks.
--
Jan-Albert van Ree
Jan-Albert van Ree | Linux System Administrator | MARIN Support Group
MARIN | T +31 317 49 35 48 | mailto:J.A.v.Ree at marin.nl | http://www.marin.nl
MARIN news: http://www.marin.nl/web/News/News-items/Nederlandse-onderzoeksinstellingen-bundelen-de-krachten-op-het-gebied-van-windmetingen.htm
________________________________________
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> on behalf of Florian Panzer - ratiokontakt GmbH <fp at ratiokontakt.de>
Sent: Thursday, January 04, 2018 11:37
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] 2.7 Schedule issue
Am 04.01.2018 um 09:38 schrieb Michael Mraka:
> Florian Panzer - ratiokontakt GmbH:
>> Hi,
>>
>> we're struck by the same issue. Spacewalk 2.7, Internal Server Error
>> when clicking on the Scheduled tasks (see Screenshot attached).
>>
>> We get the following two tracebacks:
>>
>> ==> tomcat/localhost.2018-01-03.log <==
>> Jan 03, 2018 4:01:17 PM
>> org.apache.catalina.core.ApplicationDispatcher invoke
>> SCHWERWIEGEND: Servlet.service() for servlet
>> org.apache.jsp.WEB_002dINF.pages.schedule.completedsystems_jsp threw
>> exception
>> org.hibernate.LazyInitializationException: could not initialize
>> proxy - no Session
> ...
>
> Hello Florian,
>
> According to my google search this looks like a hibernate session
> misconfiguration. Can you verify that your java configuration has not
> been changed (`rpm -V spacewalk-java spacewalk-java-lib spacewalk-java-postgresql spacewalk-java-config spacewalk-taskomatic`)?
> Maybe also check output of `grep hibernate /etc/rhn/rhn.conf`.
>
Woah, this fixed it!
[root at spacewalk ~]# rpm -V spacewalk-java spacewalkgresql
spacewalk-java-config spacewalk-taskomatic
..5....T.
/var/lib/tomcat/webapps/rhn/WEB-INF/pages/schedule/completedsystems.jsp
[root at spacewalk ~]# grep hibernate /etc/rhn/rhn.conf
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class=org.postgresql.Driver
hibernate.connection.driver_proto=jdbc:postgresql
[root at spacewalk ~]# yum reinstall spacewalk-java
[...]
[root at spacewalk ~]# rpm -V spacewalk-java
[root at spacewalk ~]#
followed by spacewalk-service stop and spacewalk-service start
Problem solved -- thank you ;)
--
Für weitergehende Fragen stehen wir Ihnen gerne zur Verfügung.
Mit partnerschaftlichen Grüßen
Florian Panzer
Chief Technical Officer
AWS Certified Solutions Architect - Associate
--------------------------------------------------------
ratiokontakt GmbH
Biegenhofstr. 13
96103 Hallstadt
Telefon: +49 (0) 951 9 35 35 - 0
Telefax: +49 (0) 951 9 35 35 - 902
Internet: www.ratiokontakt.de
Geschäftsführer: Nils Kaufmann, Stefan Kraft
Amtsgericht Bamberg - HRB 3757
--------------------------------------------------------
ratiokontakt ist zertifiziert nach DIN ISO/IEC 27001
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list