掲示板

Web content title is empty after publish

thumbnail
7年前 に Naresh Reddy Kallamadi によって更新されました。

Web content title is empty after publish

Regular Member 投稿: 120 参加年月日: 14/07/09 最新の投稿
Hi All,

Recently I have upgraded liferay 61 EE to 62 EE, I have done only liferay not included any other apps like market place and etc.
Everything was good but we have articles when edit that article title text field makes empty.
Seeing below trace in logs.
07:34:57,854 ERROR [com%002eliferay%002eportal%002ekernel%002edao%002eorm%002e%0045ntity%0043ache%002ecom%002eliferay%002eportlet%002ejournal%002emodel%002eimpl%002e%004aournal%0041rticle%0049mpl.data][DiskStorageFactory:120] Disk Write of 543422 failed:
java.io.UTFDataFormatException
at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2157)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2000)
at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:866)
at com.liferay.portlet.journal.model.impl.JournalArticleCacheModel.writeExternal(JournalArticleCacheModel.java:392)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1456)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1427)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:439)
at net.sf.ehcache.Element.writeObject(Element.java:867)
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)



Is there any configuration Do I need to add?
Web logic 10.3.6 and Liferay 6.2.10.16.
OS:linux

Thanks,
Naresh Kallamadi.
thumbnail
7年前 に Naresh Reddy Kallamadi によって更新されました。

RE: Web content title is empty after publish (回答)

Regular Member 投稿: 120 参加年月日: 14/07/09 最新の投稿
Finally I got the solution , in my server administration section locales property is empty, when I add it locales property in portal-ext.properties I able to edit web content title without any errors

Finally make sure your locales property should not be empty in server admin strator
like below :
thumbnail
6年前 に Murat ÖZDEMİR によって更新されました。

RE: Web content title is empty after publish

New Member 投稿: 14 参加年月日: 12/12/14 最新の投稿
Hi,
despite i have locales in system administrator page i get similar exceptions.
Do you have any idea?

02:15:55,990 ERROR [com%002eliferay%002eportal%002ekernel%002edao%002eorm%002e%0045ntity%0043ache%002ecom%002eliferay%002eportlet%002ejournal%002emodel%002eimpl%002e%004aournal%0041rticle%0049mpl.data][DiskStorageFactory:120] Disk Write of 137119 failed:
java.io.UTFDataFormatException
        at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2163)
        at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2006)
        at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:868)
        at com.liferay.portlet.journal.model.impl.JournalArticleCacheModel.writeExternal(JournalArticleCacheModel.java:392)
        at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
        at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:440)
        at net.sf.ehcache.Element.writeObject(Element.java:851)
        at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
        at net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97)
        at net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:399)
        at net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:381)
        at net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:473)
        at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1067)
        at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1051)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
thumbnail
6年前 に Naresh Reddy Kallamadi によって更新されました。

RE: Web content title is empty after publish

Regular Member 投稿: 120 参加年月日: 14/07/09 最新の投稿
Hi Murat ÖZDEMİR,

Please check below things in your portal:

1.Check your locales property in portal properties from server administration section
2.Check your locale configuration in site display settings as well as portal display settings.
like we have Available and current locales check that configuration once.

Thanks,
Naresh Kallamadi.