Comments (11)
See http://github.com/tonit/jedis/compare/master...osgi-metadata-added
from jedis.
Hi! thanks for this! Seem OK. although I'm not sure if changing the packaging from jar to bundle can affect anyone. Don't have lots of experience with OSGi.
from jedis.
It has been a while since this. I will close this for now as it seems no one need this. Will glad to reopen this if people ask for this.
Thanks!
from jedis.
Hi,
I'm also now looking at using Jedis in an OSGi container. It would be great if you can add this patch. The packaging won't affect normal use - the bundle produced is a jar that can be used as normal in non OSGi environments
from jedis.
Hi!
I'd also appreciate the OSGI compatibility, as I'm going to use Jedis in my Apache Camel project (Karaf server).
It seems, that for now is possible to use this: https://github.com/sneakybeaky/jedis-osgi
But "official support" for OSGI sounds better :-)
from jedis.
@stibi I created that as a result of this issue. I'd be happy to push to maven central but just need to agree how to credit Jedis in the release notes. You've also seen the Jedis Karaf / Gogo shell commands bundle in my repo too I guess ?
from jedis.
@sneakybeaky Hi! Yes I noticed Jedis Karaf shell too, nice! I'll definitely check it out! Thanks!
from jedis.
@sneakybeaky This is not the best place for such discussion, but I need to ask you for help, with quite basic problem I have, right from the start…
How to install jedis-osgi bundle in Karaf? Looking on "distributionManagement" configuration in jedis-osgi pom file, there I can see that artifacts are stored on Amazon S3. My Maven doesn't know "s3" protocol. After quick googling, I'd say I have to enable something…
Could you give me a hint?
from jedis.
@stibi look at https://github.com/sneakybeaky/osgi-leaderboards#getting-started, specifically the part about editing the org.ops4j.pax.url.mvn.cfg file. Once done you can add the jedis feature :
karaf@root> features:install jedis
An example of using blueprint to define a local redis datasource can be found at https://github.com/sneakybeaky/jedis-osgi/blob/master/example-datasource/src/main/resources/OSGI-INF/blueprint/local-redis-datasource.xml
from jedis.
ok, thanks for the repository url…
To install jedis-osgi,
karaf@root> install -s mvn:redis.clients/com.ninedemons.jedis/2.1.0-SNAPSHOT
was working for me.
from jedis.
You'll need apache commons pool too:
karaf@root> install -s mvn:org.apache.commons/com.springsource.org.apache.commons.pool/[1.5,2)
from jedis.
Related Issues (20)
- How to use RedisTimeSeriesCommands with jedis HOT 1
- Pipelined transaction-handling: watch + get & multi + set
- [Suggested change] Log a warning when `ConnectionFactory.validateObject` determines the connection is no longer connected and/or the ping fails HOT 1
- Reduce the log level of validateObject to WARN HOT 6
- Add support for configuring connection pool to MultiClusterPooledConnectionProvider HOT 4
- "ERR unknown command 'memory', with args beginning with: USAGE" with Jedis and AWS ElastiCache HOT 1
- mac端启动连接远程服务cacheCloud redis集群失败 HOT 1
- Jedis 4.4.7 MultiNodePipeline binary command version of zrevrangeByScore is broken HOT 1
- redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream when init JedisCluster using java test container HOT 1
- Sometimes observing high latency when using JedisCluster with large number of threads. HOT 2
- Is renewSlotCache necessary when received MOVED HOT 3
- Using Chinese query plus summarize syntax, the characters are garbled:�
- client side cache is not invalidated upon key deletion from the same client HOT 1
- unable to connect to Google Memorystore HOT 4
- Could not get a resource from the pool HOT 7
- Jedis4 cannot close SentinelListener connection completely in a JedisSentineled mode when executing method close ,caused connection leak
- redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool
- redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool at redis.clients.jedis.util.Pool.getResource(Pool.java:42) ~[jedis-5.1.2.jar:?] at redis.clients.jedis.JedisPool.getResource(JedisPool.java:378) ~[jedis-5.1.2.jar:?] HOT 2
- JedisPooled ## Could not get a resource from the pool HOT 5
- redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jedis.