Jahia Install Forum > Error 404 with Jahia...

0 (0 Good)
0 (0 Bad)

Error 404 with Jahia 6.5 Beta 3

by  wael »  2011/06/07 21:00

 

Hello,

 

I have installed Jahia6.5 on linux server with existing Tomcat, and using the console-based installer, but I can't start it.

To avoid conflicts, when I installed it, I have modified the port number (8082), I have deleted CATALINA_HOME and I have setted JAVA_HOME. so I excute ./startJahia.sh, and I had this:   

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 41 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PublicationHelper' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-gwt-helpers.xml]: Cannot resolve reference to bean 'jcrPublicationService' while setting bean property 'publicationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrPublicationService' defined in ServletContext resource [/WEB-INF/etc/spring/jcr/applicationcontext-jcr.xml]: Cannot resolve reference to bean 'loggingService' while setting bean property 'loggingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ContentHistoryService' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactoryBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 51 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrPublicationService' defined in ServletContext resource [/WEB-INF/etc/spring/jcr/applicationcontext-jcr.xml]: Cannot resolve reference to bean 'loggingService' while setting bean property 'loggingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ContentHistoryService' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactoryBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 61 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ContentHistoryService' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactoryBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 71 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 83 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 93 more

Caused by: javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:805)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)

        at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152)

        at javax.naming.InitialContext.lookup(InitialContext.java:392)

        at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154)

        at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87)

        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)

        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)

        at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)

        at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)

        at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201)

        at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 100 more

6 mai 2011 10:39:54 org.apache.catalina.core.StandardContext start

GRAVE: Error listenerStart

6 mai 2011 10:39:54 org.apache.catalina.core.StandardContext start

GRAVE: Erreur de démarrage du contexte [] suite aux erreurs précédentes

2011-05-06 10:39:54,517: INFO  [PortalStartupListener] - Shutting down Pluto Portal Driver...

2011-05-06 10:39:54,517: INFO  [PortalStartupListener] - Shutting down Pluto Portal Driver...

2011-05-06 10:39:54,517: INFO  [PortalStartupListener] - ********** Pluto Portal Driver Shut Down **********


log4j:WARN No appenders could be found for logger (org.jahia.services.SpringContextSingleton).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Error dumped to file /opt/Jahia/tomcat/temp/jahia-errors/2011_05_06/error-2011_05_06-10_39_54_517-1.txt in 73ms

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

GRAVE: The web application [] registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

GRAVE: The web application [] registered the JDBC driver [org.apache.derby.jdbc.ClientDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

GRAVE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

GRAVE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: The web application [] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: The web application [] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak.

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: The web application [] appears to have started a thread named [ErrorFileDumperThread] but has failed to stop it. This is very likely to create a memory leak.

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@1dd5a3d]) and a value of type [java.util.WeakHashMap] (value [{class org.apache.camel.model.ToDefinition=java.lang.ref.WeakReference@19c4364, class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@c77c8, class org.apache.camel.model.StopDefinition=java.lang.ref.WeakReference@8c0d58, class org.apache.camel.model.RouteDefinition=java.lang.ref.WeakReference@c02d83, class org.apache.camel.spring.CamelContextFactoryBean=java.lang.ref.WeakReference@ec0962, class org.apache.camel.model.language.MethodCallExpression=java.lang.ref.WeakReference@5c18ff, class org.apache.camel.model.WhenDefinition=java.lang.ref.WeakReference@6d12a9, class org.apache.camel.model.FromDefinition=java.lang.ref.WeakReference@e427ed, class org.apache.camel.core.xml.CamelJMXAgentDefinition=java.lang.ref.WeakReference@f9748f, class org.apache.camel.model.OtherwiseDefinition=java.lang.ref.WeakReference@1537060, class org.apache.camel.model.ChoiceDefinition=java.lang.ref.WeakReference@f6ede1}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

6 mai 2011 10:39:54 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@17b60b6]) and a value of type [com.sun.xml.bind.v2.runtime.Coordinator[]] (value [[Lcom.sun.xml.bind.v2.runtime.Coordinator;@10a4d7c]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

[Full GC 71231K->10560K(1013632K), 0.3274640 secs]

6 mai 2011 10:39:57 org.apache.catalina.startup.HostConfig deployDirectory

INFO: Déploiement du répertoire host-manager de l'application web

6 mai 2011 10:39:57 org.apache.catalina.startup.HostConfig deployDirectory

INFO: Déploiement du répertoire manager de l'application web

6 mai 2011 10:39:57 org.apache.coyote.http11.Http11Protocol start

INFO: Démarrage de Coyote HTTP/1.1 sur http-8082

6 mai 2011 10:39:57 org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8010

6 mai 2011 10:39:57 org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/15  config=null

6 mai 2011 10:39:57 org.apache.catalina.startup.Catalina start

INFO: Server startup in 17807 ms

 

Can you identify where is the problem, please?

  (wael)

Number of messages  11
Registration date
0 (0 Good)
0 (0 Bad)

Re: Error 404 with Jahia 6.5 Beta 3

by  shuber »  2011/06/07 21:00

It seems to have some trouble communicating with the database. Did you check that it is properly available ?

Regards,
Serge Huber.

Serge Huber (shuber)

Number of messages  271
Registration date
0 (0 Good)
0 (0 Bad)

Re: Error 404 with Jahia 6.5 Beta 3

by  wael »  2011/06/07 21:00

 

Hello Serge, 

 

Yes, exactly, the problem was incorrect link to DB. But I don't find the solution to midfy the default URL.

Choose your preferred database connection type

0  [x] Use a standalone DBMS

1  [ ] Use an embedded Sun Java DB / Apache Derby database engine

input selection:

0

press 1 to continue, 2 to quit, 3 to redisplay

1

Database connection settings

Choose your DBMS type

0  [x] MySQL 5.x

1  [ ] PostgreSQL 8.x

2  [ ] Sun Java DB / Apache Derby (standalone)

input selection:

0

press 1 to continue, 2 to quit, 3 to redisplay

1

Database connection settings

Database driver (*) [com.mysql.jdbc.Driver]


Database URL (*) [jdbc:mysql://localhost:8080/testjahia?useUnicode=true&characterEncoding=UTF-8&useServerPrepStmts=false]

On URL, I have set DB name (testjahia) and Port number (8080). 

Are there others changes?

  (wael)

Number of messages  11
Registration date
0 (0 Good)
0 (0 Bad)

Re: Error 404 with Jahia 6.5 Beta 3

by  shuber »  2011/06/07 21:00

You should not change the port to 8080 for the database, you should just change the database name to what you have created.

Regards,
Serge Huber.

Serge Huber (shuber)

Number of messages  271
Registration date
0 (0 Good)
0 (0 Bad)

Re: Error 404 with Jahia 6.5 Beta 3

by  wael »  2011/06/07 21:00

 

Always the same problem

 

Resolver.java:322)

        ... 41 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PublicationHelper' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-gwt-helpers.xml]: Cannot resolve reference to bean 'jcrPublicationService' while setting bean property 'publicationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrPublicationService' defined in ServletContext resource [/WEB-INF/etc/spring/jcr/applicationcontext-jcr.xml]: Cannot resolve reference to bean 'loggingService' while setting bean property 'loggingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ContentHistoryService' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactoryBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 51 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrPublicationService' defined in ServletContext resource [/WEB-INF/etc/spring/jcr/applicationcontext-jcr.xml]: Cannot resolve reference to bean 'loggingService' while setting bean property 'loggingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ContentHistoryService' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactoryBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 61 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ContentHistoryService' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactoryBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 71 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 83 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 93 more

Caused by: javax.naming.NamingException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:805)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)

        at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152)

        at javax.naming.InitialContext.lookup(InitialContext.java:392)

        at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154)

        at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87)

        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)

        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)

        at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)

        at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)

        at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201)

        at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 100 more

6 mai 2011 16:58:14 org.apache.catalina.core.StandardContext start

GRAVE: Error listenerStart

6 mai 2011 16:58:14 org.apache.catalina.core.StandardContext start

GRAVE: Erreur de démarrage du contexte [] suite aux erreurs précédentes

2011-05-06 16:58:14,208: INFO  [PortalStartupListener] - Shutting down Pluto Portal Driver...

2011-05-06 16:58:14,209: INFO  [PortalStartupListener] - Shutting down Pluto Portal Driver...

2011-05-06 16:58:14,209: INFO  [PortalStartupListener] - ********** Pluto Portal Driver Shut Down **********



2011-05-06 16:58:14,262: WARN  [SpringContextSingleton] - Trying to access Spring context before it is available ! Please refactor code to avoid this !

2011-05-06 16:58:14,263: WARN  [ServicesRegistry] - Application context is not (yet) available when trying to retrieve service JahiaCacheService, will return null !

Error dumped to file /opt/Jahia/tomcat/temp/jahia-errors/2011_05_06/error-2011_05_06-16_58_14_210-1.txt in 56ms

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

GRAVE: The web application [] registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

GRAVE: The web application [] registered the JDBC driver [org.apache.derby.jdbc.ClientDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

GRAVE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

GRAVE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: The web application [] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: The web application [] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak.

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: The web application [] appears to have started a thread named [ErrorFileDumperThread] but has failed to stop it. This is very likely to create a memory leak.

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@10a4d7c]) and a value of type [java.util.WeakHashMap] (value [{class org.apache.camel.model.WhenDefinition=java.lang.ref.WeakReference@226649, class org.apache.camel.model.OtherwiseDefinition=java.lang.ref.WeakReference@695527, class org.apache.camel.model.StopDefinition=java.lang.ref.WeakReference@1559ba8, class org.apache.camel.model.ChoiceDefinition=java.lang.ref.WeakReference@15e6691, class org.apache.camel.model.FromDefinition=java.lang.ref.WeakReference@9fe666, class org.apache.camel.model.ToDefinition=java.lang.ref.WeakReference@1cf6f61, class org.apache.camel.model.RouteDefinition=java.lang.ref.WeakReference@19988c7, class org.apache.camel.spring.CamelContextFactoryBean=java.lang.ref.WeakReference@e2fa0e, class org.apache.camel.model.language.MethodCallExpression=java.lang.ref.WeakReference@18ed284, class org.apache.camel.core.xml.CamelJMXAgentDefinition=java.lang.ref.WeakReference@19eef79, class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@17c3056}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

6 mai 2011 16:58:14 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@499f7d]) and a value of type [com.sun.xml.bind.v2.runtime.Coordinator[]] (value [[Lcom.sun.xml.bind.v2.runtime.Coordinator;@185e155]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

[Full GC 71237K->10560K(1013632K), 0.1772160 secs]

6 mai 2011 16:58:15 org.apache.catalina.startup.HostConfig deployDirectory

INFO: Déploiement du répertoire host-manager de l'application web

6 mai 2011 16:58:16 org.apache.catalina.startup.HostConfig deployDirectory

INFO: Déploiement du répertoire manager de l'application web

6 mai 2011 16:58:16 org.apache.coyote.http11.Http11Protocol start

INFO: Démarrage de Coyote HTTP/1.1 sur http-8082

6 mai 2011 16:58:16 org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8010

6 mai 2011 16:58:16 org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/15  config=null

6 mai 2011 16:58:16 org.apache.catalina.startup.Catalina start

INFO: Server startup in 17102 ms

 

  (wael)

Number of messages  11
Registration date
0 (0 Good)
0 (0 Bad)

Re: Error 404 with Jahia 6.5 Beta 3

by  shuber »  2011/06/07 21:00

Maybe you could try doing a desktop installation first, check that it works and then try installing it on the server ?

Regards,
Serge Huber.

Serge Huber (shuber)

Number of messages  271
Registration date
0 (0 Good)
0 (0 Bad)

how to install jahia on the server

by  nargess »  2012/02/01 09:04

Hi,

I am a new user of jahia. I installed it on my desktop and now I want to install it on the server but I couldn't find any information over the site about the procedure.

Please help me step by step

Thank you

  (nargess)

Number of messages  4
Registration date
0 (0 Good)
0 (0 Bad)

Re: how to install jahia on the server

by  shyrkov »  2012/02/09 09:32

Hi,

I am a new user of jahia. I installed it on my desktop and now I want to install it on the server but I couldn't find any information over the site about the procedure.

Please help me step by step

Thank you

Hello,

the answer to this question is posted here: https://www.jahia.com/cms/home/community/forum/jahia-user/jahia-install-forum/how-to-install-jahia-on-the-serv.html

 

Kind regards

Sergiy

Sergiy Shyrkov (shyrkov)

Number of messages  407
Registration date
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page