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

learn more… | top users | synonyms

3
votes
3answers
997 views

Apache/Tomcat Parameters

I have a Medium server on EC2. I don't know that much about Apache or Tomcat - they are up and running, but other than that I don't have advanced knowledge of how to tinker. I know that I can set the ...
3
votes
1answer
11k views

how to uninstall JDK on centos x64 linux based system

I tried installing JDK in my CentOS x64 web server, it looks like I have made a hash of things :(... Now, how do I uninstall JDK 1.6.0_26 in Centos x64 linux? Regards, Arvind.
3
votes
3answers
4k views

JAVA_OPTS -XX:+PrintGCDetails affect on performance?

Does anyone know if the PrintGCDetails affects java performance much? I've been monitoring our java garbage collecting on a staging server with the same setup as the production server. I assumed ...
3
votes
4answers
5k views

Where is my .profile file in Snow Leopard?

I am setting up Apache Tomcat on my OS X 10.6.2 and need to know where my .profile file is, for setting environment variables. I thought it was in the root of my home directory, but I cannot find it.
3
votes
3answers
2k views

Best way to deploy JRuby?

Background: I'm developing a Ruby web application, and have decided to switch to JRuby for several reasons that I'm not going to mention here. I have experience with servers such as Apache and ...
3
votes
1answer
7k 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 http://192.168.1.5:...
3
votes
1answer
5k views

OpenJDK or Oracle Java on production server

I'm little bit confused about which implementation is better to use on production server? Are there any reason why not pick OpenJDK?
3
votes
1answer
2k views

Linux Huge Pages Usage Accounting

I have configured Huge Pages for use with Java and it appears to be working well although I have a question about the accounting in /proc/meminfo. To illustrate # grep HugePages /proc/meminfo ...
3
votes
2answers
8k views

How to install java-1.7.0-openjdk-devel on RHEL Server 6.3?

I have need of installing a Java 7 development environment on a RHEL 6.3 (system details are below). Following the official OpenJDK directions I tried yum install java-1.7.0-openjdk-devel (as root). ...
3
votes
1answer
1k views

How would I measure the amount of RAM needed per Glassfish domain?

In our test environment we have a lot of apps spread out over a few servers and Glassfish domains. To make versioning easier I would have liked to have one Glassfish domain per customer per app (kind ...
3
votes
3answers
20k views

Can I delete java dump files (java core dump, heap dump, snap dump, etc)

Can dump files like java core dump, heap dump, snap dump, be deleted? They are occupying lots of space on the server. Is there any usage of this file? Will anything happen on production servers if i ...
3
votes
2answers
2k views

What specifically does FastCGI do (for Ruby, Java, and Python)?

If I have a server running Apache, and I install FastCGI, would that let me run Ruby and Python scripts? If Python is already installed on the server, wouldn't I just be able to add .py to the CGI ...
3
votes
3answers
622 views

java program out of memory before reaching xmx

On a Redhat CentOS 6.4 are only a few process running, using about 3GB RAM (System has 12GB available). One of the processes is a WSO2ESB Server (java), we start it with those parameters: -Xms2048m -...
3
votes
2answers
411 views

After kill -9 process won't disappear and port is still bound

We have a Java server application running on Mac OS X. Occasionally this application has become unresponsive, and we have resorted to killing it with kill -9. However, the process doesn't disappear; ...
3
votes
1answer
1k views

java keystore can't validate URL

With the same url, this ends up giving a verify return code 20 (unable to get local issuer of certificate): openssl s_client -connect $URL:443 -showcerts -CAfile /etc/ssl/certs/java/cacerts This ...
3
votes
2answers
4k 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 ...
3
votes
1answer
4k views

How to configure Glassfish + NGINX to serve static files with NGINX?

I have a EC2 ubuntu with Glassfish v3 + Nginx setup to host my java web application. This application is deployed as a WAR file to Glassfish . The NGINX is currenty passing all request to the ...
3
votes
1answer
7k views

ProCurve 2610 Java error?

I've got two identical procurve 2610-24/12PWR switches with the web interface configured. I can log in to one and see all the management info just fine. When I load the web interface of the other I'...
3
votes
1answer
3k views

How can webapps within Apache Tomcat use SSL/TLS client-certificate authentication as clients?

I am using Apache Tomcat webapp as a client (java) to an IIS hosted webservice. I need to use SSL with client authentication. What kind of matching criteria is used by the client to send a client ...
3
votes
1answer
7k views

Configure tomcat 7 with netbeans on ubuntu

How can i configure tomcat 7 to work with netbeans. Looking around various forums, it appears ubuntu has an unusual installation pattern, but i cant find a definitive answer as to how i can get it ...
3
votes
2answers
3k views

How to find the version of JSSE used in a specific JDK version?

I'm running jdk 1.6.0_24 in a custom linux OS based system. I've received questions from a client's auditor around the version of SSL is on GUI and what is driving it in the backend. I know that we'...
3
votes
2answers
3k views

Deploy Jetty as port 80 daemon on Linux

I'm curious what techniques you Linux admin gods are using to manage your Jetty deployments. I come from a Windows Server background so I'm still getting used to all of this. I've been looking for a ...
3
votes
3answers
6k views

Apache Tomcat Windows service ignoring JAVA_HOME environment variable

I'm trying to get Apache Tomcat set up on a Windows Server 2003 machine. If I use the command line version (catalina.bat start) it all works fine, but if I try and use it as a Windows Service it seems ...
3
votes
2answers
1k views

Locale setting on a Red Hat box

Recently our organization got a couple of server boxes which are I guess present in some data-center in UK. The problem is that for some reason the default Locale representation in Java on that server ...
3
votes
3answers
8k views

Sybase Central issues on 64-bit Windows 2008 Server R2

I can install and run Sybase Central v 4.3 on Windows XP without issues. However, I am not so lucky when I use 64-bit Windows Server 2008 R2. It does install but it will not run. I tried running in ...
3
votes
2answers
558 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 ...
3
votes
1answer
95 views

How do I deploy multiple root/intermediate CAs to multiple Java instances across multiple servers?

I have a number of different servers running different software packages developed by multiple internal teams. As they're trying to connect their applications through web calls, we're finding that ...
3
votes
2answers
16k views

Java applets not starting in IE on Windows Server 2008 R2

I can't get the Java ActiveX Add-on to work on a Remote Desktop Server 2008 R2 with Desktop Experience enabled. This is what I get after enabling compatibility mode from http://www.java.com/verify : ...
3
votes
1answer
6k views

JBoss 7.1.1 Clustering, JBAS014775:New missing/unsatisfied dependencies

I am following https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto I managed to get 2 servers running. One slave. One master. I managed to get to "Dry Run" I got: [Host Controller] 11:30:...
3
votes
1answer
3k views

Tomcat 7.0.22 Windows service breaks with JRE update

If JRE update is run without first manually stopping the Tomcat service, Tomcat will no longer start after the next time it is stopped. This most often happens after rebooting per the JRE installer's ...
3
votes
2answers
2k views

best way to monitor web app performance in tomcat [closed]

I have a web application running in Tomcat 6.x on a Debian Linux box. I have recently started using Google App Engine for another java app and now have serious stats envy; is there a comparable tool ...
3
votes
2answers
5k views

Http-Only cookies in WebLogic: what versions support them/how and why are they supported?

We want to make all cookies set by our webapp http-only. I only have a basic understanding of the benefits of doing this but I'm told by security people that it's a Good Thing (tm) Our app is running ...
3
votes
3answers
1k views

How do you keep Flash, Quicktime, Java etc up to date for your non-admin users?

How do you keep Flash, Quicktime, Java etc up to date for your non-admin users? Thanks
3
votes
1answer
4k views

How to Install Apache Solr / Java on CentOS?

I've seen only one or two tutorials for installing Solr, and particularly Java, on a CentOS machine, and they seem to be overly complex; heck, I can't quite figure out which version of Java (it seems ...
3
votes
3answers
2k views

Installing Java Runtime for a Server: Something better than std JRE package?

I need to install a Java runtime on server machines. The JRE package from Sun acts as if I'm running on a client machine -- it installs WebStart, Auto Updating, probably browser hooks, and other ...
3
votes
2answers
2k views

What Sun Web or App Server config can cause “Due to a temporary error the request could not be serviced”

I'm not the system administrator for this server but I'm trying to help the group who are sys admins to find a fix quickly. For this reason, I don't have access to all of the server configuration ...
3
votes
2answers
98 views

Solr Search - java.util.Map$Entry cannot be resolved

I have Solr 3.6.2 running and powering the search for a Magento Enterprise site, and it's all working well, with no errors on startup etc. However when trying to access the following admin pages: /...
3
votes
1answer
432 views

Enable HugePages on Linux for multiple services/processes

On one of my Debian machines I'm running a service on a JVM and a MySQL instance. I have enable the HugePages following various online guides but I'm having a problem. Here is my configuration: vm....
3
votes
1answer
6k views

Signing a Java Deployment Rule Set JAR using AD Certificate Services

I am tasked with deploying Java 7 Update 55 along with a Java Deployment Rule Set to all Active Directory Windows clients. I've managed to get a solid Java software deployment setup but I'm now ...
3
votes
1answer
1k views

Load balancing glassfish v4.0 CLUSTER with apache HTTP server: Location of apache

I am teaching myself to build clustered Java EE 7 applications. I am focused on Glassfish Server v4.0. Based on the official documentation (Chapter 7 page 133) , Glassfish can be loadbalanced using ...
3
votes
1answer
2k views

“remote file operation failed” on remote UNIX slaves since upgrading to Jenkins 1.502

Since upgrading to Jenkins 1.502, any jobs using git on remote UNIX slaves launched by SSH fail with hudson.util.IOException2: remote file operation failed: /var/ciworkspaces/web/workspace/DFT.BA ...
3
votes
1answer
2k views

Java hangin and crashing on centos 6

I'm having problems with running java programs on my VPS. symptoms: Starts and runs for a bit and then just hangs there without any cpu use. Usually has different amounts of memory allocated. Shows ...
3
votes
1answer
1k views

Approach to auto-scaling with Amazon AWS

I want to know about the possible options for auto-scaling my web app architecture. What I have in architect is web-app (Tomcat), middleware (RabbitMQ), database(MongoDB), worker(standalone Java app). ...
3
votes
1answer
430 views

Can I connect multiple SPAN Ports to a hub to monitor both from one NIC

Suppose I had two Cisco switches each outputting some network traffic to a SPAN port, and I needed to send the sum of all that traffic to a third device for monitoring that traffic via libpcap. The ...
3
votes
1answer
558 views

java.lang.OutOfMemoryError on ec2 machine

I have a java app on a large instance that will spawn up to 800 threads. I can run the application fine as user "root" but not as another user which I created. I get the deadly. java.lang....
3
votes
1answer
81 views

Orcale Java SE Critical security Patches on the 7th, do I have to update Java all the Linux boxes that host our apps?

according to Oracle, "All these vulnerabilities may be remotely exploitable without authentication, i.e., may be exploited over a network without the need for a username and password. " Does this ...
3
votes
1answer
341 views

SysRq, task list and missing processes

I've been troubleshooting a pretty difficult issue on Linux where a JVM appears to hang. As part of the investigation, I've been trying to capture the list of current tasks and their state using one ...
3
votes
1answer
3k views

Sun-JRE on CentOS-4.8 RPM error: post-install scriptlet failed, exit status 5

I have a server with CentOS 4.8 installed. The provided is rubbish, but there's only a few months left, and they're busy being sued by Chase bank, so I doubt I can get CentOS 5. I wiped the server ...
3
votes
1answer
67 views

Tool to collect stacktraces in server logs [closed]

Is there a tool collect and count all different stacktraces in a bunch of server logfiles? Sometimes you have just too many stacktraces that repeat over and over. So it can be difficult to spot ...
3
votes
2answers
1k views

Is the Cloud ready for an Enterprise Java web application? Seeking a JEE hosting advice

Greetings to all the smart people around here! I'd like to ask whether it is feasible or a good idea at all to deploy a Java enterprise web application to a Cloud such as Amazon EC2. More exactly, I'...