02-07-2012 07:54 AM
…
12:49:31,681 WARN [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
…
12:49:53,282 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
…
… 37 more
12:51:35,448 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.j
…
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:186)
…
12:51:59,921 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
12:52:00,066 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
12:52:51,520 WARN [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
12:53:13,018 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
12:53:13,019 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
12:53:13,043 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
…
13:10:12,545 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
13:11:07,616 WARN [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
13:11:29,427 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
13:11:29,428 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
13:11:29,458 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
…
13:11:49,515 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
13:11:51,038 INFO [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 404
Catalina.out…
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:186)
at sun.rmi.transport.Transport.exportObject(Transport.java:92)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:247)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:120)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:239)
at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:371)
at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:336)
at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:268)
at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:229)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
… 37 more
7 févr. 2012 13:11:34 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
7 févr. 2012 13:11:34 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/alfresco] suite aux erreurs précédentes
7 févr. 2012 13:11:35 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@70fc1f2c]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
7 févr. 2012 13:11:35 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@3862bba7]) and a value of type [java.util.WeakHashMap] (value [{class org.alfresco.repo.audit.model._3.DataExtractor=java.lang.ref.WeakReference@7dee1b66, class org.alfresco.repo.audit.model._3.DataExtractors=java.lang.ref.WeakReference@1b490621, class org.alfresco.repo.audit.model._3.DataGenerator=java.lang.ref.WeakReference@57316e85, class org.alfresco.repo.audit.model._3.DataGenerators=java.lang.ref.WeakReference@6e4f0a7b, class org.alfresco.repo.audit.model._3.PathMap=java.lang.ref.WeakReference@73949d1, class java.util.ArrayList=java.lang.ref.WeakReference@421d3c0b, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@d511816, class org.alfresco.repo.audit.model._3.AuditPath=java.lang.ref.WeakReference@4704532e, class org.alfresco.repo.audit.model._3.Application=java.lang.ref.WeakReference@6cf1156e, class org.alfresco.repo.audit.model._3.RecordValue=java.lang.ref.WeakReference@47b620a2, class org.alfresco.repo.audit.model._3.PathMappings=java.lang.ref.WeakReference@6189076, class org.alfresco.repo.audit.model._3.GenerateValue=java.lang.ref.WeakReference@36b4361a, class org.alfresco.repo.audit.model._3.Audit=java.lang.ref.WeakReference@714c0104}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
7 févr. 2012 13:11:35 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@34d6e7b8]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@906fc22]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
7 févr. 2012 13:11:35 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@299320cf]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@7a4f0b5b]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
7 févr. 2012 13:11:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
2012-02-07 13:11:45,976 INFO [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-02-07 13:11:46,094 INFO [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2012-02-07 13:11:46,096 INFO [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-02-07 13:11:46,104 INFO [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2012-02-07 13:11:49,055 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 312 Web Scripts (+0 failed), 322 URLs
2012-02-07 13:11:49,056 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 8 Package Description Documents (+0 failed)
2012-02-07 13:11:49,056 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 0 Schema Description Documents (+0 failed)
2012-02-07 13:11:49,498 INFO [extensions.webscripts.AbstractRuntimeContainer] [main] Initialised Spring Surf Container Web Script Container (in 3384.5742ms)
2012-02-07 13:11:49,508 INFO [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-02-07 13:11:49,515 INFO [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
7 févr. 2012 13:11:50 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire ROOT de l'application web
7 févr. 2012 13:11:50 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire examples de l'application web
7 févr. 2012 13:11:50 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire docs de l'application web
7 févr. 2012 13:11:50 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
7 févr. 2012 13:11:50 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
7 févr. 2012 13:11:50 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/79 config=null
7 févr. 2012 13:11:50 org.apache.catalina.startup.Catalina start
INFO: Server startup in 125427 ms
2012-02-07 13:11:51,038 INFO [web.site.EditionInterceptor] [http-8080-1] Unable to retrieve License information from Alfresco: 404
root@SMALF001:/opt/alfresco4.0.c/tomcat/logs# date
mardi 7 février 2012, 13:45:56 (UTC+0100)
root@SMALF001:/opt/alfresco4.0.c/tomcat/logs#
###############################
## Common Alfresco Properties #
###############################
dir.root=/opt/alfresco4.0.c/alf_data
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306
db.schema.update=true
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}
index.recovery.mode=AUTO
### FTP Server Configuration ### # from cisel config !
ftp.enabled=false
ftp.port=21
ftp.ipv6.enabled=false
cifs.enabled=true
cifs.serverName=${localname}
cifs.hostannounce=true
ooo.exe=/usr/bin/soffice
ooo.enabled=true
jodconverter.officeHome=/usr/lib/openoffice
jodconverter.portNumbers=8101
jodconverter.enabled=true
img.root=/usr
swf.exe=/usr/local/bin/pdf2swf
ffmpeg.exe=/usr/bin/ffmpeg
authentication.chain=alfrescoNtlm1:alfrescoNtlm
alfresco.context=alfresco
alfresco.host=${localname}
alfresco.port=8080
alfresco.protocol=http
#
share.context=share
share.host=${localname}
share.port=8080
share.protocol=http
alfresco.rmi.services.host=0.0.0.0
#
# RMI service ports for the individual services.
# These seven services are available remotely.
#
# Assign individual ports for each service for best performance
# or run several services on the same port. You can even run everything on 50500 if needed.
#
# Select 0 to use a random unused port.
#
avm.rmi.service.port=50500
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
wcm-deployment-receiver.rmi.service.port=0
monitor.rmi.service.port=0
/opt/alfresco4.0.c/tomcat/conf/server.xml
<Connector port="8080" protocol="HTTP/1.1" URIEncoding="UTF-8"^M
connectionTimeout="20000" ^M
redirectPort="8443" />^M
<!– A "Connector" using the shared thread pool–>^M
<!–^M
<Connector executor="tomcatThreadPool"^M
port="8080" protocol="HTTP/1.1" ^M
connectionTimeout="20000" ^M
redirectPort="8443" />^M
–> ^M
<!– Define a SSL HTTP/1.1 Connector on port 8443^M
This connector uses the JSSE configuration, when using APR, the ^M
connector should be using the OpenSSL style configuration^M
described in the APR documentation –>^M
<!–^M
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"^M
maxThreads="150" scheme="https" secure="true"^M
clientAuth="false" sslProtocol="TLS" />^M
–>^M
Je devrais être en mesure de me connecter sans problème sur l'adresse suivante: http://172.21.59.115:8080/alfresco (ou share…)
F:\>nmap 172.21.59.115 -p 8080
PORT STATE SERVICE
8080/tcp open http-proxy
F:\>nmap 172.21.59.115 -p 8443
PORT STATE SERVICE
8443/tcp closed https-alt
F:\>
Les différences entre mon installation et la documentation que j'ai utilisé sont:2012-02-07 13:11:51,038 INFO [web.site.EditionInterceptor] [http-8080-1] Unable to retrieve License information from Alfresco: 404
La doc utilisée mentionne un problème de port 50500 à ouvrir.02-09-2012 06:09 AM
root@SMALF001:/opt/alfresco-4.0.d/alf_data# cat /etc/hosts
127.0.0.1 localhost
172.21.59.115 SMALF001.cisel.ch SMALF001
# The following lines are desirable for IPv6 capable hosts
#::1 ip6-localhost ip6-loopback
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
root@SMALF001:/opt/alfresco-4.0.d/alf_data#
Et voilà pour netstat:root@SMALF001:/opt/alfresco-4.0.d/alf_data# netstat -latupn | grep LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1228/inetd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1228/inetd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 915/portmap
tcp 0 0 0.0.0.0:39696 0.0.0.0:* LISTEN 927/rpc.statd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1752/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 26597/postgres
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1758/exim4
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 1228/inetd
tcp6 0 0 :::8080 :::* LISTEN 26617/java
tcp6 0 0 :::22 :::* LISTEN 1752/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1758/exim4
tcp6 0 0 :::8443 :::* LISTEN 26617/java
tcp6 0 0 127.0.0.1:8005 :::* LISTEN 26617/java
tcp6 0 0 :::46534 :::* LISTEN 26617/java
tcp6 0 0 :::8009 :::* LISTEN 26617/java
root@SMALF001:/opt/alfresco-4.0.d/alf_data#
02-09-2012 09:00 AM
alfresco.rmi.services.host=0.0.0.0
C'est assez surprenant comme adresse IP 😉alfresco.rmi.services.host=localhost
02-09-2012 09:54 AM
root@SMALF001:/opt/alfresco-4.0.d# cat /opt/alfresco-4.0.d/tomcat/shared/classes/alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################
dir.root=/opt/alfresco-4.0.d/alf_data
alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http
### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=admin
db.name=alfresco
db.url=jdbc:postgresql://localhost:5432/${db.name}
### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false
### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0
### External executable locations ###
ooo.exe=/opt/alfresco-4.0.d/openoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
ooo.port=8100
img.root=/opt/alfresco-4.0.d/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco-4.0.d/common/bin/pdf2swf
jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco-4.0.d/openoffice
jodconverter.portNumbers=8100
### Initial admin password ###
alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634
### E-mail site invitation setting ###
notification.email.siteinvite=false
### File Protocol Root ###
protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}
### License location ###
dir.license.external=/opt/alfresco-4.0.d
### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443
### BPM Engine ###
system.workflow.engine.jbpm.enabled=false
root@SMALF001:/opt/alfresco-4.0.d#
Ceci dit, j'avance !!! root@SMALF001:~# free -g -m
total used free shared buffers cached
Mem: 3021 1614 1407 0 29 403
-/+ buffers/cache: 1181 1840
Swap: 7627 0 7627
root@SMALF001:~#
Et maintenant, j'ai un process supplémentaire que je n'avais pas avant (openoffice): root@SMALF001:~# ps -cafe | grep alfresco
postgres 1269 1 TS 19 12:56 ? 00:00:00 /opt/alfresco-4.0.d/postgresql/bin/postgres -D /opt/alfresco-4.0.d/alf_data/postgresql -p 5432
root 1823 1 TS 19 12:56 ? 00:08:48 /opt/alfresco-4.0.d/java/bin/java -Djava.util.logging.config.file=/opt/alfresco-4.0.d/tomcat/conf/logging.properties -XX:MaxPermSize=512m -Xms128m -Xmx1024m -XX:-DisableExplicitGC -Dalfresco.home=/opt/alfresco-4.0.d -Dcom.sun.management.jmxremote -Dsun.security.ssl.allowUnsafeRenegotiation=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/alfresco-4.0.d/tomcat/endorsed -classpath /opt/alfresco-4.0.d/tomcat/bin/bootstrap.jar -Dcatalina.base=/opt/alfresco-4.0.d/tomcat -Dcatalina.home=/opt/alfresco-4.0.d/tomcat -Djava.io.tmpdir=/opt/alfresco-4.0.d/tomcat/temp org.apache.catalina.startup.Bootstrap start
postgres 1862 1269 TS 19 12:57 ? 00:00:00 postgres: alfresco alfresco 127.0.0.1(40304) idle
postgres 1863 1269 TS 19 12:57 ? 00:00:00 postgres: alfresco alfresco 127.0.0.1(40305) idle
postgres 1864 1269 TS 19 12:57 ? 00:00:00 postgres: alfresco alfresco 127.0.0.1(40306) idle
postgres 1865 1269 TS 19 12:57 ? 00:00:00 postgres: alfresco alfresco 127.0.0.1(40307) idle
postgres 1866 1269 TS 19 12:57 ? 00:00:01 postgres: alfresco alfresco 127.0.0.1(40308) idle
postgres 1867 1269 TS 19 12:57 ? 00:00:04 postgres: alfresco alfresco 127.0.0.1(40309) idle
postgres 1868 1269 TS 19 12:57 ? 00:00:07 postgres: alfresco alfresco 127.0.0.1(40310) idle
postgres 1869 1269 TS 19 12:57 ? 00:00:30 postgres: alfresco alfresco 127.0.0.1(40311) idle
postgres 1870 1269 TS 19 12:57 ? 00:00:06 postgres: alfresco alfresco 127.0.0.1(40312) idle
root 1929 1823 TS 19 12:58 ? 00:00:01 /opt/alfresco-4.0.d/openoffice/program/soffice.bin -accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:///opt/alfresco-4.0.d/alf_data/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestore
root 2485 2454 TS 19 14:29 pts/2 00:00:00 grep alfresco
root@SMALF001:~#
Je ne sais pas si ce process openoffice était requis mais en tout cas, bien que je détestant régler quelque chose que je ne comprends pas à "coup de reboot", je dois bien avouer que parfois ca aide… ops: 12:39:23,293 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
12:39:23,407 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
12:40:16,614 WARN [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
12:40:38,427 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
12:40:38,428 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
12:40:38,446 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:169)
at sun.rmi.transport.Transport.exportObject(Transport.java:74)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:229)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:68)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:222)
at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:371)
at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:336)
at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:268)
at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:229)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
… 37 more
12:40:55,996 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:40:56,123 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
12:40:56,125 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:40:56,133 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
12:41:00,036 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
12:41:00,036 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
12:41:00,036 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
12:41:00,812 INFO [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 4669.9727ms)
12:41:00,827 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:41:00,835 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
12:46:05,053 INFO [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 404
Toujours les même erreurs:
…
12:40:16,614 WARN [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
…
12:40:38,446 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
…
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
…
12:46:05,053 INFO [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 404
Mais apparemment, ce n'est pas ça qui m'empêchait de me logguer…02-09-2012 10:04 AM
Vous parlez bien du fichier alfresco-global.properties ??? Ou l'auriez vous vu "passer" dans un log ?
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0
02-09-2012 10:29 AM
12:40:38,446 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
…
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
02-09-2012 10:37 AM
Pour votre problème de rmi, évitez (dans un premier temps) de redéfinir les ports utilisés.
Commentez les lignes suivantes dans votre fichier alfresco-global.properties pour conserver les réglages par défaut :
16:24:50,989 WARN [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
16:25:24,183 WARN [org.alfresco.fileserver] CIFS, Unable to get local domain/workgroup name, using default of WORKGROUP. This may be due to firewall settings or incorrect <broadcast> setting)
16:25:39,266 WARN [org.springframework.extensions.webscripts.DeclarativeRegistry] Unable to register script classpath:webscripts/org/springframework/extensions/cmis/content.get.desc.xml due to error: 01090000 Web Script document org/springframework/extensions/cmis/content.get.desc.xml is attempting to define the url '/cmis/content:GET' already defined by org/alfresco/cmis/client/content.get.desc.xml
mais aussi des messages de DEBUG:16:25:18,232 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Started module 'ModuleDetails[{module.version=1.2, module.description=Alfresco Vti Extension, module.id=org.alfresco.module.vti, module.repo.version.max=999, module.title=Vti, module.repo.version.min=0, module.installState=INSTALLED, module.installDate=2012-02-09T09:37:47.395+01:00}]' including 0components.
16:25:18,248 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Installed module found in distribution: org.alfresco.module.vti
Et maintenant, le message de license est nettement plus sympa:16:27:36,779 INFO [org.alfresco.web.site.EditionInterceptor] Successfully retrieved license information from Alfresco.
Je vais pouvoir maintenant m'attaquer à la partie LDAP et https …02-09-2012 10:44 AM
02-09-2012 10:50 AM
Vous n'avez pas une base postgresql qui est déjà active sur le même port.Non, uniquement la base qui a été pré-installée avec Alfresco.
Pour ces messages :12:40:38,446 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
…
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
je vous renvoie à cette adresse :
http://forums.alfresco.com/en/viewtopic.php?f=8&t=16898
ou sinon à cette recherche :
https://www.google.com/search?q=internal+error%3A+ObjID+already+in+use&ie=utf-8&oe=utf-8&aq=t&rls=or...
bonne lecture …
root@SMALF001:/opt/alfresco-4.0.d# netstat -latupn | grep LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1229/inetd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1229/inetd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 910/portmap
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1811/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 29982/postgres
tcp 0 0 0.0.0.0:41848 0.0.0.0:* LISTEN 922/rpc.statd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1744/exim4
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 1229/inetd
tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN 30105/soffice.bin
tcp6 0 0 :::50506 :::* LISTEN 30002/java
tcp6 0 0 :::139 :::* LISTEN 30002/java
tcp6 0 0 :::50508 :::* LISTEN 30002/java
tcp6 0 0 :::8080 :::* LISTEN 30002/java
tcp6 0 0 :::45171 :::* LISTEN 30002/java
tcp6 0 0 :::21 :::* LISTEN 30002/java
tcp6 0 0 :::22 :::* LISTEN 1811/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1744/exim4
tcp6 0 0 :::8443 :::* LISTEN 30002/java
tcp6 0 0 :::445 :::* LISTEN 30002/java
tcp6 0 0 :::7070 :::* LISTEN 30002/java
tcp6 0 0 :::49374 :::* LISTEN 30002/java
tcp6 0 0 :::50500 :::* LISTEN 30002/java
tcp6 0 0 127.0.0.1:8005 :::* LISTEN 30002/java
tcp6 0 0 :::50501 :::* LISTEN 30002/java
tcp6 0 0 :::50502 :::* LISTEN 30002/java
tcp6 0 0 :::50504 :::* LISTEN 30002/java
tcp6 0 0 :::8009 :::* LISTEN 30002/java
tcp6 0 0 :::50505 :::* LISTEN 30002/java
root@SMALF001:/opt/alfresco-4.0.d#
Peut-être un range de ports par défaut paramétré dans Debian, quelque part ?04-17-2012 11:45 AM
Plusieurs causes "classiques:"
- Vous avez encore une JVM qui tourne dans un coin
- et/ou votre fichier hosts est incorrect vis à vis de votre connexion réseau
04-23-2012 08:18 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.