Hello Smartgwt team,
after upgrading from 12p to 12.1p 20200401 we are getting following error during application start, 12.0p 20190929 works without any error with the same configuration.
We are using SLF4J with logback, so the loggings produced by smartgwt are handled by slf4j and logback.
Following properties are set
iscUseSlf4j=true
iscUseLog4jConfig=false
Do you have some hint, what could be wrong here?
As i have seen, in ISCInit.initServiceThreads() there is a static methode Log4jDataSourceAppender.requiresDataSourceDispatcher() called, where the Log4jDataSourceAppender extends AppenderSkeleton - which is part of log4j only.
In my opinion the call for Log4jDataSourceAppender should called only when using log4j or am I on the wrong track?
Thank you in advance!
Helmut
after upgrading from 12p to 12.1p 20200401 we are getting following error during application start, 12.0p 20190929 works without any error with the same configuration.
Code:
Isomorphic Init: Exception in Init.go() java.lang.NoClassDefFoundError: org/apache/log4j/AppenderSkeleton at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:757) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2415) at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:863) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1186) at com.isomorphic.base.ISCInit.initServiceThreads(ISCInit.java:249) at com.isomorphic.base.ISCInit.go(ISCInit.java:228) at com.isomorphic.base.InitListener.oneTimeIdempotentInit(InitListener.java:98) at com.isomorphic.base.InitListener.contextInitialized(InitListener.java:91)
Following properties are set
iscUseSlf4j=true
iscUseLog4jConfig=false
Do you have some hint, what could be wrong here?
As i have seen, in ISCInit.initServiceThreads() there is a static methode Log4jDataSourceAppender.requiresDataSourceDispatcher() called, where the Log4jDataSourceAppender extends AppenderSkeleton - which is part of log4j only.
In my opinion the call for Log4jDataSourceAppender should called only when using log4j or am I on the wrong track?
Thank you in advance!
Helmut
Comment