Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: pass location value to PropertyPlaceholderConfigurer thought context-param

  1. #11
    Join Date
    Jul 2010
    Posts
    21

    Default

    Quote Originally Posted by Marten Deinum View Post
    Enabling or disabling logging doesn't do anything for the result... I want to see the logging not the stacktraces..
    Here are all logs

    catalina.log
    Code:
    Sep 26, 2012 10:53:12 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: Loaded APR based Apache Tomcat Native library 1.1.22.
    Sep 26, 2012 10:53:12 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
    Sep 26, 2012 10:53:13 AM org.apache.coyote.http11.Http11AprProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8082
    Sep 26, 2012 10:53:13 AM org.apache.coyote.ajp.AjpAprProtocol init
    INFO: Initializing Coyote AJP/1.3 on ajp-8009
    Sep 26, 2012 10:53:13 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 766 ms
    Sep 26, 2012 10:53:13 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Sep 26, 2012 10:53:13 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
    Sep 26, 2012 10:53:13 AM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive myapp.war
    Sep 26, 2012 10:53:13 AM org.apache.catalina.startup.ContextConfig init
    FINE: ContextConfig: Initializing
    Sep 26, 2012 10:53:13 AM org.apache.catalina.startup.ContextConfig processContextConfig
    FINE: Processing context [/myapp] configuration file C:\Program Files\tomcat\conf context.xml
    Sep 26, 2012 10:53:13 AM org.apache.catalina.startup.ContextConfig processContextConfig
    FINE: Successfully processed context [/myapp] configuration file C:\Program Files\tomcat\conf context.xml
    Sep 26, 2012 10:53:13 AM org.apache.catalina.startup.ContextConfig processContextConfig
    FINE: Processing context [/myapp] configuration file C:\Program Files\tomcat\conf Catalina/localhost/context.xml.default
    Sep 26, 2012 10:53:14 AM org.apache.catalina.startup.ContextConfig start
    FINE: ContextConfig: Processing START
    Sep 26, 2012 10:53:14 AM org.apache.catalina.startup.ContextConfig processDefaultWebConfig
    FINE: Processing context [/myapp] web configuration resource file://C:\Program Files\tomcat\conf\web.xml
    Sep 26, 2012 10:53:14 AM org.apache.catalina.startup.ContextConfig applicationWebConfig
    FINE: Parsing application web.xml file at jndi:/localhost/myapp/WEB-INF/web.xml
    Sep 26, 2012 10:53:14 AM org.apache.catalina.startup.ContextConfig start
    FINE: Pipeline Configuration:
    Sep 26, 2012 10:53:14 AM org.apache.catalina.startup.ContextConfig start
    FINE:   org.apache.catalina.core.StandardContextValve/1.0
    Sep 26, 2012 10:53:14 AM org.apache.catalina.startup.ContextConfig start
    FINE: ======================
    Sep 26, 2012 10:53:15 AM org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
    Sep 26, 2012 10:53:15 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra (1.2_13-b01-FCS) for context '/myapp'
    Sep 26, 2012 10:53:18 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Sep 26, 2012 10:53:18 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/myapp] startup failed due to previous errors
    Sep 26, 2012 10:53:18 AM org.apache.catalina.startup.ContextConfig stop
    FINE: ContextConfig: Processing STOP
    Sep 26, 2012 10:53:19 AM org.apache.coyote.http11.Http11AprProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8082
    Sep 26, 2012 10:53:19 AM org.apache.coyote.ajp.AjpAprProtocol start
    INFO: Starting Coyote AJP/1.3 on ajp-8009
    Sep 26, 2012 10:53:19 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 6126 ms
    spring.log
    Code:
    ERROR:2012-09-26 10:53:18,720 - Context initialization failed (in ContextLoader.java:220)
    org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceJdbc' defined in class path resource [spring/spring-backend-context-hibernate.xml]: Could not resolve placeholder 'database.driver.classname'
    	at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:272)
    	at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)
    	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:640)
    	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:615)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:405)
    	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
    	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
    	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Quote Originally Posted by Marten Deinum View Post
    As mentioned before it it either not in the file, it isn't matching in case or maybe in file encodings. Either way without seeing logging there is not much to do..
    If put file path reference directly it works fine:

    Code:
    <context:property-placeholder location="file:C:/my.properties}" />

    The problem is how to get values when I pass the file path as context parameter.

  2. #12
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    The problem is how to get values when I pass the file path as context parameter.
    That is as I already pointed out using SpEL...

    I see nowhere that you have enabled debug logging for spring you, again, only post the stacktrace and the tomcat logs don't show anything I'm interested to see what happens BEFORE the stacktrace (with the debug and trace logging)...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #13
    Join Date
    Jul 2010
    Posts
    21

    Default

    Code:
    2012-09-26 11:20:19,954 0 INFO  [main] context.ContextLoader - Root WebApplicationContext: initialization started
    2012-09-26 11:20:19,997 43 INFO  [main] support.AbstractApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed Sep 26 11:20:19 GMT+04:00 2012]; root of context hierarchy
    2012-09-26 11:20:20,061 107 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-context.xml]
    2012-09-26 11:20:20,166 212 INFO  [main] annotation.ClassPathScanningCandidateComponentProvider - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
    2012-09-26 11:20:20,372 418 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/spring-backend-context-hibernate.xml]
    2012-09-26 11:20:20,412 458 INFO  [main] annotation.ClassPathScanningCandidateComponentProvider - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
    2012-09-26 11:20:20,594 640 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/core/spring-backend-context-dao.xml]
    ..................
    2012-09-26 11:20:20,789 835 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/physical_storage/service/spring-service.xml]
    2012-09-26 11:20:20,799 845 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/document_management_beans/spring-context-bean.xml]
    ..................
    2012-09-26 11:20:20,829 875 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/document_management_controllers/spring-context-controller.xml]
    2012-09-26 11:20:20,840 886 INFO  [main] support.DefaultListableBeanFactory - Overriding bean definition for bean 'navigationMenuController': replacing [Generic bean: class [com.web.utils.NavigationMenuController]; scope=request; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/document_management_controllers/spring-context-controller.xml]] with [Generic bean: class [com.web.utils.NavigationMenuController]; scope=request; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/document_management_controllers/spring-context-controller.xml]]
    ..........
    2012-09-26 11:20:20,843 889 INFO  [main] support.DefaultListableBeanFactory - Overriding bean definition for bean 'departmentDocumentRelManagementController': replacing [Generic bean: class [com.web.documentManagement.web.depDoc.controller.DepartmentDocumentRelManagementController]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=init; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/document_management_controllers/spring-context-controller.xml]] with [Generic bean: class [com.web.documentManagement.web.depDoc.controller.DepartmentDocumentRelManagementController]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=init; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/document_management_controllers/spring-context-controller.xml]]
    2012-09-26 11:20:20,844 890 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/bookmark/beans/spring-context-bean.xml]
    .........
    2012-09-26 11:20:20,878 924 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-context-controller.xml]
    2012-09-26 11:20:20,892 938 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/declaration/manager/spring-manager.xml]
    ................................
    2012-09-26 11:20:20,949 995 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/physical_storage/manager/spring-manager.xml]

  4. #14
    Join Date
    Jul 2010
    Posts
    21

    Default

    Code:
    2012-09-26 11:20:20,957 1003 INFO  [main] support.DefaultListableBeanFactory - Overriding bean definition for bean 'physicalStorageManager': replacing [Generic bean: class [com.physicalStorage.manager.impl.PhysicalStorageManagerImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [spring/physical_storage/manager/spring-manager.xml]] with [Generic bean: class [com.physicalStorage.manager.impl.PhysicalStorageManagerImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [spring/physical_storage/manager/spring-manager.xml]]
    .............
    2012-09-26 11:20:20,960 1006 INFO  [main] support.DefaultListableBeanFactory - Overriding bean definition for bean 'physicalStorageAddressManager': replacing [Generic bean: class [com.physicalStorage.manager.impl.PhysicalStorageAddressManagerImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [spring/physical_storage/manager/spring-manager.xml]] with [Generic bean: class [com.physicalStorage.manager.impl.PhysicalStorageAddressManagerImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [spring/physical_storage/manager/spring-manager.xml]]
    2012-09-26 11:20:20,961 1007 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/physical_storage/service/spring-service.xml]
    2012-09-26 11:20:20,972 1018 INFO  [main] support.DefaultListableBeanFactory - Overriding bean definition for bean 'physicalStorageService': replacing [Generic bean: class [com.physicalStorage.service.impl.PhysicalStorageServiceImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [spring/physical_storage/service/spring-service.xml]] with [Generic bean: class [com.physicalStorage.service.impl.PhysicalStorageServiceImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [spring/physical_storage/service/spring-service.xml]]
    .............
    2012-09-26 11:20:20,973 1019 INFO  [main] support.DefaultListableBeanFactory - Overriding bean definition for bean 'boxTypeService': replacing [Generic bean: class [com.physicalStorage.service.impl.BoxTypeServiceImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [spring/physical_storage/service/spring-service.xml]] with [Generic bean: class [com.physicalStorage.service.impl.BoxTypeServiceImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [spring/physical_storage/service/spring-service.xml]]
    2012-09-26 11:20:20,974 1020 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/treatment/manager/spring-manager.xml]
    ....................
    2012-09-26 11:20:21,111 1157 INFO  [main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/data_migration/service/spring-service.xml]
    2012-09-26 11:20:21,119 1165 INFO *[main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/physical_archive_management/declaration_beans/spring-context-bean.xml]
    .....................
    2012-09-26 11:20:21,381 1427 INFO *[main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/help/beans/spring-context-bean.xml]
    2012-09-26 11:20:21,387 1433 INFO *[main] support.DefaultListableBeanFactory - Overriding bean definition for bean 'helpBean': replacing [Generic bean: class [com.web.help.beans.HelpBean]; scope=request; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/bookmark/beans/spring-context-bean.xml]] with [Generic bean: class [com.web.help.beans.HelpBean]; scope=request; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/help/beans/spring-context-bean.xml]]
    2012-09-26 11:20:21,388 1434 INFO *[main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/help/controllers/spring-context-controller.xml]
    2012-09-26 11:20:21,400 1446 INFO *[main] xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-context-security.xml]
    2012-09-26 11:20:21,422 1468 INFO *[main] core.SpringSecurityCoreVersion - You are running with Spring Security Core 3.0.5.RELEASE
    2012-09-26 11:20:21,422 1468 WARN *[main] core.SpringSecurityCoreVersion - You are advised to use Spring 3.0.3 or later with this version. You are running: 3.0.2.RELEASE
    2012-09-26 11:20:21,422 1468 INFO *[main] config.SecurityNamespaceHandler - Spring Security 'config' module version is 3.0.5.RELEASE

  5. #15
    Join Date
    Jul 2010
    Posts
    21

    Default

    Code:
    2012-09-26 11:20:21,524 1570 INFO  [main] http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.access.channel.ChannelProcessingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 100, Root bean: class [org.springframework.security.web.session.ConcurrentSessionFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, 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, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, Root bean: class [org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 800, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1200, 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, 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, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, 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-09-26 11:20:22,346 2392 ERROR [main] context.ContextLoader - Context initialization failed

  6. #16
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    Instead of creating a lot of post, simply attach a txt file containing the log to your post... That is easier for both of us .

    Also there is no debug or trace logging only INFO so I doubt debug logging for spring is enabled.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  7. #17
    Join Date
    Jul 2010
    Posts
    21

    Default

    Quote Originally Posted by Marten Deinum View Post
    Instead of creating a lot of post, simply attach a txt file containing the log to your post... That is easier for both of us .
    I know but I don't that opportunity.

    Quote Originally Posted by Marten Deinum View Post
    Also there is no debug or trace logging only INFO so I doubt debug logging for spring is enabled.
    Sorry, but I put all I got.

  8. #18
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    I know but I don't that opportunity.
    Ehrm why not? Cut/Paste part from logfile into new file, upload/attach file to post... Not sure why that wouldn't be possible as you can also post ...

    Sorry, but I put all I got.
    Then it ends here... Without further information there is not much to do... So you are on your own...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  9. #19
    Join Date
    Jul 2010
    Posts
    21

    Default

    It's solved .

    To pass file path as context param

    Code:
    file:#{contextParameters['config-filename']} or file:///#{contextParameters['config-filename']}
    Thanks for help, Marten Deinum.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •