You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Jilles van Gurp <ji...@jillesvangurp.com> on 2005/07/04 11:26:34 UTC

SecurityConstraintsImpl.checkConstraints(): Access for view not permitted

I'm having severe difficulty getting a good out of the box experience 
with Jetspeed 2 m3 binary release with the bundled tomcat:

1) Unzip the release
2) Start the database with the start script
3) Start tomcat with the start script
4) wait for tomcat to finish initializing and visit localhost:8080/jetspeed
5) it seems to work
6) edit default-page.psml (e.g. remove the locale selector fragment, my 
original change was adding a helloworld fragment to check if I could add 
stuff)
7) BUG the change is not picked up as the wiki documentation suggests
8) so, stop tomcat with the stop script
9) start it again
10) BUG refresh the jetspeed page and get a 403 error: 
SecurityConstraintsImpl.checkConstraints(): Access for view not permitted
11) undo the change
12) stop/start tomcat -> same problem

I've wasted two hours on this and this happens every time. Any change to 
default-page.psml results in the change not being detected. A restart 
results in the 403. If I undo the changes the 403 stays, even after a 
restart. I've tried the tomcat 5.0.30 and 5.5.9 releases, both with the 
same results.

I've looked for more information on this bug.  The bug database has a 
closed & fixed bug  JS2-206 for jboss and there are some similar 
problems in the mailing list archive.

Regards,

Jilles van Gurp

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: SecurityConstraintsImpl.checkConstraints(): Access for view not permitted

Posted by Jilles van Gurp <in...@jillesvangurp.com>.
Thanks,

Your patch seems to work. I exported M3, applied your patch and 
recompiled and everything is fine now.

Regards,

Jilles van Gurp

>Hi,
>I applied a patch, see here: http://issues.apache.org/jira/browse/JS2-139 
>The cause of this bug is when you change the psml file, it did not
>write it back with UTF-8 encoding.
>Apply my patch and try it again.
>Good luck!
>- James Liao
>
>On 7/4/05, Jilles van Gurp <ji...@jillesvangurp.com> wrote:
>  
>
>>I'm having severe difficulty getting a good out of the box experience
>>with Jetspeed 2 m3 binary release with the bundled tomcat:
>>
>>1) Unzip the release
>>2) Start the database with the start script
>>3) Start tomcat with the start script
>>4) wait for tomcat to finish initializing and visit localhost:8080/jetspeed
>>5) it seems to work
>>6) edit default-page.psml (e.g. remove the locale selector fragment, my
>>original change was adding a helloworld fragment to check if I could add
>>stuff)
>>7) BUG the change is not picked up as the wiki documentation suggests
>>8) so, stop tomcat with the stop script
>>9) start it again
>>10) BUG refresh the jetspeed page and get a 403 error:
>>SecurityConstraintsImpl.checkConstraints(): Access for view not permitted
>>11) undo the change
>>12) stop/start tomcat -> same problem
>>
>>I've wasted two hours on this and this happens every time. Any change to
>>default-page.psml results in the change not being detected. A restart
>>results in the 403. If I undo the changes the 403 stays, even after a
>>restart. I've tried the tomcat 5.0.30 and 5.5.9 releases, both with the
>>same results.
>>
>>I've looked for more information on this bug.  The bug database has a
>>closed & fixed bug  JS2-206 for jboss and there are some similar
>>problems in the mailing list archive.
>>
>>Regards,
>>
>>Jilles van Gurp
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>    
>>


Re: SecurityConstraintsImpl.checkConstraints(): Access for view not permitted

Posted by James Liao <ji...@gmail.com>.
Hi,
I applied a patch, see here: http://issues.apache.org/jira/browse/JS2-139 
The cause of this bug is when you change the psml file, it did not
write it back with UTF-8 encoding.
Apply my patch and try it again.
Good luck!
- James Liao

On 7/4/05, Jilles van Gurp <ji...@jillesvangurp.com> wrote:
> I'm having severe difficulty getting a good out of the box experience
> with Jetspeed 2 m3 binary release with the bundled tomcat:
> 
> 1) Unzip the release
> 2) Start the database with the start script
> 3) Start tomcat with the start script
> 4) wait for tomcat to finish initializing and visit localhost:8080/jetspeed
> 5) it seems to work
> 6) edit default-page.psml (e.g. remove the locale selector fragment, my
> original change was adding a helloworld fragment to check if I could add
> stuff)
> 7) BUG the change is not picked up as the wiki documentation suggests
> 8) so, stop tomcat with the stop script
> 9) start it again
> 10) BUG refresh the jetspeed page and get a 403 error:
> SecurityConstraintsImpl.checkConstraints(): Access for view not permitted
> 11) undo the change
> 12) stop/start tomcat -> same problem
> 
> I've wasted two hours on this and this happens every time. Any change to
> default-page.psml results in the change not being detected. A restart
> results in the 403. If I undo the changes the 403 stays, even after a
> restart. I've tried the tomcat 5.0.30 and 5.5.9 releases, both with the
> same results.
> 
> I've looked for more information on this bug.  The bug database has a
> closed & fixed bug  JS2-206 for jboss and there are some similar
> problems in the mailing list archive.
> 
> Regards,
> 
> Jilles van Gurp
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org