Questions tagged [java]
Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms
504
questions with no upvoted or accepted answers
1
vote
0
answers
1k
views
Windows Server 2012 R2 IE Refuses to Load Java Plugin
We have a Windows Server 2012 R2 machine that we're using as a Remote Desktop Services server for our employees. It has the "RemoteApp" feature set up so that everybody can run our pre-configured ...
1
vote
0
answers
3k
views
Cannot connect with slave from Jenkins master. Connection broken
I have setup one Jenkins Master (CentOS 7), and one node on which my project is running (dev environment, Windows 7). My project requirement is Java 1.6.
On my Windows 7 and Java 1.7 machine, I can ...
1
vote
0
answers
421
views
CISCO SSL VPN Apps fail to connect using Java 8 update 71 (Java 8u71)
A remote client uses the SSL VPN apps for port forwarding through an ASA 5505 firewall.
Basically no traffic was able to traverse the port forwarded IP addresses.
Using the web browser in the VPN ...
1
vote
0
answers
555
views
NginX with GeoIP - what is returned for geo code when no mapping is found?
As the tests I conducted (using Java API to read GeoIP.dat, as well as local test) might be insufficient, I was wondering what happens on NginX when geo-ip module is configured, and when no IP to ...
1
vote
0
answers
2k
views
Java keystore: How to import the ca certificates correctly?
We have renewed the certificate of one of our server (apache httpd). For a webservice interface (for mobile clients) we need the certificate also on tomcat, means: stored in a java keystore. We have ...
1
vote
0
answers
111
views
No progress inTomcat7 after Deploying web application directory in linux
Hi I am new to linux environment.
Initially we had all the application working on a virtual machine. Due to some reasons we did not used it for a while.
So after a long gap when we try to check that ...
1
vote
0
answers
85
views
Can't access Rest Api written in Java which is hosted in Windows Server 2012 (Azure)
I Can't access Rest Api calls written in Java which is hosted in Windows Server 2012 (Azure) in apache server.
Within the virtual machine i can access through fiddler/browser and get the data.
But ...
1
vote
0
answers
30
views
Java Webapp on Tomcat6 using libservlet3
I am quite new to all this Java stuff. I Installed a bunch of War-Packed Webapps on a Ubuntu Machine with tomcat6. One of them does not work (skos-play), apparently because it needs libservlet3 and ...
1
vote
1
answer
6k
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
vote
2
answers
2k
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
0
answers
650
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(): ...
1
vote
3
answers
1k
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 ...
1
vote
0
answers
65
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 ...
1
vote
0
answers
926
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 ...
1
vote
0
answers
609
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 ...
1
vote
1
answer
138
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 ...
1
vote
0
answers
361
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 one....
1
vote
0
answers
625
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 ...
1
vote
0
answers
386
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
1
answer
294
views
Apache2 / tomcat / MySQL / PageSpeed Server hanging once a day
My server started to hang at least once a day. It remains so until I restart Tomcat. I'm not sure yet which part causes the problem, so I'm trying to work on several hypotheses:
My website is served ...
1
vote
1
answer
7k
views
Unable to convert JKS keystore to Oracle Wallet using orapki
I have generated jks keystore using keytool and using the jks keystore I have csr. The same csr I have sent to Signing authority.
The Signing authority have given the trusted certificates(root,...
1
vote
0
answers
55
views
Glassfish 2.0 - per node JVM config
I have a Glassfish (2.0) cluster with two nodes. I want to pass some extra JVM settings to a single node only. Is this configurable? At least from the console I see, this selective configuration is ...
1
vote
0
answers
918
views
How to protect tomcat application - user authentication with fail2ban?
AFAIK tomcat6 does not use Apache std .htaccess auth, but has own user authentication method.
My question is: How to protect it against brute force attack with fail2ban ?
1
vote
1
answer
419
views
Java Spring application working on one system, dying on almost identical one
Introduction
I'm running a third party Java Spring application on RHEL, that refuses to run on machines cloned from a certain RHEL 6.5 template. It just dies on startup with a bogus exception (see ...
1
vote
0
answers
3k
views
JVM process resident set size "equals" max heap size, not current heap size
After a few reading about jvm memory (here, here, here, others I forgot...), I am expecting the resident set size of my java process to be roughly equal to the current heap space capacity. That's not ...
1
vote
0
answers
250
views
DRS: Unknown JNLP Location
We are using Deployment Rule Sets to limit access to the older JRE to well-known applications but are running into a problem.
One business critical applications has the following properties (*s to ...
1
vote
0
answers
1k
views
Tomcat 7 went <defunct>, cannot kill the process. What might be the cause?
I was running tomcat7 production server for several days, and then suddenly it was unreachable by the http port. Strangely though, the background processes were still running as can be seen by the ...
1
vote
0
answers
46
views
JRE fragmentation and solutions
In my environment, we have several web based applications that leverage Java for various web components.
The issue is, each one of these applications requiring a different jre version.
We are always ...
1
vote
0
answers
2k
views
Java Deployment with automatic updates (without user confirmation)
Here in our company our users use 1 Java application which is updated every monday and always needs the latest java update. We install Java on Clients through SCCM 2012 R2.
I already know how to do ...
1
vote
0
answers
699
views
Amazon ec2 - Error occurred during initialization of VM Could not reserve enough space for object heap
I don't have any experience of working with servers, so please explain your answer in detail or provide a link to support your answer.
I want to restart server and executing command for that gives ...
1
vote
0
answers
715
views
Oracle's JDK RPM doesn't provide "java"
I have the Oracle RPM for the Java 7 JDK installed on an Amazon EC2 instance.
The Oracle RPMs for Java 7 JDK don't "provide" java nor jre. RPM reports that it provides the following:
# rpm -q jdk --...
1
vote
0
answers
4k
views
apache tomcat 7 stops whenever request recieved
i m working on netbeans IDE 7.1 and using apache tomcat server 7.0.22.0
its normal whenever i deployed the project but whenever client side application requested for service tomcat server gets stop ...
1
vote
0
answers
1k
views
Monitoring Informatica Java processes with JConsole on Windows Server 2008
I am having an issue getting JConsole to connect to my Java processes. Let's start with the basics...
Java Version
As you can tell from the path below, we are running Informatica with packaged Java.
...
1
vote
1
answer
1k
views
SSL Connect timing out during handshake (client exchange re-transmission)
We have a Java LDAP client making SSL connection to AD. Some times the connect hangs with client and server re-transmitting Client Key Exchange and ACK packets continuously as shown below and ...
1
vote
0
answers
794
views
Most efficient way to pipe web beacon logs to Apache Flume?
The Setup
I've setup a simple Nginx server that logs (in a JSON) format, which is then piped to an S3 bucket with Apache Flume. All the Nginx server does is respond with a web beacon tracking pixel ...
1
vote
0
answers
94
views
Nat Traversal, peers unable to communicate
I'm currently working on a project that requires NAT traversal but I seem to be running into difficulty. I have the following setup running for testing:
R1, Verizon Fios router connected to the ...
1
vote
0
answers
184
views
Upgrading JIRA 5.0.1 to JIRA 6
I am trying to upgrade my jira version from 5.1 to 6 in my test server. with windows(64) platform. So I downloaded jira 6 version with folder name as "atlassian-jira-6.0-m08-standalone". then I ...
1
vote
0
answers
47
views
Java BindExceptions in delayed stop/start conditions
I have a script that will automatically stop a server and restart it on the same port/ip address. I've noticed that some mornings the server doesn't restart successfully because it gets Java ...
1
vote
1
answer
2k
views
best practice or tools for stress test on a Tomcat application server and MySQL?
I am using Tomcat 6 application container for my web site. HTTP requests come from mobile phones and every time server receive a httprequest it opens MySQL connection, insert some data in it and then ...
1
vote
0
answers
329
views
Committed memory on my tomcat server
I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server.
Actually I have configured JVM like that:
...
1
vote
1
answer
322
views
Java process failure (hadoop, hbase)
Anytime I am running hadoop/hbase process from a command prompt I get an error:
/usr/local/hadoop/bin/hadoop: line 320: /usr/lib/jvm/jdk1.7.0/bin/java: cannot execute binary file
/usr/local/hadoop/...
1
vote
1
answer
696
views
Got Permission denied with JAX-WS client on tomcat6 server
I have a strange behaviour with a java client that uses webservice stubs generated by wsimport.
The client says sth about
Got Permission denied: connect while opening stream from http://dev:8080/...
1
vote
1
answer
1k
views
Migrating WebLogic 10.3.0 to new host. Slow managed server startup times
We are migrating our Blue Martini Commerce application (only supported on WebLogic 10.3.0) to a new host (Redhat 6.3 on a VMWare ESX vm). We are seeing extremely slow start up times for our managed ...
1
vote
1
answer
243
views
Data lost after Hdfs client was killed
I wrote a simple tool to upload logs to HDFS. And I found some curious phenomenon.
If I run the tool in foreground and close it with "Ctrl - C", there will be some data in HDFS.
If I run the tool in ...
1
vote
1
answer
123
views
Multiple copies of JBoss acting as one?
I have a few ideas how to solve the problem, but one question about jboss clustering. Please, keep in mind these applications were written very poorly, that is why they require so much memory and ...
1
vote
0
answers
535
views
what is the default size of jvm heap when using maven to create jvm?
I am using the server started by the following command.
mvn jetty:run
i want to stop the server, but i failed to run mvn jetty:stop, even faild to run java -version, why?
[mirror@home wpse]$ mvn ...
1
vote
0
answers
40
views
Does redhat have any jdk configuration tools?
Red Hat seems like a very inconvenient environment for java.
On other distributions like debian and gentoo there have been system wide config tool for many years.
On red hat there's seems to be ...
1
vote
0
answers
2k
views
How to limit a webapp to a certain number of CPU cores
I need to set a webapp to run on a certain number of cores/ or all of them, on the server(depending on configuration).
The webapp will be running on any one of the following application server's.
...
1
vote
0
answers
623
views
TeamCity sends inadequate responses after Selenium tests
I have a TeamCity 7.0.2 at CentOS 6.2 server without X Server. I've installed x11-fonts*, xvfb, firefox, xauth, extracted env. variable DISPLAY=localhost:1, and started xvfb.
After that I could start ...
1
vote
1
answer
247
views
Reduce Tomcat6 memory footprint
This is my setenv.bat (windows installation).
It's the MySQL enterprise monitor service manager.
set JAVA_HOME=D:\MYSQL_~2\SERVIC~1\java
set JAVA_OPTS= ++JvmOptions="-XX:+UseParallelOldGC" ++...