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

learn more… | top users | synonyms

3
votes
1answer
716 views

Load balancing glassfish v4.0 CLUSTER with apache HTTP server: Location of apache

I am teaching myself to build clustered Java EE 7 applications. I am focused on Glassfish Server v4.0. Based on the official documentation (Chapter 7 page 133) , Glassfish can be loadbalanced using ...
3
votes
1answer
1k views

“remote file operation failed” on remote UNIX slaves since upgrading to Jenkins 1.502

Since upgrading to Jenkins 1.502, any jobs using git on remote UNIX slaves launched by SSH fail with hudson.util.IOException2: remote file operation failed: /var/ciworkspaces/web/workspace/DFT.BA ...
3
votes
1answer
3k views

How to configure Glassfish + NGINX to serve static files with NGINX?

I have a EC2 ubuntu with Glassfish v3 + Nginx setup to host my java web application. This application is deployed as a WAR file to Glassfish . The NGINX is currenty passing all request to the ...
3
votes
1answer
3k views

Clearing Java certificates cache (force reload certificates)

A simple question here. One application gave me this exception when trying to access a website with a expired certificate: java.security.cert.CertificateExpiredException So, I renewed the ...
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 ...
3
votes
1answer
432 views

java.lang.OutOfMemoryError on ec2 machine

I have a java app on a large instance that will spawn up to 800 threads. I can run the application fine as user "root" but not as another user which I created. I get the deadly. ...
3
votes
1answer
80 views

Orcale Java SE Critical security Patches on the 7th, do I have to update Java all the Linux boxes that host our apps?

according to Oracle, "All these vulnerabilities may be remotely exploitable without authentication, i.e., may be exploited over a network without the need for a username and password. " Does this ...
3
votes
1answer
295 views

SysRq, task list and missing processes

I've been troubleshooting a pretty difficult issue on Linux where a JVM appears to hang. As part of the investigation, I've been trying to capture the list of current tasks and their state using one ...
3
votes
1answer
3k views

Sun-JRE on CentOS-4.8 RPM error: post-install scriptlet failed, exit status 5

I have a server with CentOS 4.8 installed. The provided is rubbish, but there's only a few months left, and they're busy being sued by Chase bank, so I doubt I can get CentOS 5. I wiped the server ...
3
votes
2answers
1k views

Is the Cloud ready for an Enterprise Java web application? Seeking a JEE hosting advice

Greetings to all the smart people around here! I'd like to ask whether it is feasible or a good idea at all to deploy a Java enterprise web application to a Cloud such as Amazon EC2. More exactly, ...
3
votes
1answer
900 views

Configuring a Jetty web application on a different port

I'm brand new to Jetty. I'd like to ask if its possible to have Jetty listening on port 8080, however where specified, serve a specific web application under say /var/jetty/webapps/<appname> ...
3
votes
1answer
520 views

how to configure tomcat6 for ubuntu

i have installed apache tomcat6 for ubuntu 9.04 recenty.But it seems that some API's like servelet and http are not included althogh i have installed openJDK 1.6. somebody advised me to set JAVA_HOME ...
3
votes
2answers
1k views

Free java hosting? [duplicate]

Possible Duplicate: Anyone know of any Free Java hosting services? Could anyone tell me some free hosting on which I can run my java web application even for a day? I don't want free ...
3
votes
1answer
2k views

ActiveMQ with persistence in a database

Are any of you running ActiveMQ with persistence in a database? Even better, in an Oracle database? We're wanting to replace our current JMQ uses with ActiveMQ. The plan is to have two machines ...
3
votes
3answers
2k views

Installing Java Runtime for a Server: Something better than std JRE package?

I need to install a Java runtime on server machines. The JRE package from Sun acts as if I'm running on a client machine -- it installs WebStart, Auto Updating, probably browser hooks, and other ...
3
votes
1answer
3k views

Signing a Java Deployment Rule Set JAR using AD Certificate Services

I am tasked with deploying Java 7 Update 55 along with a Java Deployment Rule Set to all Active Directory Windows clients. I've managed to get a solid Java software deployment setup but I'm now ...
3
votes
1answer
281 views

SNMP query - operation not permitted

I am working on API that reads a lot of data via SNMP (routes, interfaces, QoS policies, etc...). Lately, I have experienced a random error stating: Operation not permitted Now, I use SNMP4J as ...
3
votes
1answer
110 views

How to determine what websites or local applications are using JVM/JRE

We run a large Windows shop -- tens of thousands of workstations. Most have a version of the Sun/Oracle Java Virtual Machine (JVM) installed. With all the security issues around the JVM, we'd like to ...
3
votes
1answer
162 views

HTTPS Connection error

I am trying to connect to a servlet from usinghttp url connection,i.e http://localhost:9481/test/NewServlet. It worked fine for me. Now I want to connect using https://localhost:9481/test/NewServlet. ...
3
votes
1answer
509 views

What are the best practices for monitoring and alerting for low level JVM metrics?

I'm looking to set up monitoring and alerting for java server based app and want to find some best practices for monitoring JVM specific metrics and for designing alerts based on those metrics. So ...
3
votes
2answers
703 views

Getting syslog-ng to recognize a java stacktrace

We are using the log4j SyslogAppender to send our logging statements to syslog-ng. Once the messages are in syslog-ng, we are having trouble getting syslog-ng to recognize that a stacktrace goes with ...
3
votes
2answers
4k views

Access keystore on Sun ONE Webserver 6.1 for 2048 bit key length SSL

We want to get 2048 bit key length CSR requests. The browser based GUI provides us with a 1024 bit CSR and I don't know how to change that. It seems that 1024 bit key lengths will no longer ...
3
votes
1answer
2k views

Kill FINished sockets (using libpcap - tcpdump/tcpkill)

I'm trying to create a small service that monitors and kills sockets which have the FIN flag. I can get them with tcpdump (I also tried tcp[13] & 1): tcpdump "tcp[tcpflags] & tcp-fin != 0" ...
3
votes
1answer
368 views

high level design of sms transaction handling system

I have been tasked with designing a system do handle SMS transactions. Transactions come in form of HTTP requests from a service provider. In the process of handling transaction, system in question ...
3
votes
1answer
2k views

Connect to SVN repository with Netbeans using SVN+SSH

I am trying to connect to a SVN server in order to import my project into it with svn+ssh authentication method. I am using the NetBeans IDE (6.8) with subversion plugin installed on Windows XP SP2. I ...
3
votes
2answers
3k views

Cant start Java, error Could not reserve enough space for object heap

Im trying to get Solr up and running, at first I had the JDK.1.6 working fine, then tomcat running fine too. All of a sudden when trying to run Solr for the first time however I get the error message: ...
3
votes
5answers
5k views

Unable to find javac after installing OpenJDK 1.6 and 1.7

I am currently at a loss as to why this is happening. I did some basic research by running: whereis javac -and- find / -name javac ...and I came up with nothing I searched the web for answers but ...
2
votes
7answers
398 views

Do you consider Java on your Linux server to be a problem? [closed]

If you wanted to use a utility on your Linux (or other Unix) server box, and it required Java, and no other application on your server required Java, would you be turned off that you had to install ...
2
votes
3answers
3k views

Is there a way to use Java and PHP on the same Apache server or at least, same port?

I am pretty new to Java for Web and my question is if I can use Java and PHP together? I know I can use them together, let's rephrase the question, is there a way to access them at the same port? ...
2
votes
4answers
2k views

java memory allocation under linux

I'm running 4 java processes with the following command: java -Xmx256m -jar ... and the system has 8Gb memory under fedora 12. however it is apparently going into swap. how can that be if 4 x 256m ...
2
votes
3answers
2k views

Ubuntu: downgrading Subversion from 1.6 to 1.5

I installed Jaunty Alpha, and along with came Subversion 1.6. My IDE (Intellij Idea 7) does not support Subversion 1.6, so I would like to downgrade my Subversion back to version 1.5. How can I do ...
2
votes
2answers
7k views

Why Tomcat doesn't stop?

When I run command: catalina.sh stop I receive error: org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at ...
2
votes
2answers
592 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 ...
2
votes
3answers
847 views

VPS : How to deal to servers without swap?

I have recently deployed a java application on a VPS but It keeps crashing because the JVM runs out of memory after a while. I never had this issue on other 'low memory' servers thanks to the swap but ...
2
votes
3answers
8k views

What port is the Websphere app server's admin app on?

I've started Websphere on my local box and I can't remember what port the admin app should be on. Any ideas?
2
votes
5answers
720 views

Can we Uninstall Java on Production Server?

A vulnerability scan on a web server told me that my version of Java needs to be updated. We run .NET web applications on this server, and to my knowledge there is nothing that uses Java. How can I ...
2
votes
8answers
4k views

What are best practices regarding multiple JVMs on a server?

Many third party products require a specific version of the JRE or JDK and many of our servers have multiple duties. Application teams argue they should not care where Java is installed. Most of the ...
2
votes
1answer
7k 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 ...
2
votes
2answers
185 views

Is it safe to deply java 7 se on my network? Is java 7 compatible with java 6?

I am doing some sysadmin work for a small non-profit with about 20 windows XP PCs. I am performing standard maintenance as well as some other work. I am confused about java 7. For consistency sake I ...
2
votes
2answers
4k views

unable to install sun jdk on ubuntu

I have Ubuntu 12.04 x64 and I'm trying to install sun jdk for opennms. sudo apt-get install sun-java6-jdk when i run above given command i get following msg: root@fido:~# sudo apt-get install ...
2
votes
2answers
1k views

can you move the java installation to another directory?

I set the environment variable to setup JAVA_HOME. Problem is, java is installed in c:\program files\blah\blah\ (notice the whitespace in the folder path). so this works: "%JAVA_HOME%\bin\java" ...
2
votes
3answers
3k views

Cannot install JAVA SDK on UBUNTU

Note: I followed all the instructions here: http://blog.taragana.com/index.php/archive/how-to-download-install-jdk-6/ I went to the java.sun website I ran wget on : Java SE Development Kit 6u16, ...
2
votes
3answers
3k views

JDK install - no matching plugin

I'm trying to install JDK on my remote Debian box. I've been following the directions at this page. Problem is, the make-jpkg fails. Here's the output I get (plus the version of java-package I'm ...
2
votes
3answers
104 views

How can I verify the heap size startup arguments for an active JVM that's running as a Windows service and loading JVM params from registry?

I've got a Windows server with a third-party application on it that runs as a Windows service. The service/application is actually a java virtual machine however it displays in task manager as an exe ...
2
votes
3answers
3k views

JMX connection to Tomcat running on Amazon EC2

My Tomcat 7 process, which I run on a server on Amazon EC2, has settings such as these in CATALINA_OPTS which should allow me to connect for JMX monitoring remotely: ...
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. ...
2
votes
2answers
4k views

Java: Tomcat slow serving static files?

I'm running an instance of Apache Tomcat (5.5) on a Windows 2008 platform. I think I'm seeing an issue related to concurrent file access / locking. When the number of concurrent HTTP threads is ...
2
votes
3answers
3k views

How to determine SQL causing Oracle CPU Spikes

I have a J2EE Spring/Hibernate webapp using Oracle 11g for persistence, occasionally in production the Oracle CPU spikes to 100% usage, restarting Tomcat drops the Oracle CPU. I am unable to ...
2
votes
2answers
14k views

How do you install a JDK6 on Solaris10 sparc 64bits?

The installation steps of a JDK6 for: Solaris 32 bits Solaris 64 bits are quite straightforward but: are in two separate documents do not deal with local zone (container) installation do not ...
2
votes
3answers
149 views

where would be a sane place to put the jre folder?

I'm installing a debian server. The server needs a specific version of java, so I'm installing from the self-extracting file. But I'm new to the linux world and I want to put the jre in a place that ...