组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Alfresco Share in Liferay, login problem Ricardo Vieira 2010年11月24日 上午10:36
RE: Alfresco Share in Liferay, login problem Ricardo Vieira 2010年11月25日 上午6:38
RE: Alfresco Share in Liferay, login problem mirek bin 2010年12月21日 上午5:02
RE: Alfresco Share in Liferay, login problem Drew Blessing 2011年1月27日 下午12:59
RE: Alfresco Share in Liferay, login problem Jakub Liska 2011年2月28日 上午11:36
RE: Alfresco Share in Liferay, login problem Jakub Liska 2011年2月28日 下午12:15
RE: Alfresco Share in Liferay, login problem Jakub Liska 2011年2月28日 下午2:05
RE: Alfresco Share in Liferay, login problem Alexander Chow 2011年3月16日 上午3:49
RE: Alfresco Share in Liferay, login problem Jakub Liska 2011年3月16日 上午4:19
RE: Alfresco Share in Liferay, login problem Alexander Chow 2011年3月16日 上午4:56
RE: Alfresco Share in Liferay, login problem Hajri Mohamed 2011年4月21日 上午10:42
RE: Alfresco Share in Liferay, login problem Kamesh Sampath 2011年5月28日 上午5:08
RE: Alfresco Share in Liferay, login problem Hajri Mohamed 2011年6月9日 上午5:28
RE: Alfresco Share in Liferay, login problem Kamesh Sampath 2011年7月9日 上午12:57
RE: Alfresco Share in Liferay, login problem Avinash Vutukuri 2011年9月8日 下午2:32
RE: Alfresco Share in Liferay, login problem Basanagowda Patil 2011年9月14日 上午7:18
RE: Alfresco Share in Liferay, login problem Andreas van de Valk 2011年12月4日 上午8:06
RE: Alfresco Share in Liferay, login problem Holger Wesser 2012年2月4日 上午10:51
RE: Alfresco Share in Liferay, login problem sheela mk 2012年7月12日 上午3:35
RE: Alfresco Share in Liferay, login problem Marianandan Arockiasamy 2014年8月20日 下午8:40
RE: Alfresco Share in Liferay, login problem Manuel Hoyos 2013年8月1日 上午2:31
RE: Alfresco Share in Liferay, login problem jhansi annamaneni 2014年7月10日 下午11:11
RE: Alfresco Share in Liferay, login problem Marianandan Arockiasamy 2014年8月20日 下午11:29
Ricardo Vieira
Alfresco Share in Liferay, login problem
2010年11月24日 上午10:36
答复

Ricardo Vieira

等级: Junior Member

帖子: 39

加入日期: 2010年8月16日

最近的帖子

Hi all,

I'm trying to use alfrescos portlets in liferay, my setup is:

Alfresco 3.4.a tomcat 6
Liferay 6.0.4 tomcat 6

alfresco and liferay are in separate tomcats

I followed this wiki:
http://wiki.alfresco.com/wiki/Portlets

thing is, I had to change the alfresco port from 8080 to other, 9181 in this case.

I got alfresco to work, the web client, and alfresco share working too, but when I add the alfresco portlets to liferay i get this error:

 118:25:22,378 ERROR [PortletRequestDispatcherImpl:136] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.UserFactoryException: Unable to retrieve user from repository
 2org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.UserFactoryException: Unable to retrieve user from repository
 3        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:659)
 4        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
 5        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 6        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 7        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 8        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 9        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
10        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
11        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
12        at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:315)
13        at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:133)
14        at org.alfresco.web.portlet.ProxyPortlet.renderRequest(ProxyPortlet.java:290)
15        at org.alfresco.web.portlet.ProxyPortlet.doView(ProxyPortlet.java:198)
16        at org.alfresco.web.portlet.ProxyPortlet.render(ProxyPortlet.java:108)
17        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)
18        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
19        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
20        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
21        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
22        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
23        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
24        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
25        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
26        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:628)
27        at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:713)
28        at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:424)
29        at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source)
30        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
31        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
32        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
33        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
34        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
35        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
36        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
37        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
38        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
39        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
40        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
41        at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:3647)
42        at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1164)
43....


Im using the default user in liferay and created one in alfresco, but still I keep getting this, ive searched for an answer but I cant seem to solve this emoticon

If anyone has any idea on how to solve this, pls help

tnx in advance emoticon
Ricardo Vieira
RE: Alfresco Share in Liferay, login problem
2010年11月25日 上午6:38
答复

Ricardo Vieira

等级: Junior Member

帖子: 39

加入日期: 2010年8月16日

最近的帖子

problem solved, i didnt had the shared/classes/alfresco/web-extension/share-config-custom.xml with the correct changes :S
mirek bin
RE: Alfresco Share in Liferay, login problem
2010年12月21日 上午5:02
答复

mirek bin

等级: New Member

帖子: 1

加入日期: 2010年12月21日

最近的帖子

hello ricardo

can you write out, how did you solve the problem? i am facing the same one (alfresco-3.4.b, liferay-portal-6.0.5) and i can't make both working because of mentioned User retrieval problem :-(

many thanks for the answer

mirek
Drew Blessing
RE: Alfresco Share in Liferay, login problem
2011年1月27日 下午12:59
答复

Drew Blessing

等级: Junior Member

帖子: 79

加入日期: 2011年1月27日

最近的帖子

I am having the same problem, except I am positive (almost sure based on wiki's) that my share-config-custom.xml is correct. Can you post what you have for that file?
Jakub Liska
RE: Alfresco Share in Liferay, login problem
2011年2月28日 上午11:36
答复

Jakub Liska

等级: Regular Member

帖子: 187

加入日期: 2010年3月25日

最近的帖子

Same problem here,

alfresco 9090, liferay 8080,

share-config-custom.xml

I just uncommented the last config and changed port numbers to alfreso endpoints.

 1   <config evaluator="string-compare" condition="Remote">
 2      <remote>
 3         <endpoint>
 4            <id>alfresco-noauth</id>
 5            <name>Alfresco - unauthenticated access</name>
 6            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
 7            <connector-id>alfresco</connector-id>
 8            <endpoint-url>http://localhost:9090/alfresco/s</endpoint-url>
 9            <identity>none</identity>
10         </endpoint>
11
12         <endpoint>
13            <id>alfresco</id>
14            <name>Alfresco - user access</name>
15            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
16            <connector-id>alfresco</connector-id>
17            <endpoint-url>http://localhost:9090/alfresco/s</endpoint-url>
18            <identity>user</identity>
19         </endpoint>
20
21         <endpoint>
22            <id>alfresco-feed</id>
23            <name>Alfresco Feed</name>
24            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
25            <connector-id>http</connector-id>
26            <endpoint-url>http://localhost:9090/alfresco/s</endpoint-url>
27            <basic-auth>true</basic-auth>
28            <identity>user</identity>
29         </endpoint>
30      </remote>
31   </config>



I also added these two lines in the alfresco-global.properties

1
2authentication.chain=alfrescoNtlm1:alfrescoNtlm,external1:external
3external.authentication.proxyUserName=
Jakub Liska
RE: Alfresco Share in Liferay, login problem
2011年2月28日 下午12:15
答复

Jakub Liska

等级: Regular Member

帖子: 187

加入日期: 2010年3月25日

最近的帖子

The solution consisted in adding "<external-auth> true </external-auth>" line...

 1
 2         <endpoint>
 3            <id>alfresco</id>
 4            <name>Alfresco - user access</name>
 5            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
 6            <connector-id>alfresco</connector-id>
 7            <endpoint-url>http://localhost:9090/alfresco/s</endpoint-url>
 8            <identity>user</identity>
 9        <external-auth> true </external-auth>
10         </endpoint>


But I have another problem I can't solve
 1
 2
 3ERROR [InvokerFilter:128] java.lang.SecurityException: Unable to locate a login configuration
 4java.lang.SecurityException: Unable to locate a login configuration
 5        at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:93)
 6        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 7        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 8        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 9        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
10        at java.lang.Class.newInstance0(Class.java:355)
11        at java.lang.Class.newInstance(Class.java:308)
12        at javax.security.auth.login.Configuration$3.run(Configuration.java:246)
13        at java.security.AccessController.doPrivileged(Native Method)
14        at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:241)
15        at javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
16        at java.security.AccessController.doPrivileged(Native Method)
17        at javax.security.auth.login.LoginContext.init(LoginContext.java:234)
18        at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
19        at org.alfresco.web.site.servlet.SSOAuthenticationFilter.init(SSOAuthenticationFilter.java:246)
20        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.initFilter(InvokerFilterHelper.java:188)
21        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.readLiferayFilterWebXML(InvokerFilterHelper.java:263)
22        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.init(InvokerFilter.java:96)
23        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
24        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
25        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
26        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3838)
27        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)
28        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
29        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
30        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
31        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
32        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
33        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
34        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
35        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
36        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
37        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
38        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
39        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
40        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
41        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
42        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
43        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
44        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
45        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
46        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
47        at java.lang.reflect.Method.invoke(Method.java:597)
48        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
49        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
50Caused by: java.io.IOException: Unable to locate a login configuration
51        at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:250)
52        at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:91)
53        ... 44 more
Jakub Liska
RE: Alfresco Share in Liferay, login problem
2011年2月28日 下午2:05
答复

Jakub Liska

等级: Regular Member

帖子: 187

加入日期: 2010年3月25日

最近的帖子

Ok, finally I got rid of the login issue, and this one is back
1
2Caused by: org.springframework.extensions.surf.exception.UserFactoryException: Unable to create user - failed to retrieve user metadata:
3        at org.springframework.extensions.surf.support.AlfrescoUserFactory.loadUser(AlfrescoUserFactory.java:177)




share-config-custom.xml
 1
 2
 3<alfresco-config>
 4   
 5   <config evaluator="string-compare" condition="Remote">
 6      <remote>
 7         <endpoint>
 8            <id>alfresco-noauth</id>
 9            <name>Alfresco - unauthenticated access</name>
10            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
11            <connector-id>alfresco</connector-id>
12            <endpoint-url>http://localhost:9090/alfresco/s</endpoint-url>
13            <identity>none</identity>
14         </endpoint>
15
16         <endpoint>
17            <id>alfresco</id>
18            <name>Alfresco - user access</name>
19            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
20            <connector-id>alfresco</connector-id>
21            <endpoint-url>http://localhost:9090/alfresco/s</endpoint-url>
22            <identity>user</identity>
23        <external-auth> true </external-auth>
24         </endpoint>
25
26         <endpoint>
27            <id>alfresco-feed</id>
28            <name>Alfresco Feed</name>
29            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
30            <connector-id>http</connector-id>
31            <endpoint-url>http://localhost:9090/alfresco/s</endpoint-url>
32            <basic-auth>true</basic-auth>
33            <identity>user</identity>
34         </endpoint>
35      </remote>
36   </config>
37   
38</alfresco-config>
Alexander Chow
RE: Alfresco Share in Liferay, login problem
2011年3月16日 上午3:49
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

Have you tried posting this on Alfresco's forums? This seems like it is more an Alfresco issue than a Liferay one.

http://forums.alfresco.com/en/viewtopic.php?f=47&t=34661
http://www.youtube.com/watch?v=ypw7oCjUPKo
Jakub Liska
RE: Alfresco Share in Liferay, login problem
2011年3月16日 上午4:19
答复

Jakub Liska

等级: Regular Member

帖子: 187

加入日期: 2010年3月25日

最近的帖子

At the beginning I didn't know it works only with Liferay 5.2.3 ... I figured that out after some time and I gave up on deploying alfresco share on Liferay 6.1.x ...Though it worked for me on LR 5.2.3 ... Thank you
Alexander Chow
RE: Alfresco Share in Liferay, login problem
2011年3月16日 上午4:56
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

Thanks. I've updated your ticket.
Hajri Mohamed
RE: Alfresco Share in Liferay, login problem
2011年4月21日 上午10:42
答复

Hajri Mohamed

等级: Junior Member

帖子: 71

加入日期: 2011年3月2日

最近的帖子

liferay 6.0.5 with Alfresco (3.4 community) share working very well in separate tomcat, who want some help can just say it
Kamesh Sampath
RE: Alfresco Share in Liferay, login problem
2011年5月28日 上午5:08
答复

Kamesh Sampath

等级: Regular Member

帖子: 159

加入日期: 2010年5月26日

最近的帖子

Hi Hajri,

I am still not able to connect Alfresco Share with Liferay with the configuration mentioned and discussed above. I am still getting Unable to retrieve the user error

Can you please let know how did you make it working for Alfresco 3.4 and Liferay 6.0.5, am using Liferay 6.0.5 and Alfresco Community 3.4.c

Thanks.
Kamesh
Hajri Mohamed
RE: Alfresco Share in Liferay, login problem
2011年6月9日 上午5:28
答复

Hajri Mohamed

等级: Junior Member

帖子: 71

加入日期: 2011年3月2日

最近的帖子

this is my share-config-custom.xml
 1<alfresco-config>
 2  <config evaluator="string-compare" condition="Remote">
 3    <remote>
 4
 5      <endpoint>
 6        <id>alfresco-noauth</id>
 7        <name>Alfresco - unauthenticated access</name>
 8        <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
 9        <connector-id>alfresco</connector-id>
10        <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
11        <identity>none</identity>
12      </endpoint>
13
14      <endpoint>
15        <id>alfresco-feed</id>
16        <name>Alfresco Feed</name>
17        <description>Alfresco Feed - supports basic HTTP authentication</description>
18        <connector-id>http</connector-id>
19        <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
20        <basic-auth>true</basic-auth>
21        <identity>user</identity>
22      </endpoint>
23
24      <connector>
25        <id>alfrescoCookie</id>
26        <name>Alfresco Connector</name>
27        <description>Connects to an Alfresco instance using cookie-based authentication</description>
28        <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class>
29      </connector>
30
31      <endpoint>
32        <id>alfresco</id>
33        <name>Alfresco - user access</name>
34        <description>Access to Alfresco Repository WebScripts that require user authentication</description>
35        <connector-id>alfrescoCookie</connector-id>
36        <endpoint-url>http://localhost:8080/alfresco/wcs</endpoint-url>
37        <identity>user</identity>
38        <external-auth>true</external-auth>
39      </endpoint>
40
41    </remote>
42  </config>
43
44</alfresco-config>

and be sure to create a user in alfresco with the same password as liferay portal
another think, in alfresco-global.properties add this

# Enable external authentification for portlets ----Added
authentication.chain=alfrescoNtlm1:alfrescoNtlm,external1:external
external.authentication.proxyUserName=

fially , this is a link to a tuto that helped me much
alfresco tuto

regards
Kamesh Sampath
RE: Alfresco Share in Liferay, login problem
2011年7月9日 上午12:57
答复

Kamesh Sampath

等级: Regular Member

帖子: 159

加入日期: 2010年5月26日

最近的帖子

Thanks it worked emoticon,

I also found another thing when we try to login to Liferay form the same browser window/tab in which you have logged in as alfresco user, it gives the same user repository error, i guess the "alfrescoCookie" is having that effect. the same does work if we try to two different browser windows.
Avinash Vutukuri
RE: Alfresco Share in Liferay, login problem
2011年9月8日 下午2:32
答复

Avinash Vutukuri

等级: New Member

帖子: 18

加入日期: 2011年7月7日

最近的帖子

Thanks, Its working fine for me. Now I am able to share the documents from alfresco to liferay. But I am not sure how to use this content and publish it to the pages. Please let me know how can I use this content in a structure as we use the regular liferay document library content and publish it using web content display?
Basanagowda Patil
RE: Alfresco Share in Liferay, login problem
2011年9月14日 上午7:18
答复

Basanagowda Patil

等级: New Member

帖子: 4

加入日期: 2011年4月12日

最近的帖子

Hi,
I am able to achieve this but struggling to do SSO integration.
Any thoughts how to do it?

Thanks,
Patil
Andreas van de Valk
RE: Alfresco Share in Liferay, login problem
2011年12月4日 上午8:06
答复

Andreas van de Valk

等级: New Member

帖子: 1

加入日期: 2011年12月4日

最近的帖子

Hallo!

I am a newbie: Tomcat, Java, Alfresco and Liferay....

Using Liferay 6.1 CE (Tomcat 7) and Alfresco 4.0.b (Tomcat 6) on Debian 6.03. Both running without problems now. Logged in as the same user with identical password, email adress.I build a site "Alfresco" (1 column) in Liferay, added "Share My documents library".

My Problem is: Activating the site "Alfresco", shows the site but brings as result a popup "Alfreso Please login over your portal".

For me it looks like a problem from Alfresco. Maybe i am false.
Holger Wesser
RE: Alfresco Share in Liferay, login problem
2012年2月4日 上午10:51
答复

Holger Wesser

等级: New Member

帖子: 2

加入日期: 2011年7月1日

最近的帖子

Andreas van de Valk:

My Problem is: Activating the site "Alfresco", shows the site but brings as result a popup "Alfreso Please login over your portal".


Hi Andreas,
did you solve your problem? I'm facing the same issue and don't know how to handle this...
sheela mk
RE: Alfresco Share in Liferay, login problem
2012年7月12日 上午3:35
答复

sheela mk

等级: Regular Member

帖子: 111

加入日期: 2012年2月16日

最近的帖子

ya..I'm also facing the same problem..Pls..Anybody..Experts try out this..n tel us..

LR 6.1,Alfresco CE 4.0.d
Marianandan Arockiasamy
RE: Alfresco Share in Liferay, login problem
2014年8月20日 下午8:40
答复

Marianandan Arockiasamy

等级: New Member

帖子: 2

加入日期: 2011年4月9日

最近的帖子

There problem could be because of 2 reason.

Reason #1: Check your Alfresco service is running.

Reason #2: You might have opened Alfresco and Liferay Portal in the same host machine. The reason why I am telling this is because when both the applications are opened Liferay is trying to use the same session of alfresco, even though you have logged in as a different liferay user. Because of the role conflict with different user (1 in liferay and 1 in Alfresco) but both the application sharing the same alfresco session, you might end up with getting this problem. So make sure when you are running liferay application and having alfresco portlet in it, you should not try to open alfresco in the same machine enven if it is a different browser.

Regards
-Mari
Manuel Hoyos
RE: Alfresco Share in Liferay, login problem
2013年8月1日 上午2:31
答复

Manuel Hoyos

等级: Junior Member

帖子: 50

加入日期: 2012年6月10日

最近的帖子

I'm trying connect alfresco 3.4.17 ce with liferay 6.1 ce, alfresco and liferay are in diferents machine.

My share-config-custom.xml is:
<alfresco-config>
<config evaluator="string-compare" condition="Remote">
<remote>

<endpoint>
<id>alfresco-noauth</id>
<name>Alfresco - unauthenticated access</name>
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://alfrescopruebas.copv.junta-andalucia.es/alfresco/s</endpoint-url>
<identity>none</identity>
</endpoint>

<endpoint>
<id>alfresco-feed</id>
<name>Alfresco Feed</name>
<description>Alfresco Feed - supports basic HTTP authentication</description>
<connector-id>http</connector-id>
<endpoint-url>http://alfrescopruebas.copv.junta-andalucia.es/alfresco/s</endpoint-url>
<basic-auth>true</basic-auth>
<identity>user</identity>
</endpoint>

<connector>
<id>alfrescoCookie</id>
<name>Alfresco Connector</name>
<description>Connects to an Alfresco instance using cookie-based authentication</description>
<class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class>
</connector>

<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfrescoCookie</connector-id>
<endpoint-url>http://alfrescopruebas.copv.junta-andalucia.es/alfresco/wcs</endpoint-url>
<identity>user</identity>
<external-auth>true</external-auth>
</endpoint>

</remote>
</config>

</alfresco-config>

And the error is the next:

GRAVE: El Servlet.service() para servlet Spring Surf Dispatcher Servlet lanzó una excepción
org.springframework.extensions.surf.exception.UserFactoryException: Unable to create user - failed to retrieve user metadata:
at org.springframework.extensions.surf.support.AlfrescoUserFactory.loadUser(AlfrescoUserFactory.java:177)
at org.springframework.extensions.surf.support.AbstractUserFactory.initialiseUser(AbstractUserFactory.java:176)
at org.springframework.extensions.surf.support.AbstractUserFactory.initialiseUser(AbstractUserFactory.java:99)
at org.springframework.extensions.surf.RequestContextUtil.initialiseUser(RequestContextUtil.java:203)
at org.springframework.extensions.surf.RequestContextUtil.populateRequestContext(RequestContextUtil.java:176)
at org.springframework.extensions.surf.RequestContextUtil.populateRequestContext(RequestContextUtil.java:131)
at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.populateRequestContext(AbstractWebFrameworkView.java:349)
at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:259)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1060)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
etc.

Any Idea???
jhansi annamaneni
RE: Alfresco Share in Liferay, login problem
2014年7月10日 下午11:11
答复

jhansi annamaneni

等级: New Member

帖子: 3

加入日期: 2014年6月10日

最近的帖子

Hi i have successfully integarted alfresco into liferay.For the first time it has worked fine.Next day when i am trying to view alfresco portlet in liferay it is saying please login via your portal.Please help me out to solve the issue.
Marianandan Arockiasamy
RE: Alfresco Share in Liferay, login problem
2014年8月20日 下午11:29
答复

Marianandan Arockiasamy

等级: New Member

帖子: 2

加入日期: 2011年4月9日

最近的帖子

Hope the answer is helpful.
Has any one tried different approach?