« Back

Helios SR2 and Liferay IDE 1.2.1

Company Blogs February 25, 2011 By Gregory Amerson Staff

Hello everyone,

*See Update *

I just noticed that Eclipse has released Eclipse Helios SR2 (3.6.2).  Also last week we released a bug fix release for Liferay IDE 1.2.1.  Unfortunately I have just verified that the latest Eclipse release (3.6.2 and WTP 3.2.3) is not compatible with Liferay IDE 1.2.1 (as well as previous versions).  If you upgrade to Helios SR2 there will be a new blocking issue introduced during publishing of projects (deployment) that will cause it to fail.  There is no workaround that I know of at this time other than to use Plugins SDK deployment via "ant deploy" build.  

This issue can be fixed but it wont be available until next week, Monday at the earliest.  Sorry for the inconveince.

*Update*  Version 1.2.2 has been released that contains a fix for the previous incompatibility..  So just "Check for updates..." to get the latest version.

 

Threaded Replies Author Date
Greg, Thanks for keeping the community aware... Ahamed Hasan February 26, 2011 2:02 PM
Hi Ahmed, I am new to Liferay. How to create... Suresh Chinna Pillai March 1, 2011 4:33 AM
Hi Suresh, There is inbuilt option in liferay... Jignesh Vachhani March 1, 2011 5:04 AM
Hi Jignesh, Thank you for your reply. I want... Suresh Chinna Pillai March 1, 2011 7:57 AM
Hi Jignesh, I am using Apache Directory Server... Suresh Chinna Pillai March 1, 2011 11:37 PM
:) Yuliya Lebedeva March 2, 2011 12:58 AM
Hi all, I solved my issue by... Suresh Chinna Pillai March 4, 2011 4:12 AM
Any body has any doubts just hit me a mail at... Suresh Chinna Pillai March 4, 2011 4:13 AM

Greg,

Thanks for keeping the community aware of the risk of upgrading their helios SR2. Will wait for a quick fix in IDE 1.2.1 to make it compatible with this new release.
Posted on 2/26/11 2:02 PM.
Hi Ahmed,

I am new to Liferay.

How to create ldap users using liferay API?

Please help me..

Thanks,
-Suresh.
Posted on 3/1/11 4:33 AM in reply to Ahmed Hasan.
Hi Suresh,

There is inbuilt option in liferay to export the user into LDAP.
So by making export enable you can create ldap user.
Hope this is the answer
Posted on 3/1/11 5:04 AM in reply to Suresh Chinna Pillai.
Hi Jignesh,

Thank you for your reply.

I want to add a user to the LDAP server using the Liferay API.

Could you please provide any suggestions how can I acheive this?

Thanks,
-Suresh.
Posted on 3/1/11 7:57 AM in reply to Jignesh Vachhani.
Hi Jignesh,

I am using Apache Directory Server to integrate with Liferay.The default admin user "uid=admin,ou=system" and the password "secret". When I try to connect to the apache dirtory server from the JXplorer or Apache Directory Studio it throws the following error:

"The authentication failed
- [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system]
javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.reconnect(Unknown Source)
at javax.naming.ldap.InitialLdapContext.reconnect(Unknown Source)
at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$7.run(­JNDIConnectionWrapper.java:1055)
at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAnd­Monitor(JNDIConnectionWrapper.java:1272)
at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind­(JNDIConnectionWrapper.java:1065)
at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(J­NDIConnectionWrapper.java:254)
at org.apache.directory.studio.connection.core.jobs.CheckBindRunnable.run(CheckBind­Runnable.java:80)
at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableCo­ntextRunner.java:123)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.jav­a:121)

[LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system]
"

Can you know why this exception appears?

Please help me..

Thanks,
-Suresh.
Posted on 3/1/11 11:37 PM in reply to Jignesh Vachhani.
Posted on 3/2/11 12:58 AM.
Hi all,

I solved my issue by configuring via portal-ext.properties.
When we configured liferay to integrate with LDAP via portal-ext.properties. The users & groups automatically added to the LDAP server also.
Posted on 3/4/11 4:12 AM in reply to Yuliya Lebedeva.
Any body has any doubts just hit me a mail
at "acm_7888@yahoo.com"

Thanks,
-Suresh.
Posted on 3/4/11 4:13 AM in reply to Suresh Chinna Pillai.