I'm testing the master branch of integration and, although the portal-app pod appears as running, the portal login page is not available. Logfile shows: 27-Jun-2019 07:37:44.064 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /opt/apache-tomcat-8.0.37/webapps/ONAPPORTAL SLF4J: Class path contains *multiple SLF4J bindings*. SLF4J: Found binding in [jar:file:/opt/apache-tomcat-8.0.37/webapps/ONAPPORTAL/WEB-INF/lib/epsdk-music-2.2.0-SNAPSHOT-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/apache-tomcat-8.0.37/webapps/ONAPPORTAL/WEB-INF/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] *Failed to instantiate* [ch.qos.logback.classic.LoggerContext] Reported exception: java.lang.NoSuchMethodError: ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set; ....... 27-Jun-2019 07:38:30.140 *SEVERE* [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context *[/ONAPPORTAL] startup failed* due to previous errors
The affected image is onap/portal-app:2.5.0 (sha256:1bbd2d4f18a49de7d2ec4f63367c69d3531a301622b5cea33c1b5e36464e5c1c ) If I run the image with docker run I get the warning about multiple bindings but the not the execption and the error. It's only when the pod runs with modfied files coming from configmap dev-portal-portal-app-onapportal when you experience the problem (My git clone of oom master is currently pointing to commit df7fba01e18132103b9ddd6e4d64a4777323340d, if you want to reproduce it) Additionally, if appears that logback.xml from oom is causing problems with this line: <filter class="org. *openecomp*.portalapp.portal.utils.CustomLoggingFilter" /> Changing "openecomp" back to "onap" (as it appears in theĀ docker image) fixes the problem. Am I the only one suffering this? BR, Juan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17866): https://lists.onap.org/g/onap-discuss/message/17866 Mute This Topic: https://lists.onap.org/mt/32315221/21656 Mute #portal: https://lists.onap.org/mk?hashtag=portal&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
