esrasezgin
15th December 2008, 09:36
While users try to login, we started to get error the following error:

Failed to create UserContext object "username:profilename" Premature end of file

anyone faced the same problem??

Thanks so much..

NPRao
15th December 2008, 20:08
You did not specify if you are using Webtop on Tomcat or other webserver.
Check the owner, group permissions on 'usercontexts' directory.

[WebSrv:bsp]/opt/web/tomcat/appserver/webapps/webtop/config>ll
total 804
-rwxrwxr-- 1 tomcat tomcat 27 Oct 23 15:13 smartlink.properties
drwxrwxr-x 11 tomcat tomcat 4096 Dec 11 14:37 usercontexts
-rwxrwxr-x 1 tomcat tomcat 799035 Dec 14 21:48 webtop.log
-rwxrwxr-x 1 tomcat tomcat 351 Oct 14 18:38 webtoplog.properties
-rwxrwxr-x 1 tomcat tomcat 1732 Dec 11 13:50 WebtopProperties.xml
[WebSrv:bsp]/opt/web/tomcat/appserver/webapps/webtop/config>

Also check in the Webtop Admin console if the user has permissions to create/alter profiles.

esrasezgin
16th December 2008, 09:45
We are using tomcat
I checked the usercontexts directory, and created new profiles for the users.
We don't anymore get error.
Thanks.