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

learn more… | top users | synonyms

0
votes
1answer
45 views

Java and /etc/resolv.conf DNS server failover

Executive Summary Does Java query the next resolv.conf name server entry if the first one fails or times out? What is the default timeout at which Java will consider a resolver "down"? Details In ...
0
votes
1answer
11 views

Tomcat 7.0.42 Manager Weird behavior

Good morning folks! I'm playing with my brand new tomcat installation today, and everything run pretty smoothly except that I got a weird reaction using the manager with virtualhosts. The problem ...
1
vote
0answers
82 views

Monitoring Informatica Java processes with JConsole on Windows Server 2008

I am having an issue getting JConsole to connect to my Java processes. Let's start with the basics... Java Version As you can tell from the path below, we are running Informatica with packaged Java. ...
-1
votes
1answer
59 views

Elasticsearch throws Could not reserve enough space for object heap

It seems that Elasticsearch stops working this morning. When i launch : sudo service elasticsearch start, it says : Starting ElasticSearch Server Done But when i check the status, it gives me : ...
3
votes
2answers
517 views

Best free network monitoring tool for a handful of servers running (mostly) Java apps? [closed]

What are the best free tools for monitoring a set of servers running (mostly) Java apps? It would need to monitor several app servers (some JBoss, some Jetty, etc). All are started and stopped from ...
0
votes
1answer
69 views

Elasticsearch stops working suddenly

I have deployed Elasticsearch on a development ubunto VPS. We use that VPS only to host Api for mobile apps. Everything worked good till today, elasticsearch stops working. I tried to restart it, it ...
4
votes
2answers
355 views

your security settings have blocked a self-signed application from running

I'm trying to use Integrated Lights-Out 2 (aka iLO)'s Virtual Media (which is Java based applet) and I'm getting following error(s): Application Blocked by Security Settings Your security settings ...
0
votes
0answers
927 views

Java and Sendmail HELO requires domain address

I am trying to set up emailing from a java web application hosted on a linux server (Cent OS) in apache. Sendmail is working fine from the command line as root on localhost but when trying to send ...
0
votes
0answers
6 views

MySQL Cluster with no Data Nodes

I'd like to set up a MySQL Cluster for HA, but the client of the data cannot yet use ClusterJ. I would like create 2 SQL Nodes and access only them from the client. i.e. No access to the NDB Data ...
0
votes
0answers
13 views

How to checking remote machine is active or not using tool? [duplicate]

1)Initially I have 5 servers.I am passing one by one server Ip through java code. 2)If machine is InActive then send an email to admin. 3)I need a tool for remote machine is up or down (up means ...
0
votes
0answers
25 views

new relic are able to show server data but not application data

I had managed to install newrelic and the data are showing up at the "Servers" tab. However it showing "This server isn't hosting any apps that report to New Relic" at the App section. I had put a ...
3
votes
2answers
3k views

Which performance metrics to monitor on a JVM?

I want to do some performance monitoring on our JVMs. What would be interesting to monitor besides the obvious things I already have on my list ? JVM Free/Total memory GC rate (how many per minute) ...
0
votes
0answers
15 views

MySQL Cluster client says ndbclient not loaded

I'm trying to create a JPA Client for a MySQL Cluster 7.3. (MySQL 5.6). I'm building the jpa client on OS-X and have copied the libndbclient.so.6.0.0 and libndbclient_static.a from the Cluster SQL ...
0
votes
0answers
14 views

Problems creating a JPA Client

I'm trying to create and run a Java client using Cluster JPA. I've set up a simple 4 node cluster with: 1 sql node 2 data nodes 1 management node I've created a maven based java ...
0
votes
1answer
28 views

Postfix-processing incoming email based on subject and saving the email details in db and flag/tag the email in “courierimapkeywords/:list”

can we processing incoming email based on subject and save those matching email details in db and flag/tag the email in courierimapkeywords/:list for the keyword to be used in IMAP client. We need ...
0
votes
2answers
1k views

~/.rpmmacros and how to view/add to it

I am currently following a guide to install Java 1.4 on the CentOS site and was wondering if anyone could help me understand some of the terminology. It states: For this example, it will be ...
0
votes
0answers
31 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
2answers
181 views

Block bots by their Java referrer or User-Agent string?

I have been getting a lot of web hits in my logs that crawl most top level pages of my site and show a referrer as a Java version. I see different variants of the Java versions in the referrer, i.e. ...
0
votes
2answers
64 views

Jetty Server High CPU Load

Sometimes jetty loads our server for 100% - every thread for 100% of 1 core. We have jetty 9 and JDK 1.7 (at Jetty 6 and JDK 1.7 - this doesn't appears). Jetty now running on default settings, ...
0
votes
1answer
34 views

Monitor Tomcat-JDBC connections

The company that I work for sells a java web application that runs in Tomcat. The primary problems we have are that the tomcat containers become unresponsive and need to be restarted and that the ...
44
votes
7answers
51k views

How to determine JAVA_HOME on Debian/Ubuntu?

On Ubuntu it is possible to have multiple JVMs at the same time. The default one is selected with update-alternatives. But this does not set the JAVA_HOME environment variable, due to a debian policy. ...
0
votes
0answers
17 views

Azure web role runnig Java returns 500

I am new to Java/Apache tomcat I needed to build a web service in azure cloud services, using java. The web service is running on apache tomcat 7, jdk 1.7 and communicating a mongo-db that is running ...
0
votes
0answers
21 views

Java 6 updates on SLES 11 [duplicate]

Since mid 2013 there are no public updates for Java 6, but only paid support ones. Is this policy enforced for all JVM implementations? Does this include SLES 11 IBM JVM implementation too or IBM ...
2
votes
2answers
769 views

How to setup tomcat 7 as a server on windows 2008 server

I setup the tomcat7 as a service as below: c:\Program Files (x86)\Tomcat7\apache-tomcat-7.0.32\bin>service.bat install Installing the service 'Tomcat7' ... Using CATALINA_HOME: "C:\Program ...
2
votes
1answer
31 views

Solaris SMF Detect Java PermGen?

Is there a way to detect a Java process is out of memory (e.g. PermGen space) and restart it with an SMF contract?
0
votes
1answer
2k views

Unable to find valid certification path to requested target while CAS authentication

I'm trying to configure CAS authentication. It requires both CAS and client application to use HTTPS protocol. Unfortunately we should use self-signed certificate (with CN that doesn't have anything ...
0
votes
0answers
27 views

Java causing kernel panic

I'm running quite a lot of computations on Ubuntu 12.04 (3.8.0-35-generic), application is written in Java (Oracle 1.7.0_45-b18) on a server which has 12 AMD cores. Typically the computations uses 10 ...
0
votes
1answer
34 views

Java process restarting prematurely under runit

I'm attempting to run Logstash under supervision with runit. My run script for Logstash is simply #!/bin/sh SSL_CERT_DIR=/etc/ssl/certs exec /usr/bin/java -jar /usr/local/bin/logstash.jar agent -f ...
9
votes
2answers
503 views

How do you get the latest update for Java 6?

An application my company is considering buying requires Java 6. I am concerned that this is quite out of date and am recommending against the application as a result. But it seems that Oracle do ...
3
votes
2answers
722 views

Time-based 32-bit overflow in Java? Or SLES11?

This is Tomcat 6.0.18, Java 1.7.0_03 (32-bit), and SLES11 SP2 (64-bit). As for kernel information: $ uname -a Linux server-1 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86_64 ...
0
votes
0answers
15 views

See output - feed input into java program from ssh

I am running a java program on centos 6. That program is always checking for input (acting as a console). It is automatically started from a bash script on system startup. If I login from a ssh ...
0
votes
1answer
77 views

Connection to Amazon AWS highly unreliable [closed]

I have a Java application that connects to MySQL on an Amazon EC2 (USA east region) instance with JDBC (using official latest Oracle drivers, location specified by IP). It also connects to S3 using ...
0
votes
1answer
36 views

How to increase heap size for particular WAR on WAS?

I have a WAS where a particular WAR file is deployed. This WAR file runs okay most of the time, however at times it would run to Java OOM issue. I'd like to know if there is any control to increase ...
1
vote
2answers
62 views

Load Balancing MongoDB

I have an application written in java with tomcat that I am ready to start scaling for production. As I understand it, i shouldn't use a load balancer with mongodb router instances as it can cause ...
0
votes
0answers
36 views

Apache, FCGI, and Java setup

I have a Java program that I'm trying to access through my Apache 2.4.7 webserver locally. At first I had it set up as a reverse proxy using mod_proxy_fcgi whereby I would have to start the webserver ...
1
vote
1answer
51 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 ...
0
votes
0answers
73 views

My Bitnami Tomcat Stack (on EC2 AWS) is generating DoS attack

I have a very small java web app that is deployed on a Bitnami Tomcat Stack on AWS. We are using this app in the company with only 5-10 user base daily, and generating only below 100MB of traffic per ...
0
votes
0answers
42 views

Background process and read from /dev/pts/X

I tested it on Ubuntu 12.04. First, I run java process from user1 in background and close terminal. Then I open a new terminal (from user1) run special script that sends current tty name (/dev/pts/2) ...
0
votes
1answer
77 views

Tomcat - JDBC Data Access Exception

My company has a web application that allows users as part of their business process to upload large documents (10+ MBs) into the application. For fast connections it works great with the document ...
2
votes
1answer
41 views

%HOSTNAME% value is “unknown” in rsyslog template

The Gist Where does rsyslog get the value of %HOSTNAME% and under what conditions would "unknown" be the expected value? We're using rsyslog on an EC2 instance and we're trying to send our ...
0
votes
1answer
108 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 ...
0
votes
0answers
32 views

Java security blocking java

On friday i rolled out an update to java on my citrix farm, we are having an issue with the new security settings on java If anyone goes on a mapping website it shows that security is blocking java, ...
0
votes
1answer
39 views

RHEL 6.4 Kicking off all Terminal Connections

I have a RHEL 6.4 server with 64GB of ram running a java app that loads 60+ war files into tomcat. For some reason, every time it loads every user gets kicked off. This includes a directly connected ...
0
votes
0answers
7 views

Calling FastGCI from java standalone app

I am looking at some way to call FastGCI services from Java. Existing codebase in C/ProC has to be called from java to limit rewriting cost. I though adapting the codebase to the FastCGI loop could be ...
0
votes
1answer
42 views

Weblogic server as Windows Service

I have problem while installing weblogic server as windows service , After creating installation script and service created when I'm trying to start the service I got this message : The service on ...
0
votes
1answer
38 views

Change java version for tomcat on centOS

I need to run tomcat6 with Java 8 and keep Java 6 as the default JRE on CentOS. I have succeeded on unpacking a tar version of tomcat6 on centOS and doing so, but when I use the yum package, for ...
0
votes
1answer
96 views

change java process name

I am trying to change a java process name using the start-stop-daemon. When running the process without the daemon I simply add to the script: "exec -a kuku" And the java process name in the proc file ...
0
votes
0answers
27 views

Why does Bamboo + msbuild + DeployOnBuild create corrupt zip files?

I apologize if this is in the wrong place. I am a stackoverflow guy, but i need some server help. Since my problem seems confined to one of our build agent servers, i think its a server issue. I am ...
7
votes
3answers
5k views

Sending email using SMTP (Gmail) from Hudson CI

How can I set up Hudson CI so that I can send out emails from the server following a build failure? At the moment all I get is the following error: com.sun.mail.smtp.SMTPSendFailedException: 530 ...
-1
votes
1answer
123 views

Running java application fails with “Unsupported major.minor version” [closed]

I want to install a java in my linux centos 64bit when I run it it gave me an error what should I install in my server I have java 1.6 java -jar licence.jar Exception in thread "main" ...