Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [java]

Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

Apache 2.4 Cipher Suite Mismatch from config

We are running Apache 2.4 as reverse proxy to a Tomcat 9.0.88 web application. We started having an issues after a fresh install where Apache was rejecting incoming ssl handshakes from other Web apps. ...
 RichardFeynman's user avatar
0 votes
0 answers
33 views
+50

Eclipse temurin as Java Build image and Google distroless as Java Runtime

We're currently working on a project where we're using different OpenJDK distributions for the build and runtime environments within Docker containers. Specifically, we're using the Eclipse Temurin ...
Ilham Sulaksono's user avatar
-2 votes
0 answers
52 views

TCP Socket Timeout [closed]

I am an AOR AR8600 connected to a RPI 3b+. I have tried increasing the TCP keepalive value to 900 with the same timeout result. AOR will not supply me with the java code for correction. Please see ...
James R Owens's user avatar
1 vote
1 answer
43 views

How do I prevent a full memory dump created on JVM crash?

I was running a java application on Windows however it occasionally crashes every months due to peak traffic.To make things worse JVM automatically generated memory dumps everytime its crashes and ...
Amadeusz  Liu's user avatar
0 votes
0 answers
15 views

Tomcat AJP Chocking even before reaching max Threads

We see that AJP shows max threads as 200 but when it reaches 70 threads it start throwing errors in mod_jk.log as below. What is the cause of below error while have plenty of threads available. We ...
user8157255's user avatar
1 vote
0 answers
75 views

Krb5LoginModule accepts ANY password for a valid user

Our jaas.config reads simply: Our_Kerberos { com.sun.security.auth.module.Krb5LoginModule REQUIRED useTicketCache=false refreshKrb5Config=true; }; The earlier ...
Mikhail T.'s user avatar
  • 2,401
2 votes
1 answer
196 views

How to debug an SSL handshake in more detail?

I'm working on a Java application that is failing to create a connection to an API for integration purposes. I'm getting a handshake failure and have gone so far as to use wireshark to grab the ...
Brad Gardner's user avatar
1 vote
0 answers
46 views

WildFly deployment fails due to 'unable to build Hibernate SessionFactory' - how to retry automatically?

In a customer's environment, updates are scheduled to run on several servers at nighttime, each time this happens our WildFly application is not recovering until I reboot the application server itself ...
maio290's user avatar
  • 111
0 votes
0 answers
170 views

302 redirect in nothing with Tomcat and Nginx

I am creating an https connection to my WAR app at tomcat (localhost:8080/myApp). Inside we have an Angular and Java app. I create nginx config and after review some similar questions here and here ...
Olexie Polishchyk's user avatar
0 votes
0 answers
13 views

Config nginx proxy for tomcat app on Ubuntu [duplicate]

I have that config for nginx: server { listen 80; server_name myDomain; access_log /var/log/nginx/tomcat-access.log; error_log /var/log/nginx/tomcat-error.log; underscores_in_headers on; if ($...
Olexie Polishchyk's user avatar
0 votes
1 answer
187 views

Why do udp and udp6 have different port behaviors?

I have two Linux servers. I run the same Java application on both of them. One of them runs as udp and the other as udp6. When I send a request to the udp application, it returns to me over a ...
Omer Faruk Balli's user avatar
0 votes
1 answer
42 views

Tomcat8.5.78 fileUploadBase Error

When I attempt to upload a document using a form, I get the following error : org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /...
SegmentationFault's user avatar
0 votes
0 answers
24 views

doveadm http API payload size

I'm using docker-mailserver. I can connect to it using the doveadm http API, which allows me to read messages and perform other tasks. I can send e-mail using SMTP through Java. I want to be able to ...
Bumptious Q Bangwhistle's user avatar
0 votes
0 answers
44 views

Update-alternatives does not update all Java symlinks

I'm getting some strange behavior from update-alternatives on RHEL 7.9 when I have Amazon Correto Java 11 and the normal Java 1.8.0 both installed. When Correto is selected as the default, this is the ...
Juan Jimenez's user avatar
0 votes
1 answer
80 views

Error deploying Java Spring Boot app on Google App Engine: Timed out fetching pod (Error Response: [4])

This is my first time deploying on Google App Engine [or, at least, trying to]. I've built a Java Spring Boot app, configured the app.yaml and did the other preparation steps. However, when I run ...
Alex Braga's user avatar
0 votes
0 answers
113 views

java.net.SocketException: Too many open files error in java 8 and wildfly

We are using wildfly 8 with jdk version 1.8 in centos stream 8 for our application. Recently we have been facing like application stop responding and on same time we found "Caused by: java.net....
Sandy's user avatar
  • 1
1 vote
1 answer
157 views

Can a Docker container run as a Jenkins build node with both Java 11 and Java 8?

I have a customer who is excited about the idea of Docker containers as Jenkins build nodes, but a few of their pipelines still have dependencies on Java 8. Can a Docker container have Java 11 and ...
Juan Jimenez's user avatar
0 votes
1 answer
171 views

Making Tomcat log in /var/log

I'm trying to make our Tomcat 9 server log its internal log in /var/log instead of ${catalina.base}/logs. I tried to change the destinations in logging.properties, but the logs directory in ${catalina....
Alexis Dufrenoy's user avatar
0 votes
1 answer
136 views

Payara / Glassfish 5 - [NCLS-SECURITY-05054] The SSL certificate has expired - cert_81_trustis_fps_root_ca81

Today noticed the error message below the logs of my Payara5 server and since Glassfish is so popular these days, I spent a bit of time to find out what to do. [2024-01-31T16:44:11.325+0000] [Payara 5....
Scream's user avatar
  • 11
1 vote
1 answer
292 views

How does Java handle multiple client keys in the keystore but 1 in trust store when doing mtls

I have a situation where I am trying to setup mtls where the client has multiple keys. I cant seem to find how the resolution of which alias works so can somewhere here guide me? How does Java decide ...
Jackie's user avatar
  • 191
0 votes
0 answers
42 views

several tomcat apps running as user, using single java jdk installation owned by root

We administer server with java web applications: alfresco/solr running on tomcat. Up to now java jdk sources of same versions were extracted/copied in several directories next to each other, so ...
groovehunter's user avatar
0 votes
0 answers
69 views

Wrong remote port shown in TCP Connections

We have a RFID application in Java, by default it will listen on TCP port 5084. Which is the default port for LLRP (Low Level Reader Protocol). The application is on Windows Server 2019. The ...
MAF's user avatar
  • 1
0 votes
1 answer
32 views

Glassfish domains start automatically without intervention?

Steps to Recreate pkill -f glassfish. pkill -9 java. Repeat this a couple of times for being sure. ps -aux| grep 'glassfish_domain_name/config' It shows it is running from root user. All domains ...
achhainsan's user avatar
0 votes
0 answers
60 views

[name=Redis, majorVersion=6]; user must register resolver or explicitly set 'hibernate.dialect'

I have asked this question in stackoverflow already, but I think the question is more suitable here. Sorry for cross-posting. After successfully creating datasource for redis in wildfly, I am now ...
Sudipta Roy's user avatar
0 votes
0 answers
162 views

Prometheus can't scrape custom metrics

I'm trying to set up Prometheus to scrape some custom metrics exposed by a java service with the java lib Prometheus Micrometer. I have no error whatsoever in prometheus log except for proto: bad ...
Ror's user avatar
  • 343
0 votes
2 answers
128 views

Issues with VPS provider limiting CPU usage with data processing Spring Boot application

I developed a Java Spring Boot application with a PostgreSQL database. Since the data being processed is quite a lot, the processing can take time and it uses a lot of CPU (e.g. up to 100% obviously). ...
BullyWiiPlaza's user avatar
0 votes
0 answers
25 views

Kafka Scripts in bin Directory throws an error is "java.net.BindException: Address in use (Bind failed)"

I have Deployed Kafka as a Stateful Set on k8's and the Service type is ClusterIP. It's Up & running. However, when I'm logging into Kafka brokers (using kubectl exec -it pod_name -- bash) and go ...
RAM's user avatar
  • 1
0 votes
1 answer
91 views

Uninstall Oracle Java JRE where misexec reports "this is only valid for products that are currently installed"

I have several end users where Oracle Java JRE 1.8.0_xxx is installed but the automation to use the UninstallString via msiexec /X is failing by saying the product isn't installed. On these machines ...
Peter Blumpkin's user avatar
0 votes
0 answers
188 views

how to fix error failed to mark memory page as executable

Nov 28 12:29:01 VM-ECTS-LS-TST systemd[1]: ects.service: Failed with result 'exit-code'.\ Nov 28 12:29:11 VM-ECTS-LS-TST systemd[1]: ects.service: Scheduled restart job, restart counter is at 6.\ ...
Godfrey Temu's user avatar
0 votes
0 answers
358 views

JAVA UnsupportedOperationException (The Security Manager is deprecated) on Windows 10 + OpenJDK

I am using OpenJDK on Windows 10. C:\Users\divym>java -version openjdk version "1.8.0_332" OpenJDK Runtime Environment (Temurin)(build 1.8.0_332-b09) OpenJDK 64-Bit Server VM (Temurin)(...
m.divya.mohan's user avatar
0 votes
0 answers
55 views

Proxy Error - Java Web Applications / Glassfish / MySQL / Apache

I have some Java Servlet Web applications running on Glassfish, on an AWS Linux server. The applications are integrated with a MySQL database, installed on the same server. Also, access management is ...
EduOK's user avatar
  • 1
0 votes
0 answers
132 views

How to correctly load balance requests from a Java client to an NLB over multiple AZs

Requests from a Java client to an NLB over multiple AZs Not load-balanced Summary: Expectation: every request from Java is load balanced between two nodes. Actual behavior: all the requests go to one ...
ŌHARA Kazutaka's user avatar
0 votes
0 answers
11 views

Cloned Subscription: Messages lost while consuming messages

We have two servers with cloned subscriptions. It is observed when both subscribers are started, messages get lost while consuming from topic. For performance test, I pile up 5000 messages on QM and ...
user17745726's user avatar
2 votes
0 answers
1k views

How to monitor Java non-heap memory usage?

I need to run a bunch of java processes, that I'm not sure, what their maximum heap usage can be. To make better use of server's heap memory I tried solution described in 1. I found in documentation, ...
Alojzij Blatnik's user avatar
0 votes
1 answer
81 views

Does Wildfly process HTTP requests in order of arrival in a single queue?

Java web application deployed on wildfly 10. This application exposes Rest webservices. Users, from different PCs, use a client which interacts with web services. Packets travel through the network. ...
user3637971's user avatar
3 votes
1 answer
1k views

Could not start a new session. Response code 500. Message: Failed to read marionette port

I am trying to use Selenium with Java and Firefox but I am getting the below issue. org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Failed to ...
Akshay Wakchaure's user avatar
0 votes
0 answers
155 views

JBoss CLI command running into failure

I want to automatically delete my Wildfly logs after a certain period of time (e.g. 3 days). As I am running my application in a container which has no access to crontab, I want to do this via a JBoss ...
Hannes Oberberger's user avatar
0 votes
0 answers
166 views

Accessing the Kubernetes API from a Pod

I am trying to access to Kubernetes API from a Pod using Java Client library. I have followed in cluster config example from below URL: https://github.com/kubernetes-client/java/blob/master/examples/...
Radha Gupta's user avatar
0 votes
0 answers
80 views

Maven Repositories - Nexus Alternative

We are using BitBucket and Git for source control of a Java Spring Boot application that uses Maven as it build tool hosted on AWS. We want to create a repository to store out dependencies. We did ...
Richard's user avatar
  • 145
0 votes
0 answers
16 views

Starting karaf in mvn deployed servicemix 7

On Fedora 39 rawhide, I have finally got mvn-3.9.1-3 to complete the "jar:jar install:install" goals. But using find I could not find executable files for karaf or a bin dir. dnf has no ...
ArrowInTree's user avatar
0 votes
0 answers
133 views

Why does Windows not launch specific application associated with a file type?

I have .jsp files associated with 'javaws' (Java Web Start) from my JRE installation. When I double click on .jsp files nothing happens. If I associate the .jsp files with other applications such as ...
user2125853's user avatar
-1 votes
1 answer
492 views

Unable to install openjdk-8-jre-headless

root@kvm6241 ~ # sudo apt install openjdk-8-jre-headless Reading package lists... Done Building dependency tree... Done Reading state information... Done Package openjdk-8-jre-headless is a virtual ...
BLD Abderrahime's user avatar
0 votes
0 answers
447 views

Automatically delete log files with JBoss CLI for Wildfly application

I want to automatically delete my Wildfly logs after a certain period of time (e.g. 3 days). As I am running my application in a container which has no access to crontab, I want to do this via a JBoss ...
Hannes Oberberger's user avatar
0 votes
0 answers
1k views

Exception when trying to connect Eureka Server with Config Server in Docker Compose ("Connection refused")

I have created a Eureka Server and a Config Server and I am trying to get the Euketa Server properties that are in the Config. I'm trying to dockerize these two services and for that I created a ...
Gustavo Cruz's user avatar
1 vote
1 answer
3k views

Delombok Lombok cannot find symbol location: package javax.annotation after spring boot 3 and jdk17 migration

I've migrated my project to spring boot 3. Once I've done it project stopped working. cannot find symbol [ERROR] symbol: class Generated [ERROR] location: package javax.annotation [ERROR] -> [...
vivan sai's user avatar
0 votes
0 answers
100 views

Java Application (Tomcat) unable to locate license file after Windows Server 2016 in-place upgrade

Description Hello ServerFault community, We recently performed an in-place upgrade from Windows Server 2012 R2 to Windows Server 2016, on which Apache Tomcat 8.5 is running. After the upgrade, we ...
Robert Fridzema's user avatar
0 votes
0 answers
148 views

Java SIGSEGV exception in libjvm library (Ubuntu)

I previously posted here About a bug I encountered; apparently that wasn't the correct place to post. Hopefully this is, I am unsure where to put this. To recap, I am running a Minecraft server on ...
MadAtTheKeyboard's user avatar
0 votes
1 answer
4k views

Docker compose - flyway not connecting to mysql

I'm trying to dockerize a microservice built with Spring Boot that uses the MySQL database and Flyway. When I run the microservice through the IDE, the flyway manages to connect with MYSQL, but when I ...
Gustavo Cruz's user avatar
0 votes
0 answers
1k views

Tomcat 11 error compiled by a more recent version of the Java Runtime (class file version 61.0)

I have installed Tomcat 11.0.0-M6 and I get this error message every time I want to start it for the first time: Error: LinkageError occurred while loading main class org.apache.catalina.startup....
JBD's user avatar
  • 101
1 vote
2 answers
431 views

Apache httpd cannot connect to Tomcat over Unix Domain Socket - SELinux denied

I have an Apache httpd v2.4.57 configured on Rocky9 to connect to Tomcat9 / Java17 over a unix domain socket. SELinux kicks in and says denied, as follows: type=AVC msg=audit(1685376249.480:134): avc: ...
Graham Leggett's user avatar

1
2 3 4 5
38