AnsweredAssumed Answered

Can`t use the 'Preview Website' functionality

Question asked by moe on Apr 2, 2009
Latest reply on Apr 3, 2009 by mrogers
Hello,

I`ve followed the 'Getting Started' tutorial to create a web project ('alfrescowww').
I`ve imported 'alfresco-sample-website.war' and clicked on the function mentioned above.
At first, I got the error message 'Connection failed'.
I guess this must be because of 'virtual_start.bat' not being run.
I ran that file and it still didn`t work.
The browser tries to load the data until it gets a timeout.

Here is the log entry of starting 'virtual_start.bat':

02.04.2009 17:53:32 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:\Alfresco\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Alfresco\jdk/bin;C:\AlfrescoLabs3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Alfresco\jdk\bin;
02.04.2009 17:53:32 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
02.04.2009 17:53:32 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 516 ms
02.04.2009 17:53:32 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.04.2009 17:53:32 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
02.04.2009 17:53:32 org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@bfea1d: display name [org.springframework.context.support.FileSystemXmlApplicationContext@bfea1d]; startup date [Thu Apr 02 17:53:32 CEST 2009]; root of context hierarchy
02.04.2009 17:53:32 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [file:C:/AlfrescoLabs3/virtual-tomcat/conf/alfresco-virtserver-context.xml]
02.04.2009 17:53:32 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@bfea1d]: org.springframework.beans.factory.support.DefaultListableBeanFactory@15fadcf
02.04.2009 17:53:32 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL [file:C:/AlfrescoLabs3/virtual-tomcat/conf/alfresco-shared.properties]
02.04.2009 17:53:32 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL [file:C:/AlfrescoLabs3/virtual-tomcat/conf/alfresco-virtserver.properties]
02.04.2009 17:53:32 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15fadcf: defining beans [virtserver-properties,avmReauthenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationService,avmRemote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,attributeServiceTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo,virtServerMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWebappRegistry,cacheControlInfo]; root of factory hierarchy
02.04.2009 17:53:32 org.springframework.remoting.rmi.RmiRegistryFactoryBean getRegistry
INFO: Looking for RMI registry at port '50501'
02.04.2009 17:53:33 org.springframework.remoting.rmi.RmiRegistryFactoryBean getRegistry
INFO: Could not detect RMI registry - creating new one
02.04.2009 17:53:33 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15fadcf: defining beans [virtserver-properties,avmReauthenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationService,avmRemote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,attributeServiceTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo,virtServerMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWebappRegistry,cacheControlInfo]; root of factory hierarchy
02.04.2009 17:53:33 org.alfresco.catalina.host.AVMHost sleepBeforeRetryingConnection
WARNUNG: Retrying connection…
02.04.2009 17:53:38 org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@178460d: display name [org.springframework.context.support.FileSystemXmlApplicationContext@178460d]; startup date [Thu Apr 02 17:53:38 CEST 2009]; root of context hierarchy
02.04.2009 17:53:38 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [file:C:/AlfrescoLabs3/virtual-tomcat/conf/alfresco-virtserver-context.xml]
02.04.2009 17:53:38 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@178460d]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1d6a56e
02.04.2009 17:53:38 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL [file:C:/AlfrescoLabs3/virtual-tomcat/conf/alfresco-shared.properties]
02.04.2009 17:53:38 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL [file:C:/AlfrescoLabs3/virtual-tomcat/conf/alfresco-virtserver.properties]
02.04.2009 17:53:38 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d6a56e: defining beans [virtserver-properties,avmReauthenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationService,avmRemote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,attributeServiceTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo,virtServerMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWebappRegistry,cacheControlInfo]; root of factory hierarchy
02.04.2009 17:53:38 org.springframework.remoting.rmi.RmiRegistryFactoryBean getRegistry
INFO: Looking for RMI registry at port '50501'
02.04.2009 17:53:38 org.springframework.remoting.rmi.RmiRegistryFactoryBean getRegistry
INFO: Could not detect RMI registry - creating new one
02.04.2009 17:53:38 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d6a56e: defining beans [virtserver-properties,avmReauthenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationService,avmRemote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,attributeServiceTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo,virtServerMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWebappRegistry,cacheControlInfo]; root of factory hierarchy
02.04.2009 17:53:38 org.alfresco.catalina.host.AVMHost sleepBeforeRetryingConnection
WARNUNG: Retrying connection…


Hope that somebody can help.

Thanks in advance,
moe

Outcomes