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

learn more… | top users | synonyms

2
votes
0answers
12 views

jboss 6.x runtime server shows blank page [on hold]

I am running my server JBoss 6.x runtime server with eclipse Kepler. When I run my server I get: JBoss 6.x Runtime Server [Started,synchronized] But when access http://localhost:8080/ i got blank ...
0
votes
0answers
5 views

Can i use hmailer on localhost to send bulk email to external email address? [on hold]

I would like to know how to use hmailer on my system to send bulk email to external recipient using java javamail api. Any limitations, speed, performance or other thing to be worried about? PS. Not ...
0
votes
0answers
16 views

Multiple redirection issue with Apache http proxy

I am using Apache and tomcat in my environment. Communication between there two servers is http(not AJP). Here is my configurations from httpd.conf file ProxyRequests On NameVirtualHost *:80 ...
0
votes
0answers
28 views

Why is GlassFish 4.1 slow on Ubuntu 15.04?

I have a GlassFish 4.1 Server instance running on Ubuntu 15.04 Desktop Edition. I use this as a development server, where NetBeans will automatically deploy my packages as I work on them, for easy ...
0
votes
0answers
19 views

Adding custom domains in a site builder

I'm involved in the development of a site builder which is hosted on Google Appengine. The project is associated to a wildcard domain (e.g. *.foo-bar.com) and we then use the subdomain to determine ...
0
votes
0answers
9 views

I am trying to deploy SAS ECM webapp over Weblogic Server, but I am not able to start this app and getting below error in error log

I am trying to deploy SAS ECM webapp over Weblogic Server, but I am not able to start this app and getting below error in error log <Jun 29, 2015 11:44:12 AM GST> <Error> <Deployer> ...
1
vote
1answer
20 views

Access static files on Tomcat directory using VirtualHost

I am running a Java webservice (JAX-WS) on Tomcat 8 from my AWS EC2 Linux instance, and I have a subdomain pointing to the service, so that I can call the service with URL ...
1
vote
1answer
8 views

why CATALINA_OPTS arguments shows up in java process on running tomcat even though its an environment variable

I run tomcat process by this command in python : os.execve(cmd, [cmd, "run"], env) The env variable sets CATALINA_OPTS = -server -Xms512m -Xmx512m -Xss512k Now when i run the script following java ...
1
vote
2answers
43 views

Server midnight - high memory allocations and does not let go, what to check?

How can I check what my server was doing at midnight, to locate the high memory spike, which he is still holding on. Only things I'm running on the server is Apache2 with a Flask app, and a Tomcat7 ...
1
vote
0answers
11 views

High latency in urlfetch with google app engine [migrated]

We have a Java application that make use of urlfetch calling an external api. We are having issues with the request time. When we do a request in a local environment we have a mean time of 300ms, ...
0
votes
1answer
20 views

Monitoring Java garbage collector and memory status

I'm running some Rails applications on Jboss with JRuby. Sometimes the Java garbage collector can't free memory and the jvm consume all the available memory. I'm trying to create a custom metric ...
0
votes
0answers
27 views

Java Application has caused an InvocationTargetException in Debian

I am trying to install a Java application on a Debian 8.1 server and I keep getting a "Java Application has caused an InvocationTargetException" error. I have installed Java8 from oracle, set ...
0
votes
1answer
93 views

Jetty 9 support for TLS_FALLBACK_SCSV

I've been trying to get that A+ on the SSL Server Test @ SSL Labs. However, I can't figure out how to pass the "downgrade attack prevention" test: I'm running Jetty 9.3.0.v20150612 alongside ...
0
votes
1answer
36 views

Connecting to mongodb on AWS EC2 using java

I am trying to connect to mongoDB on an EC2 instance using java. I am able to connect to the EC2 instance using putty after converting the .pem file into the .ppk file.In case of connecting with java ...
1
vote
1answer
39 views

GC taking big pause and ParNew (promotion failed)

One of our java application is taking big pause while doing GC, it seems because of "ParNew (promotion failed)" it takes time. Java version: $ java -version java version "1.6.0_21" Java(TM) SE ...
1
vote
1answer
35 views

Java: Limit the number of cores a JVM can use

Multiple users are running java applications on a 60-core compute server (Linux/Ubuntu-based). There are different applications and most of them are not developed in-house. While the sysadmin thinks ...
0
votes
1answer
33 views

UnknownHostException when enabling JMX in Java 8

Using Java 7, I can launch a JVM with JMX enabled without any problems using these properties: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false ...
0
votes
0answers
14 views

How to monitor JAVA Windows Service with JVsiualVM and SysInternals PSEXEC and Windows 2008 R2

usually when running JAVA as a Windows service it's not possible to monitor/profile it with JvisualVM since it must be running as the same user. Though there is a documented hack, that allows you to ...
-1
votes
0answers
8 views

Java update notification registry settings on terminal server

I tried updating the registry settings on our terminal servers to disable java update notifications which is creating a problem for our users to click every time. ...
1
vote
0answers
32 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
13 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
26 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
57 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
59 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
17 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
75 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
53 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
94 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
50 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
54 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
224 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
47 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
68 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
53 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
42 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
74 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
20 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
415 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
33 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
51 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
75 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
75 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
32 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
17 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
418 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
71 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
132 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
135 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
82 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
158 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 ...