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

In-house java apps work in citrix environment but will not run locally on a users machine

BACKGROUND I am one of three systems administrator for the organization i work at. We previously had a Java developer who is no longer with the organization. The developer built several custom Java ...
0
votes
2answers
155 views

HttpServletRequest.getRemoteAddr() always returns 127.0.0.1

We're attempting to identify where specific requests are coming from inside our Java application. We have changed the log files to include the IP address and we're using ...
1
vote
0answers
19 views

Solr 503 when using boost function

I have three environments which are set up to use Solr: local, staging and production. The local configuration differs slightly to the staging/production however the other two are identical. I ...
0
votes
0answers
69 views

OpenShift, change java security properties

The latest WildFly OpenShift image includes Java 8u31. But my apps needs the disabled sslv3 'algorithm'. So I need to edit the java.security file from the JRE but this file is read-only. How can ...
0
votes
0answers
217 views

json works on localhost but not working on my real server

I have an application that is getting information from my server (online), I have a version of that website in my computer (localhost), The application is working on localhost can get the json, But I ...
0
votes
0answers
67 views

CORBA lookup fails with NameNotFoundException

The CORBA lookup works fine from localhost: thufir@doge:~$ thufir@doge:~$ appclient -client NetBeansProjects/corba/GreeterCorbaClient/dist/GreeterCorbaClient.jar {org.omg.CORBA.ORBInitialPort=3700, ...
0
votes
2answers
68 views

java installed but not working (dependency issue??)

I just installed Java 8 on my new VPS I set the links correctly but, still java, or javac won`t work: root@vpsXXXXX:~# update-alternatives --display java java - Auto-Modus Link verweist zur Zeit ...
0
votes
0answers
30 views

Apache 2.4 switching sessions from primary to backup in between even when sticky session is enabled

I am facing issue with long running requests . We have a case of file upload in which file upload process starts and at front end we represnt the user with a progress bar to show the percentage of ...
0
votes
0answers
94 views

how do I configure a glassfish host and broker to use JMS?

In trying to run a JMS Message producer remotely, I'm going through the fine manual: Administering the Java Message Service (JMS) GlassFish Server Open Source Edition Administration Guide Release 4.0 ...
0
votes
0answers
86 views

Tomcat client certificate authentication, client certificate not sent

I've add client certificate based authentication on our Tomcat servers. Both client and server are tomcat servers with internal CA issued certificates. Each tomcat has its own keystore (PKCS12) ...
0
votes
0answers
40 views

tomcat https static content

We are using tomcat to serve everything over http. BUT, we have a login page which is served over https since we have them enter a password. Recently, chrome has stopped supporting serving non secure ...
0
votes
0answers
34 views

Library to create self querying SNMP Agent in Java

I am trying to create an SNMP Management Agent that will query itself the OID of the Object to be retrieved. It will retrieve the value and store it in an internal database for later retrieval. The ...
0
votes
0answers
22 views

CATALINA_HOME not exported properly in Ubuntu 12.04

Running Ubuntu 12.04 and Tomcat6 A Java web app (ClinCapture) attempts to access catalina_home and instead of returning CATALINA_HOME=/usr/share/tomcat6 it returns ...
1
vote
1answer
3k views

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

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 ...
1
vote
1answer
1k views

System-wide JRE settings in deployment.properties file are ignored?

Basically I have the same problem as in this question. However the proposed solution doesn't work for me, not on a Win2003 server and not on a Win7 laptop used for testing. I have a Java SE 6 program ...
1
vote
0answers
179 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
122 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 ...
43
votes
5answers
3k 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
145 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
107 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 ...
0
votes
1answer
159 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
63 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
93 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
389 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 ...
1
vote
1answer
349 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
2answers
674 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
1answer
183 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
59 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
1k 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
3answers
252 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
835 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
150 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
2k 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
72 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
98 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 ...
4
votes
1answer
3k 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
76 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
676 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
237 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
112 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
46 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
771 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
273 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
201 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
176 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
64 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
46 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
42 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
243 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
120 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 ...