cancel
Showing results for 
Search instead for 
Did you mean: 

Problem at Starting (Connecting – new installation)

neophile
Champ in-the-making
Champ in-the-making
Hello,

I'm fresh here and never used any of these programs. After downloading Alfresco-Community-3.2r2 I installed it on Windows 7 following the instructions on the PDF installation file. All went well until points 14 and 15, the starting links. The problem is very simple: it just doesn't start – "Firefox gives this notice:  Unable to connect. Firefox can't establish a connection to the server at localhost:8080.   *The site could be temporarily unavailable or too busy. Try again in a few moments."

I don't think this notice will be right. It must be something else because I made the installation two days ago and could never connect since then, tried lots of times always getting the same Ffx notice.

I'm not completely computer dumb, but I have no idea how this works because I've never used or even seen it before. Totally blank. I'd be very grateful if someone would enlighten me, please.
15 REPLIES 15

neophile
Champ in-the-making
Champ in-the-making
Here are the results after clicking on the links on the start menu after rebooting to clear everything.

Start Alfresco Server (link to the alf_start.bat file)
In a window named MySql  (mysqld.exe appears on task manager)
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
100204 20:34:40  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files…
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer…
100204 20:34:42  InnoDB: Started; log sequence number 0 3740772
100204 20:34:43 [Note] Event Scheduler: Loaded 0 events
100204 20:34:43 [Note] C:\ProgExtr\Alfresco\mysql\bin\mysqld: ready for connections.
Version: '5.1.35-community'  socket: ''  port: 3306  MySQL Community Server (GPL
)
And also, in another window named Tomcat (with a Java icon)

04-Feb-2010 20:34:48 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
04-Feb-2010 20:34:49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3209 ms
04-Feb-2010 20:34:49 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
04-Feb-2010 20:34:49 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
04-Feb-2010 20:35:01 org.apache.catalina.core.StandardContext addApplicationList
ener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is
already configured for this context. The duplicate definition has been ignored.
20:35:28,012  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properti
es file from class path resource [alfresco/repository.properties]
20:35:28,050  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properti
es file from class path resource [alfresco/domain/transaction.properties]
20:35:28,050  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properti
es file from URL [file:/C:/ProgExtr/Alfresco/tomcat/shared/classes/alfresco-glob
al.properties]
20:35:28,757  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
20:37:26,600  INFO  [domain.schema.SchemaBootstrap] Schema managed by database d
ialect org.hibernate.dialect.MySQLInnoDBDialect.
20:37:39,370  INFO  [domain.schema.SchemaBootstrap] No changes were made to the
schema.
20:37:44,029  INFO  [management.subsystems.ChildApplicationContextFactory] Start
ing 'sysAdmin' subsystem, ID: [sysAdmin, default]
20:37:44,463  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
20:37:44,578  INFO  [management.subsystems.ChildApplicationContextFactory] Start
up of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
20:37:51,777 User:System INFO  [management.subsystems.ChildApplicationContextFac
tory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
20:37:51,889 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigure
r] Loading properties file from class path resource [alfresco/alfresco-shared.pr
operties]
20:37:57,965 User:System WARN  [alfresco.util.OpenOfficeConnectionTester] An ini
tial OpenOffice connection could not be established.
20:37:57,983 User:System INFO  [management.subsystems.ChildApplicationContextFac
tory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
20:39:56,875  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data dir
ectory ('dir.root') is: C:\ProgExtr\Alfresco\alf_data
20:39:57,121  INFO  [admin.patch.PatchExecuter] Checking for patches to apply ..
.
20:40:04,169  INFO  [admin.patch.PatchExecuter]         Applying patch 'patch.wc
mFolders' (Ensures the existance of the WCM specific 'Web Projects' and 'Web For
ms' folders.).
20:40:05,866  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.0-0-CreateActivitiesExtras
RESULT:
Script completed
=====================================
20:40:05,868  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.2-AuditTables
RESULT:
Script completed
=====================================
20:40:05,873  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.2-AvmTables
RESULT:
Script completed
=====================================
20:40:05,876  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.2-ContentTables
RESULT:
Script completed
=====================================
20:40:05,880  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.2-LockTables
RESULT:
Script completed
=====================================
20:40:05,880  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.2-PropertyValueTables
RESULT:
Script completed
=====================================
20:40:05,882  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.wcmFolders
RESULT:
The Web Projects folder was successfully created: workspace://SpacesStore/4d8d69
58-768b-4393-ba5a-dea73178c28d
The Web Forms folder was successfully created: workspace://SpacesStore/4d8d6958-
768b-4393-ba5a-dea73178c28d
=====================================
20:40:05,916 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s)
.
20:40:05,978  INFO  [management.subsystems.ChildApplicationContextFactory] Start
ing 'fileServers' subsystem, ID: [fileServers, default]
20:40:06,075  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
20:40:07,536  INFO  [management.subsystems.ChildApplicationContextFactory] Start
ing 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
20:40:07,653  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
20:40:08,200  INFO  [management.subsystems.ChildApplicationContextFactory] Start
up of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] c
omplete
20:40:08,542  INFO  [management.subsystems.ChildApplicationContextFactory] Start
up of 'fileServers' subsystem, ID: [fileServers, default] complete
20:40:08,543  INFO  [management.subsystems.ChildApplicationContextFactory] Start
ing 'imap' subsystem, ID: [imap, default]
20:40:08,693  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
20:40:09,184  INFO  [management.subsystems.ChildApplicationContextFactory] Start
up of 'imap' subsystem, ID: [imap, default] complete
20:40:09,203  INFO  [repo.usage.UserUsageTrackingComponent] Enabled - calculate
missing user usages …
20:40:09,472  INFO  [repo.usage.UserUsageTrackingComponent] Found 0 users to rec
alculate
20:40:09,491  INFO  [repo.usage.UserUsageTrackingComponent] … calculated missi
ng usages for 0 users
20:40:09,563  INFO  [management.subsystems.ChildApplicationContextFactory] Start
ing 'Synchronization' subsystem, ID: [Synchronization, default]
20:40:09,700  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
20:40:10,140  INFO  [management.subsystems.ChildApplicationContextFactory] Start
up of 'Synchronization' subsystem, ID: [Synchronization, default] complete
20:40:10,858  INFO  [alfresco.util.OpenOfficeConnectionTester] The OpenOffice co
nnection was re-established.
20:40:12,717  INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0
_16-b01; maximum heap size 506.313MB
20:40:12,749  INFO  [service.descriptor.DescriptorService] Alfresco started (Com
munity): Current version 3.2.0 (r2 2440) schema 3300 - Originally installed vers
ion 3.2.0 (r2 2440) schema 3300
20:42:29,853  INFO  [management.subsystems.ChildApplicationContextFactory] Start
ing 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default]
20:42:31,193  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
20:42:32,898  INFO  [management.subsystems.ChildApplicationContextFactory] Start
up of 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default
] complete
04-Feb-2010 20:42:41 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive mobile.war
20:42:52,606  INFO  [alfresco.config.JBossEnabledWebApplicationContext] Refreshi
ng org.alfresco.config.JBossEnabledWebApplicationContext@19caef8: display name [
Root WebApplicationContext]; startup date [Thu Feb 04 20:42:52 GMT 2010]; root o
f context hierarchy
20:42:54,856  INFO  [alfresco.config.JBossEnabledWebApplicationContext] Bean fac
tory for application context [org.alfresco.config.JBossEnabledWebApplicationCont
ext@19caef8]: org.springframework.beans.factory.support.DefaultListableBeanFacto
ry@1d6ff0e
20:43:00,967  INFO  [web.scripts.DeclarativeRegistry] Registered 22 Web Scripts
(+0 failed), 24 URLs
20:43:01,376  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentat
ion Web Script Container (in 1420.5596ms)
20:43:01,872  INFO  [web.scripts.DeclarativeRegistry] Registered 40 Web Scripts
(+0 failed), 42 URLs
20:43:01,920  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramew
ork Web Script Container (in 443.9313ms)
20:43:02,145  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
04-Feb-2010 20:43:02 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
20:43:51,030  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
04-Feb-2010 20:43:54 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
04-Feb-2010 20:43:54 org.apache.catalina.startup.Catalina start
INFO: Server startup in 545490 ms
This window keept adding lines for some time.

It seems it did start now, even if I am a zero with this program that I do not know at all and I have forgotten all about the old pre-Windows time. Windows has only one thing that is really convenient, but made me adopt it: we find lots more of programs for the system that are lacking with other systems. Must be very careful not making any change at all.

Weird that this file is refering to ~dp0alfresco.bat. Is there an alfresco.bat? Whats in the alfresco.bat the alf_start.bat refers to?
This is the content of the alfresco.bat file:
@echo off
rem —————————————————————————
rem Start script for the Alfresco Server
rem —————————————————————————

rem set Alfresco home (includes trailing \  e.g. c:\alfresco\)
set ALF_HOME=%~dps0
set CATALINA_HOME=%ALF_HOME%tomcat

rem Set any default JVM options
set JAVA_OPTS=-Xms128m -Xmx512m -Xss96k -XX:MaxPermSize=160m -server -Dalfresco.home=%ALF_HOME% -Dcom.sun.management.jmxremote

rem — If SetPaths.bat already exists - assume set by hand and use as is
set PATH=%ALF_HOME%bin;%PATH%
if not exist "SetPaths.bat" goto getpaths
call SetPaths.bat
goto start

:getpaths
call RegPaths.exe
call SetPaths.bat
del SetPaths.bat

:start
rem — Test for Java settings
set BASEDIR=%CATALINA_HOME%
rem — Reset errorlevel hack
verify >nul
call "%CATALINA_HOME%\bin\setclasspath.bat"
if errorlevel 1 goto error
set PATH=%JAVA_HOME%\bin;%PATH%
rem —————————————
rem Start Components
rem —————————————

if not ""%1"" == ""start"" goto stop

if not exist "%ALF_HOME%mysql\my.ini" goto tomcat
rem —————————————
rem Start MySQL
rem —————————————
echo Starting MySQL…
start "MySQL" "%ALF_HOME%mysql\bin\mysqld" –defaults-file="%ALF_HOME%mysql\my.ini" –basedir="%ALF_HOME%mysql" –datadir="%ALF_HOME%alf_data\mysql" –console

rem Uncomment below to pause for some seconds before starting Tomcat
rem Change 5 to the number of seconds delay required
rem ping 1.0.0.0 -n 5 -w 1000 >NUL

:tomcat
rem —————————————
rem Start Tomcat
rem —————————————

echo Starting Tomcat…
call "%CATALINA_HOME%\bin\startup.bat"

rem ———————————
rem Start Virtualization if available
rem ———————————
rem if exist "~dp0virtual_start.bat" call "~dp0virtual_start.bat"

goto end

:stop

rem —————————————
rem Stop Components
rem —————————————

if not ""%1"" == ""stop"" goto nostop

echo Shutting down Tomcat…
call "%CATALINA_HOME%\bin\shutdown.bat"

if not exist "%ALF_HOME%mysql\my.ini" goto nextstop
if ""%2"" == ""nouser"" goto tomcatwait
set /P pause="Please wait until Tomcat has shut down, then press ENTER to continue…"
goto stopmysql
:tomcatwait
rem Change 10 to the number of seconds delay required
ping 1.0.0.0 -n 10 -w 1000 >NUL

:stopmysql
echo Stopping MySQL…
call "%ALF_HOME%mysql\bin\mysqladmin" -u root shutdown

:nextstop
rem if exist "virtual_start.bat" call virtual_stop.bat

goto end

:error
echo Error encountered.
if ""%2"" == ""nouser"" goto end
set /P pause="Press ENTER to continue…"

:end
I fail to understand whatever happened, but it seems it is working now because after I tried the link I have been talking about since the beginning and it displayed a log in window in the browser. Then I clicked the Alfresco Explorer on the start menu and it also displayed.

I notided a line on the MySql window saying "Database was not shut down normally!" Is there a special way to close the database?

Well, I think that with your guidance it started working. Than you very much. I have only a question, if you please. There is plenty enough documentation on configuration, but as a beginner I would appreciate and need some guidance on using the program itself. Is there any documentation that I could use, but have not found?

Thank you very much again.

kbonnet
Champ in-the-making
Champ in-the-making
Yes, Alfresco is starting OK now. Congratulations. Could it be that you shut down the black windows popping up when you started alfresco? The first windoww your describe is the mysqld process, the second is tomcat. If you would have closed the mysqld window, Tomcat/alfresco would complain about not being able to connect to the database, like the message you had. It's normal that Tomcat need 1 to 1,5 minutes to start. Only after the log/tomcat window is telling you "INFO: Server startup in 545490 ms" and there were no errors, Alfresco is started ok and you can start using it.

Try this for a start on documentation. There also should be a manual in PDF online.

http://www.alfresco.com/help/32/labs/sharehelp/

Good luck with Alfresco.

neophile
Champ in-the-making
Champ in-the-making
I couldn't tell you what happened exactly. only of one thing I'm sure: I almost always change things to suite my personal preferences, but here I didn't touch anythingt because I don't know yet and am afraid to mees all up.

Thank you for the link KB. I've seen now that there is a demonstration on the application, and also found the help page of this link which is what I was looking for. I think maybe I don't need any more help, at least for the moment.

sur344597
Champ in-the-making
Champ in-the-making
Hello
            I am fresh to Alfresco. I am facing some problems while trying to start the server. Tom cat gives an error "11:27:47,537  ERROR [repo.admin.ConfigurationChecker] Ensure that the 'dir.root'
property is pointing to the correct data location."
I could not find any dir.root.

MySQL has started and I have checked for the process.

Actually I installed Alfresco 3.3 community edition with the guidelines pdf. Then I unzipped the alfresco-community-sdk3.3.zip. The folder structure has changed. I guess this is the reason for the error but I don't how to proceed.

Kindly help me on this regard. Thanks in advance

shinshidoshi
Champ in-the-making
Champ in-the-making
same for me. I'm not very good at this sort of things and I don't really know what to do (or even what to check). Can someone please help? thank you in dvance

So you have an issue with directory structure, or an issue with SQL? Call me daft, but I'm not sure what your problem is mate.

miholanda
Champ in-the-making
Champ in-the-making
I was also getting the 8080 error, I restarted the whole system and it seemed to work for me.