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

8
votes
0answers
2k views

Testing NTLM/Kerberos against a public URL

I am creating a Java open source package that makes it easy to connect with HttpClient 3.1 to resources that are protected by NTLm v1/v2 and Kerberos. I need to test this tool against real world ...
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
0answers
319 views

Sophos firewall default settings do not allow HTTPS from Java 6 clients

Our current (default) Sophos firewall (Apache reverse proxy) settings does not allow Java 6 clients to connect over HTTPS. The ssltest result shows that the reason is "Client does not support DH ...
4
votes
0answers
253 views

mod_ssl client certificates on a reverse proxy

I am trying to add client certificate authentication on a reverse proxy that proxies an oracle application. Before adding, and if i remove the subsequent code, the oracle application is able to start ...
4
votes
0answers
1k views

Only allowing certain Java apps through firewall

Using Windows Firewall and Advanced Security, I block everything outgoing by default and define outgoing rules to allow my approved apps through. For Java apps, I only allow java.exe through to ...
3
votes
0answers
701 views

virtual memory commited

After a server bounce happens, and after around 40-45 days time period, we receive continuous “Committed Virtual Memory” alerts which indicates the usage of swap space in the magnitude of >4GB This ...
3
votes
0answers
717 views

Installation of SSL certificates onto stand-alone ActiveMQ failing

I am trying to get SSL working on ActiveMQ but keep running into the error: SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) I am ...
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 ...
2
votes
0answers
54 views

Running Jenkins Slaves on old operating systems

I have a (quite old) Jenkins installation that I'd like to upgrade. Unfortunately, some jobs require to be built on an old operating system which cannot run Java 7 and hence cannot run the slave.jar ...
2
votes
0answers
546 views

Nagios check_jstat

I'm trying to monitor java memory usage using nagios nrpe features. So I download and install check_jstat and install the plugin on the remote server. And when I ran it below is the result: OK: jstat ...
2
votes
0answers
5k views

Using TLS 1.2 and java 6

We have a legacy web application that runs in a tomcat under java 6 - an upgrade to 7 or 8 is currently infeasible. We now have a requirement to connect, as a client, over TLS 1.2 however java 6 only ...
2
votes
0answers
691 views

Generation of Tomcat Stdout and Stderr log files

Is there a way to catch tomcat stdout and tomcat stderr log files it to log4j or any other way so that i can keep track daily basis.These files are only generated when we restart tomcat.And i want ...
2
votes
0answers
8k views

Add an entire domain to Java Exception list

I'm administering hundreds of machines with Java interfaces that I sometimes need to get into. Unfortunately, the default Java settings in Windows block all of these applications from running, ...
2
votes
0answers
610 views

jinfo for java-7-openjdk-amd64

I am trying to check my memory settings currently in use with tomcat via jinfo on Ubuntu. However when running jinfo -flags <PID> against the tomcat PID, I get the following error: $ sudo ...
2
votes
0answers
918 views

Upgrading to Java 7u65 breaks my Deployment Rule Set for Oracle applications

My company uses an older version of an Oracle application that requires Java 6u45. Naturally we want to be secure, so we use a Deployment Rule Set to specify 6u45 for that internal application and let ...
2
votes
0answers
1k views

Maven - resolving “java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors”

I am attempting to build/install this project on an Ubuntu 12.04 box: https://bitbucket.org/petermr/pdf2svg However: mvn clean install Fails to build due to getting errors like this: Downloading: ...
2
votes
0answers
113 views

Trying to deploy Confluence on Glassfish 4

So I'm trying to deploy Confluence as a WAR on Glassfish 4 (Using Oracle JDK 7). The WAR deploys just fine except I get the following errors when trying to load the page in my browser: Could not load ...
2
votes
0answers
3k views

Preventing Linux Kernel from killing a Java process prematurely

Running Ubuntu 12.04.3 LTS with 32 cores 244GB. Its the Amazon EC2 memory instance the big one and Java 1.7u25 My java process is running with -Xmx226g I'm trying to create a really large local ...
2
votes
0answers
729 views

How to connect Java Flight Recorder (from JDK 7 U 40) to a remote JBoss 7

I have a remote Ubuntu server with Jboss 7 and a local Ubuntu desktop machine and I can already monitor JBoss using jconsole and visualvm scripts that come with it. After the release of Java 7 Update ...
2
votes
0answers
1k views

Tuning Tomcat 7 on windows (for Alfresco)

I have installed Tomcat7 as a service on a windows server 64bit 2008 R2 to run Alfresco (4.2.c). I have 48G of ram. I have read Tomcat tuning tutorial with the JVM settings for memory. To edit the ...
2
votes
0answers
73 views

Scaling large numbers of small customer J2EE webapps

We're allowing customers to create websites on our SaaS app. We currently use Jetty as the app server, but we could use anything J2EE. I'd like to be able to scale customer webapps across our ...
2
votes
0answers
689 views

How to apply tzdata-java update after installing package

Updated the following packages via YUM on the system (CentOS 5 64bit) tzdata-2012j-2.el5 tzdata-java-2012j-2.el5 The system package was applied correctly but the Java does not appear to be working - ...
2
votes
0answers
218 views

Elasticsearch and couchdb river indexing slows down after a few hours

Trying to import ~400m docs in to Elasticsearch from couchdb using the couchdb river plugin. Everything starts out great with indexing time around 5k/s but after a few hours come back and find its ...
2
votes
0answers
2k views

java crashes with Illegal memory access. [54]

I'm using java on OEL 5.8 and it crashes in some applications with "Illegal memory access. [54] error". It occurs with 3 different java installations. 2 of them are Jrockit versions (R28.2.5-20-152429-...
2
votes
0answers
2k views

Can't deploy because folder was not inside a directory whose name ends .war. (JBoss)

I created a default JSF Project using Maven2Eclipse. When I try to start the home.xhtml JBoss returns the following error Message: (DeploymentScanner-threads - 1) JBAS015010: The deployment ...
2
votes
0answers
256 views

Apache 2.2 - CSS and JS not loading on first request

I am not a network administrator and have very least knowledge of deploying Java Web Application on Apache 2.2 with ssl configured. So please ignore any wrong interpretation in the question. We are ...
2
votes
0answers
534 views

How to use JMAP with Tomcat when Tomcat is running as a service?

I want to grab some memory snapshots of a Tomcat instance in production. This is on a Windows 2008 server. I can run JMAP against Tomcat when I start it with startup.bat but the client is using ...
2
votes
0answers
187 views

How to create KeyStorePass in server.password In jboss

I am using Jboss4.2.2 configuration for Configured Identity with Password Based Encryption (PBE) can you any one tell me about what is use of server.password ,and how to creaed it. project-prod-ds....
2
votes
0answers
150 views

ColdFusion 10 Servlet Issues

I'm currently experiencing problems with ColdFusion finding my servlet. In ColdFusion 9, I would simply put it under the wwwroot/WEB-INF/classes/ directory and ColdFusion would serve when requested. ...
2
votes
0answers
337 views

Java seems to ignore global “update” setting in registry

I have installed JRE 1.7.0_04-b22. I disabled the "update" setting in administrator - update requests disappeared, but in ordinary user's account it is nagging me about updates and I can't turn it off....
2
votes
0answers
1k views

Uninstall Glassfish and metro completely

I thought of updating my Glassfish server from 2.1 to 3.1.1 in a Linux machine. I downloaded the .ZIP package. However during uninstalling of Glassfish v2.1 I did not find the uninstall.sh file in "...
2
votes
0answers
1k views

In tomcat, how to redirect console output of the web apps to logfile?

I am running Tomcat 7 inside Netbeans in windows. Is there any way of redirecting System.out.println to log file? Right now I'm getting it on my console. Is there any way I can change the logging ...
2
votes
0answers
748 views

I keep getting an IPMI error when doing console redirection

I did have the remote management portion of IPMI working locally and externally but it is now giving me an "Usage: java RConsoleApp <Aster Card IP> <Port>" error message. This is a Tyan ...
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
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 ...
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 ...
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 ...
1
vote
0answers
74 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 ...
1
vote
0answers
29 views

Can't find jetty config file on Fedora 28

I installed jetty8 on fedora 28, but I do not know where is the configuration file for the server. In Ubuntu the jetty8 configuration file is /etc/default/jetty8. To install jetty I've used: dnf ...
1
vote
0answers
1k views

Jenkins windows slave unable to connect

Trying to start Jenkins slave on Windows with Java Web start gives me this: >java -jar agent.jar -jnlpUrl https://jenkins.example.com/computer/slave-office/slave-agent.jnlp -secret ...
1
vote
0answers
95 views

Root cause for having a number of zero bytes in regular files

We have corrupt files that contain a number of zero bytes. I wonder what the root cause could be. What I know is: All kinds of files that were recently written are affected, they contain a number of ...
1
vote
0answers
444 views

Forcing TLS 1.2 in Tomcat; catching non-compliant requests and redirecting

I'm using Tomcat (v 7 and v 8 depending on the project) with Java. I want to force Tomcat to use only TLS 1.2 (more specifically, prohibit TLS v1.0 or v1.1). In development in Eclipse I've added -...
1
vote
0answers
110 views

Solr Spark indexing failure due to an error accessing the collection

I am using Solr with Spark in Java to index documents. (Ubuntu 16.0.4) I have set Zookeeper running on port 2181 and my collection test has two shards When I launch my code I have a java.lang....
1
vote
0answers
53 views

Glassfish - log System.err to second location or do something after logrotate

we have a GF4 server that produces a lot of logs. Currently it is setup like this: com.sun.enterprise.server.logging.GFFileHandler.excludeFields <> com.sun.enterprise.server.logging....
1
vote
0answers
40 views

Linode : Installing a working Jetty 9.x on DSL (Damn Small Linux)

I am exploring an option to deploy a java application with jetty on Linode. While my endeavor to create a production grade system with the minimum resource utilization (so that scarce resources could ...
1
vote
0answers
270 views

Servlet Security on Wildfly

I am trying to run a basic project with a servlet requiring a specific role. In the standalone.xml configuration file I have added a datasource with a JDBC binding to a derby DB containing the table ...
1
vote
0answers
501 views

Monitoring IBM Websphere 8.x via JSR160RMI JMX fails on Windows

I have an AIX Server running Websphere 8.5 Under Administration Services in the Web UI I have configured all the JMX Connectors to be enabled. No SSL or Authentication at the moment, since it's only ...
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 ...
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 -...
1
vote
0answers
295 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 ...