AnsweredAssumed Answered

Impossible de prévisualiser le site web (erreur 503)[Résolu]

Question asked by vinsse2001 on Apr 14, 2008
Latest reply on Mar 30, 2010 by djyahoo
Bonjour à tous,
Je viens d'installer la version démo de Alfresco Enterprise 2.1.0, j'ai suivi la doc (Alfresco WCM 2_1 Product Evaluation Guide.pdf) à la lettre pour tester le WCM, et une fois rendu au chapitre pour l'import du site web (p. 29 du doc) j'ai un superbe message d'erreur à la place du joli site web…

url appelé lors du clic sur "Prévisualiser le site web" (bac à sable de l'utilisateur admin, ou recette, ou autre test, c'est pareil…) : http://admin.alfrescosample.www--sandbox.127-0-0-1.ip.alfrescodemo.net:8180/
page obtenue :
503 Service Unavailable
Failed to resolve the name of server admin.alfrescosample.www–sandbox.127-0-0-1.ip.alfrescodemo.net to connect


Quelqu'un a une idée d'où cela peut venir ?

- mon environnement : Windows XP Pro v5.1.2600 SP2 Nu 2600, HP Compaq cd7800, bi-pro 2GHz, 2Go RAM
- Fichier téléchargé sur Alfresco : AlfrescoEnterprisePlusWCM-2.1.0-Setup.zip (contenant les 2 fichiers AlfrescoEnterprise-2.1.0-Setup.exe et AlfrescoWCMEnterprise-2.1.0-Setup.exe).
- installation : j'ai installé le 1er dans D:\Local\Apps\Alfresco_Enterprise\, puis je l'ai configuré avec les valeurs par défaut (base HSQL) sauf pour OpenOffice, installé dans C:\Program Files\OpenOffice.org 2.4. Puis j'ai installé le WCM dans le même répertoire.
- JAVA_HOME = C:\Program Files\Java\jdk1.6.0_05
- test avec netstat :
U:\>netstat

Connexions actives

  Proto  Adresse locale         Adresse distante       Etat
  TCP    FR-33-01-08-507:1588   quinquina.sor.fr.ad.sotranet.net:microsoft-ds  ESTABLISHED
  TCP    FR-33-01-08-507:1680   proxygrp.ad.sotranet.net:8080  CLOSE_WAIT
  TCP    FR-33-01-08-507:3464   FR-33-01-08-507.sor.fr.ad.sotranet.net:3747  ESTABLISHED
  TCP    FR-33-01-08-507:3726   FR-33-01-08-507.sor.fr.ad.sotranet.net:3464  TIME_WAIT
  TCP    FR-33-01-08-507:3736   FR-33-01-08-507.sor.fr.ad.sotranet.net:3464  TIME_WAIT
  TCP    FR-33-01-08-507:3738   FR-33-01-08-507.sor.fr.ad.sotranet.net:3674  TIME_WAIT
  TCP    FR-33-01-08-507:3744   FR-33-01-08-507.sor.fr.ad.sotranet.net:3674  TIME_WAIT
  TCP    FR-33-01-08-507:3746   FR-33-01-08-507.sor.fr.ad.sotranet.net:3674  TIME_WAIT
  TCP    FR-33-01-08-507:3747   FR-33-01-08-507.sor.fr.ad.sotranet.net:3464  ESTABLISHED
  TCP    FR-33-01-08-507:1604   localhost:1605         ESTABLISHED
  TCP    FR-33-01-08-507:1605   localhost:1604         ESTABLISHED
  TCP    FR-33-01-08-507:1609   localhost:1610         ESTABLISHED
  TCP    FR-33-01-08-507:1610   localhost:1609         ESTABLISHED
  TCP    FR-33-01-08-507:3475   localhost:8100         ESTABLISHED
  TCP    FR-33-01-08-507:3735   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3737   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3739   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3740   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3741   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3742   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3745   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3748   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3752   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3756   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3758   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3759   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:3760   localhost:2301         TIME_WAIT
  TCP    FR-33-01-08-507:8080   localhost:3732         TIME_WAIT
  TCP    FR-33-01-08-507:8100   localhost:3475         ESTABLISHED

J'avais des erreurs auparavant, mais cela était dû au fait que mon compte Windows n'était pas administrateur. Depuis, j'ai réinstallé le tout (nouveau répertoire, je n'ai pas supprimé l'ancien), je n'ai plus les erreurs.

Log de la fenêtre Tomcat pour Alfresco Enterprise Network :
CompilerOracle: exclude org/apache/lucene/index/IndexReader$1.doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger.mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger.mergeDeletions
14 avr. 2008 13:11:54 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
14 avr. 2008 13:11:54 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 516 ms
14 avr. 2008 13:11:54 org.apache.catalina.core.StandardService start
INFO: DÚmarrage du service Catalina
14 avr. 2008 13:11:54 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
14 avr. 2008 13:11:54 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
14 avr. 2008 13:11:55 org.apache.catalina.startup.HostConfig deployWAR
INFO: DÚploiement de l'archive alfresco.war de l'application web
13:12:21,615 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
13:12:24,650 INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.HSQLDialect.

13:12:24,650 INFO  [domain.schema.SchemaBootstrap] Alfresco is using the HSQL default database. Please only use this whi
le evaluating Alfresco, it is NOT recommended for production or deployment!
13:12:24,775 INFO  [domain.schema.SchemaBootstrap] ExÚcution du script de base de donnÚes D:\Local\Apps\Alfresco_Enterpr
ise\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-13786.sql (gÚnÚrÚ)
13:12:24,978 INFO  [domain.schema.SchemaBootstrap] ExÚcution du script de base de donnÚes D:\Local\Apps\Alfresco_Enterpr
ise\tomcat\temp\Alfresco\AlfrescoSchemaUpdate-org.hibernate.dialect.HSQLDialect-13787.sql (copiÚ depuis classpath:alfres
co/dbscripts/create/2.1/org.hibernate.dialect.HSQLDialect/AlfrescoPostCreate-2.1-FKIndexes.sql)
13:12:24,978 INFO  [domain.schema.SchemaBootstrap] Tous les instructions exÚcutÚes sont journalisÚes dans le fichier D:\
Local\Apps\Alfresco_Enterprise\tomcat\temp\Alfresco\AlfrescoSchemaUpdate-All_Statements-13788.sql.
13:13:04,791 INFO  [service.descriptor.DescriptorService] Alfresco license: Creating time limited trial license
13:13:05,339 INFO  [repo.admin.ConfigurationChecker] Le rÚpertoire racine de donnÚes d'Alfresco ('dir.root') est : D:\Lo
cal\Apps\Alfresco_Enterprise\alf_data
13:13:05,355 INFO  [admin.patch.PatchExecuter] VÚrification des correctifs Ó appliquer …
13:13:05,667 INFO  [admin.patch.PatchExecuter]
=== Correctif AppliquÚ                  ===
ID : patch.wcmFolders
RESULTAT :
The Web Projects folder was successfully created: workspace://SpacesStore/c147893c-0a13-11dd-9b3a-3370d6230ab7
The Web Forms folder was successfully created: workspace://SpacesStore/c147893c-0a13-11dd-9b3a-3370d6230ab7
=====================================
13:13:05,667 INFO  [admin.patch.PatchExecuter]
=== Correctif AppliquÚ                  ===
ID : patch.webscripts3
RESULTAT :
Importation de la vue dans l'emplacement du bootstrap : / (workspace://SpacesStore/aa016ff4-0a13-11dd-9b3a-3370d6230ab7)

=====================================
13:13:05,667 INFO  [repo.module.ModuleServiceImpl] 0 module(s) trouvÚ(s).
13:13:06,184 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_05-b13; maximum heap size 493,063MB
13:13:06,184 WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less t
han recommended 512MB
13:13:06,293 INFO  [service.descriptor.DescriptorService] Alfresco license: Enterprise Network granted to Trial User lim
ited to 30 days expiring Wed May 14 00:00:00 CEST 2008 (30 days remaining)
13:13:06,293 INFO  [service.descriptor.DescriptorService] Alfresco started (Enterprise Network): Current version 2.1.0 (
112) schema 73 - Installed version 2.1.0 (112) schema 73
14 avr. 2008 13:13:08 org.apache.coyote.http11.Http11BaseProtocol start
INFO: DÚmarrage de Coyote HTTP/1.1 sur http-8080
14 avr. 2008 13:13:08 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
14 avr. 2008 13:13:08 org.apache.catalina.startup.Catalina start
INFO: Server startup in 73275 ms
13:19:44,267 WARN  [bean.wcm.CreateFormWizard] non fatal errors encountered parsing schema press-release.xsd
error parsing schema:
at line 51 column 114: src-resolve: Cannot resolve the name 'pr:company_footer_choices' to a(n) 'type definition' compon
ent.

Log de la fenêtre Tomcat pour Alfresco WCM Enterprise :
14 avr. 2008 13:31:01 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:\Program Files\Java\jdk1.6.0_05\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Pro
gram Files\Java\jdk1.6.0_05\/bin;D:\Local\Apps\Alfresco_Enterprise\bin;C:\PROGRA~1\Compaq\COMPAQ~1\Dmi\Win32\Bin;C:\WIND
OWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\sogeti\tools;C:\WINDOWS\sogeti\i386;D:\Local\Apps\MySQL\bin
14 avr. 2008 13:31:01 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8180
14 avr. 2008 13:31:01 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 360 ms
14 avr. 2008 13:31:01 org.apache.catalina.core.StandardService start
INFO: DÚmarrage du service Catalina
14 avr. 2008 13:31:01 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
14 avr. 2008 13:31:01 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
14 avr. 2008 13:31:01 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [file:D:/Local/Apps/Alfresco_Enterprise/virtual-tomcat/conf/alfresco-virtser
ver-context.xml]
14 avr. 2008 13:31:02 org.springframework.context.support.AbstractRefreshableApplicationContext refreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode
=27475272]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [virtserver-properties,a
vmReauthenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationService,avmRemote,avmRemoteTransport,a
vmRemoteTransportRaw,attributeService,attributeServiceTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo
,virtServerMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWebappRegistry,cacheControlInfo]; root
of BeanFactory hierarchy
14 avr. 2008 13:31:02 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 19 beans defined in application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashC
ode=27475272]
14 avr. 2008 13:31:02 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL [file:D:/Local/Apps/Alfresco_Enterprise/virtual-tomcat/conf/alfresco-shared.prope
rties]
14 avr. 2008 13:31:02 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL [file:D:/Local/Apps/Alfresco_Enterprise/virtual-tomcat/conf/alfresco-virtserver.p
roperties]
14 avr. 2008 13:31:02 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.Deleg
atingMessageSource@19836ed]
14 avr. 2008 13:31:02 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springfra
mework.context.event.SimpleApplicationEventMulticaster@18f1d7e]
14 avr. 2008 13:31:02 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defi
ning beans [virtserver-properties,avmReauthenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationSer
vice,avmRemote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,attributeServiceTransport,attributeServiceTrans
portRaw,jndiInfoBean,virtServerInfo,virtServerMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWeba
ppRegistry,cacheControlInfo]; root of BeanFactory hierarchy]
14 avr. 2008 13:31:02 org.springframework.remoting.rmi.RmiClientInterceptor prepare
INFO: RMI stub [rmi://localhost:50500/authentication] is an RMI invoker
14 avr. 2008 13:31:02 org.springframework.aop.framework.DefaultAopProxyFactory <clinit>
INFO: CGLIB2 not available: proxyTargetClass feature disabled
14 avr. 2008 13:31:02 org.springframework.remoting.rmi.RmiClientInterceptor prepare
INFO: RMI stub [rmi://localhost:50500/avm] is an RMI invoker
14 avr. 2008 13:31:02 org.springframework.remoting.rmi.RmiClientInterceptor prepare
INFO: RMI stub [rmi://localhost:50500/attributes] is an RMI invoker
14 avr. 2008 13:31:02 org.springframework.remoting.rmi.RmiRegistryFactoryBean getRegistry
INFO: Looking for RMI registry at port '50501'
14 avr. 2008 13:31:03 org.springframework.remoting.rmi.RmiRegistryFactoryBean getRegistry
ATTENTION: Could not detect RMI registry - creating new one
14 avr. 2008 13:31:03 org.springframework.jmx.support.ConnectorServerFactoryBean afterPropertiesSet
INFO: JMX connector server started: javax.management.remote.rmi.RMIConnectorServer@ab54eb
14 avr. 2008 13:31:03 org.springframework.jmx.export.MBeanExporter afterPropertiesSet
INFO: Registering beans for JMX exposure on startup
14 avr. 2008 13:31:03 org.alfresco.catalina.host.AVMHost init
INFO: Succeeded connecting to authentication service
14 avr. 2008 13:31:03 org.alfresco.catalina.host.AVMHost init
INFO: Deleting: D:\Local\Apps\Alfresco_Enterprise\virtual-tomcat\work\Catalina\avm.alfresco.localhost
14 avr. 2008 13:31:03 org.alfresco.catalina.host.AVMHost start
INFO: XML validation disabled
14 avr. 2008 13:31:03 org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer
INFO: Connected to remote Alfresco JMX Server
14 avr. 2008 13:31:03 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
14 avr. 2008 13:31:06 org.apache.catalina.core.ApplicationContext log
INFO: SSIFilter.init() SSI invoker started with 'debug'=1
14 avr. 2008 13:31:06 org.apache.catalina.core.ApplicationContext log
INFO: SSIFilter.init() SSI invoker started with 'debug'=1
14 avr. 2008 13:31:07 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
14 avr. 2008 13:31:07 org.apache.catalina.loader.WebappLoader start
INFO: Dual registration of jndi stream handler: factory already defined
14 avr. 2008 13:31:07 org.apache.coyote.http11.Http11BaseProtocol start
INFO: DÚmarrage de Coyote HTTP/1.1 sur http-8180
14 avr. 2008 13:31:07 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8109
14 avr. 2008 13:31:07 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16  config=null
14 avr. 2008 13:31:07 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
14 avr. 2008 13:31:07 org.apache.catalina.startup.Catalina start
INFO: Server startup in 5819 ms
14 avr. 2008 13:35:53 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: testDB:/www/avm_webapps/ROOT
14 avr. 2008 13:35:53 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: testDB–admin:/www/avm_webapps/ROOT
14 avr. 2008 13:35:53 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: testDB–mark:/www/avm_webapps/ROOT
14 avr. 2008 13:35:53 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: testDB–preview:/www/avm_webapps/ROOT
14 avr. 2008 13:35:53 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: testDB–admin–preview:/www/avm_webapps/ROOT
14 avr. 2008 13:35:53 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: testDB–mark–preview:/www/avm_webapps/ROOT
14 avr. 2008 13:35:53 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: 2 pathToWebapp: testDB:/www/avm_webapps/ROOT
14 avr. 2008 13:39:29 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: testDB–admin:/www/avm_webapps/ROOT
14 avr. 2008 13:40:19 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: temporarily removed webapp: /$-1$testDB–admin$ROOT
14 avr. 2008 13:40:19 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: testDB–admin–preview:/www/avm_webapps/ROOT
14 avr. 2008 13:40:19 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: temporarily removed webapp: /$-1$testDB–admin–preview$ROOT
14 avr. 2008 13:43:28 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: alfrescosample–workflow-fe8e31e3-0a17-11dd-9b3a-3370d6230ab7:/www/
avm_webapps/ROOT
14 avr. 2008 13:43:30 org.apache.catalina.core.ApplicationContext log
INFO: SSIFilter.init() SSI invoker started with 'debug'=1
14 avr. 2008 13:43:30 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: -1 pathToWebapp: alfrescosample–workflow-fe8e31e3-0a17-11dd-9b3a-3370d6230ab7–prev
iew:/www/avm_webapps/ROOT
14 avr. 2008 13:43:30 org.apache.catalina.core.ApplicationContext log
INFO: SSIFilter.init() SSI invoker started with 'debug'=1

Outcomes