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

Suddenly error='Cannot allocate memory' (errno=12) [on hold]

So this morning I noticed my website is down, went on my server and saw that the webserver has been stopped. When I try to start it again I get this error start -Dhttp.port=80 ...
0
votes
0answers
12 views

Setting Java Runtime max memory in global deployment.properties file doesn't work

Basically I have the same problem as in this question. However the proposed solution doesn't work for me. I have a Java SE 6 program that is started by a .Net program via an ActiveX-bridge dll. On my ...
1
vote
0answers
18 views

Disabled SSLv3 in Tomcat, but Still Showing POODLE Vulnerability

I have a Windows 2008 server with Tomcat 7.0.59 & Java 8u31 & I am trying to ensure that SSLv3 is disabled. Looking at the changelog for Java, SSL3 should no longer be supported and the Java ...
0
votes
0answers
17 views

Apache Tomcat for Windows - cannot get https to work

Environment: Windows 2003 Server 64-bit Running on VMWare ESX 5.5 8GB of Ram Apache Tomcat 6.0.36 Server D:\Program Files\Java\jdk1.6.0_26\jre\bin\server\jvm.dll JDK 1.6 update: 26 Have been able ...
-1
votes
0answers
15 views

How to handle multiple domain requests on single tomcat server?

I am using dedicated server. I have hosted different HTML, PHP and wordpress websites on this server those are working perfectly. Now I want to deploy java web application on this server. So I have ...
32
votes
4answers
2k views

How do I install the JRE on a Windows server without Oracle adware?

I would like to install Java on one of our servers, but I am reticent due to Oracle's bundling of an Ask.com toolbar and some virus scanner. I've read that the java updater even installs these for ...
0
votes
0answers
25 views

Tomcat is not starting although JAVA_HOME path is correct

I have linux server in which I run several Tomcats. The current Java I use is 64 bit. All Tomcats use 64 bit java but one. This one Tomcat needs to run with 32 bit Java. If I don't change anything, ...
0
votes
1answer
27 views

JVM outputs “No console, will fork to get enough memory” when started via cron

I have come across an odd message when starting up a JVM via cron: "No console, will fork to get enough memory". Google only returns a handful of results when searching for that string, so I figured ...
-1
votes
0answers
17 views

Can't install JPCAP library [migrated]

I can't install JPCAP on my ubuntu machine. It tells that depends on sun-java6-jdk & libpcap0.8. However I do have them installed in my system as you can see. kujim@kujim:~/Downloads$ ldconfig ...
0
votes
1answer
83 views

Effectively Monitoring Server Load of Production Amazon AMI + Tomcat + Lucee Instance [closed]

Looking for advice as to effectively monitoring the load of a production web server. Preferably solution will be free or minimal cost (server is owned by a very small web development company - read ...
0
votes
0answers
22 views

Taking a thread dump on IBM J9 takes a long time

I'm trying to collect a java core on AIX (java version 1.6). There is only one dump agent configured, which collects a system dump, heap dump and java core on every SIGQUIT, so I used HealthCenter to ...
0
votes
0answers
17 views

Openfire how to fix? Error creating secured outgoing session to remote server

I have a OpenBSD server 5.6, in this server install Openfire 3.9.3. But I am getting the following error: error.log 2015.02.16 08:59:44 org.jivesoftware.openfire.session.LocalOutgoingServerSession ...
0
votes
1answer
21 views

How to run Wildfly best?

Within development I start Wildfly 8 as standalone. Then I copy all my WAR files to /standalone/deployments and run them over http://localhost:8080/projectname/. When thinking of a productive server ...
0
votes
0answers
33 views

(103) Software caused connection abort: proxy: pass request body failed

The following errors are being logged in our proxy Apache logs while processing the request with Tomcat Server: (103)Software caused connection abort: proxy: pass request body failed proxy: pass ...
0
votes
0answers
9 views

How to get a program as a .JAR file which can be executed on different OS's and included into a folder and ran? [migrated]

A better title might be: How to package a program as a jar executable which can be portable across different OS's such as Windows, Linux, and Mac? I am trying to build a PHP command line app which ...
0
votes
0answers
21 views

Add Java exception for all users

My organization is trying to use an old Java applet for their work, but newer Javas are not running it, as it has a self-signed certificate. Reading on Oracle's Deployment Guide, I need to make my own ...
0
votes
1answer
56 views

Dependancy error when building maven project

I'm trying to move an application from being built locally on a Windows Eclipse installation to a Jenkins server. From what I can see the settings are correct and the dependencies should resolve. Even ...
0
votes
0answers
14 views

Methods to inject configuration into WAR archives? [migrated]

I have a couple of not so nice Java applications. I know that those are just zip files that can be reassembled. Is there some common tool (ant, maven tasks or somesuch) that is usually used to inject ...
0
votes
1answer
45 views

Why is my java process using much more heap space than specified?

I'm running a Java application on Solaris using the -Xmx256M switch. When I connect via JMX, the JVM tells me the application is using about 50Mb of heap, and correctly states the maximum heap size is ...
1
vote
0answers
31 views

HP Radio Port 210 web configuration

We acquired used WiFi system to provide better wlan for the customers in our hostel. The switch is HP PROCURVE 5406zl and we have 50 or so HP PROCURVE RADIO PORT 210 access points. I set up the ...
0
votes
1answer
54 views

How can I upgrade to Java 1.8 on an Amazon Linux Server?

I tried sudo yum update but it just keeps java "1.7.0_75". I need 1.8 for it to work with another application but can't figure out how to upgrade it. Do I need to manually install it somehow? There's ...
0
votes
1answer
42 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
92 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
37 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
2answers
80 views

Java on Linux insufficient memory even though there is plenty of available memory being used for caching

I’m trying to start a process on Red Hat Enterprise Linux Server release 6.5 (Santiago), which is failing because it is not able to allocate sufficient memory. # There is insufficient memory for the ...
1
vote
0answers
25 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
35 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
251 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
29 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
3answers
74 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
78 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
50 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 ...
1
vote
0answers
36 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 ...
0
votes
1answer
156 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
84 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
64 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. ...
1
vote
1answer
73 views

PostgreSQL 9.2 causes CPU utilization to go to 100%

We have a Java EE application (a online digital library portal) with Hibernate 4.3 which connects to a PostGres 9.2 database. Upon load testing with a load of 175 concurrent users logging in and ...
-1
votes
1answer
36 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
28 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
19 views

Access the JVM section of elasticsearch through the monitoring API

How I can access the jvm section of the node stats API ? I've read about it in the docs - monitoring individual nodes I'm doing a call to /_nodes/stats?pretty=true but don't have the jvm ...
0
votes
1answer
99 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
39 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
76 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
56 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
1answer
50 views

Tomcat threads are increasing but never decreasing

We are using new relic to monitor tomcat threads. The graph shows increase of thread count,but it never decreased even the application is idle. We noticed that when it increase CPU also increased and ...
0
votes
0answers
40 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
64 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
57 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
168 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
114 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 ...