Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms

learn more… | top users | synonyms

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
3answers
364 views

ubuntu package for javax.mail

My god, I'm just trying to send an email... I'm in Ubuntu (12.10), trying to send email from Java. So, javax.mail. Is there a simple Ubuntu package for this? Seems like a common need. I can download ...
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
1answer
291 views

best practice or tools for stress test on a Tomcat application server and MySQL?

I am using Tomcat 6 application container for my web site. HTTP requests come from mobile phones and every time server receive a httprequest it opens MySQL connection, insert some data in it and then ...
1
vote
2answers
627 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 ...
1
vote
2answers
246 views

FastCGI on lighttpd no data received

I have a simple FastCGI script: public static void main (String args[]) { int count = 0; while(new FCGIInterface().FCGIaccept()>= 0) { count ++; ...
2
votes
1answer
262 views

Issue with solr memory usage

I'm having memory problems with a Solr slave instance. The problem is that every time the slave replicates new changes from the master, the slave starts a new searcher, and apparently the old one ...
2
votes
1answer
132 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
4k 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 ...
1
vote
1answer
270 views

Overhead of multiple Java servlet containers

I am setting up a development server for a team I am working with. They develop JavaEE applications, which are deployed and run as WAR files. They will inevitably need to run one or two instances of ...
2
votes
0answers
182 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 ...
0
votes
1answer
223 views

Can't update scala on Gentoo

As I wanted to test Scala 2.9.2 on my gentoo system I tried updated the package but ended up with this error. I can't figure out where the problem may be: Calculating dependencies ...... done! ...
0
votes
1answer
120 views

Tomcat vs. IIS - multiple worker processes

The Application Pool feature of IIS allows to run several applications each separated to each own isolated processes. Is there any equivalent in Tomcat? Or do I have to deploy Tomcat several times to ...
3
votes
2answers
1k views

How to setup tomcat 7 as a server on windows 2008 server

I setup the tomcat7 as a service as below: c:\Program Files (x86)\Tomcat7\apache-tomcat-7.0.32\bin>service.bat install Installing the service 'Tomcat7' ... Using CATALINA_HOME: "C:\Program ...
1
vote
2answers
154 views

Different memory consumption with similar configurations

I have two different tomcat 7 instances on two different servers (oracle jdk7) with nearly equal hardware configuration (both > 24 GB RAM). Both tomcat servers have the same configuration and the same ...
0
votes
0answers
93 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 ...
0
votes
1answer
462 views

Install .war File on Tomcat, get 503 Error

I'm trying to install "YouTrack" on an ArchLinux box with Apache & Tomcat. I'm totally new to Tomcat though and I'm getting a "503 Service Temporarily Unavailable" error. I installed Tomcat7 via ...
1
vote
0answers
174 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: ...
2
votes
0answers
120 views

virtual memory commited

After a server bounce happens, and after around 40-45 days time period, we receive continuous “Committed Virtual Memory” alerts which indicates the usage of swap space in the magnitude of >4GB This ...
0
votes
0answers
402 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
1answer
206 views

Java process failure (hadoop, hbase)

Anytime I am running hadoop/hbase process from a command prompt I get an error: /usr/local/hadoop/bin/hadoop: line 320: /usr/lib/jvm/jdk1.7.0/bin/java: cannot execute binary file ...
2
votes
1answer
4k views

Java update/install via group policy

I trying to deploy the latest Java RE version via GP, Java 7 update 9. I want to update computers that are currently running an older version of Java, a mixture of 7.6 and 7.7, some computers are ...
1
vote
1answer
2k views

JVM tuning in JBOSS AS 7

Can anyone explain as to where and how do I configure the following JVM parameters to tune JBOSS. I am using the latest JBOSS AS 7. I am using openJDK-6 on Linux. The following are the parameters ...
1
vote
1answer
143 views

Got Permission denied with JAX-WS client on tomcat6 server

I have a strange behaviour with a java client that uses webservice stubs generated by wsimport. The client says sth about Got Permission denied: connect while opening stream from ...
1
vote
2answers
604 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 ...
2
votes
0answers
176 views

How to use JMAP with Tomcat when Tomcat is running as a service?

I want to grab some memory snapshots of a Tomcat instance in production. This is on a Windows 2008 server. I can run JMAP against Tomcat when I start it with startup.bat but the client is using ...
2
votes
2answers
1k views

Scheduled task fails, but runs fine when triggered manually

We have a 2008 R2 server with a scheduled task that runs a .bat file which executes a call to a Java app. The task triggers just fine, but stops executing anything after it creates the log file. ...
0
votes
2answers
784 views

Open ports for Apache Tomcat-7.0.32 on Linux Mandriva

I installed Apache Tomcat-7.0.32 on Linux Mandriva and I want to make it accessible. for this I need to open ports in iptables. I added the following rules- iptables -A INPUT -p tcp -m tcp --dport ...
2
votes
2answers
209 views

can not run java inside grsec chroot

java runs well inside common chroot. however in a grsec hardened chroot it complains it has no enough memory to build VM. any ideas of how to make it run cause i really need a hardened chroot. ...
1
vote
1answer
595 views

Linux Huge Pages Usage Accounting

I have configured Huge Pages for use with Java and it appears to be working well although I have a question about the accounting in /proc/meminfo. To illustrate # grep HugePages /proc/meminfo ...
1
vote
1answer
1k views

JBoss https on port other than 8080 not working

We have a server with two JBoss instances where one runs on 8080, the other on 8081. We need to have HTTPS enabled for the 8081 server, firstly we tried enabling https on the 8080 port instance by ...
0
votes
3answers
159 views

Can I put Tomcat offline when no request?

I have been using Tomcat 7 on Ubuntu Server for a little website. But there are other processes working on the server and I think Tomcat has some high load on both CPU and memory. For that reason I am ...
2
votes
1answer
4k views

How to install java-1.7.0-openjdk-devel on RHEL Server 6.3?

I have need of installing a Java 7 development environment on a RHEL 6.3 (system details are below). Following the official OpenJDK directions I tried yum install java-1.7.0-openjdk-devel (as root). ...
2
votes
1answer
3k views

JBoss 7.1.1 Clustering, JBAS014775:New missing/unsatisfied dependencies

I am following https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto I managed to get 2 servers running. One slave. One master. I managed to get to "Dry Run" I got: [Host Controller] ...
0
votes
1answer
109 views

Why my server's load suddenly becomes awfully high and flaps sharply? [closed]

The machine(linux) runs three servers wating for TCP connections, writing in JAVA. After they runs steadily for about two weeks, the system load suddenly raises utterly high to 30.05, 12.93, ...
1
vote
1answer
157 views

Tomcat OutOfMemory after switching JVM

I have a Tomcat6 server running on Debian squeeze there are 4 webapps running on it, and an in-JVM ActiveMQ server. It has been running for about a year with the same memorysettings, with openjdk-6. ...
1
vote
1answer
37 views

Tomcat looks different when installed using yum and apt-get

I just installed tomcat6 on Ubuntu using apt-get and on CentOs using yum. When I visit www.domain.com:8080, I get 2 different looking page. Not that it really matters if just the visuals, but did I ...
1
vote
1answer
673 views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
0
votes
0answers
217 views

Automatic updating of newer JRE on GNU/Linux

How can a GNU/Linux machine be set up to automatically update a newer version of the Java Runtime Environment (JRE)? The difficulty is wanting to use a newer version of Java (Java 7, at present) and ...
0
votes
1answer
379 views

Tomcat “connection interrupted” with ssl

I can access Tomcat on port 8080, but not on 8443. When I try o get there, this is the error I get in Firefox: The connection was interrupted The connection to the.fqdn.com:8443 was interrupted ...
0
votes
0answers
270 views

Monitor everything of webapp on Apache Tomcat

I want to monitor every single movement of my web application deployed over apache tomcat, request,response,time,classes,query,object,memory leaks every thing Which open source tools are available ? ...
2
votes
0answers
129 views

How to create KeyStorePass in server.password In jboss

I am using Jboss4.2.2 configuration for Configured Identity with Password Based Encryption (PBE) can you any one tell me about what is use of server.password ,and how to creaed it. ...
2
votes
1answer
896 views

Configure jboss web application to support SSL

I have a Spring JSF web application which is deployed in JBoss6 Application Server which I want to add SSL(i.e. https). How would I do this in Proper manner with JBoss6? I've enabled the ...
1
vote
1answer
498 views

Migrating WebLogic 10.3.0 to new host. Slow managed server startup times

We are migrating our Blue Martini Commerce application (only supported on WebLogic 10.3.0) to a new host (Redhat 6.3 on a VMWare ESX vm). We are seeing extremely slow start up times for our managed ...
3
votes
4answers
470 views

Apache httpd Java Application?

I have an Apache httpd server (not Tomcat) installation with various applications running on it. One application that I just "installed" is a Java application. The application was installed into the ...
8
votes
4answers
2k views

is it possible to install java without the browser plugin?

I need java, but I don't want any browser to be able to access it. Is it possible to remove the whole applet/browser plugin code?
-2
votes
1answer
162 views

Java login through LDAP [closed]

I am starting to write an application for our office and the first step is authentication through LDAP where all users already exist. Everything I need is a code in Java to check if the pair ...
0
votes
1answer
161 views

chef specify openjdk package on ubuntu

I'm creating a Vagrantfile that uses chef solo to install OpenJDK on Ubuntu 12.04. Is there a way to specify which specific package of OpenJDK is installed? This way I can be sure I'm consistent ...
1
vote
1answer
57 views

Data lost after Hdfs client was killed

I wrote a simple tool to upload logs to HDFS. And I found some curious phenomenon. If I run the tool in foreground and close it with "Ctrl - C", there will be some data in HDFS. If I run the tool in ...
1
vote
1answer
93 views

Multiple copies of JBoss acting as one?

I have a few ideas how to solve the problem, but one question about jboss clustering. Please, keep in mind these applications were written very poorly, that is why they require so much memory and ...