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
8 views

How to install JDK 1.4 on MAC

I need install jdk 1.4 on mac os (Macintosh HD) I tried downloading update packages but it gives following message Does anyone have any solution for this i need that jdk version for testing 1 ...
user avatar
  • 111
0 votes
0 answers
3 views

Does springBoot Jar and React build from ubuntu server will work on CentOs server?

We have our jenkins on ubuntu server, we have 2 jobs, one is to create springboot jar's and another one to build react project. After successful completion of job we have to copy it on UAT server ...
user avatar
-1 votes
1 answer
30 views

GPO policy to give write permissions to java applications in C drive

I wish to run the following instruction in a Windows cmd: java -jar app.jar. App.jar is an application in charge of creating a file in the Temp folder of the Windows user folder but it fails because ...
user avatar
0 votes
0 answers
9 views

Increase timeout to avoid 504 while running Java EE application on Tomcat on PopOS

I have the following issue: I am new to this area, so kindly forgive for some of my terminology. I am running my Java EE application via Eclipse on my PopOS running on VMWare Fusion on my Mac. The ...
user avatar
  • 103
0 votes
1 answer
12 views

Disable system property logging in Jmeter

I am running Jmeter using java -jar jmeter.jar ... command and passing a bunch of system properties using -D option. I see that the system properties are being printed in the jmeter log file. I want ...
user avatar
0 votes
0 answers
26 views

How to list the different java versions installed in a Linux server using Ansible ? How to switch from one version to another using ansible?

I want to know whether two different Java versions are installed in a Linux machine. In my case I want to see whether Java 8 and Java 17 is installed in the machine first, and if the Java 8 is the ...
user avatar
0 votes
1 answer
23 views

Centos 7 OpenJDK Upgrade Confusion

Wanted to pick someone else’s brain on an issue I’m having and getting nowhere with. We have an older Linux server in our environment and I am looking to patch our openjdk to the Latest versions but ...
user avatar
0 votes
1 answer
29 views

Application cannot start, claiming "port is already in use", but it is not

Application (apache storm) cannot start throwing the below exception 2022-04-12 04:56:13.997 o.a.s.d.u.UIServer main [ERROR] Exception in UlServer java.io.I0Exception: Failed to bind to 0.0.0.0/0.0.0....
user avatar
  • 1,632
0 votes
0 answers
19 views

Java App Only Displays Directory List - server misconfiguration?

The library where I work is seeking to implement a lightweight Java app. It's an open source project, available here . Our IT department gave us a basic Linux server running Jetty 10 (I then ...
user avatar
  • 1
0 votes
1 answer
42 views

Why this java processes are not ending once cronjob has executed in the AIX server?

I have set a crontab for execute a java service in every 8 hours in AIX(7.1) operating system. Once the crontab has done the job, the JAVA service should be end. This cronjob is working properly. But ...
user avatar
0 votes
0 answers
36 views

Error occurred during initialization of VM Could not allocate metaspace: 1073741824 bytes

When I run this... /usr/bin/pdftk '/home/someuser/public_html/form/Form.pdf' fill_form '/home/someuser/public_html/form/results/Registration.xfdf' output '/home/someuser/public_html/form/results/...
user avatar
0 votes
0 answers
6 views

Where to get the proper JDBC driver for mysql 8?

I have an instance on jira and a new database mysql 8. After following the guides (https://confluence.atlassian.com/jiracore/connecting-jira-to-mysql-8-0-1018272102.html) I ended up here: https://dev....
user avatar
  • 877
0 votes
1 answer
43 views

handel tls when domain point to subdomain in cname record

we are trying to point domain to sub doamins *.com --> *.zeineldin.link for example https://www.asrevo.com --> https://petman.zeineldin.link we need to support all domain not few domains for ...
user avatar
1 vote
1 answer
73 views

Google Cloud Directory Sync java nullpointer exception

I'm trying to do some testing with Google Cloud Directory Sync and Active Directory, but whatever I do, I always get nullpointer exeptions. As far as I can find GCDS is a Java application. The GCDS ...
user avatar
  • 111
0 votes
0 answers
80 views

How to disable DEBUG logs on catalina.out (Tomcat 9)?

I'm getting a lot of DEBUG related logs on catalina.out of tomcat 9. Is there any way to eliminate those DEBUG logs? Changing the log level to WARNING doesn't work for me. Thanks in advance.
user avatar
0 votes
1 answer
31 views

Ignore directory in Tomcat TldScanner

I run a Java-based CMS which places cached images in the WEB-INF folder, specifically in /WEB-INF/imagecache/. Unfortunately, this directory gets extremely large with lots of nested paths, and Tomcat ...
user avatar
0 votes
0 answers
53 views

Authentication to SonarQube with Azure AD

I have a taks to implement authentication to SonarQube with SAML from Azure AD We are using SonarQube 8.9.6 LTS with openjdk 11.0.14 OpenJDK Runtime Environment build 11.0.14+9 on Ubuntu 20.04. I've ...
user avatar
  • 1
0 votes
2 answers
239 views

How to install xargs in container running openjdk:17-oracle

I'm trying to install xargs in a container running openjdk:17-oracle, but I'm unable to figure our what package manager is present in this image. FROM openjdk:17-oracle RUN apt-get install findutils ...
user avatar
  • 125
0 votes
0 answers
11 views

JDK Mission Control vs Flight Recorder

Sorry, newb... I'm just trying to figure out if it's worth figuring out how to connect JMC remotely to a server to look at a JVM issue... If I use Flight Recorder to record the log, is that log ...
user avatar
0 votes
0 answers
78 views

Issue while setuping Guacamole with Database connection

I installed a Guacamole 1.4.0 instance on a RHEL 8.5 server. Now, I need to setup the LDAP extensions, but for that I first need to setup the database connection and it's at this moment that I have an ...
user avatar
1 vote
1 answer
58 views

Why does our Tomcat Java application suddenly open hundreds of connections to our database?

We have a Tomcat application running on Elastic Beanstalk and our MySQL database is hosted on AWS RDS (2 or 3 t3.medium instances). Ever since we upgraded from MySQL 5 to MySQL 8 (currently 8.0.23), ...
user avatar
0 votes
1 answer
254 views

How to disable lines in java.security to avoid javax.net.ssl.SSLHandshakeException?

I need to disable the following lines in the java.security file (java 8 SE): jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, \ DH keySize < 1024, EC keySize < 224, ...
user avatar
  • 223
0 votes
0 answers
65 views

Airsonic: no connection / refused to connect error

Hello StackExchange Community, I have had this issue with the Airsonic WAR for a while now, MySQL completely broke on my server, I managed to fix all services except Airsonic. My server is running ...
user avatar
0 votes
0 answers
27 views

Javascript not showing up in HTML Header page

I have a javascript code with the full address. And I have added that into the Header Section of the HTML Test Page of the Apache CentOS 7 Server. But when I restart the service and go to the test ...
user avatar
0 votes
0 answers
7 views

Updating ApacheDs. Changing source code to match

I was wondering how to change the ApacheDs source code to match the updated ones. What is typically the main issue in the code that needs updating. Thank you!
user avatar
0 votes
1 answer
27 views

POST requests fail after updating Apache load balancer ("empty stream")

We have an apache configured as a load balancer (mod_proxy_balancer afaik) distributing the load to several wildfly application nodes. This was working fine until we updated the operating system from ...
user avatar
  • 101
0 votes
0 answers
59 views

Where to install SSL Certificate for CURL request to external API

This is a bit of a strange situation, but I'm hoping someone here can provide some assistance. I have a legacy Java application that communicates with an external 3rd party API (UPS online tools). We ...
user avatar
0 votes
0 answers
45 views

how to run .war with java to execute inside dir from desktop shortcut

This is my case. I have a .war that I execute with java and it only works inside its folder: cd /opt/myappdir/ java -jar myapp.war Note: It does not work like that: java -jar /opt/myappdir/myapp.war ...
user avatar
  • 223
0 votes
0 answers
8 views

PlanLaGa 1.2 failing on fresh install under Windows 10

This program is not updated since 2011 but the authorities still make it mandatory. I've got by by using a older JRE (1.6) but now I get an error in a fresh install. This is the stack tracke I get in ...
user avatar
0 votes
0 answers
445 views

How to detect log4J on windows server 2016 Datacenter machine

So I recently got a mail about updating to the latest security update to the Apache software installed on my server (vulnerability (CVE-2021-44228 & CVE-2021-45046) related to Apache Log4j), but ...
user avatar
0 votes
1 answer
22 views

Installing Oracle Java in Red Hat Enterprise Linux

I am seeking advice on a solution for updating Oracle Java in a large number of hosts - We have a large number of RHEL hosts, and we would like to use yum update rather than rpm install for upgrading ...
user avatar
0 votes
1 answer
96 views

Remove Apache tomcat version from the app at the container level

I am trying to send a GET request to my app as shown: Request GET /c%3a%5cboot.ini HTTP/1.1 Host: myapp.io Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 ...
user avatar
1 vote
0 answers
289 views

Kafka stores log4j logs in directory literally called ${kafka.logs.dir}

I installed a preview version of Kafka 3.0 with log4j2 support (http://home.apache.org/~dongjin/post/apache-kafka-log4j2-support/) on a RHEL 8 server. Kafka and Zookeeper are running successfully as ...
user avatar
0 votes
1 answer
52 views

How to enable java agent for every new java process on the host?

I have a java agent that I want to be automatically enabled for any arbitrary java process running on the host. I cannot rely on aliases or environment variables like PATH, JVM_OPTS etc as I want any ...
user avatar
0 votes
1 answer
131 views

List of services affected by the Apache Log4jshell Vulnerability

Does there yet exist a list of software that is potentially affected by the Apache Log4jshell vulnerability (CVE-2021-44228) that was announced last Friday? As someone managing a number of servers ...
user avatar
0 votes
1 answer
58 views

How to pass parameters to JVM using Windows Java Control Panel: Server Tab

I'm trying to add arguments to the JVM using the Java Control Panel. I am able to edit the Runtime Parameters field in the Users tab, but not the Server tab (see image). The Find, Add, Remove ...
user avatar
  • 357
0 votes
0 answers
140 views

An I/O error occurred while reading from the JWK Set source: PKIX path building failed: unable to find valid certification path to requested target

I am trying to test my spring boot application in my local with http://localhost:8294/test but keep getting the certificate error. It was working until last week and all of sudden stopped working. I ...
user avatar
  • 1
0 votes
2 answers
90 views

Connect SSH Tunnel with the Java Desktop program (.jar) to remote server

I developed a JavaFx Desktop program the employees of the company. Now, they want to use the program in their houses with their own personal computers. The program has MySQL and FTP services. I need ...
user avatar
2 votes
0 answers
113 views

Is there a Debian Repository with OpenJ9 based Java releases?

Does anyone know if there are any Debian (11 Bullseye) repositories providing the latest and greatest Java builds based on OpenJ9 or did someone perhaps write some scripts for automatically updating ...
user avatar
  • 21
0 votes
0 answers
381 views

SNI header missing from TLS Client Hello when using HTTP proxy

I'm debugging a problem with a Java-based application that retrieves a JSON payload (the CVE list from NIST) over HTTPS. When I connect directly to NIST, I retrieve the data successfully. When I use ...
user avatar
0 votes
0 answers
21 views

Tomcat java consuming more Memory

enter image description herei am using aws in my tomcat application java eats more memory and more cpu utilization. my server configuration: 8 vcpu amd 16gb Memory i increased java heap size up to ...
user avatar
  • 1
0 votes
0 answers
25 views

Why won't exchange authenticate user in admin role?

I have a java spring boot application that I authenticate through our exchange servers. The from address included in the email is the same address associated with the authenticated user. When I point ...
user avatar
1 vote
0 answers
94 views

Installing Oracle JDK using Ansible

I've been researching this for a while and it seems that installing an Oracle JDK rather than OpenJDK through Ansible is much more troublesome due to licensing from Oracle. I've found some community ...
user avatar
  • 25
0 votes
0 answers
105 views

How to feed IBM MQ logs into Splunk?

Our Java-program talks to IBM MQ using IBM-provided com.ibm.mq.allclient JAR. As documented by IBM, log-messages generated from within the JAR are written out into mqjms.log in the current directory. ...
user avatar
  • 2,232
0 votes
0 answers
123 views

tomcat service getting logs from catalina.out, localhost.log and system.prints into journalctl

I have 2 servers with tomcat installed, one was installed by someone else. Something i noticed about the old one is when I run journalctl -u tomcat.. It shows most of the logs including when an ...
user avatar
0 votes
0 answers
111 views

Tomcat shutting down unexpectedly

We are using tomcat and deploying in aws-ec2 . The server is stopping without giving any proper logs. The only things I have is below mentioned. I tried increasing the swap memory, which made it work ...
user avatar
0 votes
0 answers
46 views

Import cfssl cert in keytool: Input not an X.509 certificate

I generate a CA and a cert with cfssl but I am not able to import the cert in the JAVA keystore with keytool. Is the generated cert incompatible with keycert/ Java x509 implementation? Or am I doing ...
user avatar
  • 123
0 votes
1 answer
44 views

Multiple application on single PC [closed]

I have installed Tomcat server on my server PC with IP 127.0.0.1 One application is running on the server. Let address of the application is: 127.0.0.1:8080/first-project Now if I want to run another ...
user avatar
  • 101
0 votes
2 answers
621 views

How To Add Additional Cipher Suites to A Java Application Server?

I'm running into a bit of a pickle with a call to a third-party API from a java application. The external API requires at least one of the following ciphers: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 ...
user avatar
0 votes
1 answer
112 views

Troubleshooting Handshake Failure Between Application and External API

This might be a bit of a long shot, but I'm hoping someone here can help me. I have a java application running on a jboss backend in a debian linux server. Incoming communications are routed to the ...
user avatar

1
2 3 4 5
37