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

learn more… | top users | synonyms

2
votes
1answer
2k views

Java Deployment and Configuration (1.6.0_21)

Sofware: Java Runtime Environment 1.6.0_21 OS: Windows XP Professional 32-Bit, SP3 Situation: a new piece of web based software is being deployed this week and prior to this all the company desktops ...
1
vote
1answer
2k views

iDRAC6 JViewer Unusable

I'm getting the following error when trying to launch the Virtual Console, but the Virtual Console Preview works fine (it displays a small preview about once a second). I've confirmed that my M610 ...
0
votes
3answers
59 views

Elasticsearch high RSS memory consumption

I am seeing too high memory consumption in my elasticsearch instance. I set ES_HEAP_SIZE=4g. The starting command for ES starts with: /usr/lib/jvm/java-8-oracle/jre/bin/java -Xms4g -Xmx4g So far so ...
1
vote
1answer
1k views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: http://simplygenius.com/...
0
votes
1answer
596 views

UnknownHostException when enabling JMX in Java 8

Using Java 7, I can launch a JVM with JMX enabled without any problems using these properties: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote....
-1
votes
1answer
17 views

Failed while installing Oracle fusion Middleware 11g Release 1 (11.1.1.7)

I am trying to install oracle fusion Middleware 11g Release 1 (11.1.1.7) on Windows 2012 R2 64-bit with Java 7 update 79. But I am receiving below error while running installation wizard: Checking ...
2
votes
1answer
5k views

How to solve SocketException: Permission denied: connect

I recently encountered a problem that is giving me a headache and I need help ... The System consists of two subsystems, called A and B, each running on a standalone Tomcat instance and currently ...
1
vote
3answers
3k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
-1
votes
0answers
99 views

Cannot connect to ServerEndpoint deployed in Tomcat [migrated]

A lot of people assume that I use an IDE, so let me state this right now: I do not use any IDE. I took the following Java source code, compiled it to Echo.class, then created Echo.war by writing ...
0
votes
0answers
11 views

Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user [closed]

I have created a j2ee application using spring framework which should connect with postgres DB. I am able to connect to postgres server on (PgAdmin iii - postgres sql tool) with my credentials, while ...
0
votes
0answers
9 views

configure java.util.logging logging.properties to write app logs with systemd

I am charged with making migrating an app from centos 5.5 to centos 7.2. I can start my tomcat app using systemd but the app's log file is not being written to /home/tomcat where people expect it to ...
0
votes
0answers
9 views

Collecting jmxremote data from multiple hosts

I use AWS Elasticbeanstalk to to run Java applications, which means my servers come and go with different ip addresses. I run jmxremote on the servers, but need to find a way of collecting jmx data ...
0
votes
0answers
58 views

Access through jmx to java application into Docker container on remote host in local network

I can't connect through jmx (with VisualVM) to java application into Docker container on remote host in local network. Screenshot of the problem. Case 1: Java application into Docker container on ...
3
votes
1answer
5k views

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot without errors?

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot? the manual for installing oracle java on debian wheezy is quite clear and understandable: http://wiki.debian.org/JavaPackage ...
2
votes
7answers
3k views

JMX real-time monitoring application

I'm looking for a (probably) desktop application to monitor applications through JMX in real-time. The application must provide the capability to design a dashboard with charts and gauges with values ...
0
votes
1answer
34 views

Run FNDLOAD command on unix server from windows using Jsch

I'm trying to run an FNDLOAD command using Jsch after connecting to my unix server through ssh. But the command is giving me the following error bash: FNDLOAD: command not found Also if I try to ...
0
votes
1answer
1k views

How do I change Jboss' logging directory

I'm running jboss-as 7.2. I'm trying to configure all log files to go to /var/log/jboss-as but only the console log is going there. I'm using the init.d script provided with the package and it calls ...
1
vote
1answer
2k views

Java MSI install error 3: -2147287037

We want to silent install Java 8 update 60 via its msi. The installation stops with a vague error which isn't very helpful at finding a solution. This is the MSI log: === Verbose logging started: 10....
0
votes
2answers
2k views

Deploying play! 2.0 application on an apache server with a reverse proxy

I'm trying to deploy my play! 2.0 application on an Ubuntu 11.10 server and I have been running into error after error and hope someone can help me here. I am try to deploy my Play! application using ...
1
vote
2answers
863 views

Load Balancer on Amazon does not have secure flag set for Cookie

We have a java based application running on Amazon and have configured our Amazon ELB to connect to them successfully. However, we are seeing that the Cookie flag not set as Secure. Name Value ...
1
vote
2answers
7k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under http:...
2
votes
2answers
1k views

RPM with RHEL: install 2 version of same package / different arch

I think the title is pretty self explanatory :) Is it possible, under RHEL (v 5) to install 2 instances of the same packages with 32 bit support for one and 64 bits support for the other one? ...
3
votes
1answer
47 views

MySQL JDBC force ignore client certificate on AWS RDS

I have a Java web app running on AWS and connecting to a MySQL database running on AWS RDS. My app uses SSL client certificates signed by our own CA to connect to various web services, so I have set ...
1
vote
1answer
1k views

Java 7 on a V-Server: “Could not reserve enough space for object heap”

I've just installed Java 7 & Jenkins on a V-Server with 1Gb of RAM # java -version Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not ...
0
votes
0answers
9 views

set transparent proxy for java socket server

I developed software of captive portal ,to redirect traffic of D-Link Router to my server port(8082) I had set iptables commands: sudo iptables -A PREROUTING -t nat -i eth1 -p tcp -m multiport --...
-1
votes
1answer
587 views

enable java app to establish http connection under network of VPN.

Some relative question http://stackoverflow.com/questions/17170980/connect-to-http-server-behind-vpn-with-java has already asked in Stack Overflow while I don't still have a solution since this should ...
0
votes
1answer
7 views

Supporting different TLS versions by service on a tomcat web application

I have a legacy web application that runs on Tomcat7 with Java6 and makes web service calls to multiple external services. One of those service providers has decided to end support for TLS1. I tried ...
0
votes
1answer
46 views

Understanding Java memory behavior in Docker

Our current Kubernetes cluster running in Google Container Engine (GKE) consists of n1-standard-1 machine types (1 virtual CPU and 3.75 GB of memory) running Debian GNU/Linux 7.9 (wheezy) which is ...
1
vote
2answers
1k views

Can't start WebLogic admin console

I'm wondering how to fix this error. We had the wrong Java installed on my machine when I got it, so my boss installed JRocket to fix things. WebLogic has been having problems ever since. I cannot ...
0
votes
0answers
9 views

Unable to create new native thread

I am using 128 GB 16 core ec2 instance after running multiple (java) applications . I got " unable to crate new native thread" error I checked issue In /etc/sysctl.conf Kernel.core_uses_pid=1 It ...
0
votes
1answer
7k views

Error deploying Spring with JAX-WS application in Jboss 6 server

I'm getting this error when I deploying spring+JAX-WS application in jboss server 6.1.0. 09:14:38,175 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed: org....
1
vote
1answer
2k views

What is stopping my Visual JVM remote connection?

I have started my application with this settings below: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=43588 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun....
1
vote
1answer
1k views

How to run Visual VM on remote centos

We have a java application residing on centos machine. From our windows machine we plan to connect to the application. We have enabled jstatd and confirmed is running. The issue now is visual vm can ...
0
votes
1answer
30 views

Jenkins is hanging with no errors during startup

So, I've tried doing my research on this issue but it's gotten to the point where I'm no longer understanding what I'm reading (looking at bug reports and mailing lists). I've installed Jenkins and ...
7
votes
4answers
16k views

How can I install WildFly 8.0.0.Final as service on Ubuntu Linux?

I am trying to install the WildFly 8.0.0.Final application server on a Virtual Machine running Ubuntu 12.04 LTS. I've done some searches on Google, but I found only third-party scripts and, I think, ...
12
votes
2answers
42k views

what is .crt and .key and how can I generate them?

SSLEngine on SSLCertificateFile /etc/httpd/conf/login.domain.com.crt SSLCertificateKeyFile /etc/httpd/conf/login.domain.com.key SSLCipherSuite ALL:-ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
0
votes
1answer
104 views

package org.json does not exist

I downloaded the JSON library for Java from Maven Repo and installed the .JAR file at the Java library directory on UBuntu 14.04. I tried compile a simple JAVA snippet for JSON parsing, but the ...
0
votes
2answers
775 views

Cannot start cassandra: numactl: execution in CentOS 6

I trying to install Datastax Apache Cassandra with OpenJDK # java -version java version "1.7.0_51" OpenJDK Runtime Environment (rhel-2.4.4.1.el6_5-x86_64 u51-b02) OpenJDK 64-Bit Server VM (build 24....
1
vote
1answer
425 views

Set up 'tomcat' non-root user in Tomcat 8

I've installed Tomcat 8 in Debian 8 and I need to harden the web server. I'm following the official Tomcat documentation guide and in the security considerations section recommends to create another ...
0
votes
0answers
11 views

Adding additional locale translation to java/icedtea web start under CentOS 7

I am trying to see if there is any supporting documentation on how to add or download/install new translation for locale support on a java web start application. The application is a '.jnlp' file ...
0
votes
0answers
55 views

WildFly can't be stopped via service on Windows Server

Using the following configuration: Microsoft Windows Server 2012r2 WildFly-9.1.0.Final (running in standalone mode) Oracle Java JDK 1.8.0_91 For some unknown reason, WildFly can't be stopped using ...
1
vote
0answers
47 views

How to Deploy Enterprise Applicatin on JBoss

I have been having the most difficult time deploying an enterprise application on Jboss. In my opinion Jboss is ridiculously un-intuitive and Impossible configure without extensive help. I am ...
0
votes
0answers
7 views

Manually trigger file write failures

We're building a custom software program (Java + Spring.io) that writes audit trails to a log file (using logback). When a user takes an action in the system, an auditing entry is logged. This works. ...
0
votes
0answers
17 views

How to get connect to MongoDB in Java without specifying it database name in the URL?

I am using the following mongodb driver. <dependency> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> <version>3.0.2</version>...
0
votes
0answers
10 views

Can the CRaSH Java shell run system commands?

CRaSH is a shell for Java. It runs in the JVM and is built to run commands against the JVM. I have a use case where I have access to a Java application and can deploy CRaSH against that application. ...
0
votes
0answers
37 views

Remove java 1.7 that was automatically installed with maven, but keep maven

I installed maven on an Amazon Linux following these instructions. This automatically installed and made 'default' java 1.7. I had already manually installed java 1.8, so I run sudo yum remove java-1....
1
vote
1answer
9 views

Does Glassfish 4.x require JDK 7 specifically?

I was thinking about setting up a Java EE 7 framework to run Spring applications on Glassfish, which depends on JDK 7. However, we already have JDKs compatible with the newer specifications of Java 8 ...
1
vote
2answers
50 views

How to balance elasticsearch (java) on a very powerful machine?

On a 16 core XEON class, 128GB RAM RHEL server I want to deploy elasticsearch. What is preferable performance-wise? Have a huge elasticsearch process to use all resources on the native host? Break ...
1
vote
0answers
3k 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, ...
0
votes
0answers
16 views

What is the default value for TCP accept queue length on Linux?

I have read this article but it doesn't mention where the default accept queue length can be found (it does mention tcp_max_syn_backlog though, but it's different). I'm working on a Java 8 project ...