Is there a way I can add jersey jars as bundles in Karaf libs. That way when
I start Karaf, these bundles will be loaded at startup and all the classes
will be available at runtime.
From the error message, I understand that Karaf is unable to resolve this
dependency:
Reason: Missing Constraint:
Just my two cents on Spring+OSGi :)
Spring DM isn't the way the modern Spring applications are supposed to
look like. It was good for Spring 2.x and early 3.x . Spring Boot and
Spring Data are becoming the Spring mainstream. The XML configuration
is officially not recommended anymore by Spring
If Jersey jars are OSGi bundle you can install them using bundle:install
command. Syntax is:
bundle:install mvn:groupid/bundleid/version no
If Jersey jars are not OSGi bundles you can use wrap protocol to convert
a plain jar into OSGi bundle
bundle:install wrap:mvn:groupid/bundleid/version.
Did that too.. Uninstalled all the jersey jars I had deployed earlier on
Karaf, and re-deployed using the wrap command. Also re-installed my bundle..
but the problem still exists.
I wish Karaf gave more explanatory error messages. I really cant find
anything to resolve this exception :(
Unable
Try removing the version numbers from imported packages. It may be
version in your development environment are not the same in Karaf.
On Tuesday 17 June 2014 12:39 PM, SapnaB wrote:
Did that too.. Uninstalled all the jersey jars I had deployed earlier on
Karaf, and re-deployed using the wrap
Hi Luca,
take a look on:
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=tree;f=webconsole/branding;h=24183529a3e10feba8728aa6934f244fa4898d2d;hb=refs/heads/karaf-2.3.x
it's a branding bundle that we use (for Felix WebConsole branding).
On the other hand, you have the branding dev
Try the command package:exports . It lists all exported packages and the
bundles that export them. You will also see the exported version there.
Compare that with the imports you see from headers bundleid of your
own bundle. If the import range matches the exports then it works.
If the jersey
Thanks JB,
I read the documentation on the branch brands but I need to integrate new
responive template. Is it possible with branding?
Thanks
Luca
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-Console-customization-tp4033571p4033574.html
Sent from the Karaf - Dev
Hi Luca,
what do you mean by responive template ?
Regards
JB
On 06/17/2014 01:16 PM, luca.santaniello wrote:
Thanks JB,
I read the documentation on the branch brands but I need to integrate new
responive template. Is it possible with branding?
Thanks
Luca
--
View this message in context:
Sorry,
responsive template, bootstrap like. I do not have to just change the logo
or the color of the console.
Regards
Luca
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-Console-customization-tp4033571p4033576.html
Sent from the Karaf - Dev mailing list archive at
Hi all,
I need to get many information from Karaf. Are there RESTful Json services
to invoke to get info like getBundles, getFeatures, getConfigurations, etc?
Regards,
Luca
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-RESTful-serivices-tp4033577.html
Sent from the
Hi Luca,
All operations are available on the MBeans.
Just by installing Jolokia you can use MBeans as REST services.
Take a look at the end of this page in the user guide:
http://karaf.apache.org/manual/latest/users-guide/monitoring.html
I added some explanations about JMX-HTTP bridge with
Thanks JB,
I tried to call the Jolokia service at http://localhost:8181/hawtio/jolokia.
I tried this POST call to get available features:
http://localhost:8181/hawtio/jolokia
[
{
type:read,
mbean:hawtio:type=Registry,
attribute:UpdateCounter,
config:{
}
},
Hi Luca,
I don't know about the Hawtio MBeans, I talked about the Karaf native
MBeans.
For the OSGi services available, you have it on the Karaf ServiceMBean,
object name:
org.apache.karaf:type=service,name=*
Regards
JB
On 06/17/2014 03:43 PM, luca.santaniello wrote:
Thanks JB,
I tried
Didn't mean to commit this and a few others yet. It tagged along with
another commit... I'll revert it ASAP :-)
On Tue, Jun 17, 2014 at 12:10 PM, jans...@apache.org wrote:
KARAF-3029 - Support encryption of Maven repo passwords
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
On 17 Jun 2014, at 0:25, Jean-Baptiste Onofré wrote:
let me check if there is not mistake in the documentation.
Cheers - did you manage to look into this at all?
Mark
Hi All,
Thanks for the help. I was able to resolve the issue by installing
jersey-client using the wrap command.
Package *com.sun.jersey.api.client* is under jerser-client jar which was
earlier not installed in Karaf.
Thanks,
Sapna
--
View this message in context:
17 matches
Mail list logo