Questions tagged [java-client]
134 questions
5
votes
1 answer
How to get kubernetes secret data from java
By following link https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/ it is described how to add secret (encripted) data.
How to get that key-value s with from java client?

emanuel07
- 738
- 12
- 27
4
votes
2 answers
Suggestions for GraphQL Java Client
I am new to GraphQL and was exploring it since last few weeks. I am looking for suggestions for GraphQL Clients in Java.
As we work on Java based application, would really appreciate if some-one can point me to the different GraphQL Java Clients…

Ashu
- 163
- 4
- 13
4
votes
1 answer
Websocket java client Spring + Stomp: Transport error: ConnectionLostException
I'm trying to create an standalone Java app as a websocket client using for this Spring with Stomp and Sockjs, taking in consideration the spring specifications and the spring-portafolio examples and I'm getting this error:
15:18:01.342 [main] DEBUG…

lisdey89
- 222
- 4
- 16
4
votes
1 answer
Connect to RabbitMQ on EC2 from external client
Similar questions have been asked
RabbitMQ on Amazon EC2 Instance & Locally?
and
cant connect from my desktop to rabbitmq on ec2
But they get different error messages.
I have a RabbitMQ server running on my linux EC2 instance which is set up…

Paul P M
- 141
- 1
- 9
4
votes
1 answer
auto generated key in Riak via Java client
Riak supports auto generated keys when storing an object:
http://wiki.basho.com/Basic-Riak-API-Operations.html:
Store a new object and assign random key #
If your application would rather leave key-generation up to Riak, issue a POST request to
the…

o'mac
- 99
- 5
3
votes
2 answers
Kubernetes SharedInformer usage and definition
I have been trying to watch some resources in my K8s cluster and after reading some blogs about watch vs informers, i've decided to go with Informers.
I came across this example of how to use one:…

kambamsu
- 561
- 2
- 9
- 21
3
votes
2 answers
lifecycle in asp net core signalR java client
how to identify when java client connected successfully to SignalR.
where is onConnect life cycle .
i want to do something when hubConnection connected to server.
hubConnection have onClose method for subscribing callback method that run when…

Ahmad Hamzavi
- 626
- 6
- 18
3
votes
1 answer
Using AWS S3 Java client to obtain directory and object metadata
Scala 2.11 here, although this concerns the AWS S3 Java client API so it's really a Java question. It would be awesome if someone can provide an answer in Scala, but I'll happily accept any Java answer that works (I can always Scala-ify it on my own…

smeeb
- 27,777
- 57
- 250
- 447
3
votes
3 answers
Using a JSON web service from a Java client application
I am developing a client-side Java application that has a bit of functionality that requires getting data from some web services that transmit in JSON (some RESTful, some not). No JavaScript, no web browser, just a plain JAR file that will run…

Gigatron
- 1,995
- 6
- 20
- 27
3
votes
3 answers
Class-Path line too long
I developed application client by Java and it was running normally by Glassfish ..
But after moving to Wildfly .. i'm facing this error :
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0161: Failed to get…

Jason4Ever
- 1,439
- 4
- 23
- 43
3
votes
2 answers
Elasticsearch 2.1.1 on localhost Java client error: MasterNotDiscoveredException[waited for [30s]]
So on my localmachine with latest version of elasticsearch, java client node, doesn't receive any information regarding masternode. And disconnects.
I have tried the following code even with default configuration. And still it doesn't work.
If I use…

Jigar
- 8,762
- 6
- 25
- 26
3
votes
2 answers
AXIS2 Java Client for a SOAP wsdl with basic authentication
I am a newbie to web services and I am trying to create java client using the auto generated stub by Eclipse Web Service Client using Axis2. Following is my
client code. public static void main(String[] args) {
new…

user3130143
- 31
- 1
- 3
3
votes
1 answer
WCF Service for Java Client Using Service Certificate and Self Signed Client Certificate Supplied by Client Developer
I am developing a WCF service based on a vendor's implementation to receive data from them. I have a working version of this service using one way SSL with the client using our server certificate. Because of a recent change to their implementation,…

user1769388
- 43
- 1
- 4
2
votes
1 answer
Cannot patch Kubernetes pod using Java kubernetes-client library
I have an application that runs health checks on pods. Given the health check, I am attempting to patch a pod's label selector from being active: true to active: false. The following is the code for the iteration of pods to change each pod's…

giande
- 67
- 9
2
votes
1 answer
Is there an analog of --server-dry-run option in io.fabric8.kubernetes api (Java client for kubernetes)?
In command line we can use kubectl apply --server-dry-run -f example-pod.yml to make a trial run of yml file without persisting it.
Can we do smth similar from Java, using io.fabric8.kubernetes (Java client for kubernetes) ?

Black-Knight
- 21
- 3