• Search

  • Search it up!

Search found 190 matches

 Go to advanced search

Re: Download Document with Revision in Filename

 by alexwgordon ¦  Tue Feb 17, 2015 5:26 pm ¦  Forum: Usage ¦  Topic: SOLVED Download Document with Revision in Filename ¦  Replies: 37 ¦  Views: 15932

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!

Re: Download Document with Revision in Filename

 by alexwgordon ¦  Mon Feb 16, 2015 3:39 pm ¦  Forum: Usage ¦  Topic: SOLVED Download Document with Revision in Filename ¦  Replies: 37 ¦  Views: 15932

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.

Re: Download Document with Revision in Filename

 by alexwgordon ¦  Fri Feb 13, 2015 7:15 pm ¦  Forum: Usage ¦  Topic: SOLVED Download Document with Revision in Filename ¦  Replies: 37 ¦  Views: 15932

Ah, I'm actually compiling with jdk 1.8 I realize...
I should be compiling with 1.7, yeah?

I tried recompiling using

Code: Select all
-Xbootclasspath $TOMCAT/java/jre/lib/rt.jar -source 1.7 
in my compilation. No errors, but still no luck. Doesn't seem to be doing anything still.

Re: Download Document with Revision in Filename

 by alexwgordon ¦  Mon Feb 09, 2015 11:13 pm ¦  Forum: Usage ¦  Topic: SOLVED Download Document with Revision in Filename ¦  Replies: 37 ¦  Views: 15932

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...

Re: Download Document with Revision in Filename

 by alexwgordon ¦  Fri Jan 30, 2015 2:29 am ¦  Forum: Usage ¦  Topic: SOLVED Download Document with Revision in Filename ¦  Replies: 37 ¦  Views: 15932

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...

Re: Download Document with Revision in Filename

 by alexwgordon ¦  Mon Jan 26, 2015 6:57 pm ¦  Forum: Usage ¦  Topic: SOLVED Download Document with Revision in Filename ¦  Replies: 37 ¦  Views: 15932

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!

SOLVED Download Document with Revision in Filename

 by alexwgordon ¦  Thu Jan 15, 2015 12:10 am ¦  Forum: Usage ¦  Topic: SOLVED Download Document with Revision in Filename ¦  Replies: 37 ¦  Views: 15932

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...

Re: Crontab Scripting - Lexical Error

 by alexwgordon ¦  Thu Jan 08, 2015 7:08 pm ¦  Forum: Usage ¦  Topic: Crontab Scripting - Lexical Error ¦  Replies: 5 ¦  Views: 4439

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...

Re: Crontab Scripting - Lexical Error

 by alexwgordon ¦  Fri Jan 02, 2015 6:13 pm ¦  Forum: Usage ¦  Topic: Crontab Scripting - Lexical Error ¦  Replies: 5 ¦  Views: 4439

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 ...

Crontab Scripting - Lexical Error

 by alexwgordon ¦  Wed Dec 31, 2014 1:32 am ¦  Forum: Usage ¦  Topic: Crontab Scripting - Lexical Error ¦  Replies: 5 ¦  Views: 4439

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...

Re: SOLVED Change Version Numbers to Letters

 by alexwgordon ¦  Mon Nov 24, 2014 6:34 pm ¦  Forum: Customization & Improvements ¦  Topic: SOLVED Change Version Numbers to Letters ¦  Replies: 16 ¦  Views: 11104

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...

Re: Issues Installing OpenKM as Windows Service on Windows S

 by alexwgordon ¦  Fri Nov 14, 2014 1:21 am ¦  Forum: Installation ¦  Topic: Issues Installing OpenKM as Windows Service on Windows Serve ¦  Replies: 7 ¦  Views: 6561

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! ...

Re: SOLVED Change Version Numbers to Letters

 by alexwgordon ¦  Thu Nov 13, 2014 1:28 am ¦  Forum: Customization & Improvements ¦  Topic: SOLVED Change Version Numbers to Letters ¦  Replies: 16 ¦  Views: 11104

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...

Re: SOLVED Change Version Numbers to Letters

 by alexwgordon ¦  Wed Nov 12, 2014 11:38 pm ¦  Forum: Customization & Improvements ¦  Topic: SOLVED Change Version Numbers to Letters ¦  Replies: 16 ¦  Views: 11104

In the catalina log I see:

Code: Select all
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)

Re: SOLVED Change Version Numbers to Letters

 by alexwgordon ¦  Wed Nov 12, 2014 10:49 pm ¦  Forum: Customization & Improvements ¦  Topic: SOLVED Change Version Numbers to Letters ¦  Replies: 16 ¦  Views: 11104

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?

  • 1
  • 9
  • 10
  • 11
  • 12
  • 13

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.