Yes, I just checked and my JAVA_Home is $TOMCAT/java and still no functionality. The browser attempts to download, but no download occurs. Any other thoughts on what might be causing the issue? Thanks again for all your help jllort!
Yes, I just checked and my JAVA_Home is $TOMCAT/java and still no functionality. The browser attempts to download, but no download occurs. Any other thoughts on what might be causing the issue? Thanks again for all your help jllort!
So as far as I know, I'm using the java that is packaged with the community nightly build, so I should be running with 1.7 as well.
Ah, I'm actually compiling with jdk 1.8 I realize...
I should be compiling with 1.7, yeah?
I tried recompiling using
-Xbootclasspath $TOMCAT/java/jre/lib/rt.jar -source 1.7
Hi jllort, Alright, so my lines now look like String fileName = PathUtils.getName(doc.getPath()); String versionToAppend = OKMDocument.getInstance().getProperties(null,uuid).getActualVersion().getName(); String newFileName = fileName.concat(versionToAppend); Everything compiles fine with this one no...
Hi jllort! Thank you so much for the guidance! So I've started modifying the class and have inputted the line as you said and then done a concatenation on the filename to combine the filename and I get the following error: error: method getProperties in class OKMDocument cannot be applied to given t...
Hi Jllort,
Always coming to my rescue!
What would it be based on if we change the class? But either way, yes I would greatly appreciate being guided through the process of changing the class to allow for the rev to be attached to the name!
Hi guys! I'm running into an issue where once I download the file from within OpenKM, I lose the revision information attached to it, which can become confusing if I send these documents to other users. Is there a way to create some sort of automation or script that can run when I "download&quo...
Hi jllort, Okay so if I follow you right I think I came up with a nice little ssh/rsync protocol that I can run from a remote unix computer (Mac) to backup (1) the tomcat folder via rsync/ssh and (2) the MySQL. It'd be nice if it ran through the crontab, but this works perfectly fine for me to run m...
Hi Jllort, Ah I figured since I had Cygwin/rsync installed this could work out, but seems that that's not the case? I'm new to Windows server admin stuff, is there any documentation on a preferred method of backing up the repo/settings and everything for a Windows Server? Also can it do incremental ...
Hi Guys, So I'm having issues right now working out a backup system for my OpenKM setup. Right now I'm using this MySQL script http://wiki.openkm.com/index.php/Backup_scripts I'm running OpenKM Version: 6.3.1-DEV (build: 8178) on a Windows Server running Cygwin. So basically I've tested the script a...
Hi jllort! I've downloaded the nightly 6.3.x build at integration.openkm.com — awesome to see my adapter in there! I've also resolved my issue. I had a typo in my version.numeration.adapter pairing. I misspelled adapter :oops: So it seems like everything works beautifully now! Thanks for all your he...
Also, now that I've got everything working with the actual windows service setup, I'm having issues with my custom version adapater not working (see x-post below). It works on a local mac install of OpenKM, but isn't working with the service. Any thoughts you might have on the issue would be great! ...
So I attempted to delete the $OPENKM\tomcat\webapps\OpenKM folder and $OPENKM\tomcat\work\Catalina\localhost, then start catalina.bat, change the version numeration adapter to my custom adapter LetterVersionAdapater and it gets past the loading process but when I attempt to upload a file I get the e...
In the catalina log I see:
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsupportedClassVersionError: com/openkm/vernum/LetterVersionAdapter : Unsupported major.minor version 52.0 (unable to load class com.openkm.vernum.LetterVersionAdapter)
I'm having some issues getting it to play nice with a tomcat windows service on my server now. I got it working on a test environment on my localhost. Getting a loading error when first logging into OpenKM on "Loading User Values." Any thoughts on what could be causing the issue jllort?