7 Replies Latest reply on Jan 21, 2006 2:16 PM by Kobye

    Default  index.html (UTF8)

    kevnlin kevnlin Newbie

      I change jboss-service.xml lang -->zh
      and create a file in CMS -default folder -index.html (lang ZH)
      the index.html context UTF8 word
      but cann't view chinese word in default page
      I try the portal 2.2.1 RC1 Jboss4.0.3SP1

      could U tell me the corrent step to show chinses page

        • 1. Re: Default  index.html (UTF8)
          Roy Russo Master

          ok. Are you seeing the english version in the cmsportlet, or are you seeing an error? Is the server log printing an error as well?

          More information, the better.

          • 2. Re: Default  index.html (UTF8)
            kevnlin kevnlin Newbie

            yes english version is ok
            but I want to change the charset big5 or utf8 to show chinese word
            and no error in the error file

            • 3. Re: Default  index.html (UTF8)
              Roy Russo Master

              Ok. I will look at it now I understand what you are trying to accomplish. It may be a problem with the portal charset, but I will see.

              • 4. Re: Default  index.html (UTF8)
                kevnlin kevnlin Newbie

                sorry
                I find the error log
                2006-01-21 23:15:48,588 ERROR [org.jboss.portal.core.command.InvokeWindowActionCommand] An portlet exception occured in portlet portal.CMSPortlet
                java.lang.NullPointerException
                at org.jboss.portal.cms.impl.ContentImpl.getSize(ContentImpl.java:174)
                at org.jboss.portal.core.portlet.cms.CMSPortlet.processAction(CMSPortlet.java:123)
                at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:483)
                at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:424)
                at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
                at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
                at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
                at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
                at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
                at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
                at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76)
                at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
                at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167)
                at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
                at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88)
                at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)

                • 5. Re: Default  index.html (UTF8)
                  Roy Russo Master

                  Ah good. Can you please create a Bug in Jira http://jira.jboss.com/jira/browse/JBPORTAL.

                  1. Attach whatever file you are trying to add to the CMS that breaks it.
                  2. Also, let me know what you do to configure the portal AND your browser.

                  I am a native spanish speaker, so am not knowledgeable in how you may have your browser/portal configured for Chinese. So the more information you provde, the easier for me to debug.

                  Thank you!

                  • 6. Re: Default  index.html (UTF8)
                    kevnlin kevnlin Newbie

                    I dont know to create a bug
                    can U help me

                    configure
                    jboss-4.0.3 sp1
                    portal2.2.1RC1
                    Mysql4.0.1
                    and IE6.0


                    • 7. Re: Default  index.html (UTF8)
                      Kobye Novice

                      I encouter the same problem when I use Jboss forum2.21rc1 .