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

learn more… | top users | synonyms

1
vote
0answers
147 views

Tomcat 7 went <defunct>, cannot kill the process. What might be the cause?

I was running tomcat7 production server for several days, and then suddenly it was unreachable by the http port. Strangely though, the background processes were still running as can be seen by the ...
0
votes
1answer
128 views

How to prevent a specific request to redirect from http to https in SSL configuration?

I am facing one issue regarding ssl. Basically i want to stop redirection of only one request from http to https in Jboss 7. According to the requirement all http request should be redirected to ...
0
votes
1answer
347 views

How do I change Jboss' logging directory

I'm running jboss-as 7.2. I'm trying to configure all log files to go to /var/log/jboss-as but only the console log is going there. I'm using the init.d script provided with the package and it calls ...
8
votes
1answer
367 views

Good practices regarding discontinued software in production (OpenDS)?

How bad is it to use OpenDS, which is not actively maintained, and had the last patch in 2010, and require JDK6(which is also obsolete) in a production environment?(Although at the backend and not ...
0
votes
0answers
98 views

Embedding a browser in a 32bit Java/SWT/GTK application on 64bit linux

I have created a Java Application that uses SWT 3.6 and now I want to use the browser widget on a 64bit Debian 6.0 system while using a 32bit Java JRE and the 32 bit SWT/GTK libraries. I didn't feel ...
3
votes
2answers
3k views

Java applets not starting in IE on Windows Server 2008 R2

I can't get the Java ActiveX Add-on to work on a Remote Desktop Server 2008 R2 with Desktop Experience enabled. This is what I get after enabling compatibility mode from http://www.java.com/verify : ...
0
votes
0answers
73 views

lxc - java out of memory issues

I have a set of virtual machines on lxc container that run Ubuntu 14.04. All share same host and some of them are currently experiencing problems with java. Running java -version throws OutOfMemmory ...
0
votes
2answers
126 views

FTP to multiple servers using one domain without load balancing

So i'm looking into how to allow users to FTP into different servers just through one domain such as ftp.mysite.com. Each of the servers will be unique in a manner of speaking, running their own ...
3
votes
1answer
688 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 ...
1
vote
0answers
25 views

JRE fragmentation and solutions

In my environment, we have several web based applications that leverage Java for various web components. The issue is, each one of these applications requiring a different jre version. We are always ...
0
votes
1answer
809 views

Tomcat & Java not listening on IPv6

We've got a webserver running Ubuntu 12.04 LTS, Tomcat 7 and Oracle Java. So far, we have been serving a web app on IPv4 address on ports 80 and 443 (80 redirects to 443). I'm trying to make the ...
0
votes
1answer
819 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
380 views

Solr: Using multiple SQL server data sources results in error: “…\sqljdbc_auth.dll already loaded in another classloader”

I have one Solr instance running in Jetty with JRE 8 with 3 collections (same as cores, yes?) and more to come. I am indexing data from SQL Server, connecting using NTLM as the identity of the Java ...
0
votes
0answers
146 views

XenServer Console

I just follow this tutorial to access XenServer Console. I can run the first example, and it's working fine, but for the second example it's not working. I cannot access to console with a java ...
1
vote
1answer
2k views

Installing oracle 7 JDK on FreeBSD 10 — Wants i586, but on AMD64

I need to install Oracle Java 7 on my FreeBSD 10 server but I am a bit confused. I am using the ports, and when I do a make install in the /usr/ports/java/linux-sun-jdk17 directory I get the ...
3
votes
2answers
218 views

After kill -9 process won't disappear and port is still bound

We have a Java server application running on Mac OS X. Occasionally this application has become unresponsive, and we have resorted to killing it with kill -9. However, the process doesn't disappear; ...
0
votes
0answers
95 views

error in getting output of jsp pages in apache tomcat 7.0.53

How can I get the output of javascript page in Apache-tomcat-7.0.53? I am trying to design a web page using javascript in Apache tomcat 7. I have created sub folder under webapps i.e hellojsp and ...
0
votes
1answer
64 views

ColdFusion 9 server not restaring - “Permission denied” errors

I had to restart my ColdFusion 9 server on CentOS because of a memory performance issue, but now the server won't restart again. When looking at cfserver.log I can see how there's "Permission denied" ...
0
votes
1answer
1k 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 ...
2
votes
0answers
3k views

How to solve SocketException: Permission denied: connect

I recently encountered a problem that is giving me a headache and I need help ... The System consists of two subsystems, called A and B, each running on a standalone Tomcat instance and currently ...
1
vote
0answers
599 views

Java Deployment with automatic updates (without user confirmation)

Here in our company our users use 1 Java application which is updated every monday and always needs the latest java update. We install Java on Clients through SCCM 2012 R2. I already know how to do ...
-2
votes
2answers
246 views

Vertx: What do these errors mean?

I'm trying to run a java applet using the Vertx platform but getting the following errors, as I am not a java person.. I'm having a hard time understanding how to fix these, your help is much ...
0
votes
0answers
77 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
23 views

Are running JVMs affected by JRE upgrade

The title pretty much says it all: I would like to perform an apt-get upgrade on my server to get the latest JRE (among other packages), but there are a couple of JVMs running which should not be ...
2
votes
0answers
468 views

Testing NTLM\kerberos against a public url

I am creating a java open source package that makes it easy to connect with httpclient 3.1 to resources that are protected by ntlm v1/v2 and kerberos. I need to test this tool against real world ...
-1
votes
1answer
347 views

Solr process gets killed immediately after starting

I just downloaded solr 4.8.0 from the apache website to my ubuntu 12.04, 64 Bit, 3GB ram VPS server and extracted it. Then I installed the openjdk-7-jre using this command: sudo apt-get install ...
0
votes
1answer
471 views

Alfresco installation - 4.2f “Could not find or load main class”

I've got a server that was running 4.2e. I heard about the 4.2f update, so I installed that (alongside, per the upgrade/validation instructions), but it fails to start at all. catalina configtest ...
0
votes
2answers
2k views

MySQL database really slow with a really big table [closed]

I have a MySQL table with 150 million rows. Below is its data structure. Below is some of its data. Now, using PHP My Admin I ran the below command. SELECT `iwords` FROM `wordstable` WHERE ...
0
votes
1answer
619 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
1answer
84 views

on my windows 2008 machine rt.jar is deleted from jre\lib folder after reboot

I am observing a strange behavior on my Windows machines. I have a Server application(jboss 6.1.0) that uses Java JRE 1.6u29. Machine reboot is causing the rt.jar file within the JRE to be deleted. ...
2
votes
0answers
422 views

Maven - resolving “java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors”

I am attempting to build/install this project on an Ubuntu 12.04 box: https://bitbucket.org/petermr/pdf2svg However: mvn clean install Fails to build due to getting errors like this: ...
1
vote
1answer
734 views

iDRAC6 JViewer Unusable

I'm getting the following error when trying to launch the Virtual Console, but the Virtual Console Preview works fine (it displays a small preview about once a second). I've confirmed that my M610 ...
-2
votes
1answer
693 views

Get instance-id of EC2 instance via Java [closed]

I have an AWS EC2 instance deployed as a server, and I need to find out its public IP. Howver, to know that I must first know the instance-id of my instance. Objective: I have a Java code running ...
0
votes
1answer
352 views

Will tcnative-1.dll version 1.1.30 work with tomcat 7.0.29 without any issues?

In order to fix the Heartbleed vulnerability a new release of the tomcat java native libraries is being created. Will this release work with older versions of Tomcat 7 such as 7.0.29, or will this ...
0
votes
0answers
120 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 ...
1
vote
0answers
255 views

Amazon ec2 - Error occurred during initialization of VM Could not reserve enough space for object heap

I don't have any experience of working with servers, so please explain your answer in detail or provide a link to support your answer. I want to restart server and executing command for that gives ...
1
vote
2answers
2k views

Non-heap memory leak JVM

I have a glassfish v4.0 set up on Ubuntu server running on oracle java virtual machine and jvm process resident memory size (got via "top" command) grows up until jvm doesnt have memory to create new ...
1
vote
0answers
279 views

Oracle's JDK RPM doesn't provide “java”

I have the Oracle RPM for the Java 7 JDK installed on an Amazon EC2 instance. The Oracle RPMs for Java 7 JDK don't "provide" java nor jre. RPM reports that it provides the following: # rpm -q jdk ...
0
votes
0answers
377 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
1answer
454 views

Local Proxy tool which authenticates against NTLM, sits on top of the Java VM and possibly transparently passes through HTTPS requests

I'm looking for a local HTTP proxy which I can run locally on my machine. This proxy accepts HTTP and HTTPS request and passes them upstream on to an external corporate proxy. The local proxy needs to ...
3
votes
3answers
7k views

How can I install WildFly 8.0.0.Final as service on Ubuntu Linux?

I am trying to install the WildFly 8.0.0.Final application server on a Virtual Machine running Ubuntu 12.04 LTS. I've done some searches on Google, but I found only third-party scripts and, I think, ...
3
votes
1answer
273 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 ...
0
votes
1answer
141 views

Install Java 1.7 non-interatively on Ubuntu 12.04

I need to install Java 1.7 on several machines and hence I want to do it using a script. The problem is the installation asks for certain options (to be specific 'Y', then 'OK' and finally 'Yes'). I ...
2
votes
1answer
141 views

Any way that I can feed tshark a live capture written to a file without reading from the start?

I'm capturing traffic from a microtik router to my linux server and writing to a big file. I'm searching for a way to feed from the current file end forward since it is a several GB file and I can't ...
0
votes
1answer
893 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
1
vote
0answers
1k views

apache tomcat 7 stops whenever request recieved

i m working on netbeans IDE 7.1 and using apache tomcat server 7.0.22.0 its normal whenever i deployed the project but whenever client side application requested for service tomcat server gets stop ...
0
votes
3answers
12k views

The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program"

I have installed JDK 7 and tomcat 7 and set the following environment variables: PATH: ......C:\Progra~1\Java\jdk1.7.0_51;F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52\bin; CATALINA_HOME: ...
0
votes
1answer
578 views

Java and /etc/resolv.conf DNS server failover

Executive Summary Does Java query the next resolv.conf name server entry if the first one fails or times out? What is the default timeout at which Java will consider a resolver "down"? Details In ...
1
vote
1answer
3k views

Java Deployment Ruleset.xml Not Working

An recent upgrade of our time card system forced us to upgrade all our workstations to Java 7u51 (we were on 6u45). We have another Java-based application which is critical to our business that is now ...
1
vote
0answers
380 views

Monitoring Informatica Java processes with JConsole on Windows Server 2008

I am having an issue getting JConsole to connect to my Java processes. Let's start with the basics... Java Version As you can tell from the path below, we are running Informatica with packaged Java. ...