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

2019-01-31 Thread Mark Streit
Hello We have a document management solution built on around the CMIS standards that uses OpenCMIS Java and interacts w/ Alfresco 5.2.3 Enterprise. This question may not be new but given the following: - OpenCMIS client api version 0.14.0 - CMIS Browser binding - The application is wri

Re: Problems obtaining version ids

2017-09-15 Thread Mark Streit
Krzysztof and Florian, Just adding as an example...We use Alfresco 5.1 Enterprise and Chemistry as well (OpenCMIS client API) and when utilizing the Chemistry Workbench to inspect the Document object properties, we see the following: "Alfresco Node Ref","alfcmis:nodeRef","id",["workspace://Space

MIME Types for BMP and XML files - diff between Chemistry Client API and Apache Tika

2017-01-23 Thread Mark Streit
che Tika was that we saw it mentioned in the Manning book on CMIS and Chemistry: https://www.manning.com/books/cmis-and-apache-chemistry-in-action (an extremely helpful book BTW) Thanks, Mark Streit

Re: CMISRunTimeException Uploading 25 MB File - Need Help

2015-12-10 Thread Mark Streit
Hari I know In our environments, there are often file upload size limits set on corporate network tiers that can limit upload file sizes, say 20-25 MB per request just to manage high request volume across 1000s of client users we have. Files of a size like you're describing would get rejected befo

Re: AW: Access to the Principal List in the ACL Editor

2015-12-01 Thread Mark Streit
We've built a product using Apache Chemistry and CMIS 1.1 (Java based OpenCMIS). We've also discovered that managing ACL-related items OUTSIDE of the 'CMIS band' is far better and avoids "cluttering" the Document repository with "user/group/permission" semantics -- *especially when the number of us

Re: CmisStorageException with OpenCMIS 0.10.0 - Alfresco Enterprise 4.2.3

2015-03-30 Thread Mark Streit
Igor Thanks for your reply as well. We DID confirm that we are creating the ContentStream correctly (passing the size) and the resulting length is checked and logged to the Console (temporarily) while we are trying to determine the problem. It appears to be correct. *We already have an open sup

CmisStorageException with OpenCMIS 0.10.0 - Alfresco Enterprise 4.2.3

2015-03-27 Thread Mark Streit
*Chemistry experts * *We have a large CMIS implementation using Alfresco Enterprise 4.2.3 and Chemistry v0.10.0-RELEASE * *Everything has worked extremely well to date but we have now modified our UI page logic such that it is able to start uploading multiple documents in parallel - we now ha

Re: Does Chemistry support Java 1.4 and 1.5?

2014-10-31 Thread Mark Streit
To my knowledge, I believe JDK 1.5 at a minimum. We've always OpenCMIS only with 1.6 and 1.7 thus far. I'm sure one of the committers will have a more expert answer. The version Chemistry we use is the 0.10.0-RELEASE On Friday, October 31, 2014, Lu, Wentao wrote: > Hi, > > We are planning to

Re: ClassCastException: com.ibm.xml.xlxp2.jaxb.JAXBContextImpl incompatible with com.sun.xml.bind.api.JAXBRIContext

2014-10-10 Thread Mark Streit
We've been down this road before with WAS7 and classloading whenever a separate JAX-WS/JAXB stack (other than WAS's own) is used. Was not fun but did get things working... In addition to PARENT_LAST ... make sure to also set Classloader PER Application,* not Single*. That will hopefully help. M

Re: Getting started in analyzing Chemistry

2014-07-22 Thread Mark Streit
Marc-André Forgot another helpful page from Jeff Potts' site: http://ecmarchitect.com/cmis On Tue, Jul 22, 2014 at 10:34 PM, Mark Streit wrote: > The server implementations, AFAIK, pretty much cover the entire API (both > that one, and the fileshare version are obviously jus

Re: Getting started in analyzing Chemistry

2014-07-22 Thread Mark Streit
d some entry points - preferably servlets. I am seeing > some small code on the samples folder (and they use main), but that's > about it. > > Do you know of any other sample app? > > Regards, > > Marc-André Laverdière-Papineau > Doctorant - PhD Candidate > > On

Re: Getting started in analyzing Chemistry

2014-07-22 Thread Mark Streit
We use Chemistry's OpenCMIS JARs for a project that interacts with Alfresco Enterprise server and on the CLIENT side we use the following 5 artifacts and their dependencies: /org/apache/chemistry/opencmis/chemistry-opencmis-client-api/0.10.0/chemistry-opencmis-client-api-0.10.0.jar /org/apache/che

Re: Websphere issue - The request is not MTOM encoded

2014-07-09 Thread Mark Streit
There was another thread about something similar before - I believe it was Alex as well, correct? Recall that you don't want the WebSphere stack interfering and it will unless you specifically configure the application that is running to avoid it. If your "client" code is running from inside WAS

Re: open CMIS server framework 0.11 - WebSphere deployment

2014-07-03 Thread Mark Streit
Might be late to the conversation but we've had our share of headaches with WAS7 (I know you're on 8.5) when deploying any EAR/WAR application that uses JAX-WS and related dependencies, where one does *NOT* want the WAS7 stack interfering. The wording of this implies it's a server side applicatio

Re: [jira] [Created] (CMIS-812) Error deploying chemistry-opencmis-server-inmemory-0.11.0.war on WebLogic

2014-06-05 Thread Mark Streit
Jana Is it possible that due to classloading precedence, this occurs?. If I recall correctly, the Chemistry servers carry all the JARS they need including the JAX-WS runtime stack and its dependencies. Weblogic has its own stack entirely. Usually this requires something like setting the classload

compatibility when 2 diff versions of OpenCMIS jars are used between client and server

2014-05-13 Thread Mark Streit
Apologies if this question has been asked already or if I missed something: We have a situation where a client application is deployed with the Chemistry 0.8.0 release of the JARs ... it is calling an Alfresco server instance that is using Chemistry 0.10.0 in its implementation. We have seen some

Re: Exception while obtaining the root folder of a Sharepoint 2010 Calendar list

2014-04-09 Thread Mark Streit
I'm only offering an opinion here so please keep that in mind. We worked for a number of months trying to make Sharepoint 2010 work with a CMIS client application that we were building. We were using AtomPub and OpenCMIS 0.8.0. It was an uphill battle on numerous fronts as far as SP 2010 went in

Re: getTotalNumItems() returning wrong value

2014-03-18 Thread Mark Streit
We ran into a similar issue with the method: getTotalNumItems() - (using Alfresco 4.1.7) and I believe this has been reported to them already. You may wish to check with Alfresco. Mark Streit On Tue, Mar 18, 2014 at 12:37 PM, Sebastian Danninger < sebastian.dannin...@googlemail.com>

recent issue with trying to build from source - 1.0.0-SNAPSHOT

2014-02-21 Thread Mark Streit
*I will assume that this is some issue recently introduced however, I am not sure if it's on my side. After checking out the** latest s**ource code from *https://svn.apache.org/repos/asf/chemistry/opencmis/trunk and opening the terminal window on the base folder: mark@build_server~/SVN/Chemistry

Question about CmisObject and getRenditions() method

2013-12-05 Thread Mark Streit
Chemistry Experts I have what I hope is an easy clarification question: We currently have 2 development streams for our client side code where we use: - OpenCMIS - 0.8.0-RELEASE on the client side and Alfresco Enterprise 4.1.5 on the server side - OpenCMIS - 0.10.0-RELEASE on the cli

QueryResult.getTotalNumItems() reporting 2 when there is only 1 result as expected

2013-10-07 Thread Mark Streit
Chemistry folks We are running into an odd issue where a CMIS Query run via the Chemistry Workbench returns 1 record *as expected* but when the EXACT same CMIS SQL is executed in code, the call to the method QueryResult.*getTotalNumItems*() is returning 2. This is of course causing problems as it

CMIS API (openCMIS) and diacritical characters

2013-08-06 Thread Mark Streit
Hello Question on the CMIS APIs and having properties containing diacritical characters in String values. I know this may be a service implementation-specific question, however, can anyone confirm if the CMIS API as implemented in OpenCMIS (Java) requires any special encoding of diacritical chara

CMIS SQL query String limits: question

2013-06-06 Thread Mark Streit
Hello I have question which appears to have been raised some time ago: http://mail-archives.apache.org/mod_mbox/chemistry-dev/201106.mbox/%3C4DF8D70D.7000200%40alfresco.com%3E In that thread, there is reference made to this: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implem

Re: [discussion] OpenCMIS release

2013-05-19 Thread Mark Streit
Obviously I am not a voting member but would like to ask: Will the samples/documentation be updated to cover the JSON browser binding (CMIS 1.1) and the Type Mutability (also CMIS 1.1). Primarily the http://chemistry.apache.org/java/developing/guide.html and the samples bundled in the source cod

Re: OperationContext and the Session.query() method

2013-05-06 Thread Mark Streit
ntext being used, but specifically it is using it with the getChildren() method of a cmis:Folder instance and not the Session.query() method. Otherwise, obviously, it is the way I'm interpreting this that is wrong. Thanks On Sun, May 5, 2013 at 8:48 AM, Mark Streit wrote: > Yes - we l

Re: OperationContext and the Session.query() method

2013-05-05 Thread Mark Streit
cmis:objectId, cmis:name FROM acme:document > > Michael > > On Sun, May 5, 2013 at 12:05 AM, Mark Streit wrote: > > > Hello, > > > > I know I must be missing something so perhaps someone can help clarify. > > > > > >1. We are currently using Apache Ch

OperationContext and the Session.query() method

2013-05-04 Thread Mark Streit
Hello, I know I must be missing something so perhaps someone can help clarify. 1. We are currently using Apache Chemistry 0.8.0 (OpenCmis) quite successfully thus far, building an application that uses Alfresco 4.1.3 Enterprise as the repository solution. 2. Our content model is the

Re: [jira] [Created] (CMIS-643) when i am accessing atompub url getting "method not allowed" exception Intermittently Please help me how to resolve the issue

2013-04-05 Thread Mark Streit
As a user of Apache Chemistry (OpenCMIS) libraries for applications that were attempting to use 2 different 3rd party ECM server implementations (supposed to be CMIS compliant), I can tell you that intermittent errors with that kind of error are NOT Apache Chemistry problems but are an issue with t

creating multiple Documents in a single cmis:Folder in a single method call

2013-03-19 Thread Mark Streit
Hello I have a question about the POTENTIAL ability to "create" Documents (in a 1 to many manner) in one call instead of individual calls to Folder.createDocument() when sending more than one document to the *same * Folder. Today of course with CMIS 1.0, we can do this: (this excerpt is simply ta

Re: Problem with create custom Folder

2013-02-28 Thread Mark Streit
file, that defined the model, was loaded - we're using Alfresco 4.1.2 and also Community Edition 4.2.b, we could then see the namespace prefix. We use the Apache Chemistry 0.8.0 binaries Mark On Feb 28, 2013 6:56 PM, "Mark Streit" wrote: > We had this same issue using folder th

Re: Problem with create custom Folder

2013-02-28 Thread Mark Streit
We had this same issue using folder that had some custom string properties added to it's definition... and, as Jeff stated, the F: prefix fixed it. I accidentally used the D: prefix instead and go the same error. The workbench helped us figure that out - once the XML file that defined the model wa

question on Chemistry client API (0.8.0 release) - usage from Websphere 7

2013-01-18 Thread Mark Streit
Hello Please pardon the long post but I want to be clear in the description. I am trying to chase down an issue we are seeing that "appears" to be occurring based on the *order *of web service calls involving OpenCMIS (0.8.0) RELEASE in a Websphere environment. We have a web application that is

Re: [VOTE] Release Apache Chemistry OpenCMIS 0.8.0 (RC1)

2012-10-15 Thread Mark Streit
+1 Thanks (and Happy belated Birthday) On Mon, Oct 15, 2012 at 7:18 AM, Gabriele Columbro wrote: > Hi fellow Chemists, > > over the weekend (of my birthday ;) ) I was able to package a nice present > and kick out OpenCMIS 0.8.0-RC1 release. > > You can find the commodity packages release candida

Re: in memory server with dynamic WS deployment

2012-10-05 Thread Mark Streit
Not sure what your specific use case is (so pardon any assumptions) ...but just a couple of thoughts: 1) To Florian's point, I would not think one would want to "tamper" with the Chemistry In-memory WAR ... configuration files, endpoint descriptors, etc since it is all self-contained (hence the JA

Re: Next OpenCMIS Release

2012-09-24 Thread Mark Streit
Gets my vote. We've been building from source for SNAPSHOT 0.8.0 regularly and would be happy to get binaries that are released. :-) Thanks Mark Sent via Android HTC I2 On Sep 24, 2012 7:43 AM, "Florian Müller" wrote: > Hi everyone, > > What are your thoughts about a new OpenCMIS release? > W

Re: How to iterate over an ItemIterable more than once

2012-09-11 Thread Mark Streit
Florian Thank you for the "rewind" suggestion - that WORKED. Storing the QueryResult objects back into a new List while iterating (initially) SOLVED the problem. Appreciate your help. On Mon, Sep 10, 2012 at 3:14 PM, Florian Müller wrote: > Hi Mark, > > You cannot rewind an ItemIterable objec

How to iterate over an ItemIterable more than once

2012-09-10 Thread Mark Streit
Hello I am curious about how to get around something I've encountered using the ItemIterable Using the OpenCMIS 0.8.0 SNAPSHOT, we've been able to successfully add Documents and use CMIS SQL to retrieve the list of documents using the IN_FOLDER predicate. I am able to iterate over the list of Qu

Re: support for adding List to cmis:Document

2012-09-04 Thread Mark Streit
>> d:text >> >> >> >> >> It is the following element definition above: >> >> >> >> d:text >> >> >> &

Re: support for adding List to cmis:Document

2012-09-04 Thread Mark Streit
nclude the List<> construct I am guessing this may not be feasible? Thanks.. Mark On Aug 31, 2012 2:31 PM, "Mark Streit" wrote: > Hi Jeff > > Thanks for the quick response (seems to be common on this list which is > really appreciated). > > I see what you are sa

Re: support for adding List to cmis:Document

2012-08-31 Thread Mark Streit
#x27;t support it, a note > could be a cmis:document and you could track cmis:objectId's of notes in a > multi-value property on the cmis:document (more likely a child type of > cmis:document) instances related to those notes. > > Does that make sense or am I missing your intent? &g

support for adding List to cmis:Document

2012-08-31 Thread Mark Streit
I have seen a few threads on a similar topic so pardon if this is duplicated. First off, I know that this is completely dependent on the ECM product supporting this. 2 ECM products are being considered - SharePoint 2010 (or possibly 2013) and Alfresco 4 Second this an all Java implementation fro

Re: question on Folder and Document info via CMIS

2012-08-30 Thread Mark Streit
you need is that length property. That will speed up performance a bit. > - Be sure to use paging on the result set. > - Using IN_FOLDER will give you just the space taken up by that folder > object. If you want to recurse use IN_TREE instead. > > Jeff > > On Aug 30, 2012, at 4:21 P

question about adding a multi-valued property to a CMIS Document model

2012-07-23 Thread Mark Streit
We are using the OpenCMIS 0.8.0 SNAPSHOT JARs to interact with 2 proof-of-concept ECMs. Alfresco 4 and SP 2010. I realize the each ECM has particular limitations and capabilities (our experience so far is that AF4 is certainly more compliant), in particular where the SQL query capability is being

ItemIterable queryResult HAS items but getTotalNumItems() returns -1

2012-07-20 Thread Mark Streit
Hello, I am using the Java OpenCMIS 0.8.0 SNAPSHOT from about a month ago against an Alfresco 4 instance and all has been working just fine. I am using the AtomPub binding. However, today after adding a some documents and writing a test case to check that the number of records returned > 0, I go

Re: Connect to Sharepoint 2010 through CMIS Workbench

2012-06-07 Thread Mark Streit
When we switched the auth type to standard and NOT NTLM on SP server configuration...we were able to connect the CMIS workbench to it and see the list of repositories. Otherwise we had the same issue...could never get NTLM to work. Mark On Jun 7, 2012 4:35 PM, "Florian Müller" wrote: > Try pla

Fwd: problem with GettingStarted application (using fileshare service WAR)

2012-05-30 Thread Mark Streit
reason. Thanks -- Forwarded message -- From: Mark Streit Date: Fri, May 25, 2012 at 3:26 PM Subject: problem with GettingStarted application (using fileshare service WAR) To: dev@chemistry.apache.org Hello, Not sure where to post this question but I've been using the A

[jira] [Commented] (CMIS-530) update cmis:name property of a previously uploaded file "appears" to fail with CmisObjectNotFoundException" but actually does the rename

2012-05-09 Thread mark streit (JIRA)
[ https://issues.apache.org/jira/browse/CMIS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272052#comment-13272052 ] mark streit commented on CMIS-530: -- Florian That did it. By using the version of

[jira] [Updated] (CMIS-530) update cmis:name property of a previously uploaded file "appears" to fail with CmisObjectNotFoundException" but actually does the rename

2012-05-09 Thread mark streit (JIRA)
[ https://issues.apache.org/jira/browse/CMIS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mark streit updated CMIS-530: - Description: when attempting to follow the approach that is shown in the example code called

[jira] [Commented] (CMIS-530) update cmis:name property of a previously uploaded file "appears" to fail with CmisObjectNotFoundException" but actually does the rename

2012-05-09 Thread mark streit (JIRA)
[ https://issues.apache.org/jira/browse/CMIS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271584#comment-13271584 ] mark streit commented on CMIS-530: -- could this be related to CMIS

[jira] [Created] (CMIS-530) update cmis:name property of a previously uploaded file "appears" to fail with CmisObjectNotFoundException" but actually does the rename

2012-05-09 Thread mark streit (JIRA)
mark streit created CMIS-530: Summary: update cmis:name property of a previously uploaded file "appears" to fail with CmisObjectNotFoundException" but actually does the rename Key: CMIS-530