Questions tagged [java]

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

1835 questions
0
votes
3 answers

Which steps to take to protect java server from cpu overload?

I've written a java server application for a software solution I'm fiddling with. The server uses multithreading to handle sockets and postgresql as a database. I'm worried about potential evil-doers, as right now, someone would easily be able to…
Mike Haye
  • 113
  • 3
0
votes
2 answers

Oracle Security Update Patch July 2011 - How to know if i am affected?

Oracle Security Update Patch July 2011 I am using JDK 1.4.2_08, 1.4.2_19, 1.4.2_22, and Oracle DB 9.2.0.8. Can any experts tell me how to tell if i am affected, i.e. after installing the patch everything will continue to work fine? Thanks!
Oh Chin Boon
  • 225
  • 1
  • 4
  • 9
0
votes
1 answer

Tomcat 6, unable to login via /manager/status page despite the username / password being in tomcat-users.xml file?

I need to be able to remotely login to my Tomcat 6 server to setup an application that monitors it and have been instructed to first use the Tomcat http:///manager/status page to try to login with a manager role. I have a role setup as manager but…
Rick
  • 121
  • 1
  • 5
0
votes
1 answer

How to run a multi language web application server?

I'm a web application developer and whenever I buy a web hosting for my application I'm either limited by the technologies supported or the amount of resources (heap size for instance) so I have decided to get a VPS and set everything up. I tried to…
Lordrach
  • 26
  • 1
0
votes
1 answer

AxisFault Read Timed Out

I have a web service which does quantitative model checking and an Axis2 client which calls the web service. The web service can take a lot of time (more than a minute). The client works fine when the model is small and service takes less than 30…
Rohit Agarwal
  • 208
  • 2
  • 6
0
votes
1 answer

Is it possible to establish more than one load balancer with apache?

I've decided to cluster my J2EE web application using apache mod_jk as a front-end load balancer which redirects requests to a bunch of tomcat6 instances. Something like this. But there is a problem that makes me kinda skeptical about this…
SJ.Jafari
  • 204
  • 1
  • 4
  • 8
0
votes
2 answers

"Error occurred during initialization of VM" in linux server

I am trying to run java command in linux server it was running well but today when I tried to run java I got some error- Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual…
Khoyendra Pande
  • 170
  • 2
  • 11
0
votes
1 answer

Which Java binary should I install on my Linux server?

How can I find out which Java binary I should install on my Linux server? In Java download page I see: Linux x64 - Self Extracting Installer and Linux x86 - Self Extracting Installer. Running uname -a I get: Linux 2.6.26-2-amd64 #1 SMP Wed Aug 19…
Rihards
  • 769
  • 2
  • 12
  • 22
0
votes
1 answer

Why are all the tabs except MBeans disabled in JConsole? (when using "Remote Process" connection)

I'm trying to connect to JConsole on a server running: java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu12) OpenJDK 64-Bit Server VM (build 14.0-b08, mixed mode) When I connect using the "Local Process" method,…
Kem Mason
  • 111
  • 6
0
votes
1 answer

Excessive memory usage on a Go Daddy VPS

I have a Go Daddy Linux VPS, hosting a Java server and a few other things. Evidently we are running out of memory: [user@xxx ~]$ free -m total used free shared buffers cached Mem: 4096 4090 5 0…
Georgi Hristozov
  • 712
  • 1
  • 4
  • 13
0
votes
1 answer

Eclipse for PHP is unable to locate JRE

I have JRE installed on my system. In fact, Eclipse IDE for Java, which also needs JRE, is already running. Now I tried running Eclipse for PHP and it says - A JRE or JDK must be available in order to run eclipse. No Java virtual machine was found…
Sandeepan Nath
  • 647
  • 6
  • 13
  • 29
0
votes
1 answer

Problem while configuring Apache server lbmethod for load balancing with tomcat

I am using apache server as a front end load balancer with tomcat6 servers. I am using lbmethod configuration for making all the requests from one client going to same tomcat always. ServerAdmin…
shk
  • 101
0
votes
1 answer

Tomcat/java tuning books for sysadmins

Recommend me a good book about tomcat/java performance tuning. I'm a sysadmin and have to take care of several servers running tomcat and I would like to know more about the issue. A decent tutorial might also be of interest.
Nifle
  • 374
  • 1
  • 8
  • 22
0
votes
2 answers

Tomcat and Deployment with the Management / Admin screen

What is the correct way for deploying an Java web app on Tomcat via the Admin / Mgmt interface and have it be the root application and be hosted on port 80? By default I'm getting /myapp-0.1 and port 8080 ? Do most shops use Apache with reverse…
Tyndall
  • 591
  • 1
  • 7
  • 18
0
votes
1 answer

Eclipse on Ubuntu: Rectangles instead of Strings and some Java methods and classes

after upgrading from Ubuntu 9.04. to 11.04 (new installation), I have weird problems with the Eclipse editor. With the Eclipse PyDev plugin, whenever I typ single quoted strings like 'bla', they appear as rectangles (both the quotes as well as the…
1 2 3
99
100