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
1answer
327 views

Why I can't execute SQL query on Amazon Redshift from VPC private instance?

I have an instance in a private subnet in an Amazon VPC. This instance uses a NAT to access the Internet. I use the Redshift JDBC driver to connect to a cluster hosted in the same region as my VPC ...
1
vote
1answer
1k views

Install Java 7 with Chef using Opscode Java Community Cookbook

I am trying to install Java 7 on Ubuntu with the opscode java community cookbook. Java 6 seems to be the option no matter what incantation I make: [2013-09-24T00:24:32+00:00] INFO: Processing ...
0
votes
1answer
127 views

Open screen process in terminal from script [closed]

I have a minecraft server running in screen, and right now, it is just a script that starts java like so: screen -dmS mc java -Xincgc -Xms1024M -jar craftbukkit-1.6.4-b2882.jar Basically this just ...
0
votes
1answer
336 views

Error installing Oracle-Java6

I'm attempting to install Oracle-Java6 on my VPS, running ubuntu-10.04 for the purpose of running Openmeetings. I installed the ppa webupd8team/java, updated and ran sudo apt-get install ...
1
vote
0answers
355 views

How to connect Java Flight Recorder (from JDK 7 U 40) to a remote JBoss 7

I have a remote Ubuntu server with Jboss 7 and a local Ubuntu desktop machine and I can already monitor JBoss using jconsole and visualvm scripts that come with it. After the release of Java 7 Update ...
0
votes
4answers
150 views

Upgrade to latest tomcat/ JRE or stick with what's provided by LTS?

Running a server with Ubuntu 12.04 which ships Tomcat 7.0.26. Should I care about updating the tomcat installation to latest 7.0.42 version or should I stick with what's provided? If I stick then am I ...
1
vote
1answer
100 views

How does it harm if I install JDK on my ubuntu server when JRE is just enough for me?

I just need JRE for my programs. But how does it harm if I use JDK when JRE is enough for my webserver? Does it only mean more harddisk space for JDK & except for that, no other waste? I use ...
1
vote
1answer
361 views

Reasons for a TCP Timeout scenario

I am actually currently investigating long running connections of a Java/Tomcat based Web application. After ruling out any internal or application based reasons, I am now down to the network layer. ...
1
vote
2answers
4k views

Does kill -3 actually terminate a java process? Or just generate a thread dump?

CentOS 5.9 If I run kill -3 <java process pid> what actually happens? As per this red hat article, I understand that a Java Thread Dump is generated but is the process terminated? It doesn't ...
0
votes
1answer
52 views

Tomcat 6 path issue on Linux Debian

I'm facing an anoying issue on Linux/Debian Tomcat configuration: I've set up path variables, but when I try to start or shutdown Tomcat nothing happens. Log is empty and the following appears: ...
0
votes
1answer
683 views

Openfire Java Out of Memory Error - Any solutions?

I have huge problem with openfire crashing every now and then because of the lack of memory. In java log i have following error log. however problems are Openfire is 32 bit and i cant run it as 64 ...
1
vote
0answers
120 views

Does chpst honour ulimit settings?

We are currently experiencing issues with a JBoss-based server on a linux platform - effectively, we are running out of available file-handles within the process, and the server croaks. We have set ...
0
votes
1answer
30 views

Discrepancy in java Garabage Collection between jconsole and log files

I'm having an odd problem: my garbage collection log file (as defined by -Xloggc) will show n number of garbage collections have taken place, but jconsole will show n+6 garbage collections have taken ...
0
votes
0answers
214 views

Proxy Server for my Tomcat7 Websocket Application?

I have a Java Servlet application running on a Tomcat server. My app uses Websockets. I want to use a proxy server which should root to my Tomcat running on pert 8080. What proxy should I use for ...
0
votes
3answers
3k views

Tomcat 7 Throwing Unsupported Class Version Error

I'm setting up a Tomcat server to host JSP sites. I have created a test application in Eclipse to make sure everything is working. All it does is print text in JSP, then call a function in a custom ...
0
votes
1answer
149 views

Cannot make Java Package on an OpenVZ container

I'm trying to install Sun's Java SDK 7 by following the Debian Wiki instructions using java-package. But it won't work on an OpenVZ proxmox container. I'm running Debian Wheezy 7.0-2 64bit on all my ...
0
votes
2answers
490 views

JVM/Tomcat crashes when to many uploads occur in parallel (Heap Space)?

I have a Servlet application running on Tomcat 7. I set the following in setenv.sh CATALINA_OPTS=" -server -Xms1G -Xmx5G -XX:MaxPermSize=512m -Dfile.encoding=UTF-8"; The server runs on Ubuntu ...
0
votes
1answer
90 views

How to set multiple paths with update-alternatives

For example, the following command install java to /usr/bin/java update-alternatives --install /usr/bin/java java /opt/java7/bin/java 1 && update-alternatives --set java /opt/java7/bin/java ...
2
votes
1answer
1k views

Use chef-solo to install Oracle JDK 7

Assume I have the java cookbook and its dependencies downloaded from http://community.opscode.com/cookbooks and can run chef-solo successfully. Is there a command that I can run to install the latest ...
0
votes
1answer
129 views

Tomcat 7.0.42 crashes many times a day

I have a Tomcat7 server running and it crashes and shows sometimes a memory warning that there is not enough Heap Space. What do I have to do here? My server has 4GB RAM, 4CPU and runs on ubuntu ...
0
votes
1answer
1k views

How do the clients register at openfire server?

I have installed openfire. How can the clients register themselves on the server ? Do I have to write separate code for that ? I mean, do I have to write some kind of action handler for that ?
1
vote
0answers
294 views

Most efficient way to pipe web beacon logs to Apache Flume?

The Setup I've setup a simple Nginx server that logs (in a JSON) format, which is then piped to an S3 bucket with Apache Flume. All the Nginx server does is respond with a web beacon tracking pixel ...
0
votes
2answers
66 views

java http service on mac server with Apple server admin

I've written a simple com.sun.net.httpserver.HttpServer program that runs on a non-server mac. When I visit http://localhost:39600/test in a web browser, it gives me the correct response: "Here's my ...
-1
votes
1answer
412 views

Cassandra - Ubuntu Server Connect locally but no when connect remotely [closed]

I have a problem when I want to connect to Cassandra remotely I run it on ubuntu server and can connect to it through cassandra-cli connect localhost/9160 But when I connect remotely I have an ...
-1
votes
1answer
456 views

Tomcat - How to stop, start, restart

I installed Tomcat7 from source on a debain. However, based on the information online I should be able to start and stop the service using the following command: service tomcat7 stop/start However ...
-1
votes
1answer
53 views

Tomcat can't start on CentsOS

Tomcat 6 installed via yum. When i try to start it, catalina.out contain: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual ...
0
votes
1answer
402 views

Application Server Slowing down in responding at regular interval

We have developed a product in JAVA using SQL Server 2008 R2 as database, Hibernate 3.0 as database framework and GWT 2.4 as front end. We are using JBoss as our application server. We deploy ...
1
vote
0answers
520 views

Blocking specific java executable JARs

I have been trying to figure out how to block specific Java applications (Minecraft) for a while now without success. I want to stop people from being able to run a specific JAR file or at least ...
0
votes
2answers
482 views

Proper acting when a process is consuming 100% time of CPU

On several machines I have a problem with a process that is using 100% time of a CPU. USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 85740 100.0 0.2 34668 ...
0
votes
0answers
153 views

Java applications getting squeezed via remote desktop with 16bit color depth

I am managing some virtual desktops running Windows 7 Enterprise SP1 x64. When running any Java applications (tested on 7u13, 7u21 and 7u25) the windows are getting squeezed to the left. The black ...
0
votes
3answers
410 views

2 x Dual Core vs 1 x Quad Core Performance

A license restriction limits us to 2 x dual core servers, or one 1 x quad core server. Should we see better performance running 2 x Dual Core servers or 1 x Quad Core? Dual Core processors are ...
2
votes
1answer
144 views

Specify a different location to install Java - RHEL6

Is there a way to specify the location where all the installed files would go when installing Java JDK on red hat linux 6? Currently when I follow the steps mentioned in Installation Guide, it ...
0
votes
1answer
78 views

Tomcat access logs - are failed requests included?

We have a RESTful web service (Java, hosted in Tomcat on Ubuntu on Amazon EC2). From time to time it fails (not every week). When it fails, Java CPU consumption goes to 100% and it takes all available ...
0
votes
1answer
378 views

Rundesk cannot execute local command

I'm trying to interact with the nodejs Azure sdk from a CentOS installation of Rundeck. If I try from the "run" adhoc virtual shell, I am able to after running azure account import <mykey> and ...
0
votes
1answer
124 views

Imap subfolders not shown in list command - perhaps acls misconfiguration

My goal is to copy the whole folder structure with all mails from one imap account to another. The tool I am using for this is imapcopy (the java based version from code.google.com since the ...
0
votes
3answers
630 views

Why are Full GCs not running on my gcInterval I set?

ColdFusion 10 Update 10 Windows Server 2008 R2 Java 1.7.0_21 I am trying to figure Full GCs to run every 10 minutes. I have used the gcInterval JVM arg in the past on earlier versions of ...
0
votes
2answers
229 views

Which libraries are required for Java7 when installing on Debian wheezy?

It is trivial to download and install the Java 7 distribution from Oracle.com. But I am concerned about any dependencies that might be missing on the system. How can I find out which libraries are ...
0
votes
1answer
70 views

Add a new tomcat(worker) to a existing cluster made using Apache server and mod_jk without having to restart Apache

I have set up cluster for loading balancing for the two different tomcat that are running on different machines using Apache Server and mod_jk. I have configured workers.properties and everything ...
0
votes
1answer
221 views

Tomcat Requested resource not found

I have a webapp, for which i have created a softlink in the webapp folder in tomcat6 directory /var/lib/tomcat6/webapp. Now, i have the webapp stored in /webapp/ when i pointed all my servers and ...
1
vote
0answers
266 views

TOMCAT Disable org.apache.http.wire logging

I need to shut up the org.apache.http.wire logging level because its logging every single HTTP request and it produces Gigabytes of logging, I'm using the default logging of tomcat6 which I think it ...
0
votes
0answers
219 views

Quickly Filtering Blocks of IP Addresses

I had to black list some IPs that were coming from Russia from accessing my site. (Malicious bots kept taking my server down.) I created a text file that I loaded into RAM which contains /8, /16, /32, ...
1
vote
2answers
126 views

How can I tell what version of Java my programs are running on Debian/Ubuntu?

Want to have something that lists java VMs running on the system and which programs these are hosting. In particular which tomcat is using which java version. IS there any command line tool that I can ...
1
vote
0answers
3k views

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot without errors?

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot? the manual for installing oracle java on debian wheezy is quite clear and understandable: http://wiki.debian.org/JavaPackage ...
-1
votes
2answers
169 views

Red5 can't find Java

I'm setting up a Red5 server on Cygwin I get this /usr/share/red5$ sh red5.sh Running on CYGWIN_NT-6.1-WOW64 Unable to locate Java. Please set JAVA_HOME environment variable. However, I can also ...
0
votes
1answer
191 views

Bind a Java process to a virtual interface

I'm trying to bind a java process to a specific virtual interface having IP address <myIFaddr> as follows: export BIND_ADDR=<myIFaddr> LD_PRELOAD=./bind.so exec java -jar ppp.jar The ...
0
votes
1answer
996 views

centos install java openjdk for jenkins

I have an issue with a VPS, centos, thats running WHM as the container. I need to run open-jdk to get jenkins ci going, but the issue is that oracle's java keeps popping up. From a server restart: ...
0
votes
1answer
137 views

wso2 Governance Registry Active Directory integration unable to find valid certification path to requested target

I am attempting to set up a WSO2 Governance Registry server on RHEL5 that will integrate with our Active Directory using ldaps, but normal methods of setting up trust of the domain controllers ssl ...
0
votes
0answers
740 views

Remote JMX connections are sent to localhost

I' m trying to set up remote JMX monitoring on a Java process. These are the options I'm giving the JVM to start it: JAVA_OPTS="-server -Xms1G -Xmx1G -XX:MaxPermSize=512m " ...
0
votes
0answers
23 views

Control Usage Of bandwidth for each site

The scenario is as follow. Let's take an example I have one domain called abc.com.I have purchased this domain.Now I am providing facility to the users to create their sites on this domain.So suppose ...
-3
votes
1answer
290 views

Minecraft FTB Ultimate server crash (OS Related?) [closed]

(Originally posted this on StackOverflow and was told that it wasn't the correct site to post on - I think ServerFault is the correct site, but tell me if otherwise). (ServerFault didn't like me ...