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
0answers
132 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
358 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
134 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
72 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
291 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
102 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
443 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
201 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
61 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
103 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
218 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
174 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
109 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
2k 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
148 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
157 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
855 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
119 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
545 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
22 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
269 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 ...
0
votes
2answers
77 views

Kerberos with active directory from linux

I have windows stations and a linux server - and I would like to perform SSO using Windows-Kerberos (via Active Directory - the same one all users on the windows station use). And so - I have ...
0
votes
1answer
205 views

Is auto-restarting services (like tomcat) a good idea?

Are there any reasons to not auto-restart tomcat in the case of a crash? It seems like a no-brainer to restart the process, especially in production, if that can mean less downtime due to a crash, but ...
0
votes
1answer
262 views

java.lang.OutOfMemoryError: GC overhead limit exceeded TeamCity 7.0

I am getting this error suddenly. Running teamcity 7.0 on a Windows Server 2008. How do I add more memory via passing options to the JVM? I don't understand how to pass the xmx option when using ...
0
votes
2answers
59 views

Managing security (Java) access in a shared environment

While developing a shared hosting solution for Java applications we have encountered an issue, since users can upload their own jars how do we restrict them from running Linux commands such as df -h ...
1
vote
1answer
887 views

Java CertificateException in Domino 9 when trying to access HTTPS URL

When we upgraded our Domino development server from 8.5.3 to 9 the HTTPS connections from Java code to sites having GoDaddy certificate stopped working. Connections to servers having DigiCert ...
0
votes
2answers
304 views

how do I use chef to force ubuntu to install dependencies?

New to chef. I'm trying to install openjdk-6-jre-headless using chef, but first I went to try it out using apt-get and I get this this error The following packages have unmet dependencies: ...
0
votes
1answer
183 views

setting up environment variables for aws hadoop ec2

I've been following this book: Hadoop in Action It gives a nice guide on how to start using ec2 with hadoop. One of the first things that it says is to download the command line tools here: ...
0
votes
2answers
113 views

Glassfish admin loading forever

i have downloaded the .sh bundle of Glassfish 3.1.2 on my mac machine and started the server using ./asadmin stat-domainand tried to hit the url http://localhost:4848/ but the page is loading ...
0
votes
2answers
1k views

jetty.state issue when starting Jetty

I rent a CentOS 6 VPS and wish to install Jetty on it so I can use Solr for a project I've been working on. I've been following this jetty tutorial to install Jetty on my VPS, however when I try to ...
1
vote
0answers
48 views

Nat Traversal, peers unable to communicate

I'm currently working on a project that requires NAT traversal but I seem to be running into difficulty. I have the following setup running for testing: R1, Verizon Fios router connected to the ...
1
vote
1answer
208 views

Alfresco: NoClassDefFoundError: java/nio/channels/SeekableByteChannel

Installed and ran Alfresco 4.2 with Java 6 on Linux, I get this error: NoClassDefFoundError: java/nio/channels/SeekableByteChannel How to fix this error?
1
vote
1answer
2k 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?
-2
votes
1answer
211 views

Can't get jmeter-server to work correctly with jdbc:mysql driver

I am running jmeter-server on a remote database host (Centos, sun-java 1.6). I dropped the MySQL java jar in $JMETER_HOME/lib per the install instructions. When I try to run a job on my local system ...
0
votes
1answer
217 views

Find Java install on CentOS Linux

I have new install of Centos 6.4 x64, it comes with openjdk 1.7.09. Obviously there are exploits/vulnerabilities in that version. The new version is 1.7.17, I try to install install it, and I don't ...
0
votes
1answer
75 views

RES keep growing but there is no GC shown via jstat?

We have a java application running on Centos 6.4 what we notice is RES value is cross 400m which is more then the allocated max heap that is 256m. According to jstat results as below there is no GC ...
0
votes
2answers
142 views

Java virtual hosting manager

I have a server system on which i want to host java web application's. I can do that only with tomcat and can host multiple application's, but i don't know how can i host multiple application's on ...
0
votes
1answer
170 views

When the JVM is doing a complete GC, is it expected to see a large number of page fault/sec?

It is Window 2003 server. We are running some performance test, and what we see is: 1. In first 5 hours, the page fault/sec is very small, like 10 or 20 In the last 1 hour, the page fault jumps to ...
0
votes
1answer
437 views

How do I ensure the Context Path is the same when accessing a web app via Apache (proxy pass - port 80) and tomcat (port 8080)?

I have written a web app in Java/J2EE and am deploying it using apache (ec2 micro instance) to forward requests from port 80 to port 8080 (same machine). My httpd.conf looks like the following: ...
0
votes
1answer
102 views

Java web service works on http but not on https

I have SSL installed on my website. I wrote a java web service and deployed it in public_html/WEB-INF/service folder. Now I can access my service over http (like ...
1
vote
1answer
1k views

Running Jenkins standalone vs within Tomcat

What things should be considered when deciding between running Jenkins standalone or within Tomcat? We would prefer to not have to use Tomcat because there's no other applications on this server ...
1
vote
0answers
104 views

Upgrading JIRA 5.0.1 to JIRA 6

I am trying to upgrade my jira version from 5.1 to 6 in my test server. with windows(64) platform. So I downloaded jira 6 version with folder name as "atlassian-jira-6.0-m08-standalone". then I ...
6
votes
2answers
345 views

SSH unresponsive after stopping Tomcat, many ksoftirqd CPU usage

I have a weird issue. Every time I stop Tomcat, SSH becomes very slow, almost totally unresponsive. It takes a minute or even more for SSH to accept any command. When I finally get Tomcat started ...
2
votes
0answers
150 views

How to apply tzdata-java update after installing package

Updated the following packages via YUM on the system (CentOS 5 64bit) tzdata-2012j-2.el5 tzdata-java-2012j-2.el5 The system package was applied correctly but the Java does not appear to be working ...
0
votes
1answer
462 views

logstash trying to connect to redis server on mapped ipv6 address

I've just started playing with logstash, and I'm having a problem getting a log shipper process to send events to a redis server on another host. The output stanza of my logstash config file reads ...
3
votes
1answer
5k views

Which Java version should I run Jenkins with?

Reference: Jenkins Users :: Jenkins on Windows: Java + JRE (version) confusion Which Java version should I run Jenkins with (on Windows)? Should I use the included JRE of the Windows master? Should ...
2
votes
1answer
80 views

Why would disk reads be heavier than writes with a simple java app that creates many small files?

I've got a very simple java 7 app that reads from a proprietary file format (Hadoop sequencefile) sitting on disk xvdb and creates millions of 2-20kb files on disk xvdf. ByteBuffer byteBuffer = ...
1
vote
1answer
608 views

Java 7 on a V-Server: “Could not reserve enough space for object heap”

I've just installed Java 7 & Jenkins on a V-Server with 1Gb of RAM # java -version Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not ...
1
vote
0answers
126 views

Elasticsearch and couchdb river indexing slows down after a few hours

Trying to import ~400m docs in to Elasticsearch from couchdb using the couchdb river plugin. Everything starts out great with indexing time around 5k/s but after a few hours come back and find its ...
0
votes
2answers
1k views

Connection Refused Error Java/Linux

I'm trying to move an existing project over to a new (linux) server environment (note, I have no direct access to the code nor do I have any knowledge about the project in general - talk about a great ...