Tagged Questions

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
1answer
22 views

What ciphers are compatible with both Java 6/Tomcat 7 and IE8 (XP)?

I have disabled SSL3 and restricted the ciphers available to a recommended set but now I can't access my server using IE8 on Windows XP. If I allow all ciphers then I can connect using IE8 but when I ...
-2
votes
0answers
11 views

Unable to start mule-standalone-3.5.0 server in my local system [on hold]

I am unable to start mule standalone server 3.5.0. in my Windows7 PC. My java version installed is "1.6.0_45" and it is 64 bit. I have set the Path, JAVA_HOME, MULE_HOME environment variables in ...
-2
votes
0answers
16 views

small java program to find average, i wrote, but i can not compile, my friends can. please help me [migrated]

import java.util.*; class Example{ public static void main(String args[]){ Scanner input=new Scanner (System.in); int a; a=input.nextInt(); if (a>=90 && a<=100){ ...
0
votes
0answers
5 views

com.sun.aas.jws.signing.alias Not working in Glassfish - still self signed

I found some articles like this one stating that in order to tell Glassfish to use a specific certificate to sign your Java Web Start code, you should set -Dcom.sun.aas.jws.signing.alias=myalias in ...
0
votes
0answers
17 views

Memory usage of Postgresql and play framework

I am running a play framework application and a Postgresql server on a VPS which has 2vCores and 2GB of RAM and I'm having memory issues. I limited my play application to 1024MB with the parameter : ...
-2
votes
0answers
34 views

Setup Linux Web Server from scratch [closed]

I want to create a web server. I have just install Ubuntu server on 100GB of virtual hard disk. Now i have no idea what to do ? How to build a Linux machine (server) from scratch in such a way it can ...
-2
votes
1answer
19 views

Does GlassFish Server need JDK or JRE in order to run Java EE applications? [closed]

I want to Install GlassFish Server in a computer without a GUI. I would like to know if a JDK or a JRE is required in order to run Java Platform, Enterprise Edition (Java EE) applications?
0
votes
0answers
13 views

install a JAllInOne and put to openshift server [closed]

Greety from istra, Croatia i am really new in java but, also very intersted for develompent JAllInOne and offering accross my country i have some question about install a JAllInOne on your server ...
-2
votes
0answers
9 views

How to set ApacheDS Server to automatic list all entries in a organization? [closed]

I have a ApacheDS embedded server in my java application (last version: 2.0.0-M17). Its all working, but when I do configure my thunderbird with it (or any other app), I can just find any person ...
0
votes
0answers
7 views

Weblogic setEnv properties on Yosemite do not work [migrated]

I am trying to use the WLST script tool from weblogic i have the following output cd /Users/cris/Oracle/Middleware/Oracle_Home/wlserver/server/bin Last login: Fri Nov 14 12:53:42 on ttys002 ...
-1
votes
0answers
11 views

Is it possible to login with application user in jboss 7.2 using jboss-cli? [on hold]

I am asking this question because there were recently some password changes to the user. I am trying to figure out the most current password which means, I have to try both. The application for this ...
0
votes
2answers
43 views

AWS Beanstalk redirect entire application from http to https

I've been trying to figure this out for a while and have not had any luck. As I'm sure you guys are well aware, the aws load balancer forwards all https request onto the ec2 instance over port 80. I ...
0
votes
0answers
16 views

JRuby on rails with sidekiq deploy on Java production server

I'm a RoR guy and for some time I've been stumbling with some clients who just won't install ruby (or rails) on their machine. For this I turned to jruby. I used warbler to make a .war file and ...
0
votes
0answers
24 views

Java client does not connect when bypassing proxy to corporate network

I am on a Windows 7 client that connects to a corporate network. We are running Pentaho Data Integration Client on the client that connects to a Pentaho DI Server that is on the corperate network. ...
-2
votes
2answers
60 views

Do we need enterprise support for RHEL/CentOS and PostgreSQL [closed]

We are an SI currently working on a proposal for an web app solution with tight budget. The 3rd party web app is written in JDK7 is to be deployed to 2 physical server running 3 VM each, one for ...
0
votes
0answers
21 views

Java JDK missing libjli.so path in dependency list, Debian [migrated]

This perhaps should have been asked at unix.stackexchange.com. Feel free to move it there if you have that power. I am scripting the creation of chroot jails and part of that automation includes ...
0
votes
0answers
13 views

What are the default accessible resources for a webapp in Tomcat?

When a deploy a web application in Tomcat by default all directories I create under %TOMCAT_HOME%/webapps/mywebapp/ are accessible, i.e. files contained in the directories can be served. Except ...
8
votes
3answers
305 views

ps aux hanging on high cpu/IO with java processes

I'm having some issues with java process and nrpe checks. We have some processes that sometimes use 1000% cpu on a 32 core system. The system is pretty responsive until you do a ps aux or try to ...
0
votes
1answer
28 views

Script that checks and runs a jar, sometimes runs it twice.

I jave written a small bash script to run every 10 minutes, check if a certain program is running and if not run it. However, I noticed that sometimes I have two instances of the same program running ...
0
votes
1answer
22 views

What better solution to adopt for client server system implementation by java sockets

I need some advice from someone experienced in networking. I have already created a system designed to monitor some tasks (5-30) that are written in java started by a auomatic scheduler or by ...
1
vote
1answer
28 views

Disable Java auto updater via policy/script or some other automated means

I started researching on this and it turned out that this was not as easy as it seemed it would be. Basically looking to get some sort of automated way that I can turn off all the "an update is ready ...
4
votes
1answer
1k views

Java 8 Update 25 Install Via GPO Not Working

I am trying to set up our Active Directory DC to automatically install Java 8 Update 25 (jre1.8.0_25.msi) using Group Policy. When attempting to add the jre1.8.0_25.msi package in the GPO at Computer ...
0
votes
1answer
69 views

Elasticsearch River JDBC - Avoiding 'SELECT *'

I'd like to syncronize some MySQL tables to an ElasticSearch index, you know, for search. But almost every examples I can find show a big bad fat "SELECT * FROM", it's OK for an example, but I'm in ...
0
votes
0answers
21 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 ...
9
votes
2answers
2k 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 ...
0
votes
2answers
92 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
88 views

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
41 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
97 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
66 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
81 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
31 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
24 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
57 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
28 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
79 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
143 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
101 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
24 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
133 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
35 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
333 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
236 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
73 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
53 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
55 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
149 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
36 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
97 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 ...