Giter Site home page Giter Site logo

xcmis's Issues

Wiki documentation is referencing portal.war instead of portal

The wiki page on code.google.com (http://code.google.com/p/xcmis/w/list) is 
referencing a folder 
"portal.war". But with GateIn CR1, it seems that the correct folder name is 
"portal" and not 
"portal.war"

Can you clarify the explanation on this page please ? 

Regards

Nicolas 

Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 12:31

xmlNamespace is not managed in specific case

RepositoryInfoParser.parse() line 54:

if (!node.getNodeName().equals(CMIS.WORKSPACE))
{
   return;
}

with CMIS.WORKSPACE = "workspace";


Problem:
If an AtomPub request result is:
"
...
<app:workspace>
...
</app:worspace>
"

it does not work.


(Tested with a 
[http://incubator.apache.org/chemistry/opencmis-inmemory-repository.html] 
server).

Original issue reported on code.google.com by [email protected] on 30 Sep 2010 at 2:10

can't add a file with cmis-explorer

When I'm trying to add a file with CMIS-Explorer
(http://code.google.com/p/cmis-explorer/) I'm getting a NullPointerException.

Stacktrace:
10.02.2010 10:41:12 *ERROR* [http-8080-13] RequestHandlerImpl: Internal
error occurs. (RequestHandlerImpl.java, line 222) 
java.lang.NullPointerException
    at
org.xcmis.restatom.collections.FolderChildrenCollection.postEntry(FolderChildren
Collection.java:212)
    at org.xcmis.restatom.AtomCmisService.createItem(AtomCmisService.java:743)
    at org.xcmis.restatom.AtomCmisService.createChild(AtomCmisService.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.exoplatform.services.rest.impl.method.DefaultMethodInvoker.invokeMethod(Defa
ultMethodInvoker.java:140)
    at
org.exoplatform.services.rest.impl.RequestDispatcher.invokeSubResourceMethod(Req
uestDispatcher.java:302)
    at
org.exoplatform.services.rest.impl.RequestDispatcher.dispatch(RequestDispatcher.
java:244)
    at
org.exoplatform.services.rest.impl.RequestDispatcher.dispatch(RequestDispatcher.
java:147)
    at
org.exoplatform.services.rest.impl.RequestHandlerImpl.handleRequest(RequestHandl
erImpl.java:136)
    at
org.exoplatform.services.rest.servlet.RestServlet.onService(RestServlet.java:82)
    at
org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.ja
va:116)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:290)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
    at
org.exoplatform.services.rest.servlet.RestEncodingFilter.doFilter(RestEncodingFi
lter.java:58)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
    at
org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.d
oFilter(ThreadLocalSessionProviderInitializedFilter.java:116)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
    at
org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurre
ntIdentityFilter.java:76)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
33)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
91)
    at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.jav
a:525)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109
)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Pr
otocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Thread.java:637)

Original issue reported on code.google.com by [email protected] on 10 Feb 2010 at 2:47

GateIn CR1 xCMIS won't start, a NullPointerException is thrown

What steps will reproduce the problem?
1. I'm using GateIn CR1
2. I downloaded, compiled xCMIS as explained on the Wiki, 
3. I also configurer the various XML cmis file 
4. I added the lib in Gatein/lib folder as told on the wiki

When I start the application, the following NullPointerException is thrown:


What is the expected output? What do you see instead?
26 f?vr. 2010 13:57:26
org.exoplatform.services.jcr.impl.RepositoryServiceImpl start
GRAVE: Error start repository service
java.lang.NullPointerException
    at
org.exoplatform.services.jcr.impl.RepositoryServiceImpl$ManagerStartChanges.regi
sterListeners(RepositoryServiceImpl.java:463)
    at
org.exoplatform.services.jcr.impl.RepositoryServiceImpl.createRepository(Reposit
oryServiceImpl.java:153)
    at
org.exoplatform.services.jcr.impl.RepositoryServiceImpl.init(RepositoryServiceIm
pl.java:341)
    at
org.exoplatform.services.jcr.impl.RepositoryServiceImpl.start(RepositoryServiceI
mpl.java:256)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.picocontainer.defaults.LifecycleVisitor.traverse(LifecycleVisitor.java:75)
    at
org.picocontainer.defaults.LifecycleVisitor.start(LifecycleVisitor.java:113)
    at
org.picocontainer.defaults.DefaultPicoContainer.start(DefaultPicoContainer.java:
369)
    at org.exoplatform.container.PortalContainer.start(PortalContainer.java:537)
    at
org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java
:333)
    at
org.exoplatform.container.RootContainer.registerPortalContainer(RootContainer.ja
va:206)
    at
org.exoplatform.portal.application.PortalController.afterInit(PortalController.j
ava:114)
    at
org.exoplatform.container.web.AbstractHttpServlet.init(AbstractHttpServlet.java:
72)
[...]


What version of the product are you using? On what operating system?
- Mac OS 
- Java 6

Please provide any additional information below.
- When RepositoryServiceImpl iterates the list of RepositoryEntry in the
init method, it gets a Null value for one of the RepositoryEntry. Thus I
assume I have an issue somewhere in the configuration files. 

I attached my configured files : 
- $GATEIN/webapp/portal/WEB-INF/conf/cmis-configuration.xml
- $GATEIN/webapp/portal/WEB-INF/conf/configuration.xml
- $GATEIN/webapp/portal/WEB-INF/jcr/repository-configuration.xml


Thanks


Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 1:09

Attachments:

Unable to upload XML

What steps will reproduce the problem?
1. we are unable to upload the xml 
The basic problem is The only way we can store XML at the moment is basically 
by storing it as character data (CDATA) rather than as XML




Here is the log for CDATA ERROR:

XML Parsing Error: XML or text declaration not at start of entity Location: 
moz-nullprincipal:{2a39c23b-b203-46eb-aec2-485b0c867930} Line Number 6, Column 
31:
    <atom:content type="text"><?xml version="1.0"?>
------------------------------^

Source
<atom:entry xmlns:app="http://www.w3.org/2007/app" 
xmlns:atom="http://www.w3.org/2005/Atom" 
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" 
xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200908/" 
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/"> 
<atom:content type="text"><?xml version="1.0"?> <rdf:RDF 
xmlns:cnt="http://www.w3.org/2011/content#" 
xmlns:xyzp="http://ecs.myswebsite.com/users/" 
xmlns:oa="http://www.w3.org/ns/openannotation/core/" 
xmlns:xyza="http://www.xyzpub.com/annotation/" 
xmlns:foaf="http://xmlns.com/foaf/0.1/" 
xmlns:xyzag="http://www.xyzpub.com/agent/" 
xmlns:dc="http://purl.org/dc/elements/1.1/" 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <oa:Annotation 
rdf:about="/users/6DA81B9E89560CCDE04400144F250A8C/eBooks/"> <dc:title 
xml:lang="en"></dc:title> <oa:hasTarget rdf:resource="" /> <oa:hasBody> 
<cnt:ContentAsXML rdf:about="http://www.xyzpub.com/annotation/uuid"> 
<cnt:characterEncoding>utf-8</cnt:characterEncoding> <cnt:rest></cnt:rest> 
<cnt:dtDecl rdf:resource="dtd0" /> </cnt:ContentAsXML> </oa:hasBody> 
<oa:annotator> <foaf:Person 
rdf:about="http://ecs.myswebsite.com/users/6DA81B9E89560CCDE04400144F250A8C"> 
<foaf:name>California Teacher</foaf:name> </foaf:Person> </oa:annotator> 
<oa:annotated>2012-09-24T06:05:49.079Z</oa:annotated> <oa:generator 
rdf:resource="http://www.xyzpub.com/agent/agent" foaf:name="myswebsite eBook 
Viewer" /> <oa:generated>2012-09-24T06:05:49.079Z</oa:generated> 
<oa:modelVersion rdf:resource="1.0.0" /> </oa:Annotation> <cnt:DoctypeDecl 
rdf:about="#dtd0"> <cnt:doctypeName>html</cnt:doctypeName> 
<cnt:publicId>-//W3C//DTD XHTML 1.1//EN</cnt:publicId> 
<cnt:systemId>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</cnt:systemId> 
</cnt:DoctypeDecl> </rdf:RDF> </atom:content> <cmisra:object> <cmis:properties> 
<cmis:propertyString localName="cmis:name" propertyDefinitionId="cmis:name"> 
<cmis:value>49117372-4227-4060-9a68-dc117bb838eb</cmis:value> 
</cmis:propertyString> <cmis:propertyInteger localName="cmis:rating" 
propertyDefinitionId="cmis:rating"> <cmis:value>0</cmis:value> 
</cmis:propertyInteger> <cmis:propertyString localName="cmis:ISBN" 
propertyDefinitionId="cmis:ISBN"> <cmis:value></cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:unit" 
propertyDefinitionId="cmis:unit"> <cmis:value></cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:lesson" 
propertyDefinitionId="cmis:lesson"> <cmis:value></cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:page" 
propertyDefinitionId="cmis:page"> <cmis:value></cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:type" 
propertyDefinitionId="cmis:type"> <cmis:value>note</cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:subject" 
propertyDefinitionId="cmis:subject"> <cmis:value></cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:grade" 
propertyDefinitionId="cmis:grade"> <cmis:value></cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:courseSection" 
propertyDefinitionId="cmis:courseSection"> <cmis:value></cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:unreadCommentCount" 
propertyDefinitionId="cmis:unreadCommentCount"> <cmis:value></cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:docPath" 
propertyDefinitionId="cmis:docPath"> 
<cmis:value>/users/6DA81B9E89560CCDE04400144F250A8C/eBooks/</cmis:value> 
</cmis:propertyString> <cmis:propertyString localName="cmis:status" 
propertyDefinitionId="cmis:status"> <cmis:value>New</cmis:value> 
</cmis:propertyString> <cmis:propertyBoolean localName="cmis:isPrivate" 
propertyDefinitionId="cmis:isPrivate"> <cmis:value>True</cmis:value> 
</cmis:propertyBoolean> <cmis:propertyId localName="cmis:objectTypeId" 
propertyDefinitionId="cmis:objectTypeId"> 
<cmis:value>cmis:custom14</cmis:value> </cmis:propertyId> </cmis:properties> 
</cmisra:object> </atom:entry>



Original issue reported on code.google.com by [email protected] on 24 Sep 2012 at 2:40

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.