Dependancies for openCMIS in apache camel - apache-karaf

Im using openCMIS for storing document in IBM Filenet
Below are my pom entries (openCMIS dependencies)
chemistry-opencmis-commons-api
chemistry-opencmis-client-impl
chemistry-opencmis-commons-impl
chemistry-opencmis-client-bindings
chemistry-opencmis-client-api
To deploy my osgi bundle in karaf, i installed opencmis by running following commands in karaf
install -s wrap:mvn:com.sun.xml.ws/jaxws-rt/2.2.10
install -s wrap:mvn:org.apache.chemistry.opencmis/chemistry-opencmis-commons-api/0.13.0
install -s wrap:mvn:org.apache.chemistry.opencmis/chemistry-opencmis-commons-impl/0.13.0
install -s wrap:mvn:org.apache.chemistry.opencmis/chemistry-opencmis-client-api/0.13.0
install -s wrap:mvn:org.apache.chemistry.opencmis/chemistry-opencmis-client-bindings/0.13.0
install -s wrap:mvn:org.apache.chemistry.opencmis/chemistry-opencmis-client-impl/0.13.0
Now im stuck for these dependencies
com.sun.xml.internal.ws.api,
com.sun.xml.internal.ws.developer,
com.sun.xml.internal.ws.api.message,
com.sun.xml.internal.ws.api.pipe,
com.sun.xml.internal.ws.api.pipe.helper
To use openCMIS in my osgi bundle, am i missing any dependency?? or is my jdk the problem is. My jdk is 7.
How to install openCMIS in karaf or how to resolve this com.sun.xml.internal.ws.* problem...??

Related

How to uninstall .NET Core 2.1.4 from CentOS?

I installed .NET Core 2.1.4 on my CentOS from Microsoft .NET Core Installation Site. I want to uninstall it. I could not find any steps online. Please help.
Just reverse all the steps you followed from the Microsoft .NET Core Installation Site:
sudo yum remove dotnet-sdk-2.1.103
sudo yum remove libunwind libicu
If you also want to remove the rpm repository:
sudo yum remove /etc/yum.repos.d/dotnetdev.repo
To remove the imported gpg-key do the following:
Get a list of imported keys
rpm -qa gpg-pubkey \* --qf "%{version}-%{release} %{summary}\n"
There are a lot of entries, look for Microsoft (Release signing), copy the key and then issue the following command (paste the key after gpg-pubkey-):
sudo rpm -e --allmatches gpg-pubkey-xxxxxxxx-xxxxxxxx

Deploying birt war in karaf

I have karaf 4.1.1 and birt runtime 4.5.0 on my server. I have problems deploying birt.war in karaf. My purpose is using birt report engine api in karaf to generete reports based on birt project files.
I instaled karaf war feature. But I'm unable to install birt. I tried to type in karaf shell:
bundle:install -s "C:\birt-runtime-4_5_0\birt.war?Bundle-SymbolicName=birt&Web-ContextPath=/sample"
I got:
org.osgi.framework.BundleException: Unable to cache bundle
Any suggestions?
Try to install your component using webbundle prefix.
Simply, tap the following command in your running Karaf instance:
bundle:install webbundle:file:///C:/birt-runtime-4_5_0/birt.war?Bundle-SymbolicName=birt&Web-ContextPath=/sample

Installing Meteor on Raspbian

I'm looking for a guide to installing Meteor, including NodeJS and MongoDB, on Raspbian. I have seen a couple of online articles, however, they are 3-4 years old.
Found the answer and posting it here for others who may have the same question.
Part of these instructions are from:
https://github.com/4commerce-technologies-AG/meteor
Install meteor for ARM processors on Raspbian:
cd $HOME
git clone --depth 1 https://github.com/4commerce-technologies-AG/meteor.git
$HOME/meteor/meteor --version
Create a symlink
cd /usr/bin
sudo ln -s $HOME/meteor/meteor meteor
Test your install
cd $HOME
meteor create hello-world
cd hello-world
meteor
Open your browser to http://localhost:3000 to see the app working.

Centos6 PHP7 Install SPL_Types

I am running CentOS 6 and am trying to install the SPL_Types extension for PHP7. I have php7 up and running however, any time I do pecl install SPL_Types,
I get massive compiler errors and can't find a way around. Ubuntu users can fix the issue by installing libpcre3-dev, but this is not a valid package on CentOS 6. I have verified that pcre and pcre-devel are installed and the latest version. Does anyone have a solution to this?
EDIT 1: A full log when I run the sudo pecl install SPL_Types command: http://pastebin.com/QG3mFjaf
I got it figured out. For those who wish to know, I had to use a third party source to compile and install the extension, then I had to edit my php.ini file manually to add the new module.
https://github.com/esminis/php_pecl_spl_types
then once you have it, run the commands:
phpize --clean
phpize
chmod +x configure
./configure --prefix=/usr
make install
Then, edit your php.ini file and under the dynamic modules section, add
extension=spl_types.so
Restart the httpd service by doing
sudo service httpd restart
Then verify the new module is loaded with phpinfo().

Artifactory Debian repository reports "does not have a Release file"

So, I'm a noob to Artifactory. I downloaded and installed the dockerized version of Pro - demo license, set up my first repository as a place to push internal packages we've developed for our ubuntu users.
However, when I upload a package and try to sudo apt-get update after adding a new ".list" file to my /etc/apt/sources.list.d, I get this message back:
W: The repository 'https://10.202.13.218/artifactory/ubuntu-dev-local xenial Release' does not have a Release file.
Do I have to gpg sign the packages? That seems like it would be a different error.
You can force artifactory to recreate the release.key file with the following API call:
curl -u admin:topsecret -X POST http://localhost:8081/artifactory/api/deb/reindex/debian-local

Resources