Details
-
Task
-
Resolution: Done
-
Major
-
xCM 4.2, WCM 5.0 SP1
-
None
-
JDK 6
Description
JDK 6 is now out, users will be downloading it by default and using it to try out Jahia. We need to test and resolve the eventual issues quite fast.
It seems also that the new version is faster, so we might want to do some benchmarking at the same time.
http://www.theserverside.com/news/thread.tss?thread_id=43434
TestRail: Results
Attachments
- JdkVersion.class
- 1 kB
- JdkVersion.java
- 2 kB
Activity
- add .java spring fix
Hi,
Compiler avec jdk 1.6
------------------------------
En ce qui nous concerne, la principale différence entre jdk1.5 et jdk1.6, c'est le package java.sql.* .
Plusieurs interfaces ont été mis à jour comme java.sql.Statement, ... .
Ces interfaces obligent l'implémentation de méthodes avec des paramêtres généric (seulement à partir de jdk 1.5).
La conséquence directe est que le code ne devient compilable qu'avec jdk 1.5 ou >.
Les changements à faire seraient de mettre à jours les classes du package org.jahia.services.database.*;
Lancer Jahia avec 1.6
------------------------------
Le deuxième point important est que la version 1.x de spring contient un bug: la version de la JVM est mal détectée (1.3 à la place de 1.6)
Conséquence: jahia ne se lance pas .
J'ai ajouté un petit fix (seulement dans le head pour l'instant): la classe org.springframework.core.JdkVersion.
Alors, pour lancer Jahia ave 1.6
HEAD: rien à faire
SP:
- mettre à jour le fichier web.xml
remplacer
<init-param>
<param-name>supported_jdk_versions</param-name>
<param-value>1.4 <= x < 1.6</param-value>
</init-param>
par
<init-param>
<param-name>supported_jdk_versions</param-name>
<param-value>1.4 <= x < 1.7</param-value>
</init-param>
- ajouter la classe JdkVersion.class dans /jahia/WEB-INF/classes/org/springframework/core
KT.
Pas bcp mieux:
____.
_/\ ______| |_/\. _______
__ .____| | \ | ---- \
______| /--| | | - \ _ | : - ________
_____: :---| : : | : | _______>
_---___________:____: :___ | ___:____\ /_____ |
. . . s t a r t i n g j a h i a b u i l d 1 5 9 3 3 . . .
Copyright 2002-2006 - Jahia Ltd. http://www.jahia.org - All Rights Reserved
*******************************************************************************
- The contents of this software, or the files included with this software, *
- are subject to either the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE *
- (JCDDL) and/or the JAHIA SUSTAINABLE SOFTWARE LICENSE (JSSL). *
- You may not use this software except in compliance with the licenses. You *
- may obtain a copy of the license at http://www.jahia.org/license. See the *
- licenses for the rights, obligations and limitations governing use of the *
- contents of the software. *
*******************************************************************************
16405 [2006-12-12 15:38:24,873] [org.jahia.hibernate.manager.SpringContextSingleton] ERROR - Cannot load spring initialisation file
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metadataDefinitionConfig' defined in file [C:\jahia-SP-5.0.0_CVS_r15933\tomcat\webapps\jahia\WEB-INF\etc\spring\applicationcontext-metadata.xml]: Error setting property values; nested exception is org.springframe
work.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashM
ap] for property 'definitions']
PropertyAccessExceptionsException (1 errors)
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'definitions'
at org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(BeanWrapperImpl.java:1035)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:803)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:716)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:844)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:871)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:860)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:926)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:727)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:336)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:312)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:113)
at org.jahia.hibernate.manager.SpringContextSingleton.init(SpringContextSingleton.java:73)
at org.jahia.bin.Jahia.init(Jahia.java:437)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1190)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
at java.lang.Thread.run(Thread.java:619)
16405 [2006-12-12 15:38:24,873] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jahia]] ERROR - StandardWrapper.Throwable
org.springframework.context.ApplicationContextException: I/O error parsing XML document for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=29569194]; nested exception is java.io.FileNotFoundException: class path resource [spring] cannot be resolved t
o URL because it does not exist
java.io.FileNotFoundException: class path resource [spring] cannot be resolved to URL because it does not exist
at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:147)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:251)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:197)
at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:661)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:103)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:71)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:87)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:111)
at org.jahia.hibernate.manager.SpringContextSingleton.init(SpringContextSingleton.java:77)
at org.jahia.bin.Jahia.init(Jahia.java:437)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1190)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
at java.lang.Thread.run(Thread.java:619)
16436 [2006-12-12 15:38:24,904] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jahia]] ERROR - La servlet /jahia a gΘnΘrΘ une exception "load()"
org.springframework.context.ApplicationContextException: I/O error parsing XML document for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=29569194]; nested exception is java.io.FileNotFoundException: class path resource [spring] cannot be resolved t
o URL because it does not exist
java.io.FileNotFoundException: class path resource [spring] cannot be resolved to URL because it does not exist
at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:147)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:251)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:197)
at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:661)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:103)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:71)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:87)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:111)
at org.jahia.hibernate.manager.SpringContextSingleton.init(SpringContextSingleton.java:77)
at org.jahia.bin.Jahia.init(Jahia.java:437)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1190)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
at java.lang.Thread.run(Thread.java:619)
23686 [2006-12-12 15:38:32,154] [deployment] WARN - Unrecognized file C:\jahia-SP-5.0.0_CVS_r15933\tomcat\webapps\jahia\WEB-INF\etc\jetspeed\deploy\README.txt
51558 [2006-12-12 15:39:00,026] [org.apache.struts.tiles.TilesPlugin] INFO - Factory already exists for module ''. The factory found is from module ''. No new creation.
51558 [2006-12-12 15:39:00,026] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-rules.xml'
51558 [2006-12-12 15:39:00,026] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-jahia-rules.xml'
51605 [2006-12-12 15:39:00,073] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/corporateportal-validation.xml'
51605 [2006-12-12 15:39:00,073] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-rules.xml'
51605 [2006-12-12 15:39:00,073] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-jahia-rules.xml'
51620 [2006-12-12 15:39:00,088] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/corporateportal-validationv2.xml'
51620 [2006-12-12 15:39:00,088] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-rules.xml'
51620 [2006-12-12 15:39:00,088] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-jahia-rules.xml'
51652 [2006-12-12 15:39:00,120] [org.jahia.bin.Jahia] INFO - Initializing Jahia...
53745 [2006-12-12 15:39:02,213] [org.jahia.hibernate.manager.SpringContextSingleton] ERROR - Cannot load spring initialisation file
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metadataDefinitionConfig' defined in file [C:\jahia-SP-5.0.0_CVS_r15933\tomcat\webapps\jahia\WEB-INF\etc\spring\applicationcontext-metadata.xml]: Error setting property values; nested exception is org.springframe
work.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashM
ap] for property 'definitions']
PropertyAccessExceptionsException (1 errors)
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'definitions'
at org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(BeanWrapperImpl.java:1035)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:803)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:716)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:844)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:871)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:860)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:926)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:727)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:336)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:312)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:113)
at org.jahia.hibernate.manager.SpringContextSingleton.init(SpringContextSingleton.java:73)
at org.jahia.bin.Jahia.init(Jahia.java:437)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
53745 [2006-12-12 15:39:02,213] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jahia]] ERROR - StandardWrapper.Throwable
org.springframework.context.ApplicationContextException: I/O error parsing XML document for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18991062]; nested exception is java.io.FileNotFoundException: class path resource [spring] cannot be resolved t
o URL because it does not exist
java.io.FileNotFoundException: class path resource [spring] cannot be resolved to URL because it does not exist
at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:147)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:251)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:197)
at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:661)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:103)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:71)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:87)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:111)
at org.jahia.hibernate.manager.SpringContextSingleton.init(SpringContextSingleton.java:77)
at org.jahia.bin.Jahia.init(Jahia.java:437)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
53745 [2006-12-12 15:39:02,213] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jahia].[Jahia]] ERROR - Exception lors de l'allocation pour la servlet Jahia
org.springframework.context.ApplicationContextException: I/O error parsing XML document for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18991062]; nested exception is java.io.FileNotFoundException: class path resource [spring] cannot be resolved t
o URL because it does not exist
java.io.FileNotFoundException: class path resource [spring] cannot be resolved to URL because it does not exist
at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:147)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:251)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:197)
at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:661)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:103)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:71)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:87)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:111)
at org.jahia.hibernate.manager.SpringContextSingleton.init(SpringContextSingleton.java:77)
at org.jahia.bin.Jahia.init(Jahia.java:437)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
Ok pour tester il faut changer la valeur dans le web.xml qui interdit les JVM non supportées. Je sais pas si on veut commiter les nouvelles valeurs avant d'avoir testé un peu :
</init-param>
<!-- if you have trouble with the JDK detection code, you might want
to remove the following parameter. Please note that this is here
for a reason, and the versions below are the ones we recommend.
-->
<init-param>
<param-name>supported_jdk_versions</param-name>
<param-value>1.4 <= x < 1.6</param-value>
</init-param>
Mmmh juste downdloadé le SDK et testésur la build de ce matin (SPI et voici le résultat au démarrage:
12 dΘc. 2006 14:38:47 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\jdk1.6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\jdk1.6.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files
\Common Files\Roxio Shared\DLLShared\;C:\Program Files\IDM Computer Solutions\UltraEdit-32
12 dΘc. 2006 14:38:48 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
12 dΘc. 2006 14:38:48 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1531 ms
12 dΘc. 2006 14:38:48 org.apache.catalina.core.StandardService start
INFO: DΘmarrage du service Catalina
12 dΘc. 2006 14:38:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
12 dΘc. 2006 14:38:48 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
12 dΘc. 2006 14:38:49 org.apache.catalina.startup.HostConfig deployDescriptor
ATTENTION: A docBase C:\jahia-SP-5.0.0_CVS_r15933\tomcat\webapps\jahia inside the host appBase has been specified, and will be ignored
- dbLocation=/WEB-INF/var/dbdata/hsqldbjahia
- realPath = C:\jahia-SP-5.0.0_CVS_r15933\tomcat\webapps\jahia\WEB-INF\var\dbdata\hsqldbjahia
- jahia.config=/WEB-INF/etc/config/jahia.properties
[Server@e45b5e]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@e45b5e]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@e45b5e]: [Thread[main,5,main]]: setDatabasePath(0,file:C:\jahia-SP-5.0.0_CVS_r15933\tomcat\webapps\jahia\WEB-INF\var\dbdata\hsqldbjahia)
[Server@e45b5e]: [Thread[main,5,main]]: setNoSystemExit(true)
[Server@e45b5e]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@e45b5e]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@e45b5e]: [Thread[main,5,main]]: setPort(9001)
[Server@e45b5e]: [Thread[main,5,main]]: setTrace(false)
[Server@e45b5e]: [Thread[main,5,main]]: setSilent(true) - Starting HSQLDB server
- Waiting for database to start...
[Server@e45b5e]: Initiating startup sequence...
[Server@e45b5e]: Server socket opened successfully in 0 ms.
[Server@e45b5e]: Database [index=0, id=0, db=file:C:\jahia-SP-5.0.0_CVS_r15933\tomcat\webapps\jahia\WEB-INF\var\dbdata\hsqldbjahia, alias=] opened sucessfully in 297 ms.
[Server@e45b5e]: Startup sequence completed in 312 ms.
[Server@e45b5e]: 2006-12-12 14:39:00.487 HSQLDB server 1.7.3 is online
[Server@e45b5e]: To close normally, connect and execute SHUTDOWN SQL
[Server@e45b5e]: From command line, use [Ctrl]+[C] to abort abruptly - Filter initialized. Response buffering is enabled
- >> log4j-xml-init-file = /WEB-INF/etc/config/log4j.xml
- >> realPath = C:\jahia-SP-5.0.0_CVS_r15933\tomcat\webapps\jahia\WEB-INF\etc\config\log4j.xml
2000 [2006-12-12 14:39:02,081] [org.apache.struts.tiles.TilesPlugin] INFO - Tiles definition factory loaded for module ''.
2000 [2006-12-12 14:39:02,081] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-rules.xml'
2031 [2006-12-12 14:39:02,112] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-jahia-rules.xml'
2250 [2006-12-12 14:39:02,331] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/corporateportal-validation.xml'
2281 [2006-12-12 14:39:02,362] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-rules.xml'
2281 [2006-12-12 14:39:02,362] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-jahia-rules.xml'
2328 [2006-12-12 14:39:02,409] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/corporateportal-validationv2.xml'
2328 [2006-12-12 14:39:02,409] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-rules.xml'
2328 [2006-12-12 14:39:02,409] [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-jahia-rules.xml'
2375 [2006-12-12 14:39:02,456] [org.jahia.bin.Jahia] INFO - Initializing Jahia...
____.
_/\ ______| |_/\. _______
__ .____| | \ | ---- \
______| /--| | | - \ _ | : - ________
_____: :---| : : | : | _______>
_---___________:____: :___ | ___:____\ /_____ |
. . . s t a r t i n g j a h i a b u i l d 1 5 9 3 3 . . .
Copyright 2002-2006 - Jahia Ltd. http://www.jahia.org - All Rights Reserved
*******************************************************************************
- The contents of this software, or the files included with this software, *
- are subject to either the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE *
- (JCDDL) and/or the JAHIA SUSTAINABLE SOFTWARE LICENSE (JSSL). *
- You may not use this software except in compliance with the licenses. You *
- may obtain a copy of the license at http://www.jahia.org/license. See the *
- licenses for the rights, obligations and limitations governing use of the *
- contents of the software. *
*******************************************************************************
2453 [2006-12-12 14:39:02,534] [org.jahia.bin.Jahia] ERROR - Invalid JDK version
org.jahia.exceptions.JahiaException: User message=WARNING<br/>
You are using an unsupported JDK version
or have an invalid supported_jdk_versions parameter string in
the deployment descriptor file web.xml.
<br/><br/>Here is the range specified in the web.xml file : 1.4 <= x < 1.6.
<br/>If you want to disable this warning, remove the supported_jdk_versions
<br/>initialization parameter in the tomcat/webapps/jahia/WEB-INF/web.xml<br/>
<br/><br/>Please note that if you deactivate this check or use unsupported versions<br/>
<br/>You might run into serious problems and we cannot offer support for these.<br/>
<br/>You may download a supported JDK from <a href="http://java.sun.com" target="_newSunWindow">http://java.sun.com</a>.<br/><br/>
, System message=JDK version warning
at org.jahia.bin.Jahia.init(Jahia.java:328)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
12 dΘc. 2006 14:39:04 org.apache.coyote.http11.Http11BaseProtocol start
INFO: DΘmarrage de Coyote HTTP/1.1 sur http-8080
12 dΘc. 2006 14:39:04 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
12 dΘc. 2006 14:39:04 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
12 dΘc. 2006 14:39:04 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
12 dΘc. 2006 14:39:04 org.apache.catalina.startup.Catalina start
INFO: Server startup in 16485 ms
15500 [2006-12-12 14:39:15,581] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jahia]] INFO - Your Jahia Server has generated an error. Please review the details below for additional information:
Severity : WARNING
Error : User message=WARNING<br/>
You are using an unsupported JDK version
or have an invalid supported_jdk_versions parameter string in
the deployment descriptor file web.xml.
<br/><br/>Here is the range specified in the web.xml file : 1.4 <= x < 1.6.
<br/>If you want to disable this warning, remove the supported_jdk_versions
<br/>initialization parameter in the tomcat/webapps/jahia/WEB-INF/web.xml<br/>
<br/><br/>Please note that if you deactivate this check or use unsupported versions<br/>
<br/>You might run into serious problems and we cannot offer support for these.<br/>
<br/>You may download a supported JDK from <a href="http://java.sun.com" target="_newSunWindow">http://java.sun.com</a>.<br/><br/>
, System message=JDK version warning
URL : http://localhost:8080/jahia/Jahia/ Method : GET
Remote host : 127.0.0.1 Remote Address : 127.0.0.1
Request headers :
host:localhost:8080
user-agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8
accept:text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5
accept-language:fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
accept-encoding:gzip,deflate
accept-charset:ISO-8859-1,utf-8;q=0.7,*;q=0.7
keep-alive:300
connection:keep-alive
cookie:JSESSIONID=310CA06B6A1625A149AE792F0DC24115; Jesi_Template_Username=root
Stack trace :
Cause level : 0 (level 0 is the most precise exception)
org.jahia.exceptions.JahiaException: User message=WARNING<br/>
You are using an unsupported JDK version
or have an invalid supported_jdk_versions parameter string in
the deployment descriptor file web.xml.
<br/><br/>Here is the range specified in the web.xml file : 1.4 <= x < 1.6.
<br/>If you want to disable this warning, remove the supported_jdk_versions
<br/>initialization parameter in the tomcat/webapps/jahia/WEB-INF/web.xml<br/>
<br/><br/>Please note that if you deactivate this check or use unsupported versions<br/>
<br/>You might run into serious problems and we cannot offer support for these.<br/>
<br/>You may download a supported JDK from <a href="http://java.sun.com" target="_newSunWindow">http://java.sun.com</a>.<br/><br/>
, System message=JDK version warning
at org.jahia.bin.Jahia.init(Jahia.java:328)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
15532 [2006-12-12 14:39:15,613] [org.jahia.bin.JahiaErrorDisplay] ERROR - ERROR : WARNING<br/>
You are using an unsupported JDK version
or have an invalid supported_jdk_versions parameter string in
the deployment descriptor file web.xml.
<br/><br/>Here is the range specified in the web.xml file : 1.4 <= x < 1.6.
<br/>If you want to disable this warning, remove the supported_jdk_versions
<br/>initialization parameter in the tomcat/webapps/jahia/WEB-INF/web.xml<br/>
<br/><br/>Please note that if you deactivate this check or use unsupported versions<br/>
<br/>You might run into serious problems and we cannot offer support for these.<br/>
<br/>You may download a supported JDK from <a href="http://java.sun.com" target="_newSunWindow">http://java.sun.com</a>.<br/><br/>
, JDK version warning
org.jahia.exceptions.JahiaException: User message=WARNING<br/>
You are using an unsupported JDK version
or have an invalid supported_jdk_versions parameter string in
the deployment descriptor file web.xml.
<br/><br/>Here is the range specified in the web.xml file : 1.4 <= x < 1.6.
<br/>If you want to disable this warning, remove the supported_jdk_versions
<br/>initialization parameter in the tomcat/webapps/jahia/WEB-INF/web.xml<br/>
<br/><br/>Please note that if you deactivate this check or use unsupported versions<br/>
<br/>You might run into serious problems and we cannot offer support for these.<br/>
<br/>You may download a supported JDK from <a href="http://java.sun.com" target="_newSunWindow">http://java.sun.com</a>.<br/><br/>
, System message=JDK version warning
at org.jahia.bin.Jahia.init(Jahia.java:328)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)