Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] internationalization liteUI

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] internationalization liteUI


Chronological Thread 
  • From: Wallaert-Taquet Brigitte <>
  • To: Chris Hyzer <>
  • Cc: "" <>,
  • Subject: Re: [grouper-users] internationalization liteUI
  • Date: Thu, 25 Aug 2011 12:04:20 +0200

Hello,

Thanks Chris for this analyse for my Tomcat's log.

You show me a good screen of LiteUI with accent : does it function with Tomcat and so, with which version ?

I work always on my problem with accents...
I do what Dominique Petitpierre do for the same problem (modify the start of tomcat with -Dfile.encoding=iso-8859-1 and export LANG=fr_FR export LC_ALL=fr_FR) but it doesn't resolve my problem...
It seems that Tomcat is ok : i have accent on the Tomcat manager's screens.
I use war file on webapps.

I modify toot apache although I don't think that it is concerned. I add a file "charset" in conf.d with AddDefaultCharset ISO-8859-1 and then restart.

As ListeUI doesn't do as GrouperUI, I search in the code.
I identify simpleMembershipMembershipList.jsp and put a <%@ page contentType="text/html; charset=iso-8859-1" %> a the top of file but unfortunately, it doesn't work.
I ask me if the problem doesn't come from the object GuiMember. Near line 92, I add ${guiMember.guiSubject.screenLabel} and I obtain on the screen the same value without good accent.
So, perhaps LiteUI doesn't use the same httpservlet as GrouperUI or something like that ?
I find that the problem come only from data issues of database grouper (description of the group) and source ldap (name of person). I don't think that it come from the database itself or the source ldap since it's ok with GrouperUI.
I'm not an expert but I would like understand why I have this problems.
I have the same question of Dominique Petitpierre :
"- What does the Admin UI do that the Lite UI doesn't that enables the
correct display of accented characters even when the language locale
is not set in the environment."


Thanks if you have idea.
Cordialement
Brigitte


Le 25/08/2011 07:49, Chris Hyzer a écrit :
Yeah, if you can session replication between tomcats on, I would turn it off.
I believe this one is fixed in 2.0, though I bet there are other
non-serializable session issues remaining. Then it is only a problem for
when you bounce tomcat, if users are affected they have to log back in. i.e.
this is a problem, but not a serious one I think.

Thanks,
chris

-----Original Message-----
From: Wallaert-Taquet Brigitte
[mailto:]
Sent: Wednesday, August 24, 2011 10:06 AM
To: Chris Hyzer
Cc:

Subject: Re: [grouper-users] internationalization liteUI

Le 24/08/2011 15:11, Chris Hyzer a écrit :
I think we have discussed this before on the list, and I don't understand why
it works for some people and not others. On the Grouper Demo server, it
works fine I think. See attachment.
Yes, I see...
What OS, app server, java, etc versions are you using and any other specifics
on the environment might help.
OS=CentOS release 5.5 (Final)
app server = tomcat 6.0.32
java = openJDK 1.6.0_17
ant 1.8.2
postgresql 8.4.7


I have problems in the Tomcat logs :
ATTENTION: Impossible de sérialiser l'attribut de session fieldList pour
la session A9938D0910A5FAAA9F262CB86D7483DF
java.io.NotSerializableException: java.util.PropertyResourceBundle
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at java.util.ArrayList.writeObject(ArrayList.java:673)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:962)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at java.util.HashMap.writeObject(HashMap.java:1018)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:962)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at
org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1561)
at
org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1004)
at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:528)
at
org.apache.catalina.session.StandardManager.unload(StandardManager.java:469)
at
org.apache.catalina.session.StandardManager.stop(StandardManager.java:678)
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4875)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1106)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1106)
at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468)
at
org.apache.catalina.core.StandardService.stop(StandardService.java:604)
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:662)
at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
24 août 2011 16:00:21 org.apache.catalina.session.StandardSession
writeObject
ATTENTION: Impossible de sérialiser l'attribut de session
simpleMembershipUpdateContainer pour la session
A9938D0910A5FAAA9F262CB86D7483DF
java.io.NotSerializableException:
edu.internet2.middleware.subject.LazySource
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1362)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1170)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at
org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1561)
at
org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1004)
at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:528)
at
org.apache.catalina.session.StandardManager.unload(StandardManager.java:469)
at
org.apache.catalina.session.StandardManager.stop(StandardManager.java:678)
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4875)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1106)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1106)
at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468)
at
org.apache.catalina.core.StandardService.stop(StandardService.java:604)
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:662)
at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
24 août 2011 16:01:21 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
24 août 2011 16:01:21 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()

Thanks for any idea...

Brigitte
Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Wallaert-Taquet Brigitte
Sent: Tuesday, August 23, 2011 5:54 AM
To:

Subject: [grouper-users] internationalization liteUI

Hello,

I obtain accentuation characters with grouper-ui but not with liteUI (see
screens). I don't understand why because I modify init.properties for
default.locale=fr_FR I also add the meta here for LiteUI :
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

An idea ?

Thanks.
Brigitte



--
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies




Archive powered by MHonArc 2.6.16.

Top of Page