1
vote
1answer
30 views

can't get tomcat to offer TLS_ECDHE_ECDSA_… ciphers

my tomcat (7.0.52) Connector is configured with a cipher list like ciphers="TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, ...
0
votes
1answer
30 views

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ...
0
votes
1answer
83 views

Create setenv.sh to set system property

I have to use setenv.sh to set system properties. I am using Linux OS and Tomcat Server 6. As described here Linux Environment- setenv.sh , I have created a setenv.sh in tomcat/bin, and the only ...
0
votes
0answers
21 views

Openmeetings: Don't create rooms for each user

Openmeetings creates 2 rooms for each registered user once they are logged in. I want people to be able to register but only use rooms that I create for their usergroup. Basically they should only be ...
0
votes
1answer
192 views

Remote jmeter-server error while getting the results back after some time

I have a question, I'm using jmeter from my pc that drives a jmeter-server that is installed on a RHEL5.8 my version of java is : [jmeter@sem-osb logs]$ cat /etc/redhat-release Red Hat Enterprise ...
0
votes
0answers
64 views

Preferred “Chef/Berkshelf/Vagrant” Way to Change Java Versions

On a Linux box, what's the preferred, best-practice way of switching Java versions? For example - let's say that I want to build & test out my app on Java 7, and then Java 6. Here's a few ...
0
votes
0answers
120 views

How to enable kerberos authentication to a Java web app

I'm currently using Centrify to aid with Kerberos/AD integration in our environment. Right now we have Kerberos enabled on a Centrified version of Apache. We are trying to run jnlp files through ...
0
votes
2answers
107 views

Installing a minimal java on Ubuntu VM

I don't have java installed on a Ubuntu virtual machine (just server, no X11): bash: java: command not found I want to install a minimal version to run some scripts. When I issue: sudo apt-get ...
0
votes
1answer
19 views

Tomcat 7.0.42 Manager Weird behavior

Good morning folks! I'm playing with my brand new tomcat installation today, and everything run pretty smoothly except that I got a weird reaction using the manager with virtualhosts. The problem ...
1
vote
1answer
97 views

Load Balancer on Amazon does not have secure flag set for Cookie

We have a java based application running on Amazon and have configured our Amazon ELB to connect to them successfully. However, we are seeing that the Cookie flag not set as Secure. Name Value ...
0
votes
0answers
99 views

Background process and read from /dev/pts/X

I tested it on Ubuntu 12.04. First, I run java process from user1 in background and close terminal. Then I open a new terminal (from user1) run special script that sends current tty name (/dev/pts/2) ...
0
votes
1answer
224 views

Cannot start cassandra: numactl: execution in CentOS 6

I trying to install Datastax Apache Cassandra with OpenJDK # java -version java version "1.7.0_51" OpenJDK Runtime Environment (rhel-2.4.4.1.el6_5-x86_64 u51-b02) OpenJDK 64-Bit Server VM (build ...
0
votes
1answer
152 views

change java process name

I am trying to change a java process name using the start-stop-daemon. When running the process without the daemon I simply add to the script: "exec -a kuku" And the java process name in the proc file ...
1
vote
0answers
142 views

Preventing Linux Kernel from killing a Java process prematurely

Running Ubuntu 12.04.3 LTS with 32 cores 244GB. Its the Amazon EC2 memory instance the big one and Java 1.7u25 My java process is running with -Xmx226g I'm trying to create a really large local ...
0
votes
0answers
40 views

top output seems fine, yet server is overloaded

This server I am benchmarking gives no obvious signs of getting overloaded at a first glance. top output: top - 22:48:25 up 5 days, 3:41, 3 users, load average: 3.19, 3.34, 3.25 Tasks: 146 total, ...
0
votes
1answer
57 views

JVM dying with no error, no OOM in kern.log

My JVM sometimes, but not always, dies on startup with no error in any application or system log file. There is nothing in /var/log/kern.log, nothing relevant in dmesg. The thing is, even when I use ...
1
vote
1answer
183 views

Access secured windows folder with java on a linux server

We're trying to mount a secured windows share on a linux server, but until now we're unable to do so. This is the setup we're having: A linux server that runs a java application A windows share that ...
0
votes
0answers
60 views

Controlling Apache Tika with Supervisord

I am using TikaJAXRS on my server to process files, a part of Apache Tika project. I made a service wrapper to run it. So normally, I run it with service tikaserver start. But basically, the command ...
0
votes
1answer
629 views

permission denied to start tomcat as root

I just started using CentOS. I install Java yum install java-1.7.0-openjdk-devel Added a user: $useradd supersite Downloaded tomcat: $wget ...
0
votes
4answers
95 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
92 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
162 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. ...
0
votes
0answers
265 views

Tomcat6 does not start correctly when specifying jdk5

I have installed tomcat6 on debian 7 using apt-get install tomcat6 tomcat6-admin. It also installed java6. The tomcat service starts up just fine and I can also restart it: root@dd:/home/user# ...
1
vote
2answers
2k 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
38 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: ...
1
vote
0answers
71 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
43 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 ...
0
votes
0answers
286 views

authenticating mongodb from a remote machine with ssh tunnelling

I have mongo db running in a remote server (debian) with authentication on. I need to connect to it with UMongo (UI tool for mongodb) from my local machine (windows) to visualize the data. I have not ...
-1
votes
1answer
195 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 ...
2
votes
1answer
112 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
102 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
2answers
69 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
155 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
2answers
54 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 ...
0
votes
1answer
206 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 ...
6
votes
2answers
326 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
1answer
76 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 = ...
0
votes
2answers
825 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 ...
1
vote
1answer
273 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 ...
0
votes
0answers
391 views

java crashes with Illegal memory access. [54]

I'm using java on OEL 5.8 and it crashes in some applications with "Illegal memory access. [54] error". It occurs with 3 different java installations. 2 of them are Jrockit versions ...
0
votes
2answers
78 views

Java Setup on Scientific Linux showing two diffent versions

Java Setup on Scientific Linux showing two diffent versions. I am trying to get java setup right on Scientific Linux. If I do a javac -version I get the following: java_1.7.0_10 which is the ...
9
votes
5answers
603 views

How do I find the cause for a huge difference in performance between two identical Ubuntu servers?

I am running two Dell R410 servers in the same rack of a data center (behind a load balancer). Both have the same hardware configuration, run Ubuntu 10.4, have the same packages installed and run the ...
0
votes
2answers
239 views

Why does the java -Xmx not working? [duplicate]

Possible Duplicate: Linux out of memory on VPS In my Ubuntu 11.10 VPS, Before I run the jar file: # free -m total used free shared buffers cached Mem: ...
2
votes
3answers
1k views

CPU/JVM/JBoss 7 slows down over time

I'm experiencing performance slow down on JBoss 7.1.1 Final. I wrote simple program that demostrates this behavior. I generate an array of 100,000 of random integers and run bubble sort on it. ...
2
votes
1answer
1k views

Updating and deleting java (red hat / centos) (closed)

I am a total noob with linux. So please explain clearly if you have a solution for me. I have an VPS and I want to update JAVA. I found a guide on the Java site which says: rpm -e < package_name > ...
2
votes
1answer
2k views

Running 32-bit installer on 64-bit CentOS

I am trying to run the installer for a particular piece of software (I probably shouldn't name the application in case the software vendor gets upset over what I am about to say) on a fresh ...
1
vote
2answers
558 views

Linux out of memory on VPS

On my VPS (CentOS) 4GB ram (2 + 2 dynamically assigned when needed) and i have tomcat running with following options JAVA_OPTS="-Xms256m -Xmx2048m -XX:MaxPermSize=256m". Now when i try to start ...
2
votes
1answer
128 views

Time jumps on guest system really shortly

I've got a ESXI-Server and a OpenSuse 10.3 distribution running on it as a guest system. In a java (6_17) application that uses Thread.sleep() to not hog 100% CPU, I noticed that it sometimes never ...
0
votes
1answer
3k views

Java “Could not reserve enough space for object heap” but lots of RAM free

I have a problem running Java applications on a server. root@dobby [/opt]# jdk1.7.0_09/jre/bin/java -version Error occurred during initialization of VM Could not reserve enough space for object heap ...
2
votes
0answers
174 views

java task blocked for more than 120 seconds inet6_ioctl

My server is running Linux kernel 2.6.18-194.el5PAE. And find the following messages sometimes. Any suggestion, what could be the reason? Thanks a lot. task java:8028 blocked for more than 120 ...