Re: CMIS REST Update Properties Performance Tweaks

2021-09-30 Thread Florian Müller
Hi Dave, there are at least two options: 1. You can use Session.queryObjects() [1] to get many, if not all, objects with a few calls (or even with one call). 2. If you really want to avoid a round trip, you can use the low-level API [2]. It might not be a pleasant experience, but it very

Re: Apache CMS is being Decommissioned - migrate Chemistry?

2021-06-11 Thread Florian Müller
Hi Dave, yes, please include Chemistry in the CMS migrations. Regards, Florian Hi - The Apache CMS is being decommissioned on July 31, 2021. I've been tasked with migrating projects still on the CMS to a new Pelican-ASF setup. In the new setup the content will be in a Git Repository and

Re: OpenCMIS Server 1.1 and possible dependencies with high CVEs

2021-02-05 Thread Florian Müller
Hi Dave, here a few answers. Re 1: That's correct, the latest released OpenCMIS version is 1.1. Re 2: Yes and no. Apache CXF is only needed if you want to support the Webservices binding (which is rather likely for a CMIS server). It is possible to drop in a newer Apache CXF version, though.

Re: Receiving and sending cookie

2020-09-26 Thread Florian Müller
Hi Jorge, the getService() method is the right place because all CMIS requests pass this method. Something like this should do the trick: ||((HttpServletRequest) context.get(CallContext.HTTP_SERVLET_REQUEST)).getSession(); - Florian Hello all, I am trying to send from an implemented

Re: Java OpenCMIS: content streamin

2020-06-30 Thread Florian Müller
Hi Andreas, SOAP messages are not streamed, they are buffered as well. Because CXF is doing that, you will not find many traces in the OpenCMIS code. You can configure the memory threshold and temp directory, though. The Browser binding and the AtomPub binding support streaming without

Re: Release OpenCMIS

2020-05-04 Thread Florian Müller
Hi Andreas, the release process at Apache and the artifacts have been changed since the last release and our release recipes don't work anymore. I have to do some major changes to compile a valid release and my time is limited at the moment. But I have not forgotten it... - Florian Am

Re: Status of OpenCMIS

2019-05-22 Thread Florian Müller
Hi Andreas, the code in trunk supports CXF 3.3. It "just" needs to be released... - Florian > Hi project team, >   > what's the status of OpenCMIS? Last release is two years ago. > In the mean-time, the shipped CXF is out-dated. Can I expect OpenCMIS to work > with newer CXF? > What's your

Re: A proposal to change the Apache Chemistry project

2019-02-11 Thread Florian Müller
Hi Slawas, to track your proposal, please open an issue here: https://issues.apache.org/jira/projects/CMIS I'm a bit reluctant to make this change because I don't know its side-effects. In some environments, OpenCMIS is production for almost 10 years and this may (or may not) break things.

Java 11 support for OpenCMIS

2019-02-01 Thread Florian Müller
Hi all, The OpenCMIS code in trunk should now compile with Java 11. I've update Apache CXF to 3.3.0 and changed a few other things to make that possible. It passes the TCK but I’ve not done any other testing so far. - Florian

Re: Is it possible to set/send a custom HTTP Header using OpenCMIS Java client library

2019-01-31 Thread Florian Müller
Hi Mark, You can set HTTP headers per session in the session parameter like so: parameters.put(SessionParameter.HEADER + ".0", "header0:value0"); parameters.put(SessionParameter.HEADER + ".1", "header1:value1"); parameters.put(SessionParameter.HEADER + ".2", "header2:value2"); But there is no

Re: Reg: Java Licensing Details

2019-01-31 Thread Florian Müller
Hi, I'm not sure I understand what you mean. OpenCMIS should run with any compliant JRE. - Florian Hi, It looks like Java is stopping the open source updates. Can you please let me know if this will have any impact on the Apache Chemistry and CMIS Web Services. Regards, Ram Mahesh Kumar

Re: [EXTERNAL] - Re: OpenJDK 11 support

2018-12-20 Thread Florian Müller
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > at ja

Re: [EXTERNAL] - Re: OpenJDK 11 support

2018-11-30 Thread Florian Müller
Yes, that applies to all JDKs. - Florian > Hi Florian, > > Thank you for the prompt reply. Does it apply to both Oracle JDK and OpenJDK? > > Regards, > > Vyacheslav Pascarel > > -Original Message- > From: Florian Müller > Sent: No

Re: OpenJDK 11 support

2018-11-30 Thread Florian Müller
Hi Vyacheslav, OpenCMIS 1.1 should work but does not compile with JDK 11. The code in trunk is prepared to also compile with JDK 11 but we have to wait until Apache CXF supports JDK 11. Currently the build breaks because a CXF tool we need for the build doesn't work, yet. - Florian > Hello, >

Re: OpenCMIS SSO authentication provider

2018-10-29 Thread Florian Müller
rberos and SAML and also FileNet CMIS server supports application server authentication. Thanks Wentao -Original Message- From: Florian Müller [mailto:f...@apache.org] Sent: Friday, October 26, 2018 3:25 AM To: dev@chemistry.apache.org Cc: Lu, Wentao Subject: Re: OpenCMIS SSO authentication provid

Re: PortCMIS.Exceptions.CmisConnectionException: Parsing exception

2018-10-26 Thread Florian Müller
Hi Dave, I'm afraid, your only option is to modify the PortCMIS code. The problem here is that we don't know whether the old or the new value is valid if there really should only be one value. In the generic case, it's better to throw an exception than silently dropping one value. In your

Re: OpenCMIS SSO authentication provider

2018-10-26 Thread Florian Müller
Hi Wentao, Are you talking about the client side or the server side? On the client side, there is support for basic auth, NTLM (with many restrictions), OAuth, and client certificates. Kerberos is supported (to some degree) by the JVM. SAML doesn’t make sense here. Other authentication

Re: CSRF check on content GET

2018-09-28 Thread Florian Müller
Hi Florent, I have to admit that I can't recall right know why there is a CSRF check. But the fact that I spent the effort implementing it, makes me believe that there was a good enough reason. I'll keep thinking about it... - Florian Hi Florian, Could you explain the reasoning behind

Re: release 1.2.0

2018-07-24 Thread Florian Müller
Hi all, The OpenCMIS code should be in a releasable state. Does anybody object to a release? Are there any volunteers to do the release? - Florian Hi, It has been more then an year since the last release of CMIS 1.1.0. Some fixes have been gathered with for the 1.2 version (

Re: Cannot find file '/WEB-INF/cmis10/CMISWS-Service.wsdl.template'

2018-07-03 Thread Florian Müller
Hi Uwe, The servlet expects the template files in the servlet context. It doesn't look into the class path. There is currently no way to configure that. Sorry. You have to put the template files into the right place. You can also open an issue and wait for the next release... - Florian

Re: Reg: Major/Minor Version - CMIS

2018-06-13 Thread Florian Müller
Hi, the definition of major and minor versions depends on the repository. For CMIS major and minor versions are only abstract concepts. Many repositories use 1.0, 2.0, 3.0, ... as major versions and 1.1, 1.2, 1.3, ... as minor versions. But this is not a strict rule. Please consult the

Re: CMIS Extensions

2018-05-20 Thread Florian Müller
Müller, Norbert Weckerle > Amtsgericht Mannheim HRA 705979 > PhG: apollon Verwaltungs-GmbH Mannheim HRB 720987 > > 6. OMN Innovation Day am 21. Juni 2018 im ZKM (Karlsruhe) > Herausragende Expertenvorträge und User-Sessions. > Schnell anmelden! >> On May 14, 2018, at 1

CMIS Extensions

2018-05-13 Thread Florian Müller
Hi Sascha, these extensions are sent with the request. That is only supported by the Web Services Binding. The other bindings use HTTP GET for many operations and these calls don't have a request body, which could carry the extension data. Whenever you send data from the client to the server,

Re: No Content Stream vs. Empty Content Stream

2018-03-09 Thread Florian Müller
Hi Jake, The Chemistry dev list is the right place to ask. CMIS makes a clear distinction between "no content" and "content with 0 bytes". On a file system, there is no difference between the two. When a document is created, an empty file is created. The information if there was no content

Re: Adding custom properties to CMIS Server.

2018-02-21 Thread Florian Müller
Hi Tycho, I assume you used the OpenCMIS FileShare code as a starting point. If so, there should be a class FileShareTypeManager. (You may have renamed it.) The type definitions are set up in the constructor. To make your use case work, you need two additional type definitions: The base

Re: Reg: Queries on Apache Chemistry integrated with Apache Tomcat

2018-02-12 Thread Florian Müller
Hi, your jaxb jars don't match the CXF version. For CXF 3.0.12 you need jaxb 2.1.14. - Florian Hi Florian, Please find the screenshot showing the list of JAR names that I have used in my project. Regards, Ram Mahesh Kumar K -Original Message- From: Florian Müller [mailto:f

Re: Reg: Queries on Apache Chemistry integrated with Apache Tomcat

2018-02-12 Thread Florian Müller
, Ram Mahesh Kumar K -Original Message- From: Florian Müller [mailto:f...@apache.org] Sent: Monday, February 12, 2018 5:19 PM To: dev@chemistry.apache.org Cc: Rammaheshkumar K Subject: Re: Reg: Queries on Apache Chemistry integrated with Apache Tomcat Hi, Which OpenCMIS and Java version

Re: Reg: Queries on Apache Chemistry integrated with Apache Tomcat

2018-02-12 Thread Florian Müller
Hi, Which OpenCMIS and Java version are you using? Are you mixing different CXF versions in your project? - Florian Hi, Recently I tried to integrate the Apache Chemistry JAR’s with the Apache Tomcat 8.5 and I need help in that as I am facing an issue there. *12-Feb-2018

Re: Query latest document

2017-12-16 Thread Florian Müller
Sure there is. Use paging. Set the page size to one and fetch the first page. - Florian > Thanks a lot. > > So there is no way to limit to only one result returned? > > On 2017-12-15 04:12, Antony Joseph Kitherian Xavier > wrote: >> You may also use the following

Re: Query latest document

2017-12-14 Thread Florian Müller
Are you looking for this: SELECT cmis:objectId,cmis:lastModificationDate FROM cmis:document ORDER BY cmis:lastModificationDate DESC - Florian Hello All Is there a way to query the latest document using CMIS queries? e.g. max(modified) ?? or to specify WHERE clause saying latest date???

Re: [ManifoldCF] - Content migration - Issue on OpenCMIS Server

2017-12-12 Thread Florian Müller
Hi Piergiorgio, OpenCMIS does not cache queries or query results - neither on the client nor on the server side. All queries are sent to the repository and all query results are straightly converted to Java objects. I cannot explain the behavior that you are seeing. Can you describe your

Re: CMIS paging query result sample code

2017-11-17 Thread Florian Müller
: Florian Müller [mailto:f...@apache.org] Sent: Thursday, November 16, 2017 1:32 PM To: dev@chemistry.apache.org; Lu, Wentao Subject: Re: CMIS paging query result sample code Hi Wentao, If you are processing all query results, it's actually much simpler than you think. Please see: https

Re: CMIS paging query result sample code

2017-11-16 Thread Florian Müller
Hi Wentao, If you are processing all query results, it's actually much simpler than you think. Please see: https://chemistry.apache.org/docs/cmis-samples/samples/operation-context/index.html#list-batch-size Use an Operation Context, set the maxItemsPerPage and just iterate over the query

Re: Enable user to change ACLs

2017-11-03 Thread Florian Müller
That's specific to the repository and not a CMIS topic. - Florian Hello All How do we enable user to modify ACLs (add new, remove existing) ? Me as an admin can make a call to folder.addAcl() and assign new permissions for principals. But how can i enable other selected user to achieve the

Re: Performance problems

2017-11-03 Thread Florian Müller
The exception is returned by the server. If the server doesn't support it, the client has to work around it. Sorry, there is no magic on the client side. - Florian thanks, Florian. I understand better now how query works. The problem is for each returned result we obtain all versions

Re: Performance problems

2017-11-02 Thread Florian Müller
Hi Krzysztof, see this page: https://chemistry.apache.org/docs/cmis-samples/samples/operation-context/index.html#list-batch-size - Florian > Hello All > > Do you experience any performance problems while talking to DMS repo using > open cmis library? > > For example, when you make a call

Re: How to ease contributions to chemisty-cmsilib

2017-10-20 Thread Florian Müller
I like the idea of moving all Apache Chemistry projects to Git. It's some work, though. Someone has to drive it... - Florian +1 from me, although I don't contribute to cmislib, and as a matter of fact I would also support moving the Java chemistry codebase to git. Florent On Fri, Oct 20,

Re: Checking user access control

2017-10-19 Thread Florian Müller
config to read allowable actions per user? Thanks a lot Krzysztof On 19 Oct 2017 3:24 pm, "Florian Müller" <f...@apache.org> wrote: Hi, The allowable actions are the best way to check the permissions. The hasAllowableAction() method has been added more than 3 years ago. Which

Re: Checking user access control

2017-10-19 Thread Florian Müller
Hi, The allowable actions are the best way to check the permissions. The hasAllowableAction() method has been added more than 3 years ago. Which OpenCMIS version are you using? You should definitely update! - Florian Hello All Whats the best way to check user's access to documents using

Re: Run CMIS Workbench auth problem

2017-10-13 Thread Florian Müller
Hi Krzysztof, try these steps: * close the connection dialog * find the log button in the toolbar * increase the log level in the log window * reopen the connection dialog * try again In the log window you should now find more information. - Florian Hello All I am trying run CMIS

Re: Connecting OpenCMIS to an ElasticSearch index on an object storage.

2017-10-06 Thread Florian Müller
from the OpenCMIS Server Development Guide project? - Should I be able to test my new implementation using the CMIS workbench tool that the OpenCMIS Server Development Guide also uses? Thanks in advance, Tycho Florian Müller schreef op 2017-10-06 12:41: Hi Tycho, The OpenCMIS server framewor

Re: Copy document with version history

2017-10-06 Thread Florian Müller
Yes, yes, and yes. See here how to create a session with the browser binding: https://chemistry.apache.org/docs/cmis-samples/samples/create-session/index.html#browser-binding - Florian I have only one client (backend service). Are you saying i can make REST calls to Alfresco DMS using

Re: Copy document with version history

2017-10-06 Thread Florian Müller
You make all three bindings available on the server side. Just add all OpenCMIS server servlets to your web.xml. (See https://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings-war/src/main/webapp/WEB-INF/web.xml?view=markup#l199) You

Re: Copy document with version history

2017-10-06 Thread Florian Müller
Hi, you are right and wrong. ;-) The AtomPub binding does not support createDocumentFromSource. But the OpenCMIS high-level API handles that for you. You should only see an exception if you are using the low-level API. Apart from this, use the Browser binding whenever you can. It's faster.

Re: Connecting OpenCMIS to an ElasticSearch index on an object storage.

2017-10-06 Thread Florian Müller
Hi Tycho, The OpenCMIS server framework has been used by several companies to build CMIS servers. (Alfresco, Nuxeo, SAP, IBM, OpenText, to name a few.) They all have different back-ends with different structures or no structure at all. It's absolutely feasible to implement a CMIS server with

Re: CMIS Swagger REST API - PogeyanOSS

2017-10-06 Thread Florian Müller
to proceed with the OpenCMIS community. Thanks, Fahad -Original Message- From: Florian Müller [mailto:f...@apache.org] Sent: Wednesday, October 4, 2017 7:11 PM To: dev@chemistry.apache.org; Suhaib Fahad <fahad.suh...@pogeyan.com> Subject: Re: CMIS Swagger REST API - PogeyanOSS Hi

Re: CMIS Swagger REST API - PogeyanOSS

2017-10-04 Thread Florian Müller
Hi Fahad, That sounds like an interesting project. How exactly can we help you? There is one thing you should definitely do. All source files must have a header the matches the license - in your case the Apache license. You can find the a header template here (scroll down to the appendix):

Re: Copy document with version history

2017-10-04 Thread Florian Müller
Hi, there is no copy operation in CMIS. There is only a createDocumentFromSource operation, which creates a new document with the content of an existing document. The copy method in OpenCMIS calls createDocumentFromSource with the properties of the source document. So, neither OpenCMIS nor any

New Apache Chemistry PMC member: Laurent Mignon

2017-09-23 Thread Florian Müller
Hi all, Please welcome our newest Apache Chemistry PMC member: Laurent Mignon Laurent has contributed to cmislib in the past. Together with Jeff, he will drive the CMIS Python implementation. Welcome Laurent! - Florian

Re: ExtensionsData in Browser Binding

2017-09-15 Thread Florian Müller
Hi Marie, There is nothing similar for the browser binding. We could add something to OpenCMIS, but that would be outside the CMIS specification. If it is important to you, please open an issue here: https://issues.apache.org/jira/projects/CMIS - Florian > Hello >   > I want to use

Re: Problems obtaining version ids

2017-09-15 Thread Florian Müller
Hi Krzysztof, "Nodes" are an Alfresco concepts. They don't exit in CMIS. But the CMIS Document object should have a property with the Alfresco node ID. What kind of URL you want to construct? Maybe this helps you:

Re: SPNEGO Authentication Provider impl used with CMIS 1.1.0

2017-09-15 Thread Florian Müller
Hi Krzysztof, you can set "Authorization" header in the authentication provider. The StandardAuthenticationProvider does exactly this for basic auth. To use the "Proxy-Authorization" header, extend the StandardAuthenticationProvider instead of the AbstractAuthenticationProvider. - Florian Am

Re: SPNEGO Authentication Provider impl used with CMIS 1.1.0

2017-09-11 Thread Florian Müller
Hi, SPNEGO is a little bit different than most other authentication mechanisms. Please see the SPNEGO section on this web page: https://docs.oracle.com/javase/8/docs/technotes/guides/net/http-auth.html - Florian > I have Alfresco Core repository configured with SPNEGO authentication >

Re: [VOTE] Release Apache Chemistry cmislib 0.6.0 - RC1

2017-08-28 Thread Florian Müller
+1 (The copyright year in NOTICE.txt is outdated. But that shouldn't stop the release.) - Florian Howdy folks, After quite a long time, cmislib is finally ready for a release. The major feature of 0.6.0 is the addition of support for the browser binding. The release also contains bug

Re: createDocument Service: Valid CMIS Behaviour

2017-08-15 Thread Florian Müller
Hi Sacha, That's an interesting question. I don't think there is a definite answer. First of all, the server is the master of all (system) properties and can change property values whenever necessary. The cmis:objectTypeId property is a bit different, though. The spec says (section 2.1.2):

Re: Ready for JDK 9 ?

2017-08-08 Thread Florian Müller
Hi Rory, I tried compiling Apache Chemistry OpenCMIS with JDK 9, but it failed. We are relying on Apache CXF 3.0.14 and its wsdl2java tool. This tool is not JDK 9 ready. This is the Maven error message: [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.0.14:wsdl2java

Re: [VOTE] Release Apache Chemistry ObjectiveCMIS 0.6 - RC2

2017-07-25 Thread Florian Müller
+1 Florian Hi all, ObjectiveCMIS 0.6 is ready for voting. In this release, we support OAuth authentication using Bearer Tokens. For the Browser Binding the list of content changes can be retrieved using the discovery service and we implemented the ACL service for retrieving and writing

[VOTE][RESULT] Release Apache Chemistry PortCMIS 0.3 - RC1

2017-07-25 Thread Florian Müller
The vote passes as follows: Peter Sutter +1 Jens Hübel +1 Florent Guillaume +1 Gi Lee +1 Florian Müller +1 I will promote the RC1 as PortCMIS 0.3 release. Thanks for voting! - Florian Hi all, PortCMIS 0.3 is ready for voting. In this release, we switch from a Portable Class Library

[VOTE] Release Apache Chemistry PortCMIS 0.3 - RC1

2017-07-21 Thread Florian Müller
Hi all, PortCMIS 0.3 is ready for voting. In this release, we switch from a Portable Class Library to a .NET Standard Library, which helps users on non-Windows platforms. The release also contains a few bug fixes and improvements. You can find the commodity packages release candidate

Re: OpenCMIS - Restricted to cxf webservices

2017-06-14 Thread Florian Müller
Hi Anil, There were quite a few severe issues with the JAX-WS RI. For example, we had to use internal classes and interfaces to make the content streaming work. A few internal interfaces changed from Java 7 to Java 8, which made it impossible for us to provide jars that work for both Java

Re: Building a custom soap header interceptor for webservices authentication

2017-06-08 Thread Florian Müller
Hi Irfan, These are outdated instructions. Extend the class CmisWebServicesServlet and override the configureInterceptors method to add a new interceptor. - Florian > I am building a cmis server and would like to add an interceptor or handler > that would intercept the incoming soap

Re: Cmis

2017-06-08 Thread Florian Müller
Hi, OpenCMIS has no default maximum. It returns whatever the repository sends. The repository may have a maximum, though. The getTotalNumItems() method SHOULD return the number of hits. If it returns -1 the repository didn't return this value, for what ever reason. In some cases the

Re: ref element not allowed

2017-04-05 Thread Florian Müller
Hi Dalibor, OpenCMIS 0.10.0 is way out of date (-> 2013). We are just releasing OpenCMIS 1.1.0. OpenCMIS uses CXF internally since the 0.14.0 release. Please update and try again. - Florian Hi, I think I have found a bug. I'm using apache-cxf and cannot use query operation from

[VOTE][RESULT] Release Apache Chemistry 1.1.0 - RC1

2017-04-05 Thread Florian Müller
The vote passes as follows: Jens Hübel +1 Florent Guillaume +1 Peter Sutter +1 Gavin Cornwell +1 Florian Müller +1 I will promote the RC1 as OpenCMIS 1.1.0 release. Thanks for voting! - Florian Hi all, OpenCMIS 1.1.0 is ready for voting. This is mainly a bug fix release. A few more

[VOTE] Release Apache Chemistry 1.1.0 - RC1

2017-03-31 Thread Florian Müller
Hi all, OpenCMIS 1.1.0 is ready for voting. This is mainly a bug fix release. A few more convenience methods have added as well and the CMIS Workbench has been improved. You can find the commodity packages release candidate artifacts (for final distribution at apache.org/dist) at [1].

[VOTE][RESULT] Release Apache Chemistry PortCMIS 0.2 - RC1

2017-03-17 Thread Florian Müller
The vote passes as follows: Jens Hübel +1 Peter Sutter +1 Gavin Cornwell +1 Gi Lee +1 Florian Müller +1 I will promote the RC1 as PortCMIS 0.2 release. Thanks for voting! - Florian Hi all, PortCMIS 0.2 is ready for voting. This is a bug fix release. You can find the commodity packages

Re: OpenCMIS FileShare Repository

2017-03-17 Thread Florian Müller
<http://twitter.com/SylobErp> <http://www.google.com/+sylob> <http://www.viadeo.com/fr/company/sylob-sas> <http://www.linkedin.com/company/sylob> 2017-03-03 19:36 GMT+01:00 Florian Müller <f...@apache.org>: Hi Laurent, If you exclude the meta data storage and ignore

Re: Authentication error connect to CMIS Web Services endpoint with using DotCMIS v0.7

2017-03-17 Thread Florian Müller
Hi Xi, The Web Services binding uses UsernameToken by default for the authentication (as defined by the CMIS specification). Your server doesn't seem to support that. To turn on HTTP authentication add this line: parameters[SessionParameter.AuthenticationProviderClass] =

[VOTE] Release Apache Chemistry PortCMIS 0.2 - RC1

2017-03-14 Thread Florian Müller
Hi all, PortCMIS 0.2 is ready for voting. This is a bug fix release. You can find the commodity packages release candidate artifacts (for final distribution at apache.org/dist) at [1]. Sources tag can be found at [2]. For detailed release notes check JIRA at [3]. The vote is open for 72

Re: OpenCMIS FileShare Repository

2017-03-03 Thread Florian Müller
Hi Laurent, If you exclude the meta data storage and ignore the file system permissions, the OpenCMIS FileShare Repository could work very well. It only provides a restricted feature set, but it is still CMIS compliant repository. If this works for your use case, go ahead and use it. The meta

Re: JSONParseException String too long

2017-02-28 Thread Florian Müller
where length is 221 666 characters. This field contains log of changes document. 2017-02-28 14:44 GMT+03:00 Florian Müller <f...@apache.org>: Hi Dmitry, There is a limitation to protect the client from broken or malicious servers. It restricts strings (usually property values) to 1

Re: JSONParseException String too long

2017-02-28 Thread Florian Müller
Hi Dmitry, There is a limitation to protect the client from broken or malicious servers. It restricts strings (usually property values) to 102,400 characters (!!!) per string. Do you have a property value of that size? If not, your repository (or your network) might have a problem. -

Re: getTypeChildren with a typeId at null

2016-12-28 Thread Florian Müller
Hi Guillaume, Please see CMIS 1.1 specification, section 2.2.2.3. If the type ID is not set, the repository must return the base type definitions (cmis:document, cmis:folder, ...). - Florian > Hi all, > > I've an implementation issue in my CMIS server (based on >

Re: Slow when call cmis bridge using pure http call after a few days

2016-12-23 Thread Florian Müller
E] ExecuteThread: '19' for queue: > 'weblogic.kernel.Default (self-tuning)'] > [oD4sshOkz84__MiAx3i8UXjkp9Gh72i54art8gJeRVy9dENHqP5r!1954451694!1482513585060] > com.bch.filenet.cmis.bridge.MyCmisService: getContentStream ends. > > > Thanks > Wentao > > -Original M

Re: Slow when call cmis bridge using pure http call after a few days

2016-12-22 Thread Florian Müller
-12-21 17:55:230.946 GET /fncmis/resources/myrepository/ContentStream/idd_8016FF58-35FF-4147-81A4-07AA990EDBBD/0/Report+E901.pdf 200 Thanks Wentao -Original Message- From: Florian Müller [mailto:f...@apache.org] Sent: 2016, December 21 12:14 PM To: Lu, Wentao; dev@chemistry.ap

Re: Slow when call cmis bridge using pure http call after a few days

2016-12-21 Thread Florian Müller
osition")); > int bytesRead = -1; > byte [] buffer = new byte[64000]; > while ((bytesRead = inputStream.read(buffer)) != -1){ > response.getOutputStream().write(buffer,0,bytesRead); > } > inputStream.close(); > httpConnGetContent.disco

Re: Slow when call cmis bridge using pure http call after a few days

2016-12-21 Thread Florian Müller
Hi Wentao, The log excerpt shows that the getRepositoryInfo call takes most of the time. Why it takes that long should be answered by a FileNet expert (Jay?). The log excerpt also shows that you are creating a new OpenCMIS session to your FileNet server on the bridge. If you can cache the

Re: Deduce absolute path from current node name

2016-11-25 Thread Florian Müller
Hi Guillaume, No, the OpenCMIS framework doesn't know anything about the folder hierarchy. Also, the concept of a relative path doesn't exist in CMIS. All paths are absolute. Have you already implemented getFolderParent()? It should provide you the absolute path of the parent folder. -

Re: NullPointer in CMIS Session getObject - Apache Chemistry

2016-11-11 Thread Florian Müller
Hi, I've never seen that before. It looks like the Alfresco OpenCMIS Extension passed null to the getTypeDefinition method and that eventually triggers the NullPointerException. You should contact Alfresco. Apart from that, you should consider updating your OpenCMIS library and switch to

Re: "null" values for multi-value properties and CMIS specs

2016-10-21 Thread Florian Müller
Hi Vyacheslav, If I recall correctly, most vendors involved in the specification had trouble distinguishing null strings from empty strings. That's why null values are not supported. From a protocol and OpenCMIS low-level API point of view you can send null values, but that would be outside

Re: Web Services binding failure in Chemistry 0.14 client while passing customized SOAP Security header

2016-10-02 Thread Florian Müller
Hi Vyacheslav, Please open an issue here: https://issues.apache.org/jira/browse/CMIS I'll look into it. - Florian > Hello, > > I have a custom authentication provider that extends > org.apache.chemistry.opencmis.client.bindings.spi.StandardAuthenticationProvider. > The provider modifies

Re: Database injection support ?

2016-09-26 Thread Florian Müller
Hi Guillaume, The OpenCMIS server framework is basically a set of servlets. You should be able to access your data source in the same way you would do it from a "normal" servlet. You probably have to define a resource-ref in your web.xml and use an InitialContext in your code to get access

Re: How to disable http keep-alive for DotCMIS

2016-09-22 Thread Florian Müller
Hi Wento, There is a better way. Write your own authentication provider. Here you get access to the HttpWebRequest object and you can disable keep-alive. Checkout (and maybe derive from) the StandardAuthenticationProvider implementation:

[VOTE][RESULT] Release Apache Chemistry 1.0.0 - RC1

2016-09-08 Thread Florian Müller
The vote passes as follows: Peter Sutter +1 Jeff Potts +1 Lukas Gross +1 Florent Guillaume +1 Florian Müller +1 Gabriele Columbro +1 (non binding) I will promote the RC1 as OpenCMIS 1.0.0 release. Thanks for voting! - Florian Hi all, OpenCMIS 1.0.0 is ready for voting. Finally. After

[VOTE] Release Apache Chemistry 1.0.0 - RC1

2016-09-02 Thread Florian Müller
Hi all, OpenCMIS 1.0.0 is ready for voting. Finally. After five years of development OpenCMIS reaches its first major version. The differences to the previous version (0.14.0) are rather small. A few small bugs have been fixed and a few small features have been added. Deprecated methods and

Re: When will we move to git?

2016-09-02 Thread Florian Müller
gt; > I know for cmislib, recent contributors have preferred git, and as a > sub-project that's in need of more contributors, I want to reduce > contribution friction as much as possible. So I would vote strongly in > favor of moving. > > What do others think? > > Jeff > &g

Re: When will we move to git?

2016-09-02 Thread Florian Müller
Nothing is stopping us. If we all agree to moving to Git, we need someone who takes the lead and do it. - Florian > I know we have a one-way mirror of our SVN repo to github. What's stopping > us from moving to git exclusively? > > Jeff >

Re: CmisService interface

2016-08-23 Thread Florian Müller
Hi Michael, Changing this interface is rather difficult. It is composed of other interfaces that are the core interfaces for the client and server implementations. Changing the interfaces would break a lot in the OpenCMIS code and would break applications currently using these interfaces.

Re: Question about Paging - numItems

2016-08-20 Thread Florian Müller
-064 Schnell Tickets sichern! On Aug 19, 2016, at 10:27 PM, Florian Müller <f...@apache.org<mailto:f...@apache.org>> wrote: Hi Sascha, You found a bug in the Workbench! It's now fixed. Thanks for reporting it! - Florian Hi Florian, thx for the info. Yes, on server side I o

Re: Question about Paging - numItems

2016-08-19 Thread Florian Müller
, Ingrid Müller (stv. Vors.), Peter Schellhorn, Norbert Weckerle Amtsgericht Mannheim HRA 500441 PhG: Meyle+Müller Verwaltungs-GmbH HRB 500138 apollon auf der dmexco Köln 14./15. September 2016 Halle 6.1 / Stand A-064 SCHNELL TICKETS SICHERN! [4] On Aug 19, 2016, at 5:32 PM, Florian Müller <f...

Re: Security related question

2016-08-19 Thread Florian Müller
that servlet filters are typically where this is done but it isn't an option in my case since Servlet 3 Asynchronous processing doesn't play well with servlet filters on all app servers - but that's unrelated to the Chemistry project. Thanks for your speedy reply! On Wed, Aug 17, 2016 at 4:30 PM, Flori

Re: Question about Paging - numItems

2016-08-19 Thread Florian Müller
Hi Sascha, You are right, totalNumItems should stay the same for each page (assuming that the data in the repository doesn't change). Some repositories don't always return a value for totalNumItems, but that's OK from the spec point of view. If the client sets maxItems to 5 the server MUST

Re: Security related question

2016-08-17 Thread Florian Müller
Hi, You are right - with a few exceptions. ;-) In many (most?) environments the CMIS server is embedded into a DMS system or an application server or a cloud infrastructure or something similar, which does the authentication check before the request actually reaches the CMIS implementation.

Re: OpenCMIS 1.0

2016-08-16 Thread Florian Müller
Nobody volunteered, yet. If there are no objections, I'll run the release this time. - Florian We need a release manager for the OpenCMIS 1.0 release. Are there any volunteers? - Florian Hi all, I think we are ready for OpenCMIS 1.0. What do you think? Before we release 1.0, I would like

Re: OpenCMIS 1.0

2016-08-12 Thread Florian Müller
We need a release manager for the OpenCMIS 1.0 release. Are there any volunteers? - Florian Hi all, I think we are ready for OpenCMIS 1.0. What do you think? Before we release 1.0, I would like to remove all deprecated methods. Would that be ok? What do you think about raising the minimum

Re: How to pass "extension data" for different bindings?

2016-07-25 Thread Florian Müller
le custom HTTP headers in CallContextHandler and AuthenticationFilter but as you mentioned it is a bit awkward. Regards, Vyacheslav Pascarel -Original Message- From: Florian Müller [mailto:f...@apache.org] Sent: Friday, July 22, 2016 12:42 PM To: dev@chemistry.apache.org Cc: Vyac

Re: How to pass "extension data" for different bindings?

2016-07-22 Thread Florian Müller
Hi Vyacheslav, Your example is actually the exception. When you create a type you can add extension data to almost every levels of the type definition and it will be transferred to the server. That is supported by all bindings. But this has nothing to do extensions you find in the method

Re: OpenCMIS 1.0

2016-07-21 Thread Florian Müller
07/18/2016 09:19:33 AM---+1 -- From: Gabriele Columbro <colum...@gmail.com> To: dev@chemistry.apache.org Date: 07/18/2016 09:19 AM Subject: Re: OpenCMIS 1.0 -- +1 -- Gabriele Columbro Executive Director, Symphony Software Foundation > On Jul 18, 2016,

Re: OpenCMIS 1.0

2016-07-20 Thread Florian Müller
I have to agree. We here are just phasing out Java 6. We would need Java 7 support probably for a few more years. - Florian On Tue, 19 Jul 2016, Gavin Cornwell wrote: If we’re contemplating a move from Java 6 why not move straight to 8? What new features do we get if we move to 8 rather

OpenCMIS 1.0

2016-07-18 Thread Florian Müller
Hi all, I think we are ready for OpenCMIS 1.0. What do you think? Before we release 1.0, I would like to remove all deprecated methods. Would that be ok? What do you think about raising the minimum JVM version from 6 to 7? - Florian

  1   2   3   4   5   6   7   >