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

learn more… | top users | synonyms

0
votes
1answer
17 views

NFS Server | Hung threads

We have four lpars each running 1 java instance each. They do a lot of read/write operations to a shared NFS server. When the NFS server goes down abruptly, all the threads that were trying to read a ...
0
votes
1answer
21 views

monit: how do I restart many Tomcats without overloading the server?

My server has several separate Apache Tomcat instances that each take a lot of time and CPU to start. It is not possible to start all of them at the same time. This would generate too much I/O, each ...
-1
votes
0answers
18 views

MultiCraft ascii codec error [closed]

Im trying to get minecraft working on this server, but im getting this error when trying to start a new minecraft server instance through the program. Starting daemon 07.24 23:17:37 INFO ...
2
votes
1answer
24 views

JRE/JDK Changing Destination Folder

This may seem innocuous, but it's got me thinking... I'm currently setting up a fresh Azure server for a project. It needs Java for a number of the things it will be doing. One thing I like to do is ...
0
votes
0answers
26 views

Java out of memory exception when running as a non root user

I'm attempting to run apache kafka on a small basically stock digital ocean server running centos 6.6. I'm not positive if this issue is kafka specific or not. When I run kafka as the root user ...
0
votes
0answers
10 views

Tuckey UrlRewriteFilter unable to match regex with positive lookahead

This is about Turkey's UrlRewriteFilter I have a rule to convert the first segment of url to lowercase, provided that there's an uppercase letter in it. This is what it looks like: <rule> ...
-4
votes
1answer
34 views

what is the plug-in for Firefox in order to access the HP blade center [closed]

I work with HP_blade center machine , Type - C7000 Enclosure G3 In the HP blade center I have couple of HW machines with Linux red-hat OS I have successfully access to the HP integrated management ...
3
votes
1answer
36 views

Remove all sites from allowed list for plugin in IE via GP

I would like to remove all sites from the list of approved sites for a plugin in Internet Explorer as described here but I would like to do so via Group Policy. Is this possible? I know I can disable ...
-2
votes
1answer
58 views

Apache Tomcat 7 on windows 2008: how to make two hosts point to same website

I’m new to Apache Tomcat. I have been asked to point new domain name to the existing domain name. E.g. We have https://xyz.abc.com, we want new domain name http://123.abc.com to point to ...
1
vote
1answer
25 views

Configuring dovecot and postfix ssl setting by jks file

I have CA JKS (Java Keystore) file which the CA bundle was added to it completely and we don't have any problem with java stuffs. Now how may I export/manipulate, keys and required stuffs for setting ...
1
vote
1answer
18 views

Debian, kill java by it's jar name?

Okay, I am going to be running two java application on the same VPS one will be running nearly all the time. The other one will not need to be. I am wondering if there is away to kill java based on ...
1
vote
0answers
54 views

JavaFX: Connecting MySQL database remotely on a hosting provider. SECURE? [closed]

My JavaFX Desktop Application is currently connected to a hosted MySQL database remotely on bluehost. I query "SELECT", "UPDATE", "DELETE" on my JavaFX Application and successfully done. I am using ...
0
votes
0answers
44 views

Set up 'tomcat' non-root user in Tomcat 8

I've installed Tomcat 8 in Debian 8 and I need to harden the web server. I'm following the official Tomcat documentation guide and in the security considerations section recommends to create another ...
-1
votes
0answers
10 views

ServerSocket and Web Hosting or Virtual Private Server [duplicate]

My problem is that I need to know how to run Java classes or jars on a web host. I have a program that opens a ServerSocket and it works fine when I run it from my local computer, but I want to be ...
2
votes
0answers
36 views

jboss 6.x runtime server shows blank page [closed]

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
29 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
53 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
41 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
17 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
33 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
2answers
19 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
44 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 ...
0
votes
1answer
29 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
53 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
169 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
79 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
79 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
71 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
45 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
25 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
vote
0answers
55 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
15 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
38 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
64 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
109 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
22 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
84 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
98 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
158 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
70 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
72 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
346 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
64 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
94 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
74 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
56 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
105 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
32 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
603 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
45 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 ...