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

learn more… | top users | synonyms

0
votes
1answer
21 views

Jenkins maven java 7 permission issue

I'm getting this error when attempting a Maven build in Jenkins, Building in workspace /var/lib/jenkins/workspace/xxxxprojectnamedeletedforprivacyxxxx java.nio.file.AccessDeniedException: ...
1
vote
0answers
21 views

Add an entire domain to Java Exception list

I'm administering hundreds of machines with Java interfaces that I sometimes need to get into. Unfortunately, the default Java settings in Windows block all of these applications from running, ...
2
votes
1answer
23 views

JVM on Windows - paging and full GCs

We have a Java-based app (TeamCity, on Tomcat, on Java 1.7) running on Windows (Server 2012 R2). Java runs with a 6GB max heap size, and the system has 10GB of RAM. It is the only non-OS service ...
1
vote
0answers
17 views

jrun ssl peer not authenticated

Before I start, I should say that I've already posted this question at Code Ranch, and have not yet gotten an answer. I'll make sure both this site and Code Ranch receive the answer should I find ...
0
votes
1answer
16 views

Write sitemap.xml to java webapp root directory permission denied

I'm trying to use the sitemapgen4j library to build my sitemaps. I'm facing a permission problem while trying to write to my root directory https://code.google.com/p/sitemapgen4j/ the root context ...
3
votes
1answer
85 views

How to switch between TLS 1.0 and SSL 3.0 at Java/JRE level?

I am using java 1.6. I have setup my tomcat as my ssl enabled server. And i have setup a ssl enabled client (java code). When i do a communication from my client to server. In java ssl dump in tomcat ...
1
vote
0answers
15 views

Destination Host Unreachable and Communications link failure when I connect to MySQL database using D2RQ library

I have a question: I have a web service which runs on a virtual machine located on a remote server with Ubuntu 12.04 operating system. Now, I want to test this Web Service and I'm using this code ...
0
votes
2answers
37 views

java.lang.OutOfMemoryError: Java heap space

In our application we have both, Apache Server (For frond end only) & JBoss 4.1 (For business end). We are using Ubuntu 12 as server OS. Our application is throwing "java.lang.OutOfMemoryError: ...
0
votes
1answer
34 views

Apache Tomcat + Apache2 + mod_proxy: Issues regarding cluster

I have a Tomcat 7.0.57 cluster setup behind an Apache2 using mod_proxy. Setup: Apache2: 192.168.2.139 Tomcat Node1: ajp://192.168.2.166:8010 (http connector also defined on port 8082) Tomcat Node2: ...
0
votes
0answers
23 views

Install logstash using the Deb file

I have installed Java 7 and Java 8 on my machine and java -version returns the correct version when I change the environment variables. When I go to install Logstash using the deb I receive the follow ...
0
votes
0answers
11 views

How to map multple URL to same class in servlet? [migrated]

I am trying to create webapp using jsp and servlet. I found some following problems like.. Index.jsp Home Contact Us Services Enquire ...
1
vote
0answers
34 views

Java hosting and e-mail server on VPS [closed]

I can't find a good tutorial for this, I looked at https://www.howtoforge.com/ but there is only a weak tutorial on how to setup JDK and Tomcat in a Linux environment. For me this isn't a problem, a ...
-1
votes
0answers
7 views

Development server for java WAR applications from current directory and without sudo [migrated]

In Rails and most modern web frameworks, I can easily develop web applications interactively by running a development server with a single simple command (rails server) and visiting the browser. For ...
0
votes
1answer
70 views

Tomcat 8 hangs on startup while deploying webapp. Possibly related to entropy generation

I'm trying to get a tomcat webapp started and while just testing out the server (vanilla tomcat8 download) it seems to be hanging on startup. My guess is that it is hung up on something dealing with ...
1
vote
1answer
45 views

install oracle java using alternatives system on centos 7

I installed Oracle's Java onto my CentOS Linux release 7.0.1406 (Core): [alexus@wcmisdlin02 Desktop]$ rpm -q jdk1.8.0_25-1.8.0_25-fcs jdk1.8.0_25-1.8.0_25-fcs.x86_64 [alexus@wcmisdlin02 Desktop]$ ...
1
vote
1answer
45 views

Coldfusion JVM heap vs RAM usage

I need help clarifying memory usage on a CentOS server running Coldfusion/Apache. I've got a script that reads a file into memory and process it line by line, inserts into DB and deletes the file. ...
-3
votes
0answers
12 views

Manage LVM Volume through Java [migrated]

I want to Manage LVM Volume through Java Servlet. Like Creating, resizing, deleting Volume or Volume Group. Is there any API to access LVM through Java? If not then any alternative mechanism for it?
-1
votes
1answer
28 views

Cache Memory Growing very fast Cent Os -Tomcat

i am running Java application on Tomcat-6 on CentOs . JAVA_OPTS Like this : JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask` -server -Xms256m -Xmx2536m ...
0
votes
0answers
20 views

WSDL2Java Subject Alternative Missing

I have been provided with a 3rd party URL for a WSDL that is stored at a client's location. I am to generate code and use that WSDL, and the client made the the WSDL available over an https IP ...
0
votes
1answer
77 views

OSX Maverick Java version's mess

I have installed from the Oracle website, the latest version of Java needed to run Cassandra. Unfortunately, I still get the error message : "Cassandra 2.0 and later require Java 7u25 or later." ...
0
votes
0answers
30 views

jinfo for java-7-openjdk-amd64

I am trying to check my memory settings currently in use with tomcat via jinfo on Ubuntu. However when running jinfo -flags <PID> against the tomcat PID, I get the following error: $ sudo ...
0
votes
0answers
67 views

Why doesn't Linux strace show activity on a particular socket from java

This has been confusing me for a while now. I have a Java app (specifically, Glassfish, 3.1.2.2). I want to see how it handles the main HTTP socket that is used to for serving HTTP requests. I can ...
0
votes
0answers
30 views

Difference between ps_mem.py & free -m . Ubuntu server kills processes

Previously, I had a 4GB RAM server with Linode. Several times, I did "free -m" command to check available memory. I asked question here as well, but realized its more appropriate here. Most of the ...
0
votes
0answers
31 views

windows single sign on tomcat through IIS Url rewrite

I'm facing a difficult setup where I have to configure single sign on, based on the logged in used on my tomcat application. I already took some steps which allow me to login via single sign on ...
2
votes
0answers
47 views

mod_ssl client certificates on a reverse proxy

I am trying to add client certificate authentication on a reverse proxy that proxies an oracle application. Before adding, and if i remove the subsequent code, the oracle application is able to start ...
2
votes
3answers
42 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 ...
3
votes
1answer
141 views

Is it appropriate to use HeapDumpOnOutOfMemoryError in Production?

We have been struggling to diagnose the cause of an OutOfMemoryError we experienced on one of our production servers. Our attempts to reproduce the issue in soak tests have so far failed, and we are ...
0
votes
2answers
98 views

ColdFusion 11 and Java 8u25 and -XX:+UseStringDeduplication don't want to work

I have a ColdFusion 11 update 2 server and I wanted to try out new Java UseStringDeDuplication Setting that does work -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 ...
1
vote
2answers
37 views

Automatically stop Tomcat if Root context initialization fails

I can't seem to figure out if it's possible to setup Tomcat to stop when the ROOT context initialization fails. Since my Tomcat instance only hosts one application as the ROOT context, it makes no ...
2
votes
3answers
71 views

java program out of memory before reaching xmx

On a Redhat CentOS 6.4 are only a few process running, using about 3GB RAM (System has 12GB available). One of the processes is a WSO2ESB Server (java), we start it with those parameters: -Xms2048m ...
-1
votes
1answer
37 views

enable java app to establish http connection under network of VPN.

Some relative question http://stackoverflow.com/questions/17170980/connect-to-http-server-behind-vpn-with-java has already asked in Stack Overflow while I don't still have a solution since this should ...
1
vote
1answer
64 views

Apache2 / tomcat / MySQL / PageSpeed Server hanging once a day

My server started to hang at least once a day. It remains so until I restart Tomcat. I'm not sure yet which part causes the problem, so I'm trying to work on several hypotheses: My website is served ...
1
vote
1answer
216 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 ...
0
votes
0answers
63 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
1answer
63 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
2answers
271 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
61 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
70 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
76 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
18 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 ...
9
votes
4answers
515 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
52 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
54 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
67 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
3k 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
231 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
43 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 ...
11
votes
2answers
3k 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
382 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
115 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 ...