About path documents I can think it on serveral ways and I don't know exactly about which one are you refering.
if you're saving a document on folder okm:/folder1/subfolder2/ named documentX your document path is okm:/folder1/subfolder2/documentX that's the normal.
if you're trying to get and url to open directly a document consider to make a mail notification to your self and you'll see something like : http://server

ort/OpenKM/es.git.openkm.frontend.Main/?docPath=okm:/folder1/subfolder2/document.
if you're asking about how docs are saved on file system, it's an jackrabbit internal implementation ( really must not be interested on it ).
I've answered your question ?