Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [java]

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

-1
votes
1answer
158 views

Polling x amount of URL's every second with Java [closed]

Is it even possible to poll let's say 10,000 URL's every second? I do keep threading in mind with the following code: for (int i = 0; i < 10000; i++) { Executors.newScheduledThreadPool(10)....
1
vote
0answers
122 views

YARN AM logs report different time-stamp from what is shown in terminal and sparkscala shell

I am trying to understand why the following occurred: I have a Docker container with Yarn and Spark running fine except that the timestamp of that container was minus X hours of what I wanted it to ...
2
votes
1answer
328 views

JDK installation wizard not showing but installed anyway

I hope someone here can help me. I'm one of a view java developers in my rather large company. So java is kind of neglected and I'm left alone managing my development environment. I wanted to test ...
1
vote
0answers
831 views

Installing wildcard SSL Certificate on Tomcat 6 and 7

I have followed the information given in the goDaddy web-site to get the SSL certificate and installing it but Not successful. I created the keystore: keytool -keysize 2048 -genkey -alias tomcat -...
0
votes
1answer
80 views

Is it possible for a Java update to have removed a soft link to the system certs?

I did a recent update to open jdk java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64. Today we got a call from our customer that there was an error in the system. Upon further checking, we found that ...
5
votes
3answers
6k views

How to run IPMI consoles now that NPAPI plugins are no longer supported?

I have a Tyan S5533 motherboard which serves as my NAS drive. It has a dedicated IPMI NIC, but I cannot start up the Java console since Firefox 52, Chrome/Chromium no longer support NPAPI plugins. I ...
3
votes
2answers
15k views

Java error Unsigned application requesting unrestricted access to system

I want to reboot a server, so I opened its Integreted Dell Remote Access Controller in Chrome, and clicked on "start virtual console", which caused Chrome to download a file with a strange name. The ...
0
votes
2answers
1k views

Tomcat consuming more Memory after Application Data is added .

A Tomcat Server suddenly shows an increment of 2 GB memory consumption after adding more data into the Application or Application Oracle Database. What I mean is that after restart Tomcat is normal ...
1
vote
0answers
296 views

Processes is getting killed randomly on REdHat

We have around java virtual machines with limited memory, and MongoDB. Deployed processes are randomly getting killed/terminated abruptly in time. No matter java process, nodejs or mongodb process. We ...
1
vote
0answers
164 views

Any way to run Java as a service while still being able to send Commands to the console?

I have a Java program which run in the Java console that I would like to run as a service. This, on its own, is not a big problem as I could use something like YAJSW (Yet Another Java Service Wrapper)....
0
votes
1answer
368 views

Resource temporarily unavailable [fork] & insufficient memory for the Java Runtime Environment to continue

I have been experiencing this errors in my linux servers. Resource temporarily unavailable [fork] & insufficient memory for the Java Runtime Environment to continue I have increased the nproc ...
1
vote
0answers
143 views

Ubuntu 17.04 netty-tcnative ALPN not available for JDK SSL/TLS engine

I have a Java application (runnung under Oracle Java, but the same issue happens with OpenJDK) that uses netty-tcnative. It runs without issue on macOS, but when I try running it on Ubuntu 17.04 I get ...
2
votes
2answers
736 views

Java Servlet not found on Google App Engine deploy

I am working on an Apache Maven dynamic web project on eclipse. It uses static files (html, css, js) and a Java servlet. When I deploy my project to the google app engine, the Java servlet does not ...
5
votes
4answers
4k views

Is there a way to change the java JRE a linux Jenkins server uses?

A Jenkins server is running under Java 1.7 on a linux machine and I need to change it to 1.8 so that I can run a specific plugin. The Linux machine has a Java 1.8 JDK/JRE installed, but I cant find a ...
1
vote
1answer
62 views

Java running in specific environment?

We have the nightmare scenario of different customer portals required different versions of Java, making broad user compatibility almost impossible. Is it possible to run applets with different ...
0
votes
1answer
705 views

nginx reverse proxy + docker spring war application

I have a nginx reverse proxy set up with this configuration: location /auth { proxy_pass http://example.com:8083; } location /blog { proxy_pass http://example.com:8082; } The blog docker ...
7
votes
4answers
16k views

Supermicro IPMIView KVM Console does not work at all

I can't get the Supermicro IPMIView version 2.* (any of them) to launch the KVM Console either in the IPMIView windows program nor any browser. Java, is installed (version 8, update 131) and I'm ...
0
votes
1answer
508 views

supervisord - automatically kills its spwaned processes

I am a new bee with Supervisord. And I am on Ubuntu. My problem is, I have a script to spawn java process using "exec java -cp ....." as the only line in the script. This particular java process is ...
1
vote
1answer
16k views

Native memory allocation (mmap) failed to map bytes for committing reserved memory

I am running a download server in AWS t2.micro instance & I have configured max heap of 512 MB & min heap of 256 MB for my java process. I am performing a migration kind of process in a single ...
3
votes
2answers
3k views

Java issue driving me crazy

I get this error when I try to open an specific .jnlp file: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been ...
1
vote
3answers
414 views

JAVA_HOME versus java -version

I've two JDK's on my CentOS machine, 1.7 and 1.8. When I set my JAVA_HOME to 1.7 the java -version command still shows 1.8 What's this? And how to fix?
0
votes
0answers
19 views

Sun Java on Linux and automating updates

I am running Graylog v2.2 on Ubuntu 14.04 which doesn't work with OpenJDK so I routinely download the Sun Java JRE and install it to /usr/local/bin and start Graylog accordingly. Besides checking ...
2
votes
1answer
118 views

Ignore Specific Package When Updating - Solaris 11.3 SPARC

I'm running java 7 on one of my Solaris servers. We need to run updates but when we do java 8 tries to install itself. This wouldn't be a big deal but it conflicts with another application we have ...
0
votes
0answers
2k views

Tomcat 8.5.15 not loading static resources

I have upgraded my local tomcat from version 8.0.36 to 8.5.15. I have a project that has static resources (css, js and vm) inside a project in an Eclipse workspace, linked in the pom profile ...
0
votes
1answer
74 views

RHEL: 4 Cores available but only 1 used

I'm running a heavy java process on my rhel. It had 8GB of RAM and 1 core for CPU. With the help top and htop I saw there was not enough CPU available for this process. I added 3 extra cores in ...
0
votes
1answer
312 views

Nutch complains about Java 8 version mismatch but only Java 7 is installed

I am following the Nutch tutorial from https://wiki.apache.org/nutch/NutchTutorial I have Solr 5.5.4 from the Apache site and Nutch 1.13 from the Apache site I am using Oracle Java 7, I tried first ...
3
votes
2answers
895 views

How to certify a self-signed imap email server

My task is to retrieve emails from an imaps email server using Java so as a client I need to authenticate the email server using an appropriate certificate. It seems however, that this email server is ...
0
votes
1answer
48 views

jruby web application deployed on glassfish server becoming slow as time passes

I have deployed war file of my jruby application on glassfish server. i have noticed that my application becomes slow as time passes. My server is of 30GB RAM but still application is very slow. ...
0
votes
1answer
110 views

Liferay-dxp configuration on weblogic 12c

How to configure liferay-dxp (sp1) in weblogic 12c ? Please find detail log . 14:53:58,877 ERROR [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'][...
0
votes
1answer
5k views

nginx ssl handshke failed: peer closed connection in SSL handshake while SSL handshaking

I'm having issue with some client failed to connect to server through HTTPS. Our setup is like this: [client (JVM)] --(https)--> [NGINX] --proxy_pass(http)--> [AppServer (jvm)] I can connect to ...
0
votes
0answers
521 views

High response times during load testing - CPU usage just 44%

First a description of the system: Hosted on Gen 9 machines (SLES OS) with 32 GB RAM allocated for the application. Three instances of application run on each node. Each instance creates 32 threads ...
2
votes
1answer
11k views

tomcat works but service tomcat status says it failed

This is my tomcat.service file, located at etc/systemd/system [root@ip-10-81-27-248 system]# less tomcat.service Systemd unit file for tomcat [Unit] Description=Apache Tomcat Web Application ...
-1
votes
2answers
90 views

Not able to reach azure url

I am trying to reach azure url through my Unix server but not able to reach it. It is sending connection time out and not able to find server from server list every time. Plus I have tried to ping ...
0
votes
2answers
3k views

Where to put certificates in Tomcat, when app acts as client?

For starters, i have my Tomcat8 configured for https with valid certificated linked in connector xml file. Something like this: <Connector port="443" protocol="org.apache.coyote.http11....
0
votes
1answer
330 views

What is the value of `<public context>` in nginx configuration from documentation of artifactory

I want to deploy artifactory behind a ssl public nginx proxy. I have read the documentation and tried many configuration. https://www.jfrog.com/confluence/display/RTF/Configuring+NGINX I can't be ...
0
votes
1answer
342 views

Using a specific version of java for teamcity

I've got teamcity 10.1 running on a ubuntu box at work. This box requires java 1.7 to be installed for some of the other tools we have installed there. However teamcity (as of version 10) requires ...
0
votes
2answers
778 views

Unable to launch 389-console locally | java.awt.HeadlessException

I'm trying to replace some ancient SunOne directory servers with 389 DS. I have a brand spankin new CentOS installation where I followed the steps as outlined here. My workstation is RHEL7, where I ...
0
votes
1answer
207 views

Deploy Java app to Azure over https behind proxy

New to Azure, I'm looking for a good way of deploying our apps. The situation is that we build our Java apps inside our network using Jenkins. Each successful build should be automatically published ...
0
votes
1answer
376 views

Can GlassFish or Payara be configured to specify server preferred order of cipher suites?

I would like to prioritize cipher suites so I can implement perfect forward secrecy. I am not sure if this is feasible in GlassFish or Payara. We are currently running Payara Server 4.1.1.154.
0
votes
0answers
55 views

Java OpenCV failure results in AWS Maxed ReadOps

I am using AWS to host some pretty heavy computer vision processing and have run into a problem that is very hard to diagnose. The image processing infrastructure is configured as a worker instance ...
0
votes
0answers
43 views

How to improve availability of a old legacy java application in AWS

I have a old java application running on an AWS EC2 but a couple of times per week the application is very slow or down and I have to restart the system which is very bad for our clients. It's an old ...
0
votes
1answer
244 views

Solaris Nags About “process.max-stack-size” while running “Java Processes”

I have a server running Solaris 10. It reports using 10% of total memory using prstat. I 've ran process using Java 1.7.0_80 in 64-bit mode. The problem is that System always nags about process.max-...
1
vote
1answer
1k views

Logstash multiline codec for Java stacktraces

The logstash documentation indicates that you can collapse the multiple indented lines in a Java stacktrace log entry into a single event using the multiline codec: https://www.elastic.co/guide/en/...
0
votes
1answer
974 views

Does anyone know how to scan through a Java Keystore and remove all the expired certificates?

I have in the past made a list of all the alias's that were expired and then made a forloop in CMD to then go through and remove all of them but I was wondering if anyone knew of a perl script or ...
0
votes
0answers
36 views

how to allow one specific application to access command-prompt?

is there a workaround to allow only one specific application to access command prompt (java application) in a disabled command prompt active directory environment without enabling command prompt for ...
0
votes
1answer
365 views

Jboss EAP 6.2 AvailableCount in connection pool decresing

1.We have a J2EE application using Servlets & JSPs running on Jboss EAP-6.2, and using SQL server database. 2.Everything was fine on UAT system where users count was 20 but when we moved the same ...
0
votes
1answer
500 views

Jasper login page not loading

I'm wondering whether something needs to be in user tomcat's environment. I'm not going to run tomcat as root. BTW, does anyone use the installer or is everyone just downloading the war file and ...
1
vote
0answers
3k views

Jenkins Master with High CPU Usage

I have a Jenkins master that takes around 600% of CPU usage. It causes load average of 50 and makes Jenkins crash several times. I tried to remove several plugins and clean the workspace in order to ...
0
votes
1answer
2k views

Importing Solr Cores from one old Solr to another

I have old version of Solr on one server. i have 4 Cores in it. I have installed new fresh solr on new server. I have physically moved the old core directories as well, to new server Cores directory, ...
3
votes
1answer
103 views

Adding IPv6 support in Client-server application. Is it common to have IPv4 stack disabled at OS level in “Pure IPv6” production servers?

OS in considerations : Windows Server 2008+ We are adding IPv6 support in a complex client-server network application. Server opens many ports for listening, and different types of clients connect ...