Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Johannes Dieterich
NoSuchFileException when activating Staging
9. März 2011 05:35
Antwort

Johannes Dieterich

Rang: New Member

Nachrichten: 4

Eintrittsdatum: 9. März 2011

Neue Beiträge

Dear liferay experts,

In the course of my intranet portal project, I try to activate Staging for a community which we intend to use to provide online help to end users.
When I do, I get the following error message:

com.liferay.portal.kernel.lar.PortletDataException: com.liferay.documentlibrary.NoSuchFileException: /home/kopo/data/document_library/10131/15072/1202/1.0

Checking on the server, there is indeed no such file, but why should it be there and why does staging depend on it? Or more importantly, how can I fix this?
Any suggestions?

Thanks a lot! Great work on liferay by the way.
Johannes
Milan Jaroš
RE: NoSuchFileException when activating Staging
6. Mai 2011 06:55
Antwort

Milan Jaroš

Rang: Expert

Nachrichten: 269

Eintrittsdatum: 18. August 2008

Neue Beiträge

Hi,
Just note: I had the same error message because I haven't configured Jackrabbit configured properly. To create Staging environment (with documents) you should be able to download your files via Document Library.

Best,
Milan
Brian Ko
RE: NoSuchFileException when activating Staging
29. Februar 2012 15:08
Antwort

Brian Ko

Rang: Junior Member

Nachrichten: 70

Eintrittsdatum: 11. Februar 2010

Neue Beiträge

Johannes,
If you see the exception object. it has the path and name of the file. I will just create a dummy file with that name and path, then staging will work. However, if you do not see that information, you need to trace the program. Actually I had to trace the program. The class name was

com.liferay.portlet.communities.action.EditPageAction and line number was 258. ( In Liferay 6.0 EE service pack 2)


String redirect = ParamUtil.getString(
actionRequest, "pagesRedirect");

sendRedirect(actionRequest, actionResponse, redirect);
}
else {
throw e; ---- This is the exception object you want to see -----
}
}

Brian