Questions tagged [java]

An object-oriented programming language compiled in machine-independent byte-code, what is executed by Java Virtual Machines (JVM). Widely used both in software projects and in CI/DevOps tools. Java questions should be devops-related.

Java is high-level, platform-independent and object-oriented programming language developed and maintained initally by the Sun (today Oracle).

It is designed to have as few platform dependencies as possible, to follow the "write once, run everywhere" concept.

Java applications are typically compiled into platform-independent class files, which are interpreted by the Java Virtual Machine.

Some common CI/DevOps software written in Java:

  • SonarQube
  • Jenkins
32 questions
5
votes
1 answer

How to change Xmx settings for sonar runner?

This Question has been answered on Stackoverflow too. I have a Sonarqube instance running as a docker container. Since I updated it to version 7.1 the analysis of my greatest project fails with GC limit exceeded. If I restart the server, it might…
tgr
  • 448
  • 6
  • 14
5
votes
1 answer

org.jenkinsci.lib.envinject.EnvInjectException: java.io.IOException: remote file operation failed

I've the following error in Jenkins console when running job which uses Windows slave: Started by user [EnvInject] - Loading node environment variables. ERROR: SEVERE ERROR occurs org.jenkinsci.lib.envinject.EnvInjectException:…
kenorb
  • 8,011
  • 14
  • 43
  • 80
4
votes
4 answers

Is it possible to mount an s3 bucket as a point in a docker container?

I have a Java EE packaged as war file stored in an AWS s3 bucket. I will like to mount the folder containing the .war file as a point in my docker container. I have managed to do this on my local machine. Below is an example of a JBoss wildfly…
4
votes
2 answers

Best way to isolate programming projects?

Not sure if this is the best place for the question but I have multiple development projects with different dependencies.. I want to know what the best practice is to isolate each project? I have many unrelated projects that a designed and updated…
blah
  • 43
  • 4
4
votes
1 answer

Using Prometheus to monitor Spring Boot Applications in Kubernetes Cluster

I have spring boot powered microservices deployed in my local kubernetes cluster. The microservices are using micrometer and prometheus registry but due to our company policy the actuator is available on another port: 8080 for "business" http…
Mark Bramnik
  • 141
  • 1
  • 3
3
votes
2 answers

Mitigating Maven Central risks as seen from the DevSecOps perspective

AFAIK there are two official primary repositories for Maven packages (Java language): search.maven.org offered by Sonatype Inc. mvnrepository.com offered by a private person @frodriguez Now obviously it makes sense to have a complete archive for…
Ta Mu
  • 6,792
  • 5
  • 43
  • 83
3
votes
1 answer

Is it possible to run every testing.xml file with different jenkins job?

I've around 100 test method in my testing.xml file. and that testing.xml configured in pom.xml file so I'm able to run my all those testcase as maven test and I'm getting the proper reports and all. I have created one Jenkins job and configured…
NarendraR
  • 233
  • 1
  • 4
  • 14
2
votes
2 answers

What topics should at least be included in a Java for DevOps course?

I am preparing a course about "Java for DevOps". From a DevOps perspective, what topics should be covered during the meeting? I was thinking about the following topics: What is DevOps? Why should I learn Java or a programming language that the team…
030
  • 13,383
  • 17
  • 76
  • 178
2
votes
1 answer

Build / Deployment process for .Net/Mulesoft/Oracle stack

I have the following challenge to streamline and setup a development process. The program runs simultaneously, and each one has its own timeline for release, as follows: Program 1 Program 2 Program 3 Program 4 Program 5 Under each of the…
2
votes
1 answer

I want to scale up/down as fast as AWS Lambda but also be able to allocate the vCPU (minimum 8) per task, any advice?

Goal So I'm looking for an AWS product or combination of products to accomplish the following: Ability to do CPU heavy (non-parallel) calculations (min 8 vCPU's per node) Minimum timeout limit of 1800 seconds (AWS Lambda has a limit of 900…
2
votes
1 answer

I was trying ti set up presto with azure gen2 , but facing the below issue when I am querying

I am using prestodb:0.234 Dependency jars: azure-storage-2.0.0.jar hadoop-azure-3.2.1.jar hadoop-azure-datalake-3.2.1.jar azure-data-lake-store-sdk-2.3.8.jar I am getting below error while doing the…
Rocky Hai
  • 287
  • 1
  • 7
1
vote
1 answer

Deploy war/ear to a container' marked build as failure

I have Jenkins installed in my system, on which the following are installed: Maven Integration Plugin Deploy to Container Plugin Ant Plugin Copy Artifact Plugin GitHub plugin GitHub Branch Source Plugin .. and possibly a few others I cannot…
Sparsh Dixit
  • 11
  • 1
  • 1
  • 2
1
vote
2 answers

Jenkins executes Selenium test in headless mode while use `Jenkins as Service`

I have recently installed the Jenkins on Windows 10 Machine (Jenkins as Service) and configured one Maven Project (Selenium project which open chrome browser and executes some testcase). If i build the same, all my testcase gets execute in Chrome…
NarendraR
  • 233
  • 1
  • 4
  • 14
1
vote
2 answers

Docker build not picking up built jar?

I am new to the DevOps world but I am trying to build a pipeline using Jenkins and Docker. I have Jenkins building the docker image by: docker build -f Dockerfile --build-arg jenkins_jar_file=${JENKINS_JAR_FILE} -t ${DOCKER_IMAGE} . Where…
Saiyam Sethi
  • 41
  • 1
  • 5
1
vote
1 answer

Compatibility of http-builder-ng Groovy module with Jenkins 2

Did somebody had a chance to use http-builder-ng Groovy module in Jenkins pipeline? When I use this module with any kind of request/URL it always returns me null object when the same source code from my Desktop is being run fine. Here is debug…
user54
  • 583
  • 1
  • 4
  • 16
1
2 3