Jignesh Patel

Ranch Hand
+ Follow
since Nov 03, 2001
Jignesh likes ...
Mac
More then 12 years of experience in software engineering industry.
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jignesh Patel

How to build autoscaling with EC2 for wildfly? I did figure out how I can build an EC2 instance with wildfly by taking help of s3 bucket through launch template. I am not using containers at this time.
But when really autoscaling happens i.e. scale out, how would the code will get deployed to a new instance built through launch template?

In parallel , I am exploring that how would I can update nginx upstream? Do I just need to somehow figure out how ALB name  or I need to get individual IP of the machine via Lambda?
1 month ago

Tim Holloway wrote:
I suppose my general rule is that if I need something that is complex and/or runs a heavy workload and/or is a central subsystem, I'll put it in a VM. If it's lightweight, needs to be elastic, and is pretty much self-contained, it's a candidate for containerization.



I am running 5(host)+1(domain) wildfly servers in each environment, so how about getting benefitted about containerizing concept, to replicate them in multiple environments vs running EC2 virtual, where I have to configure each machine.
6 months ago
I did not understood, about what Deepak trying suggest? Is it advisable to do containerized wildfly - I can say our wildfly is already customized to support OSGI so for sure it is a heavy app server.


Also Tim, what do you mean by "more the container tends to look like a full-fledged VM. But without the advantages of a real VM." - are there advantages of using VM vs container in our context?
6 months ago

Tim Holloway wrote:The one downside to this is that Wildfly is a fairly heavy application. Docker containers are generally used with lightweight apps like Tomcat. The more demanding a containerized app is, the more the container tends to look like a full-fledged VM. But without the advantages of a real VM.



Thank you Tim for the insight, it is certainly helpful. But I believe in his book Deepak, even mention to containerize hadoop/hbase  etc.. How practical to containerize db?
6 months ago
Thank you Deepak, I really appreciate that.  This is something I wanted to implement from long time.
Not sure if I am asking too much(Sorry for that), is there a guideline to create a docker image for wildfly? I show couple of readyamade docker image for the wildfly, but ours is a customized wildfly so we have to build our own image.
6 months ago

Deepak Vohra wrote:Wildfly 10 kubernetes cluster could definitely be created on AWS EKS. WildFly Operator for Kubernetes could be used.

Some references:
https://medium.com/@andrevcf/wildfly-10-kubernetes-cluster-dee7d4d377c6
https://github.com/wildfly/wildfly-operator



Thanks Deepak for sharing, this certainly helps. I am trying to digest the details but I didn't get the point about creating docker, since wildfly is deployed on EC2, do I need to containerized wildfly on EC2 machine?
The above statement is context of following line:
"Create a docker with the artifacts in a wildfly’s module;"
6 months ago
Deepak
Have you also provided how to containerize hadoop/hbase?  How does hard disc sizing works as database required huge disc space.
6 months ago

Ron McLeod wrote:
I haven't had a need to look at that yet, but I recently listened to a podcast from Adam Bien about Keycloak and there was discussion about a Keycloak adapter for Quarkus (if you know Adam Bien, you will know that the first half of his interviews are going-over his guests' background, so the Keycloak stuff starts around mid-way through).  There is a guide for integrating with Keycloak which describes it in some detail.  So far, I have just used servlet-filter-based authentication.



Thanks for sharing this info.

Ron McLeod wrote:
Quarkus applications can be compiled-down to native images and then deployed to ECS.  Start time is supposed to be only milliseconds, and memory utilization is less than half of JVM + application.  This is still new for me - lots to learn.



So I guess  for hadoop/hbase we have to create our own DAO layer, nothing is available and probably no OSGI support due to lower footprint.

6 months ago

Ron McLeod wrote:

Jignesh Patel wrote:We are running few servers on EC2 and we deployed wildfly onto them, I am thinking of migrating them to docker(i.e. ECS) and handle via  Kubernetes(i.e. EKS). Deepak do you think it will reduce the maintenance load on us?


Good question.

I am thinking of doing something similar, but instead of continuing to run a JEE server (such as wildfly), I want to move to single app per runtime microprofile deployments using Quarkus and GraalVM.  Any communications between the apps will continue to use JAX-RS or JMS.



Goods Thinking Ron!! Probably we will do the same for the new app development, but we need to continue using wildfy as we  have customized it to run with OSGI, so there is a still docker creation required for that.
How does Quarkus handle the authentication? can it be integrated with the identity manager (i.e. keycloak) and identity providers(OpenLDAP) deployed on other instances? Interestingly it has a description for the kafka and mongodb but no sample for hadoop/hbase?

Also how Quarkus linked to ECS and EKS?
6 months ago
We are running few servers on EC2 and we deployed wildfly onto them, I am thinking of migrating them to docker(i.e. ECS) and handle via  Kubernetes(i.e. EKS). Deepak do you think it will reduce the maintenance load on us?
While this  an off topic but is there some guideline I can find to create dockerfile for wildfly 10?
6 months ago
I am trying to configure wildfly10 and JDK 1.8.xx.212 for the truststore and following is my configuration in host.xml.

but I see following error.

[Server:wildfly-server-one] 09:00:04,441 INFO  [stdout] (MSC service thread 1-3) trustStore type is : jks
[Server:wildfly-server-one] 09:00:04,441 INFO  [stdout] (MSC service thread 1-3) trustStore provider is : PKCS12
[Server:wildfly-server-one] 09:00:04,441 INFO  [stdout] (MSC service thread 1-3) init truststore
[Server:wildfly-server-one] 09:00:04,443 INFO  [stdout] (MSC service thread 1-3) SunX509: skip default keystore: java.security.NoSuchProviderException: no such provider: PKCS12
[Server:wildfly-server-one] 09:00:04,449 INFO  [stdout] (MSC service thread 1-3) trigger seeding of SecureRandom
[Server:wildfly-server-one] 09:00:04,450 INFO  [stdout] (MSC service thread 1-3) done seeding SecureRandom
1 year ago
But something fails at following place.

20:43:49,330 Extension unknown: DER encoded OCTET string =
1 year ago
I have reinstalled jvm to ensure clean installation. However there is no change.
I have copied the stacktrace for the handshaking error at pastebin webpage.
It does seems our certificate gets added initially as per following:
1 year ago
I am facing something similar as I am trying to connect to following URL https://accessgudid.nlm.nih.gov/api/v2/devices/lookup.json?udi=%2801%2910884521062856%2811%29141231%2817%29150707%2810%29A213B1%2821%291234

However the connection fails with following info.
%% Invalidated:  [Session-3, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]
SEND TLSv1.2 ALERT:  fatal, description = certificate_unknown
handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


However our certificate works properly and I created proper certificate chain. I have tested to the the https://www.ssllabs.com and looks good.
1 year ago