Skip to main content
Oct 16, 2015 2:27 AM UTC
Solved

Use Apache OpenCmis in AdobeCQ6

Hello,

I have problem with using Apache OpenCmis in Adobe CQ6.

The problem starts when I import  chemistry-opencmis-osgi-client to OSGi console.

Bundle is only in Installed mode, no Active.

 

Bugs in bundle:

Imported Packages
com.ctc.wstx.stax,version=[4.2,5) -- Cannot be resolved
com.sun.xml.internal.ws.api -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.internal.ws.api.message -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.internal.ws.api.pipe -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.internal.ws.api.pipe.helper -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.internal.ws.developer -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.ws.api,version=[2.1.7,3.0) -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.ws.api.message,version=[2.1.7,3.0) -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.ws.api.pipe,version=[2.1.7,3.0) -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.ws.api.pipe.helper,version=[2.1.7,3.0) -- Cannot be resolved but is not required and overwritten by Boot Delegation
com.sun.xml.ws.developer,version=[2.1.7,3.0) -- Cannot be resolved but is not required and overwritten by Boot Delegation

and

org.apache.cxf.endpoint -- Cannot be resolved but is not required
org.apache.cxf.frontend -- Cannot be resolved but is not required
org.apache.cxf.headers -- Cannot be resolved but is not required
org.apache.cxf.transport -- Cannot be resolved but is not required
org.apache.cxf.transport.http -- Cannot be resolved but is not required
org.apache.cxf.transports.http.configuration -- Cannot be resolved but is not required
org.apache.http -- Cannot be resolved but is not required
org.apache.http.client.methods -- Cannot be resolved but is not required
org.apache.http.conn -- Cannot be resolved but is not required
org.apache.http.conn.routing -- Cannot be resolved but is not required
org.apache.http.conn.scheme -- Cannot be resolved but is not required
org.apache.http.conn.ssl -- Cannot be resolved but is not required
org.apache.http.entity -- Cannot be resolved but is not required
org.apache.http.impl.client -- Cannot be resolved but is not required
org.apache.http.impl.conn -- Cannot be resolved but is not required
org.apache.http.params -- Cannot be resolved but is not required

I tried to load required libraries, for exaples: com.ctc.wstx.stax, but I couldnt find it in required version.

Could you help?

Thx.

Jan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
JustinEd3Accepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

Hi Jan,

I believe that the com.ctc.wstx.stax package you are looking for is exported by the 4.2.0 JAR downloadable from http://wiki.fasterxml.com/WoodstoxDownload. You also need the Stax2 API JAR on that same page. Both are proper OSGi bundles.

Regards,

Justin

3 replies

Oct 16, 2015 2:27 AM UTC

Problem resolved,

I load to OSGi stax2-api-3.1.1 jar and woodstox-core-lgpl-4.2.0.jar (LGPL 2.1) - from Justin URL

and OpenCmis is possible set to status Active.

Thanks boys.

Jan

Translate
Adobe Employee
Oct 16, 2015 2:27 AM UTC

Hi Jan,

You would need to export the apache opencims package used.

In your pom.xml for bundle, include the export package as follow for maven-scr-plugin (and also include any other packages missing.)

 

<Export-Package>
                            org.apache.cxf.*,
                           org.apache.http.*,
                            com.sun.xml.*
                        </Export-Package>

 

Thanks

V

Translate
JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

Hi Jan,

I believe that the com.ctc.wstx.stax package you are looking for is exported by the 4.2.0 JAR downloadable from http://wiki.fasterxml.com/WoodstoxDownload. You also need the Stax2 API JAR on that same page. Both are proper OSGi bundles.

Regards,

Justin

Translate