• Search

  • Search it up!

Search found 336 matches

 Go to advanced search

Re: OpenKM Maven Repo down?

 by Catscratch ¦  Fri May 01, 2020 7:16 pm ¦  Forum: Installation ¦  Topic: OpenKM Maven Repo down? ¦  Replies: 7 ¦  Views: 6414

I took the url form your documentation: https://docs.openkm.com/kcenter/view/sd ... lient.html

But thanks. Https is working!

OpenKM Maven Repo down?

 by Catscratch ¦  Fri May 01, 2020 9:19 am ¦  Forum: Installation ¦  Topic: OpenKM Maven Repo down? ¦  Replies: 7 ¦  Views: 6414

Hi. I cannot download the SDK4J 1.2. http://maven.openkm.com/maven2/ seems to be down. I'm using: <repository> <id>openkm.com</id> <name>OpenKM Maven Repository</name> <url>http://maven.openkm.com/maven2</url> </repository> ... and ... <dependency> <groupId>com.openkm</groupId> <artifactId>sdk4j</ar...

Re: Concurrency Problems / Stress Test on REST API

 by Catscratch ¦  Tue Feb 06, 2018 5:13 pm ¦  Forum: Web Services ¦  Topic: Concurrency Problems / Stress Test on REST API ¦  Replies: 8 ¦  Views: 35281

If the clients calls close everything is ok. You e.g. use IOUtils to close quietly. Anyway. If you got a client which won't close the stream it's kept open. And this is an easy way for the client to stress the server or even more, bring it down. You can use my demo code from above, e.g. against you ...

Re: Concurrency Problems / Stress Test on REST API

 by Catscratch ¦  Mon Jan 29, 2018 3:07 pm ¦  Forum: Web Services ¦  Topic: Concurrency Problems / Stress Test on REST API ¦  Replies: 8 ¦  Views: 35281

Usually it would be good. Yes. But the problem is, that you use a StreamedInputStream on server side which means it is read when the client starts to read it. So if you close the stream on the server side the client won't be able to read it anymore. Everything is translated to HTTP chunked loading. ...

Re: Concurrency Problems / Stress Test on REST API

 by Catscratch ¦  Thu Jan 25, 2018 2:29 pm ¦  Forum: Web Services ¦  Topic: Concurrency Problems / Stress Test on REST API ¦  Replies: 8 ¦  Views: 35281

I'm using the delivered test class. It can be executed from anywhere (not inside the server).

The Sdk4j creates an InputStream and keeps it open which means the http connection is hold open.

Re: Concurrency Problems / Stress Test on REST API

 by Catscratch ¦  Wed Jan 24, 2018 2:55 pm ¦  Forum: Web Services ¦  Topic: Concurrency Problems / Stress Test on REST API ¦  Replies: 8 ¦  Views: 35281

Ok, further investigation shows the problem is the streaming inputstream used to deliver binaries chunked via http. If the client doesn't close the inputstream on his side, the server keeps the socket open forever. That seems to be a tomcat related problem. Or OpenKM shouldn't use streamed resources...

Concurrency Problems / Stress Test on REST API

 by Catscratch ¦  Wed Jan 24, 2018 1:05 pm ¦  Forum: Web Services ¦  Topic: Concurrency Problems / Stress Test on REST API ¦  Replies: 8 ¦  Views: 35281

Hi, I noticed a strange behaviour when accessing the rest endpoint massivly parallel. E.g. a lot of users want to download a document. On a certain number OpenKM starts to hang and the threads are working on 100% without returning. I don't know if it is a tomcat configuration problem or another prob...

Default boolean values in config.java

 by Catscratch ¦  Mon Sep 26, 2016 1:19 pm ¦  Forum: Configuration ¦  Topic: Default boolean values in config.java ¦  Replies: 1 ¦  Views: 1635

Hi. I wonder about the default boolean values in config.java. E.g.: STORE_NODE_PATH = ConfigDAO.getBoolean(PROPERTY_STORE_NODE_PATH, "on".equalsIgnoreCase(cfg.getProperty(PROPERTY_STORE_NODE_PATH, "off"))); This always is set to "false" on my installation (fresh install...

Re: Since https DTDs are no longer validatable

 by Catscratch ¦  Mon Jul 18, 2016 6:30 am ¦  Forum: Usage ¦  Topic: Since https DTDs are no longer validatable ¦  Replies: 7 ¦  Views: 3736

Thanks. Now http is working.

Anyway. Https is still not working. But I think this is a problem of HTML standard itself. It seems HTML doesn't allow https in doctype.

Re: Since https DTDs are no longer validatable

 by Catscratch ¦  Fri Jun 03, 2016 11:02 am ¦  Forum: Usage ¦  Topic: Since https DTDs are no longer validatable ¦  Replies: 7 ¦  Views: 3736

Goto https://validator.w3.org/#validate_by_input

Paste in XML from first post. And hit "check".

Re: Since https DTDs are no longer validatable

 by Catscratch ¦  Fri Jun 03, 2016 9:06 am ¦  Forum: Usage ¦  Topic: Since https DTDs are no longer validatable ¦  Replies: 7 ¦  Views: 3736

It's not a problem with OpenKM. At least not for me. It's a general problem e.g. when using other tools to build PropertyGroups.xml. Like with jDom2 or something else. The public DTD should be accessible and validatable with any tool or online service.

Since https DTDs are no longer validatable

 by Catscratch ¦  Fri Jun 03, 2016 7:12 am ¦  Forum: Usage ¦  Topic: Since https DTDs are no longer validatable ¦  Replies: 7 ¦  Views: 3736

Hi, I noticed a problem that when create a PropertyGroups.xml it is no longer possible to validate them against your DTDs. E.g. for 6.2 Community. https://www.openkm.com/dtd/property-groups-2.1.dtd W3C validation fails. You can try something like https://validator.w3.org/check . And use: <?xml versi...

Re: OKMAuth login with token not working

 by Catscratch ¦  Wed Apr 06, 2016 2:25 pm ¦  Forum: Usage ¦  Topic: OKMAuth login with token not working ¦  Replies: 16 ¦  Views: 8771

No, we don't changes the rest endpoint because of authentication, but to develop a more powerful rest endpoint.

Everything is fine. :-)

Re: OKMAuth login with token not working

 by Catscratch ¦  Tue Apr 05, 2016 11:12 am ¦  Forum: Usage ¦  Topic: OKMAuth login with token not working ¦  Replies: 16 ¦  Views: 8771

Ok. I found it. We created a new REST Endpoint inside OpenKM with Token authentication and on top of Swagger (and Swagger UI ) which is really nice and gives a very good rest documentation. Anyway. By this, we disabled basic auth for this rest endpoint and used header params for authentication (usin...

Re: OKMAuth login with token not working

 by Catscratch ¦  Tue Mar 29, 2016 7:40 am ¦  Forum: Usage ¦  Topic: OKMAuth login with token not working ¦  Replies: 16 ¦  Views: 8771

Hm, it seems that the OKMWebservices.login() method is doing the magic, right? Because, when I directly call the REST endpoint (without the SDK) it will fail without success. So my question is, what do you do inside the OKMWebservices.login() method? Can I see sources anywhere?

Thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
  • 23

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.