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

0
votes
0answers
8 views

Java server port forwarding issue

So i have made a java client and a server with Sockets. Everything works as it should locally and over the net but the issue is when i want to run the server on my computer since no one can connect to ...
0
votes
1answer
12 views

Installing JDK on Amazon Elastic Beanstalk instances

I'm not entirely sure whether this belongs here or on StackOverflow, because it involves server admin, but it also involves a compiler. It seems that the application on our Elastic Beanstalk cluster ...
-2
votes
0answers
10 views

Can I Delete deployment.config file from windows?

Is it ok to Delete deployment.config in Windows Directory\Sun\Java\Deployment? it point ot an old sever that is no longer in use and things run well without it, but is it safe to run applications ...
0
votes
0answers
27 views

How to generate SSL certificate on subdomain?

I actually have a hosting service who has a subdomain, that subdomain function is to redirect to my local server where I have my services, for example: My domain: example.com Subdomain: guaymas....
1
vote
0answers
16 views

Equillogic group manager java error. ExitException: Your security settings have blocked

I want to start our equillogic group manager application to manage our storage. the problem is that when i start it, I get the error: ExitException: Your security settings have blocked an application ...
1
vote
1answer
22 views

Online performance tuning apache tomcat

I'm relatively new to this field and not sure whether I'm posting the question in the correct forum. I'm trying to do online parameter tuning for the TPC-W benchmark. (It is a 3-tier web application ...
0
votes
1answer
68 views

Disabling the AES cipher suites without ECDHE key exchange algorithm

Currently, we are having below cipher suites used in our platform. AES128-GCM-SHA256 AES128-SHA256 AES128-SHA ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES128-SHA256 ECDHE-RSA-AES128-SHA Post ...
0
votes
0answers
13 views

JBoss EAP 7.1 Deployment Failed Integrator: Provider not found

Currently we are migrating our applications from JBoss EAP 6.x.x to JBoss EAP 7.1. I have made all the required configurations on my JBoss 7. But while deploying one application on Jboss 7.1 I'm ...
2
votes
1answer
19 views

Updated AWS SDK and now getting presigned errors

I've just upgraded to the lastest Java SDK and my presigned urls are no longer working. Previously I used generatePresignedUrlRequest.addRequestParameter( Headers....
0
votes
2answers
82 views

Connecting from Java Azure function to managed Azure SQL instance

I have a Java Azure function that connects to an SQL Server database, and it used to work fine with "Azure SQL Service". The DB is now being migrated to Azure SQL "Managed Instance", so I changed the ...
-3
votes
1answer
37 views

How to Block multiple request from same IP address?

I have a java application which is running in Tomcat server. I was trying to load test of my application with Jmeter. While I put a load of more than 100 users, the CPU utilization increases ...
0
votes
0answers
15 views

Maven does not create manifest

I’m trying to install/use JSCEP using maven - https://github.com/jscep/jscep My process at the moment is: git clone git@github.com:jscep/jscep.git cd jscep maven install which results in [INFO] ...
0
votes
1answer
34 views

SSL Certification with nginx and tomcat

I have an nginx server, which can forward request from subdomains of ropi.io. I want to secure the connection with SSL, so I generated a certificate, called ropi.pem and added it as both the ...
0
votes
0answers
20 views

JDBCExceptionReporter.java:234) - Out of resources when opening file '…' (Errcode: 24 - Too many open files)

JDK 1.8 mysql 5.7.24 gradle 4.0 i have read out other threads here. and find some solutions but those did not work for me. I have already modified my.cnf file # Default Homebrew MySQL server ...
2
votes
0answers
62 views

Not able to reach container running in a localhost docker swarm cluster

If that's interesting: OS: WIN10 (cygwin), code written in Java. I am using hyperv VMs as stated in this guide: this I'd expect to reach the service in front of the container, which is running on ...
1
vote
1answer
23 views

Tomcat returning 400 error to some hosts

I recently upgraded from Tomcat 8.0 to 8.5 Since the upgrade, hosts from other subnets get a 400 response to requests, but on the same subnet the application runs without errors (!) 127.0.0.1 - - [...
1
vote
0answers
32 views

What is the recommended way of deploying a Java EE application in IIS?

I was given the task of deploying a Java EJB application in Windows Server 2012 with IIS 8. The application was previously deployed to Glassfish 4 on Jelastic. After checking the requirements, I ...
0
votes
0answers
18 views

How to serve a TomEE application via domain name without directory name with IIS?

I'm trying to host an EJB application with IIS, backed by TomEE Plus 7.1.0. I followed the steps outlined at https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html. The application can be ...
0
votes
2answers
66 views

AWS MTurk Command Line Tools - A JNI error has occurred

I'm trying to install and use Amazon Mechanical Turk Command Line Tools, which I just downloaded from https://requester.mturk.com/developer/tools/clt I'm trying to run them from a Administrator ...
0
votes
0answers
34 views

servlet application behind nginx

We are currently hosting a critical application behind a nginx based reverse proxy. The reverse proxy doesn't have a current WAF policy or something like that running. But we have noticed that when ...
1
vote
1answer
114 views

Java application gets killed in kubernetes while the resource limits and heap size are specified

Background A spring boot Java application is deployed in a kubernetes cluster and gets killed several times per day. I'm using openjdk:8u181-jre for my Java apps. Kubernetes version: v1.11.5 Node ...
1
vote
2answers
42 views

are following assertions about linux load and tomcat right?

I am looking to understand precisely how to use the load average and cpu usage on a Red hat machine that hosts a Tomcat 8 only. After looking on the net, I concluded the following assertions. Are the ...
1
vote
0answers
47 views

Apache buffers tomcat responses, and closes connection to tomcat when request size exceeds 10397232 bytes

I've deployed a web-service application as a Docker container based on tomee:8-jre-7.0.4-plume which is sitting behind a apache httpd:2.4 instance running in another Docker container running on the ...
0
votes
0answers
94 views

Set a specific port for javaw.exe and java.exe

I understood the differences between java.exe and javaw.exe by this link. I know that javaw.exe and java.exe belongs to Java from Sun Microsystems (Run time library), they have some dynamic ports in ...
0
votes
0answers
85 views

org.springframework.amqp.AmqpTimeoutException

My spring boot application throws connection timeout error, and it is never able to connect. The other interesting problem I see is, it is never picking up the connection timeout property defined in ...
0
votes
1answer
64 views

How to keep an Amazon ElastiCahe Memcached/Redis before a RDS MySQL database and use ElastiCache to cache the content?

I created one cluster in ElastiCache and connected that cluster with EC2 instance. And I want to include ElastiCache in front of my RDS(MySQL database). I have two questions which are as below. 1)Is ...
1
vote
1answer
50 views

AWS file strategy when reading large files that don't change often

We have a web (Rails) application where a small number of somewhat large (1 - 10MB) business logic files can be uploaded by administrators. The content files will not change frequently, maybe once a ...
1
vote
1answer
42 views

Properly redirect traffic with nginx for java client-server apps that use their own certificates

I have a server and a client app, that communicate with each other using Https connection and their own certificates (.jks file). The server listens on port 443 and the client connects to it using the ...
0
votes
0answers
77 views

unable to find valid certification path to requested target on oVirt

I installed latest CentOS 7 yesterday. Clean install. And I follow this tutorial: https://www.ovirt.org/documentation/install-guide/chap-Installing_oVirt.html The only different is I configured httpd ...
4
votes
0answers
47 views

Why does the same Java service use up to 4x the RAM when running 1 core vs 2 cores

I have an Ubuntu 18.04 VM image that runs a Java 8-based server process. When running on a single core EC2 t2.small instance (2GB RAM) it starts with an RSS of 432M. Running the exact same server ...
4
votes
2answers
745 views

Please help interpret OOM-Killer

We were testing our java application and it was killed by the OOM Killer, logs below. A couple of points: this is a java web application. It runs with a 190G heap. The server is a 240G total memory ...
0
votes
0answers
43 views

Spring boot app still getting OOM in Kubernetes

I have a gray hair from this. I have a Spring Boot application running in Kubernetes, and I cannot find some reasonable value for memory limit, very often I am getting OOM on values lower than 512MB. ...
1
vote
2answers
45 views

How to install OpenJDK8

I am having a hard time download OpenJDK for Linux (RedHat). I do not see any links to download the latest version of jdk8 on site https://openjdk.java.net/projects/jdk8/ There is a link for Early ...
0
votes
1answer
482 views

OpenJDK 11 can't run Java 11 JARs

I have been trying to figure out why my OpenJDK 11 installation can't run JAR files compiled at class level 55. I even went so far as to completely remove Java from my system and reinstall. I am ...
0
votes
0answers
30 views

Tomcat Java error (Java/Tomcat noob)

Have an old java site archive that I'm trying to spin up to see what could be done to "convert" it to php, but I'm terrible when it comes to Java and Tomcat. Dropped the .jsp files in to the webroot ...
1
vote
1answer
142 views

Enabling SSLv2Hello causes SSL handshake failure against AWS endpoints

We are hosting on AWS, and all our endpoints use predefined security policies that do not allow TLS below 1.2 (that is, TLS-1-2-2017-01 for ELB or TLSv1.2_2018 for CloudFront). One of our customers ...
3
votes
1answer
835 views

Install Java 9, 10, 11, or 12 on FreeBSD 11.1

When I look to my up-to-date Ports collection: cd /usr/ports/java && ls -d openjdk* … I see only versions 6, 7, and 8 of Java in the OpenJDK releases: openjdk6 openjdk6-jre openjdk7 ...
0
votes
0answers
35 views

JVM is crashing in a call of RUNJVA from a CL program on AS400 machine

Calling a runnbale jar from a CL program by using RUNJVA command two times with different parameters as,      RUNJVA     CLASS('/MYFOLDER/JAVA/project.jar') +                PARM('INIT' '129.186.121....
0
votes
0answers
97 views

Can I set or override web.xml filter on a per-app basis in Tomcat like the Context Container?

I have a Java web app running on Tomcat 8.5. The app uses the SpnegoHttpFilter configured in the app's web.xml. This configuration includes some site-specific values like spnego.preauth.username and ...
0
votes
1answer
61 views

DigitalOcean VPS Tomcat server: can't configure port 80 and multiple domain names

I have a VPS (droplet) on DigitalOceanI'm trying to configure 80 port and several domain names for my server. After reading some questions and answers I edited my server.xml file like this: <?xml ...
0
votes
0answers
15 views

How to upgrade from Java 7 to Java 8 on Amazon Linux [duplicate]

I found another thread on this that is outdated and doesn't give a non-interactive way to do this. If you need to upgrade from Java 7 to Java 8 to run Jenkins, or whatever other Java application, you ...
0
votes
1answer
72 views

Update tzdata on RHEL4 with no RPM from RedHat

I have an RHEL4 server with no connectivity to Internet. (Of course, I can scp files into that server from my network). RHEL4 is out of support and RedHat no longer releases tzdata update RPMs for it. ...
0
votes
0answers
15 views

WildFly common.sh script is missing

When I try to run WildFly version 13.x I get this message: ./standalone.sh: 43: .: Can't open ./common.sh I checked and indeed the file is missing from the WildFly bin directory, however in version ...
1
vote
1answer
343 views

Connection refused for Java HTTP Server running on localhost

How would you investigate the following issue? On a specific server; any HTTP-Requests sent to a Java Server running on localhost fails with "Connection refused". (See the Java code here) In the ...
1
vote
0answers
40 views

Hyper-v dynamic memory issue with java spring boot

I have a developer who wrote several applications in Java spring boot and I have a VM configured with dynamic memory. His application stops working intermittently and he's pointing the finger at the ...
0
votes
0answers
73 views

Google Appengine unable to look up SRV record

I have an instance of mongodb running on Atlas and a Spring Boot application running on GAE trying to access this database. I have no problem running it locally but when running on GAE I see this ...
1
vote
0answers
75 views

Disable Java in LibreOffice

I am working on deploying LibreOffice to RHEL7 workstations, and I need a way to disable LibreOffice's Java settings globally. I refer to Tools -> Options -> LibreOffice/Advanced -> "Use a ...
0
votes
0answers
51 views

Bundling multiple WAR files for in Elastic Beanstalk

Our application has multiple WAR files. I've been following the documentation here to try and bundle them, however I'm using the pre-configured Docker + Glassfish template rather than Tomcat: https://...
0
votes
1answer
96 views

How do I get a thread dump of my Wildfly process on Amazon Linux?

We're using Wildfly 11 with JDK 8 on Amazon Linux. How do I get a thread dump of our Wildfly process? We're trying to troubleshoot why we're seeing high CPU utilization for that process. We do NOT ...
0
votes
1answer
241 views

Multiple Java Keystores

I created a Keypair using the following command: "%JAVA_HOME%\bin\keytool" -genkeypair -keysize 2048 -alias tomcat -keyalg RSA -sigalg SHA256withRSA I noticed there is a key store in jdk/lib/...