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
1
vote
0answers
14 views

Unable to deploy Activiti 6 on Tomcat 9

I am trying to deploy the Activiti 6.0 WAR on Tomcat 9 using the command line. I have copied the WAR file in the webapps directory when I restart Tomcat 9 it extracts the archive but the app is not ...
0
votes
0answers
14 views

Spring Boot REST App (APACHE Tomcat) consuming Jasper Report Server rest-api (APACHE Tomcat)

So, I created this question on Stack Overflow, with no sucess :( but since this is an issue of 2 independent servers interacting, here goes; I have a Spring Boot REST Application in which I am trying ...
0
votes
1answer
43 views

Tomcat 9.0.35 with JDK 11 behind a IIS 8.5 ISAPI redirector

I am trying to install Tomcat 9.0.35 using JDK 11 on Windows 2012 R2 VM. This will an upgrade from Tomcat 9.0.11 and JDK 10. I am having issues with ISAPI Redirect. I see the following errors in ISAPI ...
0
votes
1answer
24 views

How to run a java jar that writes records periodically on firestore database, on google cloud?

I have created a java jar executable. The project is a maven project. It is running a task every 5 minutes and using this library (https://github.com/googleapis/java-firestore) it adds some records to ...
0
votes
0answers
11 views

Azure DevOps Java Deployment on Tomcat - Windows Server

Has anybody every tried deploying a Java Application on a Windows server using Azure DevOps? I was able to deploy it on a Ubuntu service using the following: -- Deployment Group Job -- Deploy ...
0
votes
0answers
27 views

FreeIPA on RPi3 Kerberos5 timeout

I pulled a magic trick from a hat. I put Kerberos 5 using FreeIPA on a Raspberry Pi 3 B. It's an inexpensive box that does one thing only, issuing tickets. I modified the 60 second timeout to 2000 ...
0
votes
1answer
63 views

Not able uninstall java openjdk version “11.0.2” [closed]

java - version show java 11 as follow mymac:~ mymac$ java -version openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11....
0
votes
1answer
25 views

crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash function

I'm getting the following password error. I have PHP 7.2 variant(to php version 5.5 does not appear to me this problem ), the following code : function make_key($length) { $valid_chars = '...
0
votes
0answers
15 views

Setting HAProxy cookie path?

I have an HAProxy configuration with a frontend, and several backends which are selected according to the "host" header. One of my backends is a Glassfish J2EE XML-RPC server, with an application ...
0
votes
0answers
18 views

How do I block site redirects from injections ads?

I have a site where I have various advertisements from a few advertiser , and from time to time my site is redirected how many other porn sites etc ... I installed anti adblock script because I gain ...
0
votes
0answers
29 views

HDP cluster + data node machines + End of File Exception between local host is

we have small HDP cluster with 3 data-nodes machines HDP version is - 2.6.5 from the data-node machines we can see the following logs the main exception is about - java.io.EOFException: End of ...
1
vote
0answers
24 views

How to publish IPMI JNLP Java over a website

We have an isolated network with management IPs 10.0.0.0/24 there are several IPMI ports connected and would launch the JAVA JNLP for remote access. If we are connected to this network we have no ...
0
votes
1answer
18 views

HTTPD port 80 not working after install apache tomcat

I am using AWS EC2 and Centos. Before I installed apache tomacat 9, I still able to access my website in port 80, or at least I can access my ip address in browser with welcome page. But after ...
0
votes
0answers
36 views

What is the difference between Debian slim-buster and buster images?

I can't any documentation stating what is the difference between Debian Buster and Debian Slim Buster. I am reffering to these images: https://hub.docker.com/layers/openjdk/library/openjdk/8u252-jre-...
0
votes
0answers
10 views

Accessing fileshare using java code, getting 503 service unavailable error

I am trying to access a fileshare to upload to and download files from it, using the java code example given on the azure docs site here: https://docs.microsoft.com/en-us/azure/java/java-sdk-azure-get-...
0
votes
1answer
15 views

Glassfish 5 cluster creates JSESSIONID on each request

I am trying to configure a Glassfish cluster following the official HA guide. The app is a standard JSF app (with Primefaces). At first I thought that the problem was related to JSF itself, but then ...
0
votes
0answers
80 views

Google App Engine keeps restarting Spring Boot application all the time for no apparent reason

I have a very simple Java 11 Spring Boot application running on Google's App Engine. The problem is that the instance running the app keeps restarting very very often. Sometimes as often as 70 times ...
0
votes
0answers
11 views

Monitoring 3rd party JAR file with AWS CloudWatch

When running a 3rd party JAR file (no source code access) which doesn't include the AWS SDK, can you launch it in such a way to inject the AWS SDK so that: runtime environment details such as heap ...
0
votes
0answers
46 views

Tomcat web app slow when using SSL

We have a JavaEE application at my work place that is running on Tomcat 9. The application is running fine on the server itself. But when any client try to open the application from his PC, the ...
1
vote
1answer
111 views

Cloud Run service account does not have permission to sign

I'm working on a program that will run on Google Cloud Run and has files stored in Google Cloud storage. The problem I'm experiencing happens when attempting to generate a signed URL to download a ...
0
votes
1answer
133 views

Why is the max heap much smaller than the value I set in Xmx (with -XX:+UseParallelGC -XX:+UseParallelOldGC)

I am running a SolrCloud on k8s with the following setting: Heap params: -server -Xms280m -Xmx312m Other params: -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseAdaptiveSizePolicy -XX:...
2
votes
2answers
108 views

Can't connect to Amazon RDS MySQL

I'm trying to connect to RDS MySQL from linux machine. When I test the connection with telnet, the telnet session succeeds but when I'm trying to connect to the db with the next command mysql -h ...
0
votes
1answer
32 views

Teamcity doesn't work after restart - Could not initialize class sun.nio.ch.SocketChannelImpl$DefaultOptionsHolder

I just installed teamcity and I was able to create Admin account etc., But as soon as I restart the teamcity service, I can no longer connect to teamcity. Here is the error I see.. Can someone shed ...
2
votes
1answer
64 views

Why can't I reliably send or recieve data over TCP after moving servers?

I am currently dealing with a networking problem on high latency (100-400ms) Internet links. I run a Minecraft network, and I recently moved it to a separate datacenter to get a server with a better ...
0
votes
0answers
54 views

Alfresco Java using 100% CPU

Every time I start the alfresco service htop shows that /opt/alfresco/java/bin/java is using 100% and when i click F5 to see child processes I can see that it is creating more and more of the same ...
0
votes
0answers
29 views

Why is Bouncy Castle appearing to be the default security provider in JBoss 6.4?

Our application is making calls to a Google API. On UAT with Java version 1.7.0_131 and JBoss 6.4, it works correctly, but on production environment, with the same Java and the JBoss versions, the ...
0
votes
1answer
41 views

Catalina logs to stdout

Logging Properties handlers = 1catalina.org.apache.juli.FileHandler, \ 2localhost.org.apache.juli.FileHandler, \ 3manager.org.apache.juli.FileHandler, \ 4admin.org....
0
votes
1answer
71 views

Apache Tomcat http dies, stops taking requests

I have been dealing with an aggressive bot crawler/attack for the last week. The bot is distributed with random ips, and agents string, so difficult to block, but I have another thread for that. This ...
0
votes
1answer
19 views

Installing tomcat 9 on oracle linux having tomcat 7

I have a task to deploy a war file of a Springboot 2.2.4 therefore the oracle linux server i am using already contains tomcat 7, and springboot 2.2.4 is not compatible with tomcat7 I am getting an ...
0
votes
0answers
40 views

Error "Exception [java.io.IOException:IO Error:There is no process to read data written to a pipe.]

We see this error in our environment, and thinking of the below mentioned as a workaround solution. If any of you have see this error in your experience or have an idea of such exception errors , ...
0
votes
0answers
56 views

JDBC performances using AWS RDS instance / Tomcat

I'm using RDS MySQL database for both preproduction and production environment but I'm facing performance issues on the production server while accessing RDS instance through JDBC (db.m5.large) with a ...
0
votes
1answer
309 views

Teamcity - package javax.servlet does not exist

How do I import javax.servlet in Teamcity? I have the below error message when I try to build the java project through teamcity IntelliJ IDEA runner. This is my first time with teamcity and I'm using ...
0
votes
0answers
16 views

How to connect to 4 websockets, 1 of them through my own proxy?

I have an EC2 instance. I need to receive data from 4 separate websockets located in different regions around the world. Three of the websockets are working fine, but one of the websockets is being ...
0
votes
0answers
36 views

How to configure GarbageCollector on a 128GB RAM server running Tomcat9 on Debian10 (Java11)

We have a 128GB RAM running Tomcat9 (install through the tomcat9 package) and 32 CPU threads. The tomcat server has +- 100 contexts (.wars) running Every other minute it currently stops for about 7.5 ...
0
votes
0answers
18 views

Oauth2 issue in Spring Boot behind Nginx

I am deploying Spring Boot application behind a Nginx proxy server. Whenever I try to authenticate a user using this endpoint /oauth/token I don't get any response. This is my application.properties ...
0
votes
1answer
35 views

Nagios - check procs and --metric=elapsed on the same service

After many days of working and searching onn the net, I'm getting back to you as a last chance for help. I'm working actually on monitoring unix process with nagios core 4.4.3 with nrpe . My goal is ...
0
votes
0answers
156 views

Unauthorized error while trying to add LetsEncrypt to a domain using Nginx with docker for Spring boot

I am trying to add HTTPS to my domain using LetsEcnrypt. My server setup so far is, I have Spring Boot running on Tomcat in a docker container on Port 8088 and I have Nginx server in front of the ...
0
votes
0answers
30 views

Tomcat is running but not responding

We are using aws(4 Core + 16GB RAM) running linux to host 1) Web Server to host our java web application 2) WebSocket server(Provided in Tomcat) 3) TCP server (Built using Netty framework) The ...
0
votes
0answers
14 views

How do I configure the Calculator web service sample code in netbeans to use x509 certificates for authentication?

I have successfully followed the steps outlined here: https://netbeans.org/kb/docs/websvc/jax-ws.html Everything works correctly (i.e. I can run a client jar file from terminal and have it send two ...
-1
votes
1answer
31 views

Resource consuming process

I have a Debian server hosting an AngularJS - Java application. When I run the htop command I have the following process which consumes the resource and I wanted to know what this process is for? ...
1
vote
2answers
478 views

Ubuntu 18.04 kernel 5.0.0 kernel panic. Java. Memory mapped files and core pinning

we have been running our java system for over 2 years without ever having a system hang. We have 2 physical servers running similar java software (2 JVMs on each server) to form a cluster. As far as I ...
0
votes
1answer
51 views

Enabling SSLv3 in Weblogic 12

Yes, I know this is generally a bad idea, but we have a short-term need to do it. Following this: https://docs.oracle.com/middleware/1221/wls/SECMG/ssl_version.htm#SECMG637 We have set -Dweblogic....
0
votes
1answer
463 views

Tomcat Lib Folder JARs and Classpath

I'm not sure if this is the right place to ask this, but I'll go ahead anyway! I am trying to deploy a JAR that I built with maven into the Tomcat/lib folder. The problem I'm having is that all the ...
0
votes
1answer
78 views

I broke my terminal trying to set up PATH environment to bin the JAVA directory and now nothing works, no bash commands, etc. Can I reset?

Basically I was just trying to set up a PATH environment variable that pointed to the /bin directory inside the main Java directory. I did this by doing: sudo nano /etc/paths. But then couldn't get ...
0
votes
1answer
204 views

javaws failing on JNLP file, unable to verify cert error

We run Screenconnect at the office, or whatever connectwise calls it these days. I'm the only linux user in the office. So I just run the icedtea-netx plugin and open my sessions with the jnlp file. ...
0
votes
1answer
173 views

Java memory is limited but it still uses way to much RAM

I read a lot but what I read so far did not make much sense, so I am asking here a new question about Java and memory. So I am starting a Java app with the following CLI arguments -Xms48m -Xmx96m -...
1
vote
1answer
31 views

HPE J9265A 6600-24XG switches & java for the web interface?

Does the latest firmware for HPE J9265A 6600-24XG switches still require java for the web interface?
0
votes
0answers
86 views

Tomcat change Date Time in startup

I have problem, tomcat 7 with Java 7 is changing the date time during startup I checked system date time and is ok Java tima was wrong, but I corrected Tomcat I put Java_opts with timezone, setenv ...
0
votes
0answers
86 views

Execution failed for task ':ofbiz' - Gradle Process 'command 'C:\Program Files\Java\jdk1.8.0_171\bin\java.exe'' finished with non-zero exit value 1

I am starting Ofbiz latest version 16.6 version. Getting following error. Have set Java path, OFBiz Home path. cd:\ofbiz>gradlew ofbiz Starting a Gradle Daemon (subsequent builds will be faster) ...
0
votes
0answers
270 views

Having enough memory but getting “insufficient memory for the Java Runtime Environment to continue”

My java app crashed after running for 3 days with following information: # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map ...

1
2 3 4 5
35