AnsweredAssumed Answered

Can't connect remotely to new Alfresco installation

Question asked by phonon on Mar 21, 2007
Latest reply on Mar 23, 2007 by phonon
Hi, I've just installed Alfresco on a CentOS 4.4 (Red Hat ES) server. I can connect on the server to  http://127.0.0.1:8080/alfresco, which pops up correctly, but when I try to connect remotely http://208.109.232.184:8080/alfresco
it doesn't work (times out).

I should mention that I installed remotely using ssh -X (was V-E-R-Y S-L-O-W, took about two hours) and used AlfrescoCommunity-2.0-Linux-x86-Install, with all typical, default install, and I logged in as root first.

Am I misunderstanding something here? Can Alfresco not work over the Internet? That would be a big bummer. Here are all the log files I can find, if that helps.

catalina.2007-03-20.log
——————————————————————————-
Mar 20, 2007 11:29:08 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:
/usr/java/jdk1.5.0_09/jre/lib/i386/server:/usr/java/jdk1.5.0_09/jre/lib/i386:/usr/java/jdk1.5.0_09/jre/../lib/i386
Mar 20, 2007 11:29:08 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 20, 2007 11:29:08 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 699 ms
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 20, 2007 11:29:08 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Mar 20, 2007 11:29:57 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 20, 2007 11:29:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 20, 2007 11:29:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/21  config=null
Mar 20, 2007 11:29:57 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 20, 2007 11:29:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 49786 ms
———————————————–
catalina.out
———————————————-
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
Mar 20, 2007 11:29:08 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:
/usr/java/jdk1.5.0_09/jre/lib/i386/server:/usr/java/jdk1.5.0_09/jre/lib/i386:/usr/java/jdk1.5.0_09/jre/../lib/i386
Mar 20, 2007 11:29:08 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 20, 2007 11:29:08 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 699 ms
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 20, 2007 11:29:08 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
23:29:22,230 ERROR
[transform.magick.AbstractImageMagickContentTransformer]
ImageMagickContentTransformer not available: Failed to execute
command: convert
/opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_751.gif
/opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_752.png
23:29:23,610 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not
detect RMI registry - creating new one
23:29:25,275 WARN  [alfresco.util.OpenOfficeConnectionTester] A
connection to OpenOffice could not be established.
23:29:26,156 INFO  [domain.schema.SchemaBootstrap] Generating
unmodified schema creation script:
/opt/Alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-753.sql
23:29:26,205 INFO  [domain.schema.SchemaBootstrap] Executing database
script: /opt/Alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-753.sql
23:29:26,328 INFO  [domain.schema.SchemaBootstrap] Executing database
script: classpath:alfresco/dbscripts/create/2.0/${db.script.dialect}/AlfrescoPostCreate-2.0-FKIndexes.sql
23:29:51,613 WARN  [repo.admin.ConfigurationChecker] The Alfresco
'dir.root' property is set to a relative path './alf_data'.
'dir.root' should be overridden to point to a specific folder.
23:29:51,613 INFO  [repo.admin.ConfigurationChecker] The Alfresco root
data directory ('dir.root') is: ./alf_data
23:29:51,637 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
23:29:51,686 INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
23:29:56,749 ERROR [alfresco.smb.protocol] Failed to get local
domain/workgroup name, using default of WORKGROUP
23:29:56,749 ERROR [alfresco.smb.protocol] (This may be due to
firewall settings or incorrect <broadcast> setting)
23:29:56,807 INFO  [service.descriptor.DescriptorService] Alfresco JVM
- v1.5.0_09-b01; maximum heap size 493.063MB
23:29:56,808 WARN  [service.descriptor.DescriptorService] Alfresco JVM
- WARNING - maximum heap size 493.063MB is less than recommended 512MB
23:29:56,808 INFO  [service.descriptor.DescriptorService] Alfresco
started (Community Network): Current version 2.0.0 (build-185) schema
38 - Installed version 2.0.0 (build-185) schema 38
Mar 20, 2007 11:29:57 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 20, 2007 11:29:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 20, 2007 11:29:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/21  config=null
Mar 20, 2007 11:29:57 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 20, 2007 11:29:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 49786 ms
06:14:41,582 ERROR [alfresco.smb.protocol] Socket closed by remote client
—————————————————
alfresco.log.2007-03-20
—————————————————
23:29:22,230 ERROR
[org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer]
ImageMagickContentTransformer not available: Failed to execute
command: convert
/opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_751.gif
/opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_752.png
23:29:23,610 WARN
[org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not
detect RMI registry - creating new one
23:29:25,275 WARN  [org.alfresco.util.OpenOfficeConnectionTester] A
connection to OpenOffice could not be established.
23:29:26,156 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
Generating unmodified schema creation script:
/opt/Alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-753.sql
23:29:26,205 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
Executing database script:
/opt/Alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-753.sql
23:29:26,328 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
Executing database script:
classpath:alfresco/dbscripts/create/2.0/${db.script.dialect}/AlfrescoPostCreate-2.0-FKIndexes.sql
23:29:51,613 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The
Alfresco 'dir.root' property is set to a relative path './alf_data'.
'dir.root' should be overridden to point to a specific folder.
23:29:51,613 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The
Alfresco root data directory ('dir.root') is: ./alf_data
23:29:51,637 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
Checking for patches to apply …
23:29:51,686 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found
0 module(s).
23:29:56,749 ERROR [org.alfresco.smb.protocol] Failed to get local
domain/workgroup name, using default of WORKGROUP
23:29:56,749 ERROR [org.alfresco.smb.protocol] (This may be due to
firewall settings or incorrect <broadcast> setting)
23:29:56,807 INFO  [org.alfresco.service.descriptor.DescriptorService]
Alfresco JVM - v1.5.0_09-b01; maximum heap size 493.063MB
23:29:56,808 WARN  [org.alfresco.service.descriptor.DescriptorService]
Alfresco JVM - WARNING - maximum heap size 493.063MB is less than
recommended 512MB
23:29:56,808 INFO  [org.alfresco.service.descriptor.DescriptorService]
Alfresco started (Community Network): Current version 2.0.0
(build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38
————————————————————————–
alfresco.log
————————————-
06:14:41,582 ERROR [org.alfresco.smb.protocol] Socket closed by remote client

Outcomes