構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
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/01/27 12:59
RE: Alfresco Share in Liferay, login problem Jakub Liska 2011/02/28 11:36
RE: Alfresco Share in Liferay, login problem Jakub Liska 2011/02/28 12:15
RE: Alfresco Share in Liferay, login problem Jakub Liska 2011/02/28 14:05
RE: Alfresco Share in Liferay, login problem Alexander Chow 2011/03/16 3:49
RE: Alfresco Share in Liferay, login problem Jakub Liska 2011/03/16 4:19
RE: Alfresco Share in Liferay, login problem Alexander Chow 2011/03/16 4:56
RE: Alfresco Share in Liferay, login problem Hajri Mohamed 2011/04/21 10:42
RE: Alfresco Share in Liferay, login problem Kamesh Sampath 2011/05/28 5:08
RE: Alfresco Share in Liferay, login problem Hajri Mohamed 2011/06/09 5:28
RE: Alfresco Share in Liferay, login problem Kamesh Sampath 2011/07/09 0:57
RE: Alfresco Share in Liferay, login problem Avinash Vutukuri 2011/09/08 14:32
RE: Alfresco Share in Liferay, login problem Basanagowda Patil 2011/09/14 7:18
RE: Alfresco Share in Liferay, login problem Andreas van de Valk 2011/12/04 8:06
RE: Alfresco Share in Liferay, login problem Holger Wesser 2012/02/04 10:51
RE: Alfresco Share in Liferay, login problem sheela mk 2012/07/12 3:35
RE: Alfresco Share in Liferay, login problem Marianandan Arockiasamy 2014/08/20 20:40
RE: Alfresco Share in Liferay, login problem Manuel Hoyos 2013/08/01 2:31
RE: Alfresco Share in Liferay, login problem jhansi annamaneni 2014/07/10 23:11
RE: Alfresco Share in Liferay, login problem Marianandan Arockiasamy 2014/08/20 23:29
Ricardo Vieira
Alfresco Share in Liferay, login problem
2010/11/24 10:36
答え

Ricardo Vieira

ランク: Junior Member

投稿: 39

参加年月日: 2010/08/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/08/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/01/27 12:59
答え

Drew Blessing

ランク: Junior Member

投稿: 79

参加年月日: 2011/01/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/02/28 11:36
答え

Jakub Liska

ランク: Regular Member

投稿: 187

参加年月日: 2010/03/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/02/28 12:15
答え

Jakub Liska

ランク: Regular Member

投稿: 187

参加年月日: 2010/03/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/02/28 14:05
答え

Jakub Liska

ランク: Regular Member

投稿: 187

参加年月日: 2010/03/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/03/16 3:49
答え

Alexander Chow

LIFERAY STAFF

ランク: Liferay Master

投稿: 519

参加年月日: 2005/07/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/03/16 4:19
答え

Jakub Liska

ランク: Regular Member

投稿: 187

参加年月日: 2010/03/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/03/16 4:56
答え

Alexander Chow

LIFERAY STAFF

ランク: Liferay Master

投稿: 519

参加年月日: 2005/07/19

最近の投稿

Thanks. I've updated your ticket.
Hajri Mohamed
RE: Alfresco Share in Liferay, login problem
2011/04/21 10:42
答え

Hajri Mohamed

ランク: Junior Member

投稿: 71

参加年月日: 2011/03/02

最近の投稿

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/05/28 5:08
答え

Kamesh Sampath

ランク: Regular Member

投稿: 159

参加年月日: 2010/05/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/06/09 5:28
答え

Hajri Mohamed

ランク: Junior Member

投稿: 71

参加年月日: 2011/03/02

最近の投稿

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/07/09 0:57
答え

Kamesh Sampath

ランク: Regular Member

投稿: 159

参加年月日: 2010/05/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/09/08 14:32
答え

Avinash Vutukuri

ランク: New Member

投稿: 18

参加年月日: 2011/07/07

最近の投稿

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/09/14 7:18
答え

Basanagowda Patil

ランク: New Member

投稿: 4

参加年月日: 2011/04/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/04 8:06
答え

Andreas van de Valk

ランク: New Member

投稿: 1

参加年月日: 2011/12/04

最近の投稿

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/02/04 10:51
答え

Holger Wesser

ランク: New Member

投稿: 2

参加年月日: 2011/07/01

最近の投稿

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/07/12 3:35
答え

sheela mk

ランク: Regular Member

投稿: 111

参加年月日: 2012/02/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/08/20 20:40
答え

Marianandan Arockiasamy

ランク: New Member

投稿: 2

参加年月日: 2011/04/09

最近の投稿

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/08/01 2:31
答え

Manuel Hoyos

ランク: Junior Member

投稿: 49

参加年月日: 2012/06/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/07/10 23:11
答え

jhansi annamaneni

ランク: New Member

投稿: 3

参加年月日: 2014/06/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/08/20 23:29
答え

Marianandan Arockiasamy

ランク: New Member

投稿: 2

参加年月日: 2011/04/09

最近の投稿

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