Foros de discusión

User creation fails sometimes

Samita Bhujbal, modificado hace 11 años.

User creation fails sometimes

Regular Member Mensajes: 117 Fecha de incorporación: 5/07/11 Mensajes recientes
I am using liferay 6.0.6. I am developing web portal for which user registration service present.
I am programatically creating user using UserLocalServiceUtil.addUser() method.
Many times user gets created successfully. But sometimes user is nt creating. I am unable to get the exact reason behind this.
What are the possibilities behind failure of user creation?
thumbnail
Juhi Kumari, modificado hace 11 años.

RE: User creation fails sometimes

Expert Mensajes: 347 Fecha de incorporación: 12/12/11 Mensajes recientes
Hi,
Som many possibilities are ther like duplicate email address,duplicate screen name, etc.
Check your server log to know the exact reason.

Regards
Juhi
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: User creation fails sometimes

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
It's definitely a bug in your program. It should be doing error checking and writing errors to log files so you'll know the reason for the error.
thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: User creation fails sometimes

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
HI,

This is not a clear question to give the better solution.

would be great if you share the log file or let us know about the exception what you are getting while creating the user?

- Gnaniyar Zubair
Samita Bhujbal, modificado hace 11 años.

RE: User creation fails sometimes

Regular Member Mensajes: 117 Fecha de incorporación: 5/07/11 Mensajes recientes
It shows message "Portal user creation failed null" in server log. Nothing else it shows.........So I m not getting exact root cause of this issue.
Siby Mathew, modificado hace 11 años.

RE: User creation fails sometimes

Expert Mensajes: 268 Fecha de incorporación: 4/03/11 Mensajes recientes
Hi Samita,
You can debug to find where the failure has occurred.