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
35 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
172 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
108 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
98 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
330 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
244 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
292 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
826 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
476 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
199 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
73 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
109 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
164 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
179 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
35 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
243 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
696 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
682 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 ...
0
votes
1answer
1k views

nginx is running but not serving?

I've been trying to set up nginx as a proxy to jetty. I have one laptop running ubuntu server. Now I made jetty working at localhost:8080 and it serves the home page for the app at ...
2
votes
1answer
309 views

RSS feed/email list to be notified about java updates

I'm doing upgrades of JDK on our servers regularly. But because Oracle JDK installed via custom packages (not via package manager) I need way to be notified about updates. Are there way to be ...
0
votes
0answers
43 views

top output seems fine, yet server is overloaded

This server I am benchmarking gives no obvious signs of getting overloaded at a first glance. top output: top - 22:48:25 up 5 days, 3:41, 3 users, load average: 3.19, 3.34, 3.25 Tasks: 146 total, ...
1
vote
1answer
117 views

Searching in a compressed(.gz) file using java

We have large files where in we need to do pattern searches. Looks like when we use GZIPInputStream it uncompress the file in memory and then i need to do search on it. In memory one uncompressed file ...
1
vote
1answer
626 views

JVM crash with segmentation fault

We have a cluster of tomcat servers, just upgraded to debian7/openjdk7/tomcat7 (all from stock debian). Now we had two JVM crash on different machines. Both servers having identical hardware and are ...
0
votes
2answers
1k views

Granting access to Java Logger with java.policy file not working in Domino 9.0.1

After I upgraded our 32bit dedicated Windows 2003 server from 9.0 to 9.0.1 this part in java.policy file stopped working: permission java.util.logging.LoggingPermission "control"; which means I'm ...
0
votes
1answer
181 views

Jetty only serving static files

For some weird reason I can not get jetty to properly deploy my gwt project. I have put the war folder in the webapps folder and renamed it to root after that i can start jetty and it recognizes the ...
0
votes
1answer
424 views

After Mavericks upgrade problems with PHPStorm [closed]

I upgraded to Mac OS Mavericks and since then my PHPStorm caused problems. During typing inside the editor the CPU goes up to 400% and the typing lags. I didn't know what to do or what the reason is. ...
1
vote
1answer
87 views

Windows service - java fails, service process doesn't, no one knows there's a failure

We have a web proxy running as a service. It's a straight-up EXE, within it is a packaged java application. Sometimes, we get this in the log file the application generates, and the proxy stops ...
0
votes
2answers
112 views

The page isn't redirecting properly

I have deploy my web app to EC2(AWS) instance. Firewall, tomcat configuration etc are OK. When i try acess to it via browser i see such error. enter link description here I see this in all browsers. ...
0
votes
0answers
27 views

How to configure SMTP to recognize a group

I'm using a windows server. I installed IIS SMPT server and using it. I have no problem when I send a mail to individual id. But I get an error when trying to send to a group. InternetAddress ...
0
votes
1answer
101 views

JVM dying with no error, no OOM in kern.log

My JVM sometimes, but not always, dies on startup with no error in any application or system log file. There is nothing in /var/log/kern.log, nothing relevant in dmesg. The thing is, even when I use ...
0
votes
1answer
95 views

Websphere shutdown not releasing database locks

Sometimes when shutting down Websphere there are database locks not released. As a result, when WAS is restarted nobody can work because of these locks, that must be removed manually by the DBA. It's ...
0
votes
0answers
102 views

Java daemon: “…not allowed access to the window system right now.” on boot

I have a daemon (/Library/LaunchDaemons/...) configured to launch on boot. However, I get the following error: Nov 17 20:36:24 server.local java[28972]: This user is not allowed access to the window ...
0
votes
2answers
2k views

302/301 and 404 redirect issue for apache redirection for tomcat

I'm using Apache HTTPD in front of Apache Tomcat with the following virtual host: $ cat /etc/apache2/sites-enabled/onlinetaskboarddotcom <VirtualHost *:80> ServerAdmin comented@out.com ...
1
vote
1answer
531 views

Access secured windows folder with java on a linux server

We're trying to mount a secured windows share on a linux server, but until now we're unable to do so. This is the setup we're having: A linux server that runs a java application A windows share that ...
0
votes
1answer
286 views

How to create new Servlet and JSP project on Ubuntu?

I've installed Tomcat 7, javaservlet 3.0 and openjdk 7. I read that I need to install Eclipse and Web Tool platform (from eclipse) but I can't find it. I install few packages from eclipse there is no ...
0
votes
1answer
209 views

Allow Linux developers to work remotely on Linux dektops [closed]

My users run either Linux or Windows desktops. They have servers allocated to them with all the internal tools available (for building, running internal applications, ...). Windows users would use ...
-1
votes
1answer
56 views

How to loop specific powershell script

I need to uninstall Java from several computers in my network. After almost all day of Googling it seems the best way to do this is with a Powershell script. I found one that I have tested on a few ...
4
votes
4answers
14k views

Java Deployment Rule Set via AD Enterprise CA

My goal is to get a Java Deployment Rule Set in place in my organization, but I do not want to pay third-party certificate authority for a code signing cert when we have a working CA running through ...
0
votes
1answer
33 views

Roll standalone JBoss app under Tomcat

I've got a Linux box where there’s Tomcat running, with some JSP applications in it. Now, I’ve received a third party app from a developer shop to be eventually deployed. It came as an archive called ...
1
vote
1answer
1k views

Large virtual memory size of ElasticSearch JVM

I am running a JVM to support ElasticSearch. I am still working on sizing and tuning, so I left the JVM's max heap size at ElasticSearch's default of 1GB. After putting data in the database, I find ...
0
votes
1answer
605 views

Server Sizing Methodology [duplicate]

Our development environment consist of JBoss 5.0.1 DB Server, SQL Server 2008, Oracle IDM. Hardware is Win 2008 32 bit, 4GB RAM. We have reached stage where our environment can not handle application ...
0
votes
1answer
853 views

Installing JDK on Amazon linux box gives error: open of <html> failed: No such file or directory

I just got a new amazon linux box and I'm trying to install jdk on it. These are the commands i followed but I am getting an error: $ java -version java version "1.6.0_24" OpenJDK Runtime Environment ...
0
votes
1answer
120 views

can network Redundancy possible with help of Layer 2 switches & dual NIC in one PC & program in java?

I am Trying to achieve Network Redundancy in network which have 1 server & lots of node which use 1 switch for each. As per various forums for achieve Redundancy in network i should use Layer 3 ...
0
votes
0answers
32 views

preventing vpn multiple connections

A little background: I'm a suddenly network manager working for a small business firm. I have a little knowledge about networking details and technology. But I have a good programming background. ...
0
votes
1answer
141 views

Monitoring performance metrics from Xen (xend) with Java

I need to write a Java application that is collecting and monitoring (remotely and local) performance informations and metrics from a Xen hypervisor. This Java application should fetch the same ...
0
votes
1answer
67 views

Restricting access from the internet to a website in beta conflicting with the website's own authentication

I have a java website that runs on Apache Tomcat. As the website is in Beta, I don't want it to be publicly accessible to anyone on the internet and I want a restricted group of beta testers to ...
0
votes
1answer
23 views

Block access to specific URL

I have several java war applications hosted in a glassfish, some of then exposing web services. I need a way to block access to an specific application without blocking the entire access to server by ...
1
vote
1answer
792 views

Warning: Unavailable Version of Java Requested

We are updating client computers to JRE 1.7 but a partner Web application has a mention of the older java version in its applet HTML tags (java_version=1.6*). Because of this mention, the applet ...