0
votes
0answers
18 views

See output - feed input into java program from ssh

I am running a java program on centos 6. That program is always checking for input (acting as a console). It is automatically started from a bash script on system startup. If I login from a ssh ...
0
votes
1answer
223 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
55 views

Change java version for tomcat on centOS

I need to run tomcat6 with Java 8 and keep Java 6 as the default JRE on CentOS. I have succeeded on unpacking a tar version of tomcat6 on centOS and doing so, but when I use the yum package, for ...
-1
votes
1answer
253 views

Running java application fails with “Unsupported major.minor version” [closed]

I want to install a java in my linux centos 64bit when I run it it gave me an error what should I install in my server I have java 1.6 java -jar licence.jar Exception in thread "main" ...
0
votes
1answer
623 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
1answer
524 views

how do i detect which version 32 or 64 bit Java is installed in Centos?

I am trying to detect which version of the java is running in my system (i mean i want to find out whether my java installation is 32 bit or 64 bit) I have tried $java -version which outputs ...
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
0answers
132 views

Authentication issue in SIP server

I am able to communicate with intranet SIP server and able to perform text chat / video & audio chat without issues. but it did not work at all when i moved the same setup to public domain on ...
-1
votes
1answer
52 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
670 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
72 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 ...
2
votes
0answers
136 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 ...
1
vote
1answer
131 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 ...
0
votes
1answer
394 views

What is stopping my Visual JVM remote connection?

I have started my application with this settings below: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=43588 -Dcom.sun.management.jmxremote.authenticate=false ...
-2
votes
2answers
1k views

OpenJDK installed but libjli.so not found centos 6 [closed]

I've installed openjdk-1.7.0-devel in my centos box, however, everytime I run java --version, I get: java: error while loading shared libraries: libjli.so: cannot open shared object file: No such ...
0
votes
1answer
579 views

CentOS 6 and Sun/Oracle Java Issue [duplicate]

Possible Duplicate: Linux out of memory on VPS I have a OpenVZ VPS running CentOS 6.3 64 bit and when I try to install JRE 7 64bit using the command: rpm -Uvh java.rpm It gives me this ...
0
votes
2answers
2k views

How do I install javac (JSDK) on Scientific Linux, 64Bit

I am trying to finds a way to install the Java SDK (javac) on Scientific Linux 64bit with yum or anyway.. Can someone please tell me the best what to do this so I can use maven for my builds etc
2
votes
1answer
78 views

How can I reduce the number of coldfusion threads running?

I have CF running on a mediatemple DV4.0 & it seems to be running WAY more threads than necessary - enough to continuously trip the "running processes" alert that MT provides [and cannot be ...
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 ...
0
votes
0answers
92 views

Java won't install

# rpm -ivh jre-7u6-linux-x64.rpm Preparing... ########################################### [100%] package jre-1.7.0_06-fcs.x86_64 is already installed But I also get: # rpm -e ...
1
vote
0answers
162 views

Launching a jar file using shortcut in CentOS [closed]

I am trying to launch a jar file using a shortcut from desktop but it never works. Can you give me some idea how to do it? Here is what i am doing: I create a Launcher and in it's properties set: ...
0
votes
0answers
387 views

Java for Tomcat on Centos 5.8

I am trying to install Tomcat to use Solr on my server running Centos 5.8 but am running into problems with the Java component - I have installed Java and confirmed it is installed: java version ...
1
vote
2answers
595 views

Installing jdk7u7 on Centos5.8

I'm trying to install Java SDK (jdk-7u7-linux-i586.rpm) on Linux CentosOS 5.8. Im using this guide, and downloading everything from the Oracle website. When executing rpm -Uvh ...
1
vote
1answer
462 views

How to run Visual VM on remote centos

We have a java application residing on centos machine. From our windows machine we plan to connect to the application. We have enabled jstatd and confirmed is running. The issue now is visual vm can ...
0
votes
2answers
1k views

~/.rpmmacros and how to view/add to it

I am currently following a guide to install Java 1.4 on the CentOS site and was wondering if anyone could help me understand some of the terminology. It states: For this example, it will be ...
1
vote
1answer
279 views

Linux top not tallying with java used memory

We have a java application where towards the last part of the codes we wrote these lines Runtime runtime = Runtime.getRuntime(); long memory = runtime.totalMemory() - runtime.freeMemory(); ...
-1
votes
2answers
518 views

linux script - find java process and restart it if it is more than 80% Mem High

I want to put in crontab a shell script that will monitor the java process and if it's the memory is more than 80% then I want to restart it. can any one help? Thanks!! Elad.
3
votes
1answer
2k views

Java hangin and crashing on centos 6

I'm having problems with running java programs on my VPS. symptoms: Starts and runs for a bit and then just hangs there without any cpu use. Usually has different amounts of memory allocated. Shows ...
0
votes
3answers
3k views

JDK not found on CentOS 6 x64

I installed jetty on a CentOS 6 server, but when i try to reach a WAR example of jetty I get this error : org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK ...
0
votes
1answer
965 views

JVM crash log file

I have a java application running as a daemon. Suddenly it stop working so I would like to know if jvm crash and where will the log file be dump? It can be either fedora or centos?
0
votes
1answer
402 views

Fedora error log file

I am running a java application using this wrapper service yajsw. The problem it just stopped without any error in its logs file. So I was wondering will there be any system log file which will ...
4
votes
2answers
207 views

How refresh log on daily basis?

I am running this tool called yajsw which generates a log file named as wrapper.log.0. What I notice after sometime it becomes too big and I cannot run the zip command too? Can I run a cron job to ...
1
vote
2answers
4k views

Installing JDK 1.7 on CentOS

I'm trying to install JDK 1.7 on CentOS on my server. I've downloaded java_ee_sdk-6u3-jdk7-linux-x64.sh from Oracle website. Looks like it requires graphic interface, which I don't have on remote ...
0
votes
1answer
343 views

Rpm repo for java on centos 6

Is there any other repo from jpackage available for centos 6? I don't like to build tomcat, maven from sources. many thanks.
1
vote
1answer
509 views

Monitoring on java daemon on centos

I have a java application which I run using yasjw tool as a daemon. I need to monitor it in case it goes down I need some kind of alert or even restart it. Is there any tool can help me do this on ...
-1
votes
1answer
303 views

Run Securetrading java jar file automatically on startup of centos server

This is an extension of my previous post. Basically I want to start the following service automatically when the server is booted: cd /usr/local/stapi java –jar StApi.jar this is from Securetrading ...
0
votes
1answer
2k views

How to start java service automatically when Centos server starts up

I have a server running CentOS, which I am configuring and I would like to have a java service startup automatically when the server is restarted how can I go about doing this? The command to run the ...
-2
votes
2answers
2k views

How much disk space to install CentOS?

What is the minimum amount of diskspace a CentOS system, plus the java virtual machine, needs to be installed? Desktop interface is not needed.
1
vote
2answers
1k views

javac compiler throwing error in CentOS 5.7

I'm trying to install Red5 on a vps running CentOS 5.7 in MediaTemple using this how-to (dv):Install Red5 Media Server but on step 7 I get this error: BUILD FAILED /usr/local/red5/build.xml:217: The ...
2
votes
1answer
113 views

Strange CPU usage on Windows Server 2003 vs. CentOS5.4

I have two Virtual PCs running Windows Server 2003 and CentOS 5.4 on a host machine. I use a java server on both of them. I copied the java server's files from the host machine on to both of the ...
1
vote
1answer
268 views

Centos: Package Managed Sun JRE

Is there no yum repository with Sun's JRE available (don't really need the JDK)? From looking around everyone simply recommends manually downloading and installing the binary that Sun/Oracle provides. ...
0
votes
0answers
992 views

Java and Sendmail HELO requires domain address

I am trying to set up emailing from a java web application hosted on a linux server (Cent OS) in apache. Sendmail is working fine from the command line as root on localhost but when trying to send ...
3
votes
1answer
6k views

how to uninstall JDK on centos x64 linux based system

I tried installing JDK in my CentOS x64 web server, it looks like I have made a hash of things :(... Now, how do I uninstall JDK 1.6.0_26 in Centos x64 linux? Regards, Arvind.
2
votes
2answers
2k views

CentOS server. What does it mean when the total used RAM does not equal the sum of RES?

I'm having a problem with a virtual hosted server running CentOS. In the past month a process (java based) that had been running fine started having problems getting memory when the JVM was started. ...
1
vote
2answers
453 views

Java process eating up all the “low memory” on my Xen VPS

This is on Centos 5, Linux 2.6.33.3-xenU #1 SMP Wed May 5 00:49:22 UTC 2010 i686 i686 i386 GNU/Linux I have a java server process which I normally run with the following configuration -Xmx700m ...
2
votes
2answers
472 views

How can I avoid press “Enter” during Java Sun (Oracle) 1.6 installation on Linux (CentOS)

It is quite easy to install java sun jdk 1.6.x using xxx.rpm.bin installer from java.com, but it forces you to press "Enter" for the license agreement during installation. This is a problem for me as ...
1
vote
1answer
2k views

javaws not found [closed]

I have a server which has centos installed in it. Recently I have installed jdk 1.6 into it. When I try to run java command from shell it's working perfectly fine. Java is stored into ...
1
vote
2answers
1k views

install java on centos vps through ssh

I'm a complete linux beginner so please keep your answer understandable for a noob :) I wrote a little java servlet and, in order to run it, acquired a VPS which runs Centos 5. now, in order to run ...
1
vote
2answers
4k views

JBoss thrown error looking up local address when starting

Hello im installing a fresh Jboss 5.1 in a Centos 5.5 machine. I dont have Apache installed. So when I try to start jboss using the comand ./run.sh I get the following error 15:13:57,414 INFO ...
0
votes
2answers
615 views

Phantom process killing

I have a java application running on a CentOS 5.4 server. Randomly, and seemingly without cause, these processes will die, not through the application exiting, or due to my killing it, but due to ...