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
0answers
124 views

Preferred “Chef/Berkshelf/Vagrant” Way to Change Java Versions

On a Linux box, what's the preferred, best-practice way of switching Java versions? For example - let's say that I want to build & test out my app on Java 7, and then Java 6. Here's a few ...
1
vote
0answers
272 views

Amazon ec2 - Error occurred during initialization of VM Could not reserve enough space for object heap

I don't have any experience of working with servers, so please explain your answer in detail or provide a link to support your answer. I want to restart server and executing command for that gives ...
1
vote
2answers
1k views

Non-heap memory leak JVM

I have a glassfish v4.0 set up on Ubuntu server running on oracle java virtual machine and jvm process resident memory size (got via "top" command) grows up until jvm doesnt have memory to create new ...
1
vote
0answers
297 views

Oracle's JDK RPM doesn't provide “java”

I have the Oracle RPM for the Java 7 JDK installed on an Amazon EC2 instance. The Oracle RPMs for Java 7 JDK don't "provide" java nor jre. RPM reports that it provides the following: # rpm -q jdk ...
0
votes
0answers
393 views

How to enable kerberos authentication to a Java web app

I'm currently using Centrify to aid with Kerberos/AD integration in our environment. Right now we have Kerberos enabled on a Centrified version of Apache. We are trying to run jnlp files through ...
0
votes
1answer
463 views

Local Proxy tool which authenticates against NTLM, sits on top of the Java VM and possibly transparently passes through HTTPS requests

I'm looking for a local HTTP proxy which I can run locally on my machine. This proxy accepts HTTP and HTTPS request and passes them upstream on to an external corporate proxy. The local proxy needs to ...
3
votes
3answers
7k 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, ...
3
votes
1answer
297 views

SNMP query - operation not permitted

I am working on API that reads a lot of data via SNMP (routes, interfaces, QoS policies, etc...). Lately, I have experienced a random error stating: Operation not permitted Now, I use SNMP4J as ...
0
votes
1answer
157 views

Install Java 1.7 non-interatively on Ubuntu 12.04

I need to install Java 1.7 on several machines and hence I want to do it using a script. The problem is the installation asks for certain options (to be specific 'Y', then 'OK' and finally 'Yes'). I ...
2
votes
1answer
152 views

Any way that I can feed tshark a live capture written to a file without reading from the start?

I'm capturing traffic from a microtik router to my linux server and writing to a big file. I'm searching for a way to feed from the current file end forward since it is a several GB file and I can't ...
0
votes
1answer
935 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
1
vote
0answers
1k views

apache tomcat 7 stops whenever request recieved

i m working on netbeans IDE 7.1 and using apache tomcat server 7.0.22.0 its normal whenever i deployed the project but whenever client side application requested for service tomcat server gets stop ...
0
votes
3answers
14k views

The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program"

I have installed JDK 7 and tomcat 7 and set the following environment variables: PATH: ......C:\Progra~1\Java\jdk1.7.0_51;F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52\bin; CATALINA_HOME: ...
0
votes
1answer
631 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 ...
1
vote
1answer
3k views

Java Deployment Ruleset.xml Not Working

An recent upgrade of our time card system forced us to upgrade all our workstations to Java 7u51 (we were on 6u45). We have another Java-based application which is critical to our business that is now ...
1
vote
0answers
406 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. ...
-2
votes
1answer
588 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 : ...
0
votes
1answer
462 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 ...
2
votes
1answer
2k views

Workaround needed to run FileMaker Server 12 Admin Console with the new Java security model

As of Java 7 update 51 (7u51), there is a requirement for a new Permissions attribute (introduced in 7u25) that prevents the FileMaker Server 12 Admin Console from running. This also affects the ...
4
votes
2answers
8k 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
1answer
61 views

MySQL Cluster with no access to 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
1answer
157 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 ...
2
votes
0answers
80 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 ...
0
votes
2answers
503 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
401 views

setting kerberos ktpass ktab all that JAAS

I have a couple of questions on Kerberos on Windows. I want to find out what the purpose of mapping a user to a service using ktpass is. For example I am on windows and I run ktpass like this: ...
0
votes
1answer
253 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 ...
0
votes
0answers
141 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 ...
2
votes
1answer
53 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?
9
votes
2answers
1k 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 ...
0
votes
2answers
422 views

Installing a minimal java on Ubuntu VM

I don't have java installed on a Ubuntu virtual machine (just server, no X11): bash: java: command not found I want to install a minimal version to run some scripts. When I issue: sudo apt-get ...
0
votes
1answer
38 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 ...
0
votes
1answer
202 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
124 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 ...
0
votes
0answers
108 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
440 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
269 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 ...
1
vote
2answers
363 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
2answers
1k 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 ...
2
votes
2answers
1k 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
1answer
529 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
1answer
25 views

“Raw” Packages of Oracle JDK for Linux

Is there any public source of zipped JDKs for Linux (64bit) that can be downloaded and used more easily than the original installers or the PPA? Currently we create them ourselves manually, but that ...
0
votes
1answer
234 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 ...
0
votes
1answer
74 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
1answer
133 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 ...
2
votes
1answer
177 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
242 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
37 views

Logging not getting disabled

Out Tomcat 8 is logging so much so that by the evening the catalina.out inflates to GBs of data. I followed the procedure given on the tomcat website to replace JULI logging with LOG4J. Now LOG4J has ...
0
votes
1answer
297 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 ...
-1
votes
1answer
744 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" ...
1
vote
0answers
830 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 ...