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
1answer
53 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
79 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
190 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
145 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
98 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
146 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
126 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
765 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
104 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
419 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
258 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
73 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
180 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
239 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
55 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
805 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
262 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
133 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
108 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
47 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
201 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
168 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
211 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
74 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
127 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
157 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
377 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
90 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
98 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
336 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
138 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
420 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
4k 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
78 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
513 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
113 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
942 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 ...
0
votes
1answer
169 views

Custom ENUM/NAPTR DNS Server

I need to configure custom DNS server to handle ENUM requests for VoIP calls I have custom built DNS server in Java that handles ENUM requests for my company's VoIP services. ENUM is used to ...
0
votes
2answers
2k views

Stuck on “removing managed software”

At one time, I had the Software Installation feature in GPO set to install the Java 7 update 11 MSI installer. Then, I removed it with the removal method "immediately uninstall the software from users ...
1
vote
1answer
142 views

Living within my numproc barrier

So I pay around $50/month for a 2GB VPS which has 200 numproc limit. I have no idea if that is good or bad... and I'm not amazingly technical. I have always had a stable VPS running a couple of VOIP ...
1
vote
0answers
35 views

Java BindExceptions in delayed stop/start conditions

I have a script that will automatically stop a server and restart it on the same port/ip address. I've noticed that some mornings the server doesn't restart successfully because it gets Java ...
2
votes
1answer
683 views

How to keep Java 7 up-to-date without losing JRE 6?

I have recently found out the hard way that Oracle has decided to silently nuke JRE 6 when a JRE7 update is installed. Is it possible to leave JRE7 on auto-update without breaking JRE6? If not, how ...
-1
votes
1answer
219 views

Which apt-get package of java do I install if I want to use elasticsearch?

sudo apt-get install XXX? What java package should I install?
1
vote
1answer
1k views

Disable Update in Java 7.13+

My users cannot install their own software. I'm using GPO and an .mst to customize and deploy Java 7 with the following options under Properties: AUTOUPDATECHECK = 0 EULA = 1 IEXPLORER = 1 ...
1
vote
1answer
298 views

How to find out what files are open? [duplicate]

lsof -n contains thousands of entries like this: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 27181 root 5044u FIFO 0,8 ...