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
votes
0answers
10 views

Is it possible to migrate a jsp website from dedicated server to shared server?

I have a jsp website that is running on Amazon EC2 server on Apache Tomcat 6. My client wants to migrate the website to a shared server(godaddy). Is there any way to migrate the website to a shared ...
0
votes
0answers
12 views

VM State Transitions (core dump)

I have been looking over a set of core dumps for a fatal error we experience using the HotSpot JVM (version 6). The "VM State" field caught my attention looking through the files. I have seen all 3 ...
-1
votes
0answers
7 views

Error trying to connect to any providers for xa recovery - OpenShift

We have an OpenShift account and suddenly it started showing an insane error and we have absolutely no idea what is causing the problem: " 07:02:58,675 WARN [com.arjuna.ats.jta] (Periodic Recovery) ...
5
votes
2answers
402 views

Disabling SSLv3 but still supporting SSLv2Hello in Apache

Many SSL clients, notably JDK 6, use the SSLv2Hello protocol to handshake with the server. Using this protocol does not mean you are using SSL 2.0 or 3.0 for that matter; it is merely a handshake to ...
-3
votes
0answers
22 views

Recommend local server for 50 user [closed]

I am new to the server side. I am asked to setup a local server for 50/60 users max. The server will be running linux, mysql and a java application server (for a CRUD application, using spring, ...
0
votes
2answers
21 views

JDBC Connection Pool details on Glassfish

In the context of configuring Session Beans for Entity Classes, I can get some basic information from Glassfish v4 on Ubuntu about the JDBC connection pool from the CLI with asadmin, but would like to ...
1
vote
2answers
68 views
+50

Preserve imported CA Certificates through Java upgrades

I have imported internal Certificate Authorities into Java's CA keystore. (Using keytool to import into the "cacerts" store) This works fine and dandy, until I update the Java RPM. At which point ...
0
votes
1answer
30 views

Connect with Java to Amazon EC2 instances

I have written a client-server application in Java and I want to run it on Amazon EC2 Ubuntu instacnes. The client runs on an EC2 instance and the server on one and the third EC2 instance is for ...
0
votes
1answer
32 views

Using self signed certificates with Tigase XMPP server

I am trying to use a self signed certificate, generated using http://docs.tigase.org/tigase-server/5.3.0/adminguide/#_server_certificates, to start the XMPP server. However, the server does not start ...
0
votes
1answer
34 views

tomcat not able to start in jpda start mode

This is my catalina.sh #!/bin/sh JAVA_HOME="/usr/local/java" CATALINA_PID="/usr/local/tomcat/tomcat.pid" CATALINA_HOME="/usr/local/tomcat" JAVA_OPTS="-Xloggc:/usr/local/tomcat/logs/gc.log -Xms3072m ...
2
votes
0answers
60 views

Inconsistent data transfer throughout Ubuntu server causes system instability and data corruption [closed]

Update 2 We replaced the CPU, and all is good. It was a busted CPU! Update We replaced the motherboard, and are still getting the exact same problem. Does this mean it is a faulty CPU? What else ...
0
votes
0answers
11 views

What could be the possible causes of a “java.io.IOException: Bad HTTP request, less data is received than expected” error?

I have a GlassFish server with a lot of "java.io.IOException: Bad HTTP request, less data is received than expected" errors in an application instance log. Anyone knows what could be the possible ...
0
votes
1answer
18 views

OpenShift allow permanent external access to PostgreSQL [closed]

I have an OpenShift gear with Nginx and PostgreSQL, and need to allow a Java applet (served from Nginx) direct access to the PG database. I've already tried to edit ...
0
votes
0answers
21 views

How to profile how much memory my tomcat server needs?

I'm running a tomcat server on my own for the first time and I was shocked by how much memory Java apps need compared to apps in other languages. Since I am paying a web host, I want to determine how ...
2
votes
1answer
43 views

ES fills up heap slowly over time and hangs at 14GB, while biggest index is 164MB?

I have an issue with Elasticsearch, at some times, it tries to run GC continously since this one is unable to free because heap size set to 14GB (min and max) is said to be completely allocated: ...
0
votes
2answers
26 views

Hide/mask tomcat from open access

How to mask tomcat app adress from public access easily. Let's say we run it on default port 8080. So myapp.com:8080 is easy to scan, whatever port we use it's no problem. Lockoutrealm that tomcat ...
0
votes
0answers
44 views

Hadoop data node start fails with error: java: cannot execute: Permission denied

I am facing an error in starting a Hadoop Data Node from Ambari WEB interface, and I need your help to resolve this. As always the error message is very comlex and long, but first thing first. Even ...
1
vote
0answers
106 views

Unable to convert JKS keystore to Oracle Wallet using orapki

I have generated jks keystore using keytool and using the jks keystore I have csr. The same csr I have sent to Signing authority. The Signing authority have given the trusted ...
0
votes
0answers
57 views

How to protect tomcat application - user authentication with fail2ban?

AFAIK tomcat6 does not use Apache std .htaccess auth, but has own user authentication method. My question is: How to protect it against brute force attack with fail2ban ?
0
votes
0answers
20 views

Why first-time reading file from hdd is slower then next ones? [migrated]

I am measuring my HDD speed with a self-written program. (This is a sort of homework, so I don't need recommendations about existing tools to do that). I do it with the following piece of code: ...
-1
votes
0answers
25 views

Nagios plugin **check_jstat.sh** gives me “Could not synchronize with target”

I'm checking old Nagios services errors and and I found that our JVM memory status is in critical status. Nagios status information says "Remote command execution failed: cat: /proc//status: No such ...
0
votes
0answers
17 views

Client authentication on tomcat fails

I have a Apache Tomcat 7.0.39 server running on a Windows server machine and I'm trying to enable client authentication. I first tried this using eclipse on a client machine I have (also on windows ...
0
votes
0answers
63 views

tlsv1 alert internal error - SSL certificate misconfiguration on Tomcat7

I have configured a certificate on my tomcat7 a few weeks ago and, after having an issue using a facebook plugin on my website, the Facebook Plataform Team pointed that: 'this issue is caused by an ...
0
votes
1answer
34 views

TOP processes by system time

I have a system running 2 processes - MySQL and Java I'm seeing 20-30% of the time spent in %system. I've looked around to try and find a way to identify which what the balance of the system time is ...
12
votes
4answers
322 views

How to convince my Administrator that Java ON A SERVER is not insecure per se?

The Application We have a small Java application which uses some Camel routes to pick up uploaded files from a webserver, process them and send out some e-mails with the results. The server on which ...
0
votes
0answers
125 views

Upgrading to Java 7u65 breaks my Deployment Rule Set for Oracle applications

My company uses an older version of an Oracle application that requires Java 6u45. Naturally we want to be secure, so we use a Deployment Rule Set to specify 6u45 for that internal application and let ...
0
votes
2answers
60 views

Changing process priority in linux for jvm process

Is it fine if I change the JVM process priority through nice at server machine [linux]. I wanted my JVM process to use maximum resources from OS. What is the standard practice? Do people tune the ...
0
votes
1answer
47 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
42 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
87 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
24 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. ...
0
votes
0answers
77 views

401 Unauthorized response from java webservice

I am getting the 401 Unauthorized response while I am calling java webservice (JAX-WS) from C# client ,It was working on my development environment but not working on production server. I can access ...
3
votes
2answers
498 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
66 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
47 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
0answers
250 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
26 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
192 views

Set JAVA_HOME is not working

I'm trying to set JAVA_HOME in CentOS 6.5 by editing the file ~/.bash_profile and adding this line at end: PATH=$PATH:$HOME/bin export PATH export ...
0
votes
0answers
44 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
31 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
42 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
23 views

Using Java DRS with JNLP files

I am working on creating a DRS (http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/deployment_rules.html) for a corporate environment. Currently the organization is using JRE6U26, ...
0
votes
0answers
52 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
147 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
2answers
61 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 ...
1
vote
0answers
189 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
25 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 ...
1
vote
0answers
81 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
147 views

CENTOS Vs Windows 2008 R2

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
0answers
640 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 ...