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
0answers
64 views

Generation of Tomcat Stdout and Stderr log files

Is there a way to catch tomcat stdout and tomcat stderr log files it to log4j or any other way so that i can keep track daily basis.These files are only generated when we restart tomcat.And i want ...
0
votes
0answers
21 views

Tomcat6 showing huge number of processes(or child threads). Is this expected

Our tomcat server is showing huge number child processes/threads. Following is the command i have used- ps -eLf | grep tomcatUserId | wc -l This is the count i have received 1600 This ...
0
votes
2answers
58 views

how verify that weblogic is up to date

How can I verify that Oracle Weblogic is up to date ? The administration console print 10.3.6.0 as weblogic version. I visited Oracle site and the last version to download is 10.3.6 but I think that ...
0
votes
0answers
70 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 ...
-1
votes
1answer
166 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
23 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
110 views

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

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, ...
1
vote
1answer
163 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
236 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
90 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
85 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
468 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 ...
-1
votes
1answer
106 views

How does a load-balancer manages end user http sessions? [duplicate]

I don not have experience with Load balancer. But I know what is load balancer i.e. balancing the load of user requests to multiple servers. OR Distributes workloads across multiple computing ...
0
votes
1answer
110 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
103 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
74 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
133 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: ...
0
votes
0answers
48 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
807 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
54 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
81 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
107 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
129 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
38 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
22 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 ...
3
votes
0answers
687 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
108 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
189 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
225 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
114 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
218 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
23 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
76 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
308 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
82 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
93 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
39 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
142 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
102 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
43 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
36 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
24 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
4k 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
2k 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
213 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
154 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 ...
44
votes
5answers
4k 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
249 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
162 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
185 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 ...