cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Preview website in alfresco 3.0

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi,

I have installed alfresco 3.0 labs and started alfresco server as well as virtual server.
I have created web  project.But when i click the "preview website" the page can't displayed message is coming or
"server is busy.please try later"

The following url is generated when clicking on the preview website.
http://tryweb.www--sandbox.127-0-0-1.ip.alfrescodemo.net:8180/
I have mentioned  in C:\Alfresco\virtual-tomcat\conf\alfresco-virtserver.properties like

alfresco.virtserver.domain=127-0-0-1.ip.alfrescodemo.net

I am working on a stand alone machine and i  have restricted internet connection.


Please guide me about this.

Thanks in advance
Anil
11 REPLIES 11

mrogers
Star Contributor
Star Contributor
Logs from alfresco and the VS please.   We can't help without them.

anilkumar_sama
Champ in-the-making
Champ in-the-making
We completely new to alfresco. These are the logs which are generated in virt-server.

we got this log in catalina.2009-07-02.log


Jul 2, 2009 1:06:49 PM 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_13\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.6.0_13/bin;C:\Alfresco\bin;C:\Program Files\Java\jdk1.6.0_13\bin;C:\Alfresco\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\Personal Communications\;C:\Program Files\IBM\Trace Facility\;D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Pointsec\Pointsec Media Encryption\Program\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;
Jul 2, 2009 1:06:49 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Jul 2, 2009 1:06:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2675 ms
Jul 2, 2009 1:06:50 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 2, 2009 1:06:50 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
Jul 2, 2009 1:06:50 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@16546ef: display name [org.springframework.context.support.FileSystemXmlApplicationContext@16546ef]; startup date [Thu Jul 02 13:06:50 IST 2009]; root of context hierarchy
Jul 2, 2009 1:06:50 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [file:C:/Alfresco/virtual-tomcat/conf/alfresco-virtserver-context.xml]
Jul 2, 2009 1:06:50 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@16546ef]: org.springframework.beans.factory.support.DefaultListableBeanFactory@19f3736
Jul 2, 2009 1:06:51 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL [file:C:/Alfresco/virtual-tomcat/conf/alfresco-shared.properties]
Jul 2, 2009 1:06:51 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL [file:C:/Alfresco/virtual-tomcat/conf/alfresco-virtserver.properties]
Jul 2, 2009 1:06:51 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@19f3736: 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
Jul 2, 2009 1:06:53 PM org.springframework.remoting.rmi.RmiRegistryFactoryBean getRegistry
INFO: Looking for RMI registry at port '50591'
Jul 2, 2009 1:06:53 PM org.springframework.remoting.rmi.RmiRegistryFactoryBean getRegistry
INFO: Could not detect RMI registry - creating new one
Jul 2, 2009 1:06:54 PM org.springframework.jmx.support.ConnectorServerFactoryBean afterPropertiesSet
INFO: JMX connector server started: javax.management.remote.rmi.RMIConnectorServer@33788d
Jul 2, 2009 1:06:54 PM org.springframework.jmx.export.MBeanExporter afterPropertiesSet
INFO: Registering beans for JMX exposure on startup
Jul 2, 2009 1:06:55 PM org.alfresco.catalina.host.AVMHost start
INFO: XML validation disabled
Jul 2, 2009 1:06:55 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 2, 2009 1:06:56 PM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer
INFO: Connected to remote Alfresco JMX Server
Jul 2, 2009 1:07:18 PM org.apache.catalina.core.ApplicationContext log
INFO: SSIFilter.init() SSI invoker started with 'debug'=1
Jul 2, 2009 1:07:20 PM org.apache.catalina.core.ApplicationContext log
INFO: SSIFilter.init() SSI invoker started with 'debug'=1
Jul 2, 2009 1:07:22 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 2, 2009 1:07:23 PM org.apache.catalina.loader.WebappLoader start
INFO: Dual registration of jndi stream handler: factory already defined
Jul 2, 2009 1:07:24 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Jul 2, 2009 1:07:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8109
Jul 2, 2009 1:07:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/126  config=null
Jul 2, 2009 1:07:24 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 2, 2009 1:07:25 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 35245 ms


And in localhost.2009-07-02.log


Jul 2, 2009 1:07:24 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 2, 2009 1:07:24 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Rest other log files are empty.
Are these logs enough or anything else  is required?

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi,

I forgot to add alfresco logs…
Please fine below  alfresco logs….

catalina.2009-07-02.log

Jul 2, 2009 1:01:33 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 2, 2009 1:01:33 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2400 ms
Jul 2, 2009 1:01:34 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 2, 2009 1:01:34 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Jul 2, 2009 1:01:34 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Jul 2, 2009 1:01:48 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Jul 2, 2009 1:04:47 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
Jul 2, 2009 1:05:06 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive studio.war
Jul 2, 2009 1:06:21 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 2, 2009 1:06:21 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 287448 ms

localhost.2009-07-02.log


Jul 2, 2009 1:01:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Set web app root system property: 'webapp.root' = [C:\Alfresco\tomcat\webapps\alfresco\]
Jul 2, 2009 1:01:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jul 2, 2009 1:04:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jul 2, 2009 1:05:09 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jul 2, 2009 1:06:19 PM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.utils.Log ERROR: logLevelConf: null
Jul 2, 2009 1:06:19 PM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
Jul 2, 2009 1:06:21 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 2, 2009 1:06:21 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi,

Can anyone please help me out?
Its urgent…I have been trying but not able to get the solution

Thanks in advance
Anil

mrogers
Star Contributor
Star Contributor
There's no error shown in the logs you have posted.

ralfix
Champ in-the-making
Champ in-the-making
Hi,
I have the same problem. Also I use a standalone machine. All configuration tests did not have success. How does the link have to be at a standalone machine?

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi

I have given output pattern as
/${webapp}/media/releases/content/${name}.xml
Do we need to mention the filename of xml  which i have browsed (eg:compantfooter.xml) and webapp as ROOT

Regards,
Anil

ralfix
Champ in-the-making
Champ in-the-making
Hi, I have found a solution. Since I do not have any nameserver I have the file C:\WINDOWS\system32\drivers\etc\hosts  around the followings entry completes:

127.0.0.1       alfrescosample.www–sandbox.127-0-0-1.ip.alfresodemo.net

An entry must be available well for every sand box.
Greetings Ralf

anilkumar_sama
Champ in-the-making
Champ in-the-making
Hi Ralf,

Thank you very much.I am able to preview the website now.

Regards,
Anil