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
0answers
11 views

java + how to Install and manage multiple Java versions on Linux RHEL machines using alternatives

I want to share my procedure that described how to manage multiple Java versions on Linux using alternatives we intend to install new presto version -350 , and this version required open jdk version - ...
-1
votes
0answers
30 views

Java EE / JSF and Nginx: uploading files fails when server behind Nginx

with JSF 2.3, Jakarta EE 8 and Wildfly 23 / Payara 5 Uploading a file with <h:input> or <p:fileUpload> works fine but fails when Nginx is turned on. The file is never received by the ...
-2
votes
0answers
56 views

<RESOLVED> dpkg: error processing package openjdk-8-jdk:amd64 (--configure)

I am using Linux Mint 20.1 Ulyssa and after the latest updates, I have problems with dpkg when installing new packages. Unfortunately, I could not solve it myself and I would like to get someone's ...
-2
votes
0answers
20 views

Glassfish : Class name is wrong or classpath is not set for : com.mysql.cj.jdbc.Driver Please check the server.log for more details

I build JAVA EE project and choose glassfish as a server and mysql as a database, when i trying integrate mysql database in glassfish server, there are some errors : I fill properties database like ...
-1
votes
0answers
11 views

Google Cloud Platform Debugger for Compute Engine with Payara/Glassfish Application Server

I started an Ubuntu VM on google cloud platform that contains a payara application server (a fork of Glassfish) and everything works great. The deployed app is a bunch of WAR files. Now I would like ...
0
votes
0answers
24 views

Disable SSL Medium Strength Cipher Suites (SWEET32) in Java

I have a CVE (CVE-2016-2183) that I need to resolve. This is for disabling SSL Medium Strength Cipher Suites (SWEET32). I've disabled this explicitly on all my servers by disabling the cipher in ...
1
vote
1answer
18 views

How to find obsolete Java version users in a windows server

I deploy newer version of Java in windows server. Then I made new version the default one. But How can I find apps, programs, services, that are using older, obsolete java versions, before I unistall ...
1
vote
1answer
86 views

Oracle Cloud Control 13, Cannot connect to Weblogic admin server

Recently I have performed a fresh installation of Oracle Cloud Control 13.3. The first thing I have noticed was that the Weblogic admin server appears to be down according to Cloud Control. When ...
0
votes
1answer
64 views

Daily Apt Upgrade causing oom-killer to kill my java server

My server has died several times in the middle of the night because of this. How much memory is apt-upgrade asking for? Is it being reasonable? I'm trying to decipher the logs here. Any help or ...
1
vote
0answers
62 views

How to import a certificate into my java cacerts file as a privateKeyEntry?

I'm trying to import a CA-signed certificate into my Java cacerts. Now I've got these files: signing request.csr ca-signed certificate.crt ca-signed ceertificate.key ca.cer ca root.cer According to ...
0
votes
1answer
32 views

Is it possible to configure JMXRemote both on localhost and remote IP?

I have a java app running within Kubernetes. I sometimes need to debug it, so I used to connect to the jmx port via kubectl port-forward pods/my-java-app 9010:9010 -n my-java-app. Our monitoring team ...
0
votes
0answers
10 views

Jenkins not detecting java on ubuntu, how to fix that?

Downloaded adopt openjdk version 8 and extracted on the machine. Set the path variable and JAVA_HOME in /etc/environment and /etc/bash.rc also. JAVA_HOME="/home/adminuser/Desktop/jdk8u282-b08&...
0
votes
0answers
27 views

EC2 Amazon Linux - Tomcat starts on terminal but not on browser

PUBLIC IP: 35.175.126.174:8080 The startup of Tomcat 9 occurs successfully, I've configured security group to accept HTTP requests from anywhere on port 8080, there are no errors on catalina logs, but ...
0
votes
0answers
12 views

Killsnoop not showing any results

We are trying to trace a crash of java program in production environment. Java code crashes with the exit code 137. Many searches point to OOM error, but our logs do not prove the OOM condition. ...
0
votes
0answers
54 views

How to increase maxConnections on tomcat

We are trying to increase the number of connections on tomcat7. We are using NIO connector. Our setting on server.xml is set to 15000. But whenever we start the server, jmx export reports the value as ...
0
votes
0answers
16 views

Centos8 java application as service

Background: We are running java springboot applications on Centos8 (for now...) as service but applications take some time to startup: flyway, DAO initialization... Actualy start of service can take ...
0
votes
1answer
242 views

java.exe in “C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe” overridden local Java installation

Why and how come java.exe appeared in "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe", on Windows 10, and even more surprisingly - overridden my OpenJDK's java.exe binary,...
0
votes
0answers
109 views

Amazon Linux Tomcat 8.5 vs Apache Tomcat 8.5 installation

I am trying to deploy a java/tomcat application to Amazon Linux 2. The app uses Hikari for connection pooling and connects to a mysql database. As part of the amazon-linux-extras packages, tomcat 8.5....
0
votes
1answer
124 views

Getting javax.naming.CommunicationException: Connection reset and AD “event ID 1216” while trying to perform LDAP search using JNDI and GSSAPI

I am trying to analyze the reason for exceptions/ failures during the Ldap search. I am performing operations using JNDI on Active directory domain controller. Here is the background for the things ...
0
votes
0answers
21 views

What is required or need to implement inside microservice which has kafka consumer( B microservice) code to avoid 401 error

I have Microservices called A, B, C, D. A contains Kafka producer code. B contains Kafka consumer code. B consume messages from Kafka consumer and process further and interact with other microservice ...
0
votes
1answer
30 views

Kerberos using JAAS and SMB protocol

We are using JAAS for Kerberos authentication. As a requirement from the customer, we want to make sure that SMB V2 or higher must be used during communication with KDC/AD. I've few basic questions ...
0
votes
1answer
35 views

Using netns to force Java application use specify IP

My VPS provider assigned 4 IPv4 to my vps. However, This assigned to single NIC, and VLAN not working(Maybe it is my configuration problem). If I try using VLAN, I can't get external network using ...
0
votes
0answers
26 views

Missing file permissions only when started with Windows Task Scheduler

I have a bat files that launched a java JVM to allow another server to run tasks on the windows box. Currently after each reboot I've had to log-in as a specific user and run the statup.bat. To make ...
0
votes
1answer
44 views

type -p java does not work in a init.d script

I am trying to modify /etc/init.d/jenkins script, in order to add my custom java path. My solutions is this: JAVAPATH=$(type -p java) PATH=/bin:/usr/bin:/sbin:/usr/sbin:$JAVAPATH However, when I ...
0
votes
0answers
32 views

Connection SQL distant remote communications link Failure gcloud

Hello at all I try to connect through a server Tomcat hosted on google cloud to my host DB (Green Geek) I have donats created two rule firewall between /out on google is one on GreenGreek for the sql ...
1
vote
0answers
40 views

What is the standard way to install jdk for wildfly on production?

There are options like, install from repo, install from rpm and install from tar/zip/etc archive What are the pros and cons? One con of installing from archive is, you don't get security updates. Is ...
0
votes
0answers
26 views

Tomcat Java - consumes 90% of the memory even when nobody is connected to the app

The tomcat instance is a docker image and it is consuming 90% of the host memory even when nobody is connected to the app. Only one instance of tomcat is running. Is this normal? I've been testing ...
1
vote
0answers
83 views

Error: Can't find bundle for base name ncs_rest_sim, locale en_us when running devspace/ideamart simulator on ubuntu

I get this when trying to run devspace/ideamart simulator on ubuntu 20.10 with java version "1.8.0_271": HTTP ERROR 500 Problem accessing /. Reason: Can't find bundle for base name ...
0
votes
0answers
33 views

The project cannot be built until build path errors are resolved

I get the following error while running Eclipse IDE 2020-09 Project 'ServerFilterExample'is missing required library: 'C:\tomcat8\apache-tomcat-8.5.54-windows-x64\apache-tomcat-8.5.54\lib\servlet-api....
1
vote
0answers
43 views

Automatically Adding Client SSL Certificates to Java Keystore? Centos 6.10

I have been having an issue for months where all of the sudden our Java install on Centos 6.10 stopped adding client site certificates to the java keystore. To work around this I need to browse to the ...
0
votes
0answers
45 views

App-V + Java VM initialization issue

We have Java packaged in an App-V application for a business application, installed on hundreds of devices. The package flakes out with Java.exe not loading occasionally (IE webpage that calls Java ...
0
votes
0answers
47 views

How to configure separate logger file in wildfly 18 for each application deployed

I have multiple applications deployed on standalone wildfly server. All the application logs are recorded in server.log. I wanted to record logs for each application in separate logger file. I tried ...
0
votes
1answer
435 views

How to enable DNS over TCP for resolving names on linux

How do I configure linux in general to allow dns over tcp? We discovered today that several different linux servers we use are not able to resolve DNS names with many ip addresses in the response. ...
0
votes
0answers
36 views

SonarQube for different java versions

we are using sonarqube which is installed on cloud premises with the following configuraitons: sonarqube version: Version 7.9.4 (build 35981) Java Code Quality and Security Code Analyzer for Java :6.3....
0
votes
3answers
450 views

CORS Error in Google App Engine on java server

I have two apps. Frontend(Angular) running on Firebase Backend Spring Boot (Java11) running on App Engine Got this error while trying to reach any endpoints in app engine "Access has been blocked ...
0
votes
0answers
110 views

How to connect azure databricks to apache ignite

I have Azure Databricks and I have Apache Ignite in an Azure Kubernetes cluster. I want to access the Ignite cache using spark connector, something like (python): df = spark.read.format('ignite')....
0
votes
2answers
411 views

Jenkins fails to start on Windows Server after Java Runtime update uninstalled older version of JRE

I have a Jenkins Server running on Windows Server 2012 and Java prompted me to update to a newer version (jre1.8.0_261 to jre1.8.0_271) and during that install it asked to uninstall older versions (...
1
vote
1answer
172 views

Ubuntu 20.04 update destroyed Java/Mysql app performance

I'm working on a Java / MySQL app and test runs of batch processing were taking 3-4seconds on Ubuntu 18.04. I made the upgrade to Ubuntu 20.04 last night, and kept the same mysql conf file, and now ...
0
votes
0answers
61 views

AnonPage memory leak

Our service notices some hosts having large anon pages like these from pmap -x: 0000000580000000 9486088 9479172 9479172 rw--- [ anon ] meanwhile, our other regular hosts have much smaller anon ...
1
vote
0answers
142 views

Deploy java “trusted.certs” by GPO to all users of domain

In my domain, we have a couple of applications that establish a connection by java: when users do the Windows logon the box windows of Java appears and ask ""Do you want to run this program?&...
-1
votes
1answer
160 views

Minecraft server constantly crashing [closed]

I tried to make a VM instance on the Google cloud platform for my Minecraft server. But It's constantly crashing after a few hours. It says that I don't have enough memory but I think I allocated more ...
0
votes
0answers
149 views

Confusion with memcache size increase

I'm facing issues with my memcache recently as we received lot of data requests. So, I used telnet command to get some stats around the memcache. For the production environment, I saw that there are ...
3
votes
4answers
129 views

How do I install 2 different versions of java on the same machine from EPEL

Title says it all. I want to have 2 versions of java on the same machine. For example 14.0.1.7 and 14.0.2.12 (which are both in EPEL7 repo). If i install them one by one via yum, yum will remove first ...
1
vote
0answers
101 views

Does http.nonProxyHosts support the subnet/CIDR IP syntax 172.16.0.0/12?

Does http.nonProxyHosts support the subnet/CIDR IP syntax 172.16.0.0/12 (private IP addresses)? The alternative would be quite complicated: 172.16.*\|172.17.*\|172.18.*\|172.19.*\|172.20.*\|172.21.*\|...
1
vote
2answers
70 views

How to diagnose what Java process is doing in kernel space

We have a problem with one Spark (Java) application on our Hadoop cluster. When this workload gets scheduled on 3 machines in our cluster kernel space CPU usage gets a very high. Example recording ...
1
vote
0answers
33 views

Tomcat sends response 400 out of nowhere

I'm running a server on Ubuntu 18.04 with Tomcat and I saw the following in the access log. <my.ip> - - [13/Sep/2020:19:33:40 +0000] "POST /path/path HTTP/1.1" 200 53 <my.ip> - - ...
0
votes
1answer
51 views

Forward incoming connection to another server, but forward the connection IP address as well

I have two Linux servers. I need to forward the incoming connection from server A (1.1.1.1:25565) to server B (2.2.2.2:25598) (as an example). I've tried multiple iptables rules, with partial success. ...
0
votes
0answers
38 views

JBoss 7.1 set maximum-session-cache-size to Elytron Security Provider via jboss-cli

There is configuration issue, while setting some default params in the new Security provider(elytron). The legacy security provider (prior to Jboss 7.1), has a different cli command to overwrite the ...
0
votes
1answer
37 views

Request Whitelisting for Java 7 Deployment

I just took over a project last month.When I tried to deploy the project, it popped up a message told me to migrate to Java 8 application or add to whitelist. I have tried the steps on the document of ...
0
votes
0answers
22 views

Do I need a ssl certificate for testing with selenium via vps server?

i am trying to Set up a vps Server with which i want to test Websites in the open Web by opening different chrome windows with the help of selenium. Now i wonder if i need a ssl certificate for doing ...

1
2 3 4 5
36