[opencms-dev] Update from OpenCMS 6 to version 7.0.2
Alessio Zurleni
azurleni at heptra.com
Wed Dec 12 10:35:56 CET 2007
Nguyen,
what kind of page is index.html (jsp, html) ? Obviously, a exception
occurs involving role violation. Can you give me more details ? (code,
permissions, etc.)
Regards,
Alessio
nguyen cong quang wrote:
> Hi Alession,
> Thanks for your reply.But what i mean is that:
> - For example you are the guest, and you just want to *view* the
> client page and do not want to access workplace.By enter just follow:
> http://localhost:8080/opencms7_0_2/opencms/index.html
>
> then it display error in web brownser:
>
>
> A server error occured!
>
>
> Server error 500
>
>
> Internal Server Error
>
> The server encountered an unexpected condition which prevented it from
> fulfilling the request.
>
> The server cannot complete the request because it encountered an error.
>
> Please try it again in a few minutes, or contact the server
> administrator.
>
> and in console of Jboss it displays error as i wrote in previous letter.
> - How can a normal user view the client page???
>
> On Dec 12, 2007 2:46 PM, Alessio Zurleni <azurleni at heptra.com
> <mailto:azurleni at heptra.com>> wrote:
>
> Nguyen,
>
> this is a normal behavior because guests users (and all users who
> haven't workplace user role) cannot log into opencms workplace. If
> you log as admin you keep admin session for all instances of
> browser (especially with firefox). Now the question is, which kind
> of privileges your page requires, normally this kind of exceptions
> arise when you try to access the workplace space.
>
> Regards,
>
> Alessio Zurleni
>
> nguyen cong quang wrote:
>> hi,
>> After updating, i run to the client page as a guest (did not log
>> in as Admin to workplace) it display following error:
>>
>> Caused by: org.opencms.security.CmsRoleViolationException: The
>> user "Guest" does
>> not have access to the required "Workplace user" role.
>> at
>> org.opencms.security.CmsRole.createRoleViolationException(CmsRole.jav
>> a:358)
>> at org.opencms.db.CmsSecurityManager.checkRole
>> (CmsSecurityManager.java:5
>> 29)
>> at
>> org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:5
>> 49)
>> at
>> org.opencms.security.CmsRoleManager.checkRole(CmsRoleManager.java:98)
>>
>> at
>> org.opencms.workplace.CmsWorkplace.checkRole(CmsWorkplace.java:1821)
>> at
>> org.opencms.workplace.CmsWorkplace.initWorkplaceMembers(CmsWorkplace.
>> java:1920)
>>
>> - But if i log in as admin first, and then run the client page
>> seperately (not from the workplace), it display Ok
>> thanks for reading
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20071212/25f15bd9/attachment.htm>
More information about the opencms-dev
mailing list