Questions tagged [java]
Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms
1,856 questions
0
votes
2
answers
115
views
Mutual TLS Abruptly Stopped Working on Tomcat 9 and 11 Servers
I have several java webapps running on 2 tomcat servers--with various JDK (17 and 25) and Tomcat versions (9 and 11), in a test/development environment--where the server is configured to request a ...
0
votes
0
answers
51
views
Why is Headwind MDM's Guice Injector failing to read role.orgadmin.id from config.properties on Debian 13?
Environment:
OS: Debian 13 (Trixie)
Java: OpenJDK 11.0.24
Database: PostgreSQL 17 (Manual login verified)
Server: Tomcat 9.0.98 (Manual install in /opt/tomcat)
The Issue: Tomcat starts, but the ...
2
votes
1
answer
41
views
How to obtain a core dump from JNI library
I wrote a C library used into a Java program via JNI Swig. It's called by a Tomcat service. Sometimes the server crashes and the problem seems to be in the lib. The catalina.out log file has a single ...
0
votes
0
answers
221
views
Java certificate failures with Rundeck and LDAPS
I am attempting to connect a Rundeck container (Server A) to an OpenLDAP container (Server B) via LDAPS.
While standard CLI tools work perfectly (LDAPTLS_REQCERT=never ldapsearch -H ldaps://ldap-...
0
votes
1
answer
84
views
Shibboleth PEM files and Tomcat
This is a Shibboleth question regarding PEM files and Tomcat.
I noticed within the Shibboleth Windows installation, there are some PEM files within the ...\shibboleth-sp\etc\shibboleth dir.
Do I need ...
0
votes
1
answer
107
views
installing a JAVA windows using procrun triggers automatic elevation, why?
I try to use procrun to install a Java app as a Windows-Service ( using Windows 11).
Running my setup from within an already elevated context, it works as expected.
However, starting it as normal user,...
0
votes
0
answers
81
views
Rundeck Community Will not Connect to Postgres
I am running into a problem with rundeck community version 5.16.0 where I start the service and after about a minute the service stops itself.
It looks like an error when trying to connect to the ...
2
votes
1
answer
177
views
Java truststore missing on Void Linux server
I'm upgrading Jenkins on my void-linux server, which involves updating the JRE. I installed openjdk21-jre with xbps, deinstalled the old one (openjdk14-jre) and installed Jenkins 2.528.
It started ...
0
votes
1
answer
226
views
jstack: error while loading shared libraries: libjli.so
I copied a jstack executable from one linux machine to another because I'm not allowed to install programs on a revenue generating server.
When run it produces the error:
jstack: error while loading ...
0
votes
0
answers
29
views
Editing maximumPoolSize causes JNDI binding failure, only on two out of many sites
I'm experiencing a puzzling issue where manually editing a Jetty XML config breaks JNDI binding for a HikariCP datasource. However, deploying the same file via script works fine. This happens only on ...
0
votes
1
answer
84
views
From VPS to VirtualBox only by ssh & root
my provider don't support Emergency Linux Boot
I can only use ssh and root access to the server
DD is complicated/risky to use because of file sizes, as it will try to image the entire disk, it will ...
0
votes
1
answer
593
views
How can I determine whether Java is using huge pages?
This article instructs how to set up huge pages for Java in Linux.
I went through the following steps:
Added lines echo 4294967295 > /proc/sys/kernel/shmmax and echo 1536 > /proc/sys/vm/...
0
votes
1
answer
175
views
I can't download anything from HTTPS in Java in my new Debian installation!
I can't download anything from HTTPS in a Java application in my new Debian server, while it works fine on the old server. They are both running bullseye with Java version
openjdk 17.0.14 2025-01-21
...
0
votes
0
answers
411
views
Apache Tomcat 6.0.53 is starting, but access to http://localhost:8080/ is not possible
In an acquired RESTful Spring Boot Web application with some restrictions that runs properly with IntelliJ IDEA v2022.02.05, I am asked to start the project without it. So, I started it in the command ...
0
votes
1
answer
407
views
jboss.ejb.default-resource-adapter-name-service wildfly 26
This is a follow up from my previous question: https://stackoverflow.com/staging-ground/79353883. I changed version of the Wildfly to 26 and transfered all the code and libraries to work with jakarta. ...