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

Is this a Windows 7 Bug Caused by the Computer's IP in the Hosts File?

Our lab uses several ruggedized military laptops in a closed-network business environment. These computers are running identical Windows 7 versions, networked with static IP's, running Apache Tomcat ...
-3
votes
0answers
14 views

Auto Update for java /Adobe Flash player on the client PC with out admin privilage

Is there any possibilities an silent auto updates for JAVA and Adobe Flash player on the domain user PC without admin rights? We often get updates and its really annoying users and administrator to ...
-1
votes
1answer
19 views

Installing Java 32bit rpm on 64bit CentOS

Downloaded the - jre-8u45-linux-i586.rpm Opened console - su mkdir /usr/bin/java [No java was installed before] cd /usr/bin/java rpm -ivh jre-8u45-linux-i586.rpm [Tried installing] error: ...
0
votes
0answers
9 views

Sending XML Response When Maxed Allowed Connections Reached to Servlet

I have a requirement to limit the number of incoming connections, and if another connection is initiated as the limit is reached to send an XML response. This is for JBoss EAP 6, but a general ...
0
votes
1answer
55 views

How much memory must be left to the OS with a java server application? [on hold]

Suppose I am running tomcat with -Xms256m -Xmx1024m, but would like to increase my heap usage. What is the largest safe heap size I can allocate? For the purpose of this question, please assume, ...
0
votes
0answers
9 views

Handling server failure using serialization [migrated]

In my program, there is a central server, and I want to store its state. I'm using serialization for this, I am serializing the data after every 2,3 seconds. So that whenever server fails, it can come ...
1
vote
1answer
24 views

What is the order of deployment in Wildfly?

I have a large number of services, and a core set of services that are expected to load first so that they are available when the other services load. Does Wildfly have a specific order (e.g. ...
0
votes
0answers
42 views

Tomcat hangs at “Deploying web application directory…”

I am trying to setup Tomcat application server in an Ubuntu server. When I am trying to start tomcat server it hangs at deployment stage. If I try http://localhost:8080, its taking infinity time to ...
0
votes
1answer
32 views

RESTful client communicating with Freeradius server [closed]

I have successfully installed the Freeradius server on Ubuntu 14.04. It is up and running perfectly with local client(from the source code downloaded from freeradius site). Now my next task is to have ...
0
votes
0answers
36 views

Chef / Vagrant - Kitchen cant connect to Update Jenkins

Iam getting crazy with Chef, Vagrant and Test-Kitchen. We have an customized Jenkins Cookbook, it works on "normal" Clients without Cooperate Network Proxys, but fails behind with the following ...
0
votes
1answer
76 views

“Unable to stat /usr/lib/jvm/java-7-oracle/bin/java” when trying to run Tomcat7 with Java8

I'm trying to upgrade my servers to Java8 from Java7 so that they will run my webapps under Java8. On one of my machines I'm getting the following error and I'm not sure what is still referring to ...
0
votes
0answers
27 views

Can use webmail but cannot send via javax [migrated]

I currently have a mail server up and running. I can log into my web-mail client via mywebsite.com/roundcube/ Web-mail allows me to send and receive email appropriately. Logs show all the mail come ...
-1
votes
1answer
37 views

I wonder, How does a load-balancer manages the session?

HttpSession is stored in Servlet container i.e. web container. Load balancer does not maintain Web container, it just push the request to web containers which are under the load-balancer. My Question ...
0
votes
1answer
43 views

How can I get nginx reverse proxy to work with java applet that checks document base?

So I'm trying to setup a reverse proxy with nginx to a java applet on remote server, but the problem I'm having is that it checks the document base, I can get it to load from ...
0
votes
0answers
24 views

Update jar file inside jar

Previous to the deploy of an application I need to add a file inside a war which is inside an ear file. Right now I am doing it by extracting first the war file, updating the war file and then ...
0
votes
1answer
25 views

Tomcat7 ignoring JAVA_HOME

I have been trying to start tomcat7 server without success. I am using the Raspbian distro in a RaspberryPI. When I try to start tomcat: $ sudo service tomcat7 start [FAIL] no JDK found - please set ...
3
votes
1answer
51 views

Enable HugePages on Linux for multiple services/processes

On one of my Debian machines I'm running a service on a JVM and a MySQL instance. I have enable the HugePages following various online guides but I'm having a problem. Here is my configuration: ...
-2
votes
0answers
13 views

after reboot server, service start without special chars [migrated]

I write simple Java server. This service connect with mySQL database. I am connecting with this service by socket connection. Everything work well when i start my service by line Command. ...
1
vote
0answers
9 views

OpenSSL: how to generate public and private keys usable for both C and Java? [migrated]

I am trying to generate PKCS12 public and private keys with OpenSSL on Windows 7 64-bit that can be used by both the Microsoft CryptoAPI in C as well as Java programs. Here are the steps I have ...
0
votes
0answers
14 views

java.security.NoSuchAlgorithmException: SecureRandom IBMSecureRandom implementation not found

I am trying to connect to a JRE that is publishing JMX information. When I do, I get the following error: Exception in thread "main" java.lang.reflect.InvocationTargetException ... Caused by: ...
1
vote
1answer
182 views

ORA-12505, TNS:listener does not currently know of SID after changing port number

I am trying to change oracle tnslsnr port number from default to some other port. After I change port number for tnslsnr from 1521 to 2000 I start geting ORA-12505, TNS:listener does not currently ...
0
votes
0answers
18 views

Tomcat throws java.nio.charset.IllegalCharsetNameException on attempted start

I'm installing the Dspace repository system on a freshly initated BlueHost VPN. Dspace is served with Tomcat, so as part of the installation, I have to install and start Tomcat. First order of ...
1
vote
1answer
31 views

Garbage Collection and Memory Visualizer (GCMV) Doesn't Always Generate A Report

I'm using GCMV within ISA 4.1 to analyze some gc logs from a cluster. When I open a native_stderr.log file in that tool, it always creates the following 4 reports/tabs: Table data Line plot ...
1
vote
0answers
43 views

elasticsearch glibc memory corruption

My elastic search clusters keep crashing for no reason. All I can see in the logs is : INFO | jvm 4 | 2015/04/17 19:10:09 | *** glibc detected *** /usr/java/jre1.7.0_04/bin/java: malloc(): ...
0
votes
3answers
44 views

How can I install multiple Atlassian applications in a single server?

Ok, this is a two-part question. I got an unmanaged VPS with CentOS from a hosting company in order to install several Atlassian tools, however, I ran into the problem that when starting a second ...
0
votes
0answers
25 views

How to fix hung requests creating dead lock(/root/syn)?

We are running a search service using written in Java using solr We are noticing dead locks on the service. 14:00:30,465 WARN ThreadPoolAsynchronousRunner:416 - Task ...
0
votes
0answers
10 views

Glassfish4: Should I run multiple applications in one domain?

I have 5 different Java EE 7 applications (WAR files) that communicate to each other via a REST interface. In production, is it "better" to deploy them all in one Glassfish4 domain, or to create a ...
2
votes
0answers
206 views

Unable to change vm.max_map_count for elasticsearch

Prehistory I have elasticsearch and SugarCRM7 running on CentOS 6.5. Every day I face the same problem: java outOfMemory error. That happens because of small vm.max_map_count value, 65530 only when ...
0
votes
0answers
40 views

Memory Leak in Solr cloud 4.8.1 and Lucene

I have a solr cloud instance version 4.8.1 with 8 nodes, 4 shards and facing memory leak on the JVMs here are the details of the instance. 8 nodes, 4 shards(2 nodes per shard) runs on Tomcat ...
1
vote
1answer
81 views

How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux)

TL;DR -- How do I give ws_ant.sh and/or the <wsInstallApp> task more heap at runtime? I am attempting to deploy a relatively large (~160-MB) EAR file to WebSphere 8.5 running on a 64-bit Linux ...
0
votes
1answer
81 views

Tomcat CPU and GC going crazy [closed]

Having some major issues with our Tomcat 7 installation. It used to run fine for over a year, but now the CPU is mainly at 400% - 700% (8 core machine) and in the logs I see tones of these: ...
1
vote
1answer
64 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
104 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
11 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
54 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
151 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
51 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
52 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
26 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
72 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
70 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
34 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
18 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
16 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
1k 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
784 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
151 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
101 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 ...
42
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
96 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, ...