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
362 views

JVM process resident set size “equals” max heap size, not current heap size

After a few reading about jvm memory (here, here, here, others I forgot...), I am expecting the resident set size of my java process to be roughly equal to the current heap space capacity. That's not ...
0
votes
3answers
127 views

How to update OpenJDK on RHEL

I need to update OpenJDK for one of the company servers (RHEL 6). It is currently running OpenJDK 1.7.0_09 but I need to upgrade to OpenJDK 1.7.0_45 I read some tutorials but they seem to use yum ...
0
votes
1answer
82 views

Prevent APT from overwriting custom files

My server runs a Java application that requires I replace a few java library files with ones I downloaded on my own. This has to do with JCE security extensions and isn't really relevant to my ...
1
vote
0answers
75 views

DRS: Unknown JNLP Location

We are using Deployment Rule Sets to limit access to the older JRE to well-known applications but are running into a problem. One business critical applications has the following properties (*s to ...
1
vote
1answer
317 views

RHEL Java Application returns “No space left on device” but only 3% used [duplicate]

My Java Application returns following Exception when saving a new file in /opt/wso2 on a CentOS 6.4: Caused by java.io.FileNotFoundException: ... (No space left on device) Caused by: ...
0
votes
1answer
49 views

504 error crash on openshift

I have deployed a java application in openshift. I am using bronze plan. My application is a scaled application and also uses 4GB of memeory. I got an 504 error crash two or more times in a day. ...
3
votes
2answers
667 views

Why is Wireshark not capturing certain POST requests?

If I use this filter in Wireshark: http.request.method == "POST" and use the vote buttons to vote for a stack exchange question, then Wireshark captures the corresponding POST request. I can also see ...
0
votes
0answers
155 views

CouchBase Client Fails to Cache Object less than 20mb. Time Out Error

I am caching my serialized POJO s(4mb-8mb size objects) concurrently into Couchbase server with CouchBase client (couchbase-client-1.4.3). for(upto 20 itertarions){ new Thread().start().. ...
0
votes
2answers
85 views

Java Deployment Ruleset not working

I've created a Java Deployment Ruleset that looks like this: <ruleset version="1.0+"> <rule> <id location="http://hpfweb.mydomain.com/" /> <action ...
0
votes
1answer
139 views

Record raw http requests in weblogic

We are running a java ee application on weblogic 12.1 that has a soap messaging component. We are having trouble with our soap responses and want to get more details so we can figure out exactly what ...
0
votes
0answers
405 views

java.lang.ClassNotFoundException: org.postgres.Driver when starting PuppetDB

When I start puppetdb I am getting the following error: cat /var/log/puppetdb/puppetdb.log 2014-08-06 11:29:50,558 ERROR [main] [utils.logging] Uncaught exception java.lang.ClassNotFoundException: ...
0
votes
1answer
28 views

Nginx: index mapping

I'm trying to install Nging as a frontend server for HTTP requests but the welcome page does not work: server { listen 8081; server_name localhost; root ...
0
votes
0answers
85 views

Glassfish-3.0.1 mixing user sessions - SSO

We are experiencing a strange behaviour, we have an application (jsf 2.2.4 embedded) that has a login form, glassfish has sso enabled and a custom realm (LDAP). We have also several applications (some ...
0
votes
0answers
60 views

Tomcat breaks encoding of uploaded file in CP1250

I have a Java web application which processes uploaded files in different encodings. When I run this app on Tomcat 7 installed on my Windows PC and I upload a file encoded in CP1250, everything works ...
-3
votes
1answer
109 views

debian - using apache virtual host as proxy [duplicate]

I have a server with debian 7.4 and apache2 installed. I have setup virtual hosts and all works well. Now instead of pointing the virtual host to a documentroot I need it to point to a port on the ...
0
votes
0answers
109 views

Handle many requests Web Services

I created a web service with Jersey and Tomcat in localhost. Now I want to expose my web services to all users in the world, so let's assume you have many concurrent requests. I have access to a ...
2
votes
1answer
1k views

How to replicate Memcache data among servers

A same question in SO can be found from here . But since I couldn't find any suitable answer, I am asking with additional info. I have many memcache clients but all of them access one memcache server ...
0
votes
1answer
177 views

Install Apache Derby on CentOS 6.4

I'm not a Java developer, my knowledge is very limited to this topic. I want to deploy a .war webservice on my Tomcat server, which fails most likely because of its Derby dependency (just a guess from ...
1
vote
2answers
214 views

Tomcat crashing after a few hours

I'm running a CentOS 6.5 64 bit OS with Tomcat and one web application. I use Apache (httpd) as a reverse proxy (ProxyPass) to the application. Until recently, it (Tomcat) has been running fine ...
0
votes
2answers
86 views

Multiple java versions

I have a server running rhel5 and jre 1.6. All my apps are running perfectly for now. But I want to install java 1.7 but keeping java 1.6 as the default so my running apps want be affected. If I want ...
2
votes
1answer
287 views

Error while installing jasperserver

I am about to install a jasperserver instance on my server. This is not my first jasperserver installation and I did this already on my host system and on a lxc. But now for some reason I get ...
0
votes
1answer
47 views

Strange behavour of which in a shell script launched as a forked process

So I have a java process that is doing some automation. One of the things it has to do is find the JDK home on random machines. So I wrote a shell script to try and find the JDK home assuming that ...
0
votes
1answer
75 views

Java 7 or 8 is required to Run .Jar (Linux)

This is a newly installed CentOS 6.2 x86_64 I have downloaded java 8u5 RPM for GNU/Linux to run a .jar file, but I am unable to. I have removed java through terminal through the command rpm -e ...
1
vote
0answers
143 views

Tomcat 8 with Apache, Configure Several Java & WordPress Domains

** PROBLEM SUMMARY ** I think the subject line defines my question pretty well, but I'm going to give an example of my current and goal setup for clarification. Considering the sheer number of ...
-1
votes
2answers
259 views

CENTOS Vs Windows 2008 R2 [duplicate]

We have an application running on Windows Server 2008 R2 with Apache WAMP, Tomcat, Mysql, PHP and java SE for last 4 years. Its a Web based ERP application. I would like to know if it makes sense to ...
3
votes
1answer
2k 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 ...
1
vote
1answer
129 views

Is the Kerberos SPN FQDN significant to the server, or is the keytab enough?

I spend most of my time as a developer, so I'm not familiar with all the details... I have a service running on a linux host. I want to use Kerberos to transmit identity information to the service. ...
4
votes
1answer
99 views

How to determine the Java version needed for different versions of DRACs

We have two different server machines in our workplace, they are: Dell - PowerEdge T620 - runs drac 7 (ver 1.35.35) Dell - PowerEdge 2950 - runs drac 5 (ver 1.65) Is it possible for me to ...
1
vote
1answer
314 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, ...
1
vote
0answers
117 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 ...
1
vote
0answers
2k views

Tomcat Memory - Setting in setenv.sh not respected

I have Tomcat 7.0.35 on CentOS. I have configured setenv.sh to have the following: export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" However under ...
0
votes
1answer
117 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
0answers
263 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 ...
0
votes
0answers
90 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
2k 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
70 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
105 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
599 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
22 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
665 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
630 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
339 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
136 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
200 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
88 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
59 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
968 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
2k 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
476 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 ...