Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartClient Init: log4j.isc.config.xml not found in CLASSPATH

    I am getting the following message in our logs:

    === SmartClient Init: log4j.isc.config.xml not found in CLASSPATH. Assuming log4j configuration for com.isomorphic is located in some other log4j configuration file.

    If I take the sample log4j.isc.config.xml file and place it in my server's classpath then the message goes away and I see the Isomorphic log entries. A problem with this is that our server already uses log4j (& a corresponding log4j.xml config file). When I try just adding a category for com.isomorphic inside my current log4j.xml file I don't get any of the Isomorphic log entries.

    Is there a way to get SmartClient to use my current log4j config file so that I don't have to duplicate all of my appenders into a second file?

    #2
    Not sure what the problem is, you should be able to just move the entries back and forth.

    Comment


      #3
      Originally posted by Isomorphic
      Not sure what the problem is, you should be able to just move the entries back and forth.
      This doesn't appear to be working for me either. I have Tomcat setup to log via Log4j per:

      http://tomcat.apache.org/tomcat-7.0-...ml#Using_Log4j

      I have log4j.jar and log4j.xml in tomcat/lib. My log4j.xml is:

      Code:
      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
      
      <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
      
      	<appender name="console" class="org.apache.log4j.ConsoleAppender">
      
      		<param name="Target" value="System.out" />
      
      		<layout class="org.apache.log4j.PatternLayout">
      			<param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] [%t]: %m%n" />
      		</layout>
      	</appender>
      
      	<appender name="rolling" class="org.apache.log4j.rolling.RollingFileAppender">
      
      		<rollingPolicy class="org.apache.log4j.rolling.TimeBasedRollingPolicy">
      			<param name="ActiveFileName" value="../logs/catalina.log" />
      			<param name="FileNamePattern" value="../logs/catalina.log.%d.gz" />
      		</rollingPolicy>
      
      		<layout class="org.apache.log4j.PatternLayout">
      			<param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] [%t]: %m%n" />
      		</layout>
      	</appender>
      
      	<appender name="async" class="org.apache.log4j.AsyncAppender">
      
      		<!-- Throw away messages when the buffer is full instead of blocking the app. -->
      		<param name="Blocking" value="false" />
      		<!-- Set a decent sized buffer to avoid losing messages. -->
      		<param name="BufferSize" value="1024" />
      
      		<appender-ref ref="rolling" />
      		<appender-ref ref="console" />
      	</appender>
      
      	<!-- An appender for filtering (so the string match cost can be incurred only on a per Logger basis,
      		as opposed to for all LoggingEvents for the entire app. -->
      	<appender name="asyncFiltering" class="org.apache.log4j.AsyncAppender">
      
      		<!-- Throw away messages when the buffer is full instead of blocking the app. -->
      		<param name="Blocking" value="false" />
      		<!-- Set a decent sized buffer to avoid losing messages. -->
      		<param name="BufferSize" value="1024" />
      
      		<!-- Filter out Struts 2 org.apache.struts2.dispatcher.Dispatcher stack traces for "404's". -->
      		<filter class="org.apache.log4j.varia.StringMatchFilter">
      			<param name="StringToMatch" value="Could not find action or result" />
      			<param name="AcceptOnMatch" value="false" />
      		</filter>
      
      		<appender-ref ref="rolling" />
      		<appender-ref ref="console" />
      	</appender>
      
      
      	<logger name="org.apache.struts2.dispatcher.Dispatcher" additivity="false">
      		<!-- We'll use the asyncFiltering appender exclusively for logging events from the Struts 2 Dispatcher,
      			which otherwise logs every 404 at warn level with a stack trace. -->
      		<appender-ref ref="asyncFiltering" />
      	</logger>
      
      	<logger name="AspectJ Weaver">
      		<!-- AspectJ via org.springframework.aop.aspectj.AspectJWeaverMessageHandler is a bit noisy out of
      			the box. -->
      		<level value="warn" />
      	</logger>
      
      	<logger name="org.hibernate.stat.Statistics">
      		<!-- As of 3.6 hibernate.generate_statistics=true adds logging for queries, which is too noisy for
      			prod. -->
      		<level value="warn" />
      	</logger>
      
      	<logger name="com.isomorphic">
      		<level value="debug" />
      	</logger>
      
      	<logger name="com.isomorphic.base.Reflection">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.base.ISCInit">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.base.ConfigLoader">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.download.Download">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.sql.ValueSet">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.servlet.RequestContext">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.datasource.DataSource">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.datasource.BasicDataSource">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.validation.Validation">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.store.DataStructCache">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.assembly.FileAssembler">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.obfuscation.Obfuscator">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.servlet.PreCache">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.timing.Timing">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.resultData.ResultData">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.js.JSSyntaxScannerFilter">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.interfaces.InterfaceProvider">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.compression.Compression">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.servlet.ProxyHttpServletResponse">
      		<level value="info" />
      	</logger>
      
      	<logger name="com.isomorphic.naming.JNDI">
      		<level value="warn" />
      	</logger>
      
      	<!-- For debugging...
      	<logger name="org.springframework.security">
      		<level value="trace" />
      	</logger>
      	<logger name="org.springframework.transaction">
      		<level value="trace" />
      	</logger>
      	<logger name="org.hibernate.SQL">
      		<level value="debug" />
      	</logger>
      	<logger name="org.hibernate.type">
      		<level value="trace" />
      	</logger>
      	<logger name="org.hibernate.cache">
      		<level value="trace" />
      	</logger>
      	<logger name="net.sf.ehcache">
      		<level value="trace" />
      	</logger>
      	<logger name="com.opensymphony">
      		<level value="debug" />
      	</logger>
      	<logger name="org.apache.struts2">
      		<level value="debug" />
      	</logger>
      	<logger name="org.mybatis">
      		<level value="trace" />
      	</logger>
      	-->
      
      	<root>
      		<level value="info" />
      		<appender-ref ref="async" />
      	</root>
      
      </log4j:configuration>
      I have a blank log4j.isc.config.xml in WEB-INF/classes like so:

      Code:
      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
      <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
      
      </log4j:configuration>
      With this setup I see no messages in the logs for SmartClient, whereas this works for every other framework I'm using (most via slf4j-log4j12 and jcl-over-slf4j). Here is my startup log with -Dlog4j.debug:

      Code:
      log4j: Trying to find [log4j.xml] using context classloader org.apache.catalina.loader.StandardClassLoader@291946c2.
      log4j: Using URL [file:/Users/ibrandt/etp/tomcat/lib/log4j.xml] for automatic log4j configuration.
      log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator
      log4j: System property is :null
      log4j: Standard DocumentBuilderFactory search succeded.
      log4j: DocumentBuilderFactory is: com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
      log4j: debug attribute= "null".
      log4j: Ignoring debug attribute.
      log4j: reset attribute= "false".
      log4j: Threshold ="null".
      log4j: Retreiving an instance of org.apache.log4j.Logger.
      log4j: Setting [org.apache.struts2.dispatcher.Dispatcher] additivity to [false].
      log4j: Class name: [org.apache.log4j.AsyncAppender]
      log4j: Setting property [blocking] to [false].
      log4j: Setting property [bufferSize] to [1024].
      log4j: Setting property [stringToMatch] to [Could not find action or result].
      log4j: Setting property [acceptOnMatch] to [false].
      log4j: Adding filter of type [class org.apache.log4j.varia.StringMatchFilter] to appender named [asyncFiltering].
      log4j: Attaching appender named [rolling] to appender named [asyncFiltering].
      log4j: Class name: [org.apache.log4j.rolling.RollingFileAppender]
      log4j: Setting property [activeFileName] to [../logs/catalina.log].
      log4j: Setting property [fileNamePattern] to [../logs/catalina.log.%d.gz].
      log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
      log4j: Setting property [conversionPattern] to [%d{ISO8601} %-5p [%c{1}] [%t]: %m%n].
      log4j: setFile called: ../logs/catalina.log, true
      log4j: setFile ended
      log4j: Attaching appender named [console] to appender named [asyncFiltering].
      log4j: Class name: [org.apache.log4j.ConsoleAppender]
      log4j: Setting property [target] to [System.out].
      log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
      log4j: Setting property [conversionPattern] to [%d{ISO8601} %-5p [%c{1}] [%t]: %m%n].
      log4j: Adding appender named [asyncFiltering] to category [org.apache.struts2.dispatcher.Dispatcher].
      log4j: Retreiving an instance of org.apache.log4j.Logger.
      log4j: Setting [AspectJ Weaver] additivity to [true].
      log4j: Level value for AspectJ Weaver is  [warn].
      log4j: AspectJ Weaver level set to WARN
      log4j: Retreiving an instance of org.apache.log4j.Logger.
      log4j: Setting [org.hibernate.stat.Statistics] additivity to [true].
      log4j: Level value for org.hibernate.stat.Statistics is  [warn].
      log4j: org.hibernate.stat.Statistics level set to WARN
      log4j: Retreiving an instance of org.apache.log4j.Logger.
      log4j: Setting [com.opensymphony.xwork2.ognl.OgnlValueStack] additivity to [true].
      log4j: Level value for com.opensymphony.xwork2.ognl.OgnlValueStack is  [error].
      log4j: com.opensymphony.xwork2.ognl.OgnlValueStack level set to ERROR
      log4j: Retreiving an instance of org.apache.log4j.Logger.
      log4j: Setting [com.isomorphic] additivity to [true].
      log4j: Level value for com.isomorphic is  [trace].
      log4j: com.isomorphic level set to TRACE
      log4j: Level value for root is  [info].
      log4j: root level set to INFO
      log4j: Class name: [org.apache.log4j.AsyncAppender]
      log4j: Setting property [blocking] to [false].
      log4j: Setting property [bufferSize] to [1024].
      log4j: Attaching appender named [rolling] to appender named [async].
      log4j: Attaching appender named [console] to appender named [async].
      log4j: Adding appender named [async] to category [root].
      2012-04-26 10:34:46,167 INFO  [AprLifecycleListener] [main]: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
      2012-04-26 10:34:46,390 INFO  [Http11Protocol] [main]: Initializing ProtocolHandler ["http-bio-127.0.0.1-8080"]
      2012-04-26 10:34:46,400 INFO  [Catalina] [main]: Initialization processed in 508 ms
      2012-04-26 10:34:46,418 INFO  [StandardService] [main]: Starting service Catalina
      2012-04-26 10:34:46,418 INFO  [StandardEngine] [main]: Starting Servlet Engine: Apache Tomcat/7.0.27
      2012-04-26 10:34:46,424 INFO  [HostConfig] [pool-2-thread-1]: Deploying configuration descriptor /Users/ibrandt/etp/tomcat/conf/Catalina/localhost/ROOT.xml
      2012-04-26 10:34:46,982 INFO  [[/]] [pool-2-thread-1]: Initializing Spring root WebApplicationContext
      2012-04-26 10:34:46,982 INFO  [ContextLoader] [pool-2-thread-1]: Root WebApplicationContext: initialization started
      2012-04-26 10:34:47,021 INFO  [XmlWebApplicationContext] [pool-2-thread-1]: Refreshing Root WebApplicationContext: startup date [Thu Apr 26 10:34:47 PDT 2012]; root of context hierarchy
      2012-04-26 10:34:47,074 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring.xml]
      2012-04-26 10:34:47,468 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-config.xml]
      2012-04-26 10:34:47,548 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-util.xml]
      2012-04-26 10:34:47,566 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-l10n.xml]
      2012-04-26 10:34:47,584 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-db.xml]
      2012-04-26 10:34:47,604 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-hibernate-base.xml]
      2012-04-26 10:34:47,623 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-hibernate.xml]
      2012-04-26 10:34:47,643 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-ibatis.xml]
      2012-04-26 10:34:47,666 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-txn.xml]
      2012-04-26 10:34:47,697 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-daos.xml]
      2012-04-26 10:34:47,716 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-services.xml]
      2012-04-26 10:34:47,746 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-services-user.xml]
      2012-04-26 10:34:47,756 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-security.xml]
      2012-04-26 10:34:47,814 INFO  [SpringSecurityCoreVersion] [pool-2-thread-1]: You are running with Spring Security Core 3.0.7.RELEASE
      2012-04-26 10:34:47,814 INFO  [SecurityNamespaceHandler] [pool-2-thread-1]: Spring Security 'config' module version is 3.0.7.RELEASE
      2012-04-26 10:34:47,860 INFO  [HttpSecurityBeanDefinitionParser] [pool-2-thread-1]: Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 300, <logoutFilter>, order = 400, <authenticationFilter>, order = 800, <ssoAuthenticationFilter>, order = 801, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1300, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1400, <rememberMeFilter>, order = 1500, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, <sessionManagementFilter>, order = 1700, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 1900]
      2012-04-26 10:34:47,875 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2.xml]
      2012-04-26 10:34:47,884 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-etp.xml]
      2012-04-26 10:34:47,893 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-actionalerts.xml]
      2012-04-26 10:34:47,904 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-analysis.xml]
      2012-04-26 10:34:47,937 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-coaching.xml]
      2012-04-26 10:34:47,946 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-comments.xml]
      2012-04-26 10:34:47,965 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-company.xml]
      2012-04-26 10:34:47,976 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-error.xml]
      2012-04-26 10:34:47,988 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-querybar.xml]
      2012-04-26 10:34:47,998 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-uicomponents.xml]
      2012-04-26 10:34:48,008 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-struts2-user.xml]
      2012-04-26 10:34:48,016 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-smartclient.xml]
      2012-04-26 10:34:48,025 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-admin.xml]
      2012-04-26 10:34:48,040 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-charts.xml]
      2012-04-26 10:34:48,051 INFO  [XmlBeanDefinitionReader] [pool-2-thread-1]: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-web.xml]
      2012-04-26 10:34:48,508 INFO  [PropertyPlaceholderConfigurer] [pool-2-thread-1]: Loading properties file from class path resource [etp.properties]
      2012-04-26 10:34:48,519 INFO  [DefaultContextLoadTimeWeaver] [pool-2-thread-1]: Using a reflective load-time weaver for class loader: org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader
      2012-04-26 10:34:49,007 WARN  [AspectJ Weaver] [pool-2-thread-1]: [AspectJ] javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified
      2012-04-26 10:34:49,144 INFO  [DefaultListableBeanFactory] [pool-2-thread-1]: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@72b5615d: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.springframework.context.weaving.AspectJWeavingEnabler#0,org.springframework.context.config.internalBeanConfigurerAspect,loadTimeWeaver,fileFactory,messageSource,dataSource,namedParameterJdbcTemplate,jdbcTemplate,sessionFactoryBase,hibernateUtil,hibernateTemplate,sessionFactory,sqlSessionFactory,commentMapper,queryBarMapper,analysisStringsMapper,orgTCActiveRelationshipMapper,orgTCLastSeenRelationshipMapper,transactionManager,org.springframework.transaction.config.internalTransactionAspect,transactionAspect,analysisDao,analysisExportDao,analysisDefinitionDao,clientDao,orgDao,orgNodeUserRelationshipDao,orgRelationshipDao,periodMappingDao,recurrenceDao,scorecardDefinitionDao,summaryDataDao,surveyActivationDao,surveyDataDao,surveyDataResponseDao,systemLevelRuleDao,userDao,userPreferenceDao,analysisService,analysisExportService,coachingManager,commentService,orgService,queryBarService,serviceLocator,surveyDataService,analysisStringsCache,userService,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.config.http.UserDetailsServiceInjectionBeanPostProcessor#0,org.springframework.security.filterChainProxy,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,sessionAuthenticationStrategy,securityContextRepository,sessionManagementFilter,authenticationEntryPoint,baseAuthenticationFilter,authenticationFilter,ssoAuthenticationFilter,authenticationSuccessListener,rememberMeFilter,rememberMeKey,rememberMeServices,rememberMeAuthenticationProvider,logoutFilter,strutsPrepareAndExecuteFilter,transactionInterceptor,actionAlertsAction,orgTreeDataSource,orgTreeDataSourceFactory,orgTreeService,analysisLastVisitedTabService,viewAnalysisAction,jsonArrayFactory,treeRecordsBuildDirector,analysisViewAjaxRequestModel,analysisDispatcherAction,baseAnalysisViewAction,baseAnalysisViewAjaxAction,rankingAnalysisViewAction,rankingAnalysisViewAjaxAction,detailsAnalysisExportAction,alertsAnalysisExportAction,rankingsAnalysisExportAction,baseDetailsAnalysisViewAction,baseDetailsAnalysisViewAjaxAction,baseAnalysisViewDetailsAction,alertsAnalysisViewAction,alertsAnalysisViewAjaxAction,alertsAnalysisViewPerfectDetailsAction,alertsAnalysisViewManagementDetailsAction,detailsAnalysisViewAction,detailsAnalysisViewAjaxAction,detailsAnalysisViewDetailsAction,trendsAnalysisViewAction,trendsAnalysisViewAjaxAction,trendsAnalysisViewDetailsAction,coachingViewAction,coachingViewBodyAction,commentsAnalysisViewAction,fileInputStreamProvider,ioOperations,pipedInputStreamCallbackProvider,commentGetAudioAction,orgViewAction,orgViewDetailsAction,orgTreeAjaxActiveAction,orgTreeAjaxLastSeenAction,notFoundAction,errorAction,queryBarUtils,queryBarFactory,queryBarAwareHelper,analysisQueryBarAwareHelper,tabControlAction,collapsiblePanelAction,queryBarInterceptor,userHelper,userAwareInterceptor,loginAction,smartClientCompressionFilter,smartClientInitServlet,smartClientPreCacheServlet,smartClientIdaCallServlet,smartClientFileDownloadServlet,jetty,attributeSource,exporter,ehCacheMBeanRegistration,cewolfServlet,jspElFunctions]; root of factory hierarchy
      2012-04-26 10:34:49,265 INFO  [MLog] [pool-2-thread-1]: MLog clients using log4j logging.
      2012-04-26 10:34:49,302 INFO  [C3P0Registry] [pool-2-thread-1]: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
      2012-04-26 10:34:49,563 INFO  [Version] [pool-2-thread-1]: Hibernate Commons Annotations 3.2.0.Final
      2012-04-26 10:34:49,569 INFO  [Environment] [pool-2-thread-1]: Hibernate 3.6.3.Final
      2012-04-26 10:34:49,592 INFO  [Environment] [pool-2-thread-1]: loaded properties from resource hibernate.properties: {hibernate.bytecode.use_reflection_optimizer=false, hibernate.bytecode.provider=javassist}
      2012-04-26 10:34:49,594 INFO  [Environment] [pool-2-thread-1]: Bytecode provider name : javassist
      2012-04-26 10:34:49,598 INFO  [Environment] [pool-2-thread-1]: using JDK 1.4 java.sql.Timestamp handling
      2012-04-26 10:34:50,886 INFO  [Configuration] [pool-2-thread-1]: Hibernate Validator not found: ignoring
      2012-04-26 10:34:50,888 INFO  [LocalSessionFactoryBean] [pool-2-thread-1]: Building new Hibernate SessionFactory
      2012-04-26 10:34:50,895 INFO  [HibernateSearchEventListenerRegister] [pool-2-thread-1]: Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
      2012-04-26 10:34:50,952 INFO  [ConnectionProviderFactory] [pool-2-thread-1]: Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
      2012-04-26 10:34:51,000 INFO  [AbstractPoolBackedDataSource] [pool-2-thread-1]: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 0, acquireRetryDelay -> 10000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 2so7ab8m1uihpzd1ltnxgy|4d67e8f2, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 2so7ab8m1uihpzd1ltnxgy|4d67e8f2, idleConnectionTestPeriod -> 120, initialPoolSize -> 3, jdbcUrl -> jdbc:oracle:thin:@localhost:1521:ORCL, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> select 1 from dual, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
      2012-04-26 10:34:51,456 INFO  [Dialect] [pool-2-thread-1]: Using dialect: org.hibernate.dialect.Oracle10gDialect
      2012-04-26 10:34:51,469 INFO  [JdbcSupportLoader] [pool-2-thread-1]: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
      2012-04-26 10:34:51,470 INFO  [TransactionFactoryFactory] [pool-2-thread-1]: Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
      2012-04-26 10:34:51,476 INFO  [TransactionManagerLookupFactory] [pool-2-thread-1]: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
      2012-04-26 10:34:51,476 INFO  [SettingsFactory] [pool-2-thread-1]: Automatic flush during beforeCompletion(): disabled
      2012-04-26 10:34:51,476 INFO  [SettingsFactory] [pool-2-thread-1]: Automatic session close at end of transaction: disabled
      2012-04-26 10:34:51,476 INFO  [SettingsFactory] [pool-2-thread-1]: JDBC batch size: 15
      2012-04-26 10:34:51,476 INFO  [SettingsFactory] [pool-2-thread-1]: JDBC batch updates for versioned data: disabled
      2012-04-26 10:34:51,476 INFO  [SettingsFactory] [pool-2-thread-1]: Scrollable result sets: enabled
      2012-04-26 10:34:51,477 INFO  [SettingsFactory] [pool-2-thread-1]: JDBC3 getGeneratedKeys(): disabled
      2012-04-26 10:34:51,477 INFO  [SettingsFactory] [pool-2-thread-1]: Connection release mode: auto
      2012-04-26 10:34:51,478 INFO  [SettingsFactory] [pool-2-thread-1]: Default batch fetch size: 1
      2012-04-26 10:34:51,478 INFO  [SettingsFactory] [pool-2-thread-1]: Generate SQL with comments: disabled
      2012-04-26 10:34:51,478 INFO  [SettingsFactory] [pool-2-thread-1]: Order SQL updates by primary key: disabled
      2012-04-26 10:34:51,478 INFO  [SettingsFactory] [pool-2-thread-1]: Order SQL inserts for batching: disabled
      2012-04-26 10:34:51,478 INFO  [SettingsFactory] [pool-2-thread-1]: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      2012-04-26 10:34:51,484 INFO  [ASTQueryTranslatorFactory] [pool-2-thread-1]: Using ASTQueryTranslatorFactory
      2012-04-26 10:34:51,484 INFO  [SettingsFactory] [pool-2-thread-1]: Query language substitutions: {}
      2012-04-26 10:34:51,484 INFO  [SettingsFactory] [pool-2-thread-1]: JPA-QL strict compliance: disabled
      2012-04-26 10:34:51,484 INFO  [SettingsFactory] [pool-2-thread-1]: Second-level cache: enabled
      2012-04-26 10:34:51,484 INFO  [SettingsFactory] [pool-2-thread-1]: Query cache: enabled
      2012-04-26 10:34:51,484 INFO  [SettingsFactory] [pool-2-thread-1]: Cache region factory : net.sf.ehcache.hibernate.SingletonEhCacheRegionFactory
      2012-04-26 10:34:51,522 INFO  [SettingsFactory] [pool-2-thread-1]: Optimize cache for minimal puts: enabled
      2012-04-26 10:34:51,522 INFO  [SettingsFactory] [pool-2-thread-1]: Structured second-level cache entries: disabled
      2012-04-26 10:34:51,522 INFO  [SettingsFactory] [pool-2-thread-1]: Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
      2012-04-26 10:34:51,536 INFO  [SettingsFactory] [pool-2-thread-1]: Statistics: enabled
      2012-04-26 10:34:51,536 INFO  [SettingsFactory] [pool-2-thread-1]: Deleted entity synthetic identifier rollback: disabled
      2012-04-26 10:34:51,536 INFO  [SettingsFactory] [pool-2-thread-1]: Default entity-mode: pojo
      2012-04-26 10:34:51,536 INFO  [SettingsFactory] [pool-2-thread-1]: Named query checking : enabled
      2012-04-26 10:34:51,536 INFO  [SettingsFactory] [pool-2-thread-1]: Check Nullability in Core (should be disabled when Bean Validation is on): enabled
      2012-04-26 10:34:51,559 INFO  [SessionFactoryImpl] [pool-2-thread-1]: building session factory
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [blob] overrides previous : org.hibernate.type.BlobType@3507012c
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@3507012c
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@5ede0ae6
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@439db2b2
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@263ee6cc
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@6ba26eb1
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@75115dab
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [clob] overrides previous : org.hibernate.type.ClobType@471cc198
      2012-04-26 10:34:51,567 INFO  [BasicTypeRegistry] [pool-2-thread-1]: Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@471cc198
      2012-04-26 10:34:52,337 INFO  [SessionFactoryObjectFactory] [pool-2-thread-1]: Not binding factory to JNDI, no JNDI name configured
      2012-04-26 10:34:52,338 INFO  [UpdateTimestampsCache] [pool-2-thread-1]: starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
      2012-04-26 10:34:52,340 INFO  [StandardQueryCache] [pool-2-thread-1]: starting query cache at region: org.hibernate.cache.StandardQueryCache
      2012-04-26 10:34:53,105 INFO  [EhCacheManagerFactoryBean] [pool-2-thread-1]: Initializing EHCache CacheManager
      2012-04-26 10:34:53,365 INFO  [HibernateTransactionManager] [pool-2-thread-1]: Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 0, acquireRetryDelay -> 10000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 2so7ab8m1uihpzd1ltnxgy|4d67e8f2, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 2so7ab8m1uihpzd1ltnxgy|4d67e8f2, idleConnectionTestPeriod -> 120, initialPoolSize -> 3, jdbcUrl -> jdbc:oracle:thin:@localhost:1521:ORCL, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> select 1 from dual, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]] of Hibernate SessionFactory for HibernateTransactionManager
      2012-04-26 10:34:53,747 INFO  [FilterSecurityInterceptor] [pool-2-thread-1]: Validated configuration attributes
      log4j: Trying to find [log4j.isc.config.xml] using context classloader org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader
      WebappClassLoader
        context: 
        delegate: false
        repositories:
          /WEB-INF/classes/
      ----------> Parent Classloader:
      org.apache.catalina.loader.StandardClassLoader@291946c2
      .
      ISC: Configuring log4j from: file:/Users/ibrandt/etp/tomcat/wtpwebapps/etouchpoint-web/WEB-INF/classes/log4j.isc.config.xml
      log4j: System property is :null
      log4j: Standard DocumentBuilderFactory search succeded.
      log4j: DocumentBuilderFactory is: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
      log4j: debug attribute= "null".
      log4j: Ignoring debug attribute.
      log4j: reset attribute= "false".
      log4j: Threshold ="null".
      log4j: Trying to find [log4j.isc.project.config.xml] using context classloader org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader
      WebappClassLoader
        context: 
        delegate: false
        repositories:
          /WEB-INF/classes/
      ----------> Parent Classloader:
      org.apache.catalina.loader.StandardClassLoader@291946c2
      .
      log4j: Trying to find [log4j.isc.project.config.xml] using org.apache.catalina.loader.StandardClassLoader@291946c2 class loader.
      log4j: Trying to find [log4j.isc.project.config.xml] using ClassLoader.getSystemResource().
      2012-04-26 10:34:54,223 INFO  [log] [pool-2-thread-1]: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
      2012-04-26 10:34:54,239 INFO  [log] [pool-2-thread-1]: jetty-6.1.26
      2012-04-26 10:34:54,290 INFO  [log] [pool-2-thread-1]: Started SelectChannelConnector@127.0.0.1:8125
      2012-04-26 10:34:54,345 INFO  [MBeanExporter] [pool-2-thread-1]: Registering beans for JMX exposure on startup
      2012-04-26 10:34:54,359 INFO  [MBeanExporter] [pool-2-thread-1]: Located MBean 'Hibernate:name=statistics': registering with JMX server as MBean [Hibernate:name=statistics]
      2012-04-26 10:34:54,384 INFO  [ContextLoader] [pool-2-thread-1]: Root WebApplicationContext: initialization completed in 7402 ms
      2012-04-26 10:34:54,528 INFO  [TilesAccess] [pool-2-thread-1]: Publishing TilesContext for context: org.apache.tiles.servlet.wildcard.WildcardServletTilesApplicationContext
      2012-04-26 10:34:54,943 INFO  [XmlConfigurationProvider] [pool-2-thread-1]: Parsing configuration file [struts-default.xml]
      2012-04-26 10:34:55,045 INFO  [XmlConfigurationProvider] [pool-2-thread-1]: Parsing configuration file [struts-plugin.xml]
      2012-04-26 10:34:56,003 INFO  [XmlConfigurationProvider] [pool-2-thread-1]: Parsing configuration file [struts.xml]
      2012-04-26 10:34:56,095 INFO  [StrutsSpringObjectFactory] [pool-2-thread-1]: Initializing Struts-Spring integration...
      2012-04-26 10:34:56,095 INFO  [SpringObjectFactory] [pool-2-thread-1]: Setting autowire strategy to none
      2012-04-26 10:34:56,095 INFO  [StrutsSpringObjectFactory] [pool-2-thread-1]: ... initialized Struts-Spring integration successfully
      2012-04-26 10:34:56,500 INFO  [[/]] [pool-2-thread-1]: No Configuration for this context. Initializing.
      2012-04-26 10:34:56,500 INFO  [[/]] [pool-2-thread-1]: configuring cewolf app..
      2012-04-26 10:34:56,500 INFO  [[/]] [pool-2-thread-1]: targetServletLifecycle parameter is ignored.
      2012-04-26 10:34:56,506 INFO  [[/]] [pool-2-thread-1]: using storage class de.laures.cewolf.storage.TransientSessionStorage
      2012-04-26 10:34:56,506 INFO  [[/]] [pool-2-thread-1]: using overlibURL overlib.js
      2012-04-26 10:34:56,506 INFO  [[/]] [pool-2-thread-1]: max image width: 2048
      2012-04-26 10:34:56,506 INFO  [[/]] [pool-2-thread-1]: max image height: 1024
      2012-04-26 10:34:56,506 INFO  [[/]] [pool-2-thread-1]: debugging is turned off
      2012-04-26 10:34:56,506 INFO  [[/]] [pool-2-thread-1]: ...done.
      2012-04-26 10:34:56,866 INFO  [Http11Protocol] [main]: Starting ProtocolHandler ["http-bio-127.0.0.1-8080"]
      2012-04-26 10:34:56,873 INFO  [Catalina] [main]: Server startup in 10472 ms
      If I add a console appender and related com.isomorphic logger configuration to log4j.isc.config.xml I do see SmartClient logging in the console in Eclipse. If I remove the log4j.isc.config.xml file I get the "Assuming log4j configuration for com.isomorphic is located in some other log4j configuration file" warning.

      Is there any way to get SmartClient to use my Async/RollingFileAppender initialized by Tomcat?
      Last edited by ibrandt; 26 Apr 2012, 11:40.

      Comment

      Working...
      X