Liferay SAXException when starting OSGi module httpclient-osgi-4.5.3.jar -


in liferay 7 (dxp sp4) need install these osgi modules:

https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient-osgi/4.5.3
https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore-osgi/4.4.6

so, download them, put httpcore-osgi-4.4.6.jar in deploy/, starts seen in gogo shell. put httpclient-osgi-4.5.3.jar in deploy/, and…

error [fileinstall-/home/nico/liferay/osgi/modules][org_eclipse_equinox_metatype:97] unable parse metadata xml @ "bundleentry://540.fwk517213600/osgi-inf/metatype/metatype.properties" bundle id "540" symbolic name "org.apache.httpcomponents.httpclient".  org.xml.sax.saxexception: fatal error: uri=null line=1: content not allowed in prolog.         @ org.eclipse.equinox.metatype.impl.dataparser$myerrorhandler.fatalerror(dataparser.java:856) 

i don't know metatype.properties file nor why equinox tries parse xml.

is jar not standard osgi module?
or liferay require somehow different osgi module?
problem configuration? (freshly installed)
should ignore error?

the incredible nonetheless module gets started:

info  [fileinstall-/home/nico/liferay/osgi/modules][bundlestartstoplogger:35] started org.apache.httpcomponents.httpclient_4.5.3 [540] 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -