cancel
Showing results for 
Search instead for 
Did you mean: 

Integrate Doclib Portlet in Liferay

peter88
Champ in-the-making
Champ in-the-making
Hello,
I'm not good in english but i will try to explain my my problem

I have done  this tutorial in wiki http://wiki.alfresco.com/wiki/Doclib_Portlet but in the step wich il want to start the servers simultaniously
first tomact alfresco after liferay tomcat (this no the same ports liferay 8180 and alfresco 8080)

but they don't start both if alfresco start i can't start liferay and if liferay start i alfresco can't start

please help

its hard to speack english, i hope that its clear Smiley Happy
7 REPLIES 7

bisana
Champ on-the-rise
Champ on-the-rise
I think by default, alfresco and liferay has the same port no 8080
ie  why it is not starting
You can try out giving, a different port no  for one of it and try

peter88
Champ in-the-making
Champ in-the-making
tks for the reponse,

yes i m given the port 8080 for alfresco (the default) and liferay 8180 its not the same port

but no result !!!

bisana
Champ on-the-rise
Champ on-the-rise
can you post the catalina.out in the lifreray instance, we need to check the liferay log files, since it is failing
can you please post it using the code tag

peter88
Champ in-the-making
Champ in-the-making
ok
this my catalina log in the case witch Alfresci tomcat is running

5 juin 2012 09:26:41 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\jre1.6.0_20\win\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter\Driver;C:\Alfresco\bin;C:\apache-maven-2.0.8\bin;C:\Program Files (x86)\OpenLDAP\kfw\Binary
5 juin 2012 09:26:42 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8180"]
5 juin 2012 09:26:42 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
5 juin 2012 09:26:42 org.apache.coyote.AbstractProtocol init
GRAVE: Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8009"]
java.net.BindException: Address already in use: JVM_Bind <null>:8009
   at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:382)
   at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:553)
   at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:369)
   at org.apache.catalina.connector.Connector.initInternal(Connector.java:937)
   at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
   at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
   at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
   at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
   at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:573)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:598)
   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.load(Bootstrap.java:281)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:449)
Caused by: java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at java.net.ServerSocket.<init>(ServerSocket.java:141)
   at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
   at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:369)
   … 16 more
5 juin 2012 09:26:42 org.apache.catalina.core.StandardService initInternal
GRAVE: Failed to initialize connector [Connector[AJP/1.3-8009]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8009]]
   at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
   at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
   at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
   at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
   at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:573)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:598)
   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.load(Bootstrap.java:281)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:449)
Caused by: org.apache.catalina.LifecycleException: L''initialisation du gestionnaire de protocole a échoué
   at org.apache.catalina.connector.Connector.initInternal(Connector.java:939)
   at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
   … 12 more
Caused by: java.net.BindException: Address already in use: JVM_Bind <null>:8009
   at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:382)
   at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:553)
   at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:369)
   at org.apache.catalina.connector.Connector.initInternal(Connector.java:937)
   … 13 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at java.net.ServerSocket.<init>(ServerSocket.java:141)
   at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
   at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:369)
   … 16 more
5 juin 2012 09:26:42 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 676 ms
5 juin 2012 09:26:42 org.apache.catalina.core.StandardService startInternal
INFO: Démarrage du service Catalina
5 juin 2012 09:26:42 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
5 juin 2012 09:26:42 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\conf\Catalina\localhost\ROOT.xml
5 juin 2012 09:27:44 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\chat-portlet de l'application web
5 juin 2012 09:27:47 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\google-maps-portlet de l'application web
5 juin 2012 09:27:49 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\kaleo-web de l'application web
5 juin 2012 09:27:57 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\knowledge-base-portlet de l'application web
5 juin 2012 09:28:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\mail-portlet de l'application web
5 juin 2012 09:28:23 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\opensocial-portlet de l'application web
5 juin 2012 09:28:45 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\sevencogs-hook de l'application web
5 juin 2012 09:28:47 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\sevencogs-theme de l'application web
5 juin 2012 09:28:48 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\share de l'application web
5 juin 2012 09:29:50 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\social-networking-portlet de l'application web
5 juin 2012 09:29:56 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\web-form-portlet de l'application web
5 juin 2012 09:29:58 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire C:\Liferay\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\wsrp-portlet de l'application web
5 juin 2012 09:30:02 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8180"]
5 juin 2012 09:30:02 org.apache.catalina.startup.Catalina start
INFO: Server startup in 200331 ms
5 juin 2012 09:30:02 org.apache.catalina.core.StandardServer await
GRAVE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at org.apache.catalina.core.StandardServer.await(StandardServer.java:422)
   at org.apache.catalina.startup.Catalina.await(Catalina.java:706)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:652)
   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:322)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
5 juin 2012 09:30:02 org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8180"]
5 juin 2012 09:30:02 org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
5 juin 2012 09:30:02 org.apache.catalina.core.StandardService stopInternal
INFO: Arrêt du service Catalina
5 juin 2012 09:30:19 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
GRAVE: The web application [/share] created a ThreadLocal with key of type [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@fb860a]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@11cfc0d]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
5 juin 2012 09:30:19 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
GRAVE: The web application [/share] created a ThreadLocal with key of type [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@1e7e20e]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@aa42a2]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
5 juin 2012 09:30:19 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
GRAVE: The web application [/share] created a ThreadLocal with key of type [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@1fca654]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@bfed9]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
5 juin 2012 09:30:23 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/opensocial-portlet] appears to have started a thread named [com.google.inject.internal.Finalizer] but has failed to stop it. This is very likely to create a memory leak.
5 juin 2012 09:30:23 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
GRAVE: The web application [/opensocial-portlet] created a ThreadLocal with key of type [org.apache.shindig.common.xml.XmlUtil$2] (value [org.apache.shindig.common.xml.XmlUtil$2@19a515e]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@53f324]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
5 juin 2012 09:30:23 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
GRAVE: The web application [/opensocial-portlet] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@17fde66]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1e22a7e]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
5 juin 2012 09:30:27 org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8180"]
5 juin 2012 09:30:27 org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8180"]
5 juin 2012 09:30:27 org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
5 juin 2012 09:30:27 org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]

bisana
Champ on-the-rise
Champ on-the-rise
see this part in your log file
java.net.BindException: Address already in use: JVM_Bind <null>:8009
you can try modifying the liferay, tomcat port no
by reading this dos
https://help.ubuntu.com/10.04/serverguide/tomcat.html

peter88
Champ in-the-making
Champ in-the-making
yes it works both now think you so much

but after adding the pritlets to liferay il see this errors
[img]https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-prn1/560203_4098807595458_433041945_n.jpg[/img]

i don't intderestend what is?

peter88
Champ in-the-making
Champ in-the-making
please help me!!
Getting started

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.