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
90 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
519 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
151 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
864 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
247 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
83 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
939 views

Install JIRA on Ubuntu 12.04 with the default installer or manually?

I am researching installing JIRA, and the rest of the Atlassian Suite, onto an Ubuntu 12.04 server. It appears that not long ago everyone recommended installing JIRA manually. This was due to lots of ...
0
votes
1answer
458 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 ...
0
votes
1answer
438 views

Make tomcat use Oracle Java, instead of OpenJDK

I have a webapp from Atlassian, called as Crowd, in order for this app to function, i need to have tomcat, and OracleJDK. the app provides a tomcat container, but that is not what i want. I want to ...
0
votes
0answers
175 views

Java 1.7.21 install via GPO fails on Win 8

Attempting to distribute Java runtime 7 update 21 via GPO to Windows 8. Problem is the GPO fails with: The install of application Java 7 Update 21 (64-bit) from policy Workstation 64-bit ...
1
vote
0answers
332 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 ...
2
votes
0answers
510 views

Tuning Tomcat 7 on windows (for Alfresco)

I have installed Tomcat7 as a service on a windows server 64bit 2008 R2 to run Alfresco (4.2.c). I have 48G of ram. I have read Tomcat tuning tutorial with the JVM settings for memory. To edit the ...
0
votes
0answers
287 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
144 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 ...
2
votes
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 ...
0
votes
2answers
184 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
225 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 ...
2
votes
1answer
438 views

Glassfish Server JVM Tunning

I need to setup a Oracle Glassfish Server and after some research I came up with a configuration that I would like to propose. Any suggestions and/or corrections are very welcome. My Hardware/OS ...
1
vote
1answer
2k views

Unable to configure tomcat 7 to use own JDK

I have the following problem configuring tomcat 7 to run as a service on windows. More specifically, tomcat is part of a web application which is installed on our customers' servers, and it must have ...
0
votes
1answer
1k 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
180 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 ...
1
vote
0answers
959 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
302 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
113 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
273 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
346 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
65 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
2k 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
523 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
261 views

Puppet Packages in one go but without a repository

I am trying to get puppet going for a couple of VMs, my intention is to install jdk6 and tomcat 6 using puppet but i cannot use yum as the machines are not connected to the internet, if it was a ...
0
votes
1answer
296 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
156 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
2k 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
54 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
256 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?
2
votes
1answer
3k 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?
0
votes
2answers
9k views

ASDM unable to launch device manager from

I can't access to my Cisco asa 5505 from my Windows 7 64bit. The problem is that i can connect on it using the ASDM from another PC (WinXP 32bit), and i can connect using my win7 64bit to another ...
2
votes
0answers
59 views

Scaling large numbers of small customer J2EE webapps

We're allowing customers to create websites on our SaaS app. We currently use Jetty as the app server, but we could use anything J2EE. I'd like to be able to scale customer webapps across our ...
-2
votes
1answer
288 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
239 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
90 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
188 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
224 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
593 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
128 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
2k 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
121 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
390 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
268 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 ...