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 "Bloem, E.J.W. van (Erik, Student CS)" <e....@student.utwente.nl> on 2006/12/20 11:28:20 UTC

SSO jetspeed 2 Error processing the template

Hello,

I installed the Jetspeed 2 binary distribution two times and it runs fine but the SSO Manager gives the following error.
I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
Please help

Regards,

Erik


VelocityViewServlet : Error processing the template

Invocation of method 'getString' in class org.apache.jetspeed.om.impl.LanguageImpl threw exception class java.util.MissingResourceException : Can't find resource for bundle java.util.PropertyResourceBundle, key realm 

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key realm
	at java.util.ResourceBundle.getObject(Unknown Source)
	at java.util.ResourceBundle.getObject(Unknown Source)
	at java.util.ResourceBundle.getString(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)

Hello,
I installed the Jetspeed 2 binary distribution two times and it runs fine but the sso gives the following error:
I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
Please help

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


Re: SSO jetspeed 2 Error processing the template

Posted by David Sean Taylor <da...@bluesunrise.com>.
I really don't know what to recommend, seems like some kind of class 
loader issue or jar conflict
Check your classpath, make sure you don't have any other version of 
Jetspeed or there or an old jvm in the classpath
What version of Java ?

Bloem, E.J.W. van (Erik, Student CS) wrote:
> Hello,
> 
> I installed the Jetspeed 2 binary distribution two times and it runs fine but the SSO Manager gives the following error.
> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
> Please help
> 
> Regards,
> 
> Erik
> 
> 
> VelocityViewServlet : Error processing the template
> 
> Invocation of method 'getString' in class org.apache.jetspeed.om.impl.LanguageImpl threw exception class java.util.MissingResourceException : Can't find resource for bundle java.util.PropertyResourceBundle, key realm 
> 
> java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key realm
> 	at java.util.ResourceBundle.getObject(Unknown Source)
> 	at java.util.ResourceBundle.getObject(Unknown Source)
> 	at java.util.ResourceBundle.getString(Unknown Source)
> 	at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
> 
> Hello,
> I installed the Jetspeed 2 binary distribution two times and it runs fine but the sso gives the following error:
> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
> Please help
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> 


-- 
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194

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


RE: SSO jetspeed 2 Error processing the template

Posted by "Bloem, E.J.W. van (Erik, Student CS)" <e....@student.utwente.nl>.
Thank you,
 
weird but a very good sollution. It works!

________________________________

Van: aordin [mailto:aordin@disid.com]
Verzonden: do 21-12-2006 0:31
Aan: Jetspeed Users List
Onderwerp: Re: SSO jetspeed 2 Error processing the template



You can try to change default language. Some portlets may show an error
if you are logged with different languages than english(for exemple "SSO
Sites Browser" portlet), try with english language by default. You can
change it with "locale selector" portlet.

regards!

Bloem, E.J.W. van (Erik, Student CS) wrote:
> Hello,
>
> I installed the Jetspeed 2 binary distribution two times and it runs fine but the SSO Manager gives the following error.
> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
> Please help
>
> Regards,
>
> Erik
>
>
> VelocityViewServlet : Error processing the template
>
> Invocation of method 'getString' in class org.apache.jetspeed.om.impl.LanguageImpl threw exception class java.util.MissingResourceException : Can't find resource for bundle java.util.PropertyResourceBundle, key realm
>
> java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key realm
>       at java.util.ResourceBundle.getObject(Unknown Source)
>       at java.util.ResourceBundle.getObject(Unknown Source)
>       at java.util.ResourceBundle.getString(Unknown Source)
>       at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
>
> Hello,
> I installed the Jetspeed 2 binary distribution two times and it runs fine but the sso gives the following error:
> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
> Please help
>
> ---------------------------------------------------------------------
> 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




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


Re: SSO jetspeed 2 Error processing the template

Posted by aordin <ao...@disid.com>.
Enrique's solution it's good, but I solve this problem using only the 
role: <role-name>user</role-name>  because admin and manager stay into 
user role too.
I recommend to take a look to all portal users for add "user role" to 
everybody(and when you create one new user).

I think actually everybody is user less "jetspeed" and "tomcat". You can 
see in the other configuration, this two users stay in problems too 
because they aren't admin, manager or user.

This bug is fixed in Jetspeed2-2.1.

Regards!

Enrique Perez wrote:
> Hi,
>
> I think I had this same problem and I think it was caused by Tomcat 
> because versions above 5.5.12 don't recognize wild-card character (*) 
> so you must allow access to every role defined in J2.
> In order to do so:
> in "security constraint tag" from file 
> "$TOMACAT_HOME/webapps/myportal/WEB-INF/web.xml" replace the *
>
>    <auth-constraint>
>        <role-name>*</role-name>
>    </auth-constraint>
>
> with all the roles defined in "tomcat-users.xml"
>
>    <auth-constraint>
>        <role-name>admin</role-name>
>        <role-name>manager</role-name>
>        <role-name>user</role-name>
>    </auth-constraint>
>
> Hope that helps.
> Regards,
> Enrique
>
>


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


Re: SSO jetspeed 2 Error processing the template

Posted by Enrique Perez <pe...@dit.upm.es>.
Hi,

I think I had this same problem and I think it was caused by Tomcat 
because versions above 5.5.12 don't recognize wild-card character (*) so 
you must allow access to every role defined in J2.
In order to do so:
in "security constraint tag" from file 
"$TOMACAT_HOME/webapps/myportal/WEB-INF/web.xml" replace the *

    <auth-constraint>
        <role-name>*</role-name>
    </auth-constraint>

with all the roles defined in "tomcat-users.xml"

    <auth-constraint>
        <role-name>admin</role-name>
        <role-name>manager</role-name>
        <role-name>user</role-name>
    </auth-constraint>

Hope that helps.
Regards,
Enrique


Bloem, E.J.W. van (Erik, Student CS) escribió:
> Thank you,
>  
> might you also know the solution to: when I login as admin everything works well but when logging in as an other user the redirection say's: HTTP Status 403 - Access to the requested resource has been denied
>  
> When I push in internetexplorer 'back' and in jetspeed push the link 'root folder' I see that I am properly logged in and at the right page.
>  
> Any idea how to make this right? Do maybe all the users need a default-page.psml?
>  
> Regards
>
> ________________________________
>
> Van: aordin [mailto:aordin@disid.com]
> Verzonden: do 21-12-2006 0:31
> Aan: Jetspeed Users List
> Onderwerp: Re: SSO jetspeed 2 Error processing the template
>
>
>
> You can try to change default language. Some portlets may show an error
> if you are logged with different languages than english(for exemple "SSO
> Sites Browser" portlet), try with english language by default. You can
> change it with "locale selector" portlet.
>
> regards!
>
> Bloem, E.J.W. van (Erik, Student CS) wrote:
>   
>> Hello,
>>
>> I installed the Jetspeed 2 binary distribution two times and it runs fine but the SSO Manager gives the following error.
>> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
>> Please help
>>
>> Regards,
>>
>> Erik
>>
>>
>> VelocityViewServlet : Error processing the template
>>
>> Invocation of method 'getString' in class org.apache.jetspeed.om.impl.LanguageImpl threw exception class java.util.MissingResourceException : Can't find resource for bundle java.util.PropertyResourceBundle, key realm
>>
>> java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key realm
>>       at java.util.ResourceBundle.getObject(Unknown Source)
>>       at java.util.ResourceBundle.getObject(Unknown Source)
>>       at java.util.ResourceBundle.getString(Unknown Source)
>>       at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
>>
>> Hello,
>> I installed the Jetspeed 2 binary distribution two times and it runs fine but the sso gives the following error:
>> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
>> Please help
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
>
> ---------------------------------------------------------------------
> 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


RE: SSO jetspeed 2 Error processing the template

Posted by "Bloem, E.J.W. van (Erik, Student CS)" <e....@student.utwente.nl>.
Thank you,
 
might you also know the solution to: when I login as admin everything works well but when logging in as an other user the redirection say's: HTTP Status 403 - Access to the requested resource has been denied
 
When I push in internetexplorer 'back' and in jetspeed push the link 'root folder' I see that I am properly logged in and at the right page.
 
Any idea how to make this right? Do maybe all the users need a default-page.psml?
 
Regards

________________________________

Van: aordin [mailto:aordin@disid.com]
Verzonden: do 21-12-2006 0:31
Aan: Jetspeed Users List
Onderwerp: Re: SSO jetspeed 2 Error processing the template



You can try to change default language. Some portlets may show an error
if you are logged with different languages than english(for exemple "SSO
Sites Browser" portlet), try with english language by default. You can
change it with "locale selector" portlet.

regards!

Bloem, E.J.W. van (Erik, Student CS) wrote:
> Hello,
>
> I installed the Jetspeed 2 binary distribution two times and it runs fine but the SSO Manager gives the following error.
> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
> Please help
>
> Regards,
>
> Erik
>
>
> VelocityViewServlet : Error processing the template
>
> Invocation of method 'getString' in class org.apache.jetspeed.om.impl.LanguageImpl threw exception class java.util.MissingResourceException : Can't find resource for bundle java.util.PropertyResourceBundle, key realm
>
> java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key realm
>       at java.util.ResourceBundle.getObject(Unknown Source)
>       at java.util.ResourceBundle.getObject(Unknown Source)
>       at java.util.ResourceBundle.getString(Unknown Source)
>       at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
>
> Hello,
> I installed the Jetspeed 2 binary distribution two times and it runs fine but the sso gives the following error:
> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
> Please help
>
> ---------------------------------------------------------------------
> 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




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


Re: SSO jetspeed 2 Error processing the template

Posted by aordin <ao...@disid.com>.
You can try to change default language. Some portlets may show an error 
if you are logged with different languages than english(for exemple "SSO 
Sites Browser" portlet), try with english language by default. You can 
change it with "locale selector" portlet.

regards!

Bloem, E.J.W. van (Erik, Student CS) wrote:
> Hello,
>
> I installed the Jetspeed 2 binary distribution two times and it runs fine but the SSO Manager gives the following error.
> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
> Please help
>
> Regards,
>
> Erik
>
>
> VelocityViewServlet : Error processing the template
>
> Invocation of method 'getString' in class org.apache.jetspeed.om.impl.LanguageImpl threw exception class java.util.MissingResourceException : Can't find resource for bundle java.util.PropertyResourceBundle, key realm 
>
> java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key realm
> 	at java.util.ResourceBundle.getObject(Unknown Source)
> 	at java.util.ResourceBundle.getObject(Unknown Source)
> 	at java.util.ResourceBundle.getString(Unknown Source)
> 	at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
>
> Hello,
> I installed the Jetspeed 2 binary distribution two times and it runs fine but the sso gives the following error:
> I downloaded Jetspeed 2 version 2.0 plugin, do I have to download an other version or do something esle.
> Please help
>
> ---------------------------------------------------------------------
> 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