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

learn more… | top users | synonyms

1
vote
2answers
588 views

Linux out of memory on VPS

On my VPS (CentOS) 4GB ram (2 + 2 dynamically assigned when needed) and i have tomcat running with following options JAVA_OPTS="-Xms256m -Xmx2048m -XX:MaxPermSize=256m". Now when i try to start ...
5
votes
1answer
408 views

“runas” or “sudo” equivalent on AS400 IBM iSeries

I'm trying to invoke a program to run as another user (by getting input user/pwd) in AS400 OS using Java. Like runas in Windows or sudo in Unix — what can we do in AS400 OS? I am able to invoke basic ...
0
votes
5answers
5k views

Configuring Apache, Tomcat, mod_jk and mod_rewrite to serve up tomcat from top-level

I'm trying to set up my java app as the main component of a new site. I have some static resources I'd like served by Apache, so I setup Apache and Mod_jk, with the following rules, JkMount ...
1
vote
2answers
187 views

Caveats when upgrading from Java 6 to Java 7 on hundreds of production servers [closed]

I am about to upgrade the JDK version from Java 1.6.0_37-b06 to Java 1.7.0_11.64 in a few hundreds of production servers, which run Tomcat servlets. The upgrade is a part of a large system upgrade ...
9
votes
2answers
654 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 ...
4
votes
1answer
655 views

Running some benchmarks using ab, and tomcat starts to really slow down

I'm running some benchmarks using apache bench for a java app that is running on tomcat. Say I run a test like: ab -c 10 -n 10000 http://localhost:8080/hello/world It will run just fine. If I ...
1
vote
1answer
2k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
1
vote
2answers
677 views

Anyone know of any Free Java hosting services?

I have a java server I want to host on the net. I found google app engine, but it requires a lot of changes to the app. Basically, I want to put my compiled jar somewhere, then run and control it ...
58
votes
9answers
148k views

Can't seem to disable Java Automatic Update

I'm just tweaking out my new Windows 7 laptop and wanted to disable the automatic Java updating (and thus kill the silly jusched.exe background process), but I can't seem to get it to actually turn it ...
24
votes
5answers
54k views

Practical maximum open file descriptors (ulimit -n) for a high volume system

We recently began load testing our application and noticed that it ran out of file descriptors after about 24 hours. We are running RHEL 5 on a Dell 1955: CPU: 2 x Dual Core 2.66GHz 4MB 5150 / ...
9
votes
1answer
13k views

How can I restrict the java plugin to run only on certain sites in Internet Explorer?

I want to secure our centrally managed computers better and it is very difficult to automatically deploy the java runtime, but how to do that is another question. I find the security of Java ...
8
votes
5answers
3k views

Suggestions for free/cheap asset/patch management software (Adobe, Java, etc)

I am using WSUS for Microsoft patching but would like something that will inventory and patch Adobe, Java, Firefox, Quicktime, etc. I have used Lumension in the past and it was OK but it is too ...
12
votes
5answers
5k views

I'm designing a system to handle 10000 TCP connections per second, what problems will I run into?

I have a relatively new 8-core box running CentOS. I would like to develop a stats server that uses TCP. It's very simple, it accepts a TCP connection, increments a counter and closes the connection. ...
5
votes
5answers
7k views

How to reliably take Java Heap Dumps?

My team is running into difficulties when trying to take good heap dumps triggered by OutOfMemoryErrors. For specific reasons we are currently taking the dumps with jmap called from a bash script ...
3
votes
3answers
3k views

Java VM problem in OpenVZ

I bought a vps for hosting my java needs. But I can't run java on it. Everything about java is correctly installed but when I try to run java ("java -version" forexample) I get this error : Error ...
3
votes
3answers
1k views

Linux: which process consumed all the memory?

We have 4GB on our linux server but we can currently use only ~1.8GB for our java-server, which is the first java process listed below. (200 MB are free so we can maximal use 1.6GB + 0.2GB) The ...
3
votes
5answers
19k views

Installing Tomcat on CentOS 5

Disclaimer: I am not a server admin, I am a windows user that has lead a life of sinful installation wizards and drag and drop I'm attempting to install Tomcat on CentOS 5 hosted by a MediaTemple ...
2
votes
4answers
1k views

High load without explanation

I have a very high load on my machine and don't know what is responsible or how to find out. On the machine runs a jboss appserver and mysql. Here is a top from the user at peak time: top - 16:23:01 ...
0
votes
8answers
2k views

Best Server For Java [closed]

I'm starting in Java Web development, then i want to ask, what is the best server, like Apache Tomcat, Resin and others. Remember that i use Linux Ubuntu. Thanks!
10
votes
6answers
8k views

Open source tomcat log viewer

I'm managing several tomcat instances (aprox 30-35) and looking for some console to centralize the logs. I tried php-syslog-ng before (no with tomcat), and found it useful. I would like that these ...
3
votes
1answer
372 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. ...
6
votes
1answer
2k views

Tomcat Excessive Memory Consumption

I have a fresh server running Ubuntu 11.04 (Natty) (64-bit). I started off by installing openjdk and tomcat6. When the Tomcat server starts up, it immediately uses 480+ MB of memory. This seems way ...
6
votes
5answers
3k views

OpenJDK vs. Sun Java6 on Ubuntu

Due to past (bad) experience resulting from the GCJ stuff being provided by default on certain distributions, I've always traditionally installed the official Sun Java package on servers. On Ubuntu ...
4
votes
3answers
22k views

Setting Java Runtime setting for all users on a client PC

We have a problem with a java application running out of memory. Our (Windows XP) client PCs have JRE 1.6 version 18 installed. I want to increase the -Xmx runtime parameter for the JRE to 512M but I ...
4
votes
2answers
2k views

Performance problems when running Java desktop applications on Citrix Metaframe

We have a desktop Java application running within a Citrix Metaframe server farm and the performance, specially while starting up the app, is very unreliable. Sometimes it takes 15 seconds and ...
2
votes
1answer
1k 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 ...
0
votes
2answers
3k 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 ...
6
votes
6answers
9k views

How to block access to a file from being served by Tomcat?

We have a few tomcat servers and we just discovered that some files that we don't want public to have access to those files. To exemplify: Let say we have a folder /var/www/html/ that we are ...
5
votes
5answers
9k views

How can I monitor memory usage for a windows-based JVM and trigger an alert if it gets too high?

I have an app that runs as a JVM in Windows 2008. I'd like to monitor it's memory usage and be sent an email if/when memory usage reaches a specific threshold. Is there a free utility or method for ...
4
votes
3answers
5k views

How to install Java JRE on FreeBSD with as few dependencies as possible

I've been trying to get Java working on my FreeBSD 7.1 server. I just want the runtime, since the JDK drags all kinds of unnecessary dependencies with it, and I just need it to run a jar file ...
3
votes
2answers
4k views

Access keystore on Sun ONE Webserver 6.1 for 2048 bit key length SSL

We want to get 2048 bit key length CSR requests. The browser based GUI provides us with a 1024 bit CSR and I don't know how to change that. It seems that 1024 bit key lengths will no longer ...
3
votes
2answers
1k views

Free java hosting? [duplicate]

Possible Duplicate: Anyone know of any Free Java hosting services? Could anyone tell me some free hosting on which I can run my java web application even for a day? I don't want free ...
2
votes
1answer
1k 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 ...
2
votes
1answer
904 views

Websphere 7.0 Work Manager Max Threads Ignored?

I'm trying to chase down a bug in an internal application and as part of this work I noticed an apparent discrepancy between the "Maximum number of threads" setting in WAS (BASE 7.0.0.0 r0835.03) and ...
2
votes
1answer
66 views

Which Hyperviser Solution for Java Applications?

Do you have any comment which of the available hypervisor solutions is best suited for Java applications? i.e. provides higher performance along with Java virtual machine? Our machines are mid-level ...
1
vote
2answers
598 views

Installing jdk7u7 on Centos5.8

I'm trying to install Java SDK (jdk-7u7-linux-i586.rpm) on Linux CentosOS 5.8. Im using this guide, and downloading everything from the Oracle website. When executing rpm -Uvh ...
1
vote
1answer
544 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 ...
1
vote
3answers
593 views

authbind + java + ubuntu still fails - why?

Please, observe: markk@ip-10-203-82-54:~/work/gl$ uname -a Linux ip-10-203-82-54 3.2.0-25-virtual #40-Ubuntu SMP Wed May 23 22:20:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux ...
1
vote
4answers
666 views

What's a good setup for running Java and PHP applications with SSL on the same server?

I have one Java- and one PHP-application which I both want to run on the same machine (using Tomcat). As far as I can see, I have two options: Option 1: Do the classic apache-tomcat setup with ...
1
vote
1answer
786 views

What's the diablo-jre? (FreeBSD)

This link mentions about diablo-jre. http://serverfault.com/questions/1077/how-to-install-java-jre-on-freebsd-with-as-few-dependencies-as-possible What's that and why should I use it instead of ...
1
vote
1answer
380 views

mysql Data loss after server restart [duplicate]

Possible Duplicate: mysql data loss after server crash After the server restarted due to a power cut, we lost all data saved in the database during the morning (client records created in ...
0
votes
0answers
355 views

JVM hangs with 100 IO wait on Ubuntu Maverick (AWS EC2 xlarge instance)

Have an xlarge instance in AWS running 9 Tomcats with heaps from 256M to 4G. With Ubuntu 10.04 the box sporadically hangs for a few hours with huge run queue (30-40), and nothing on CPU, then ...
0
votes
1answer
608 views

Configuring Sun server JRE for Ubuntu 10.04 on Amazon EC2

I've just created a brand new Ubuntu 10.04 Amazon EC2 image that I plan to use as a java application server. I can log in successfully by SSH. I want to install the Sun server JRE but have a couple ...
0
votes
5answers
4k views

What resource limit is Java encountering on my Solaris server?

I have a (sparc) Solaris 10 server with 16G of RAM. There are over 4G free. Memory: 16G phys mem, 4371M free mem, 8193M swap, 8193M free swap I am running a lot of java processes (I'm using the ...
0
votes
2answers
3k views

Increasing Java's heapspace in Tomcat startup script

I want to increase my heap size when using Tomcat. I was told to add this line export CATALINA_OPTS=-Xms16m -Xmx256m; In to the startup.sh script - I did so (at the beginning) but got the error ...
0
votes
1answer
231 views

j2ee server setup and beginners tutorial [closed]

I've got basic to intermediate knowledge of java and would like to install a j2ee server on my debian machine. Can anyone tell me what I need or point me in the right direction to a good tutorial? ...
0
votes
3answers
315 views

Multiple *Almost* identical processes on a Linux Server

What is the best way to run multiple Almost Identical Java processes on the same Linux server? Explanation of the environment: We are running a set of Java processes that provide a calculation ...