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
1answer
263 views

Bandwidth fluctuations while running java server

We are running a distributed system of java servers (os: linux) doing lot of computation with communication over TCP. While our traffic pattern in not bursty, on some machines we see a fluctuation in ...
2
votes
1answer
494 views

Issue with solr memory usage

I'm having memory problems with a Solr slave instance. The problem is that every time the slave replicates new changes from the master, the slave starts a new searcher, and apparently the old one isn'...
2
votes
1answer
2k views

Java Deployment and Configuration (1.6.0_21)

Sofware: Java Runtime Environment 1.6.0_21 OS: Windows XP Professional 32-Bit, SP3 Situation: a new piece of web based software is being deployed this week and prior to this all the company desktops ...
2
votes
1answer
503 views

how to use “mysqld -O thread_stack=#”

I keep getting this error whether I run my query from the terminal or from within Java. Anyone has some instructions on how to resolve this? Thread stack overrun: 5768 bytes used of a 131072 ...
2
votes
1answer
128 views

Strange CPU usage on Windows Server 2003 vs. CentOS5.4

I have two Virtual PCs running Windows Server 2003 and CentOS 5.4 on a host machine. I use a java server on both of them. I copied the java server's files from the host machine on to both of the ...
2
votes
1answer
3k views

Deploying to Tomcat root using Jenkins

Is there any way to deploy my Java application .war file at root on Tomcat 7 server, using the Deploy plugin for Jenkins? Currently the app gets deployed at http://server/foo/ if it comes in a file ...
2
votes
1answer
321 views

Amazon Ec2 segfault error

I have a production Java application hosted on Jetty. During the last week or so, the system has crashed, leaving only a single message accessed with "dmesg": java[20551]: segfault at ...
1
vote
1answer
2k views

Java MSI install error 3: -2147287037

We want to silent install Java 8 update 60 via its msi. The installation stops with a vague error which isn't very helpful at finding a solution. This is the MSI log: === Verbose logging started: 10....
1
vote
1answer
428 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
1answer
390 views

PostgreSQL 9.2 causes CPU utilization to go to 100%

We have a Java EE application (a online digital library portal) with Hibernate 4.3 which connects to a PostGres 9.2 database. Upon load testing with a load of 175 concurrent users logging in and ...
1
vote
1answer
154 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
1answer
2k views

iDRAC6 JViewer Unusable

I'm getting the following error when trying to launch the Virtual Console, but the Virtual Console Preview works fine (it displays a small preview about once a second). I've confirmed that my M610 ...
1
vote
1answer
435 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
1answer
815 views

Getting JMX working under Tomcat 7 with SSL and a self-signed cert

I'm trying to get JMX working under Tomcat 7.0.23 with SSL. The servers are located in AWS, which means all the hosts are NATed, and I need to use JmxRemoteLifecycleListener to explicitly set the two ...
1
vote
1answer
903 views

Reasons for a TCP Timeout scenario

I am actually currently investigating long running connections of a Java/Tomcat based Web application. After ruling out any internal or application based reasons, I am now down to the network layer. ...
1
vote
1answer
1k views

Java 7 on a V-Server: “Could not reserve enough space for object heap”

I've just installed Java 7 & Jenkins on a V-Server with 1Gb of RAM # java -version Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not ...
1
vote
1answer
2k views

What is stopping my Visual JVM remote connection?

I have started my application with this settings below: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=43588 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun....
1
vote
1answer
772 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
1answer
298 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
1answer
334 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
1answer
822 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
1answer
113 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
1answer
114 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
1answer
1k views

How to run Visual VM on remote centos

We have a java application residing on centos machine. From our windows machine we plan to connect to the application. We have enabled jstatd and confirmed is running. The issue now is visual vm can ...
1
vote
1answer
582 views

Unattended silent install of Java on OS X Lion/Mountain Lion (OS X 10.7, 10.8)

As Java is not installed by defaults on Lion and Mountain Lion systems (OS X 10.7, 10.8) I would like to deploy it to all machines on our network. I understand that I can simply download the .pkg and ...
1
vote
1answer
215 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" ++...
1
vote
1answer
492 views

Running multiple background Java processes on Linux

I have a jar file that runs continuously and acts on various events. I need to create multiple instances of this jar, passing parameters to it on start up, and have it continue to run between shell ...
1
vote
1answer
127 views

How to access SSH from web without connecting from client

I have a server which is behind a firewall and the SSH port is disabled. I want to access via SSH to monitor services on a server. My web server is Apache Tomcat. How can I achieve this? is there any ...
1
vote
1answer
249 views

Security risk of JIRA standalone installation running JRE version 1.6.0_26 vs 1.6.0_29 (latest)

Atlassian recently introduced a standalone installer that installs JIRA, along with its own JRE. Unfortunately the JRE Atlassian bundles with this installer is 1.6.0_26, whereas the current version of ...
1
vote
1answer
768 views

configuring nginx and tomcat together

I am trying to figure out exactly how to configure nginx and tomcat to work together correctly. Nginx has a worker connections setting and tomcat has max threads (assuming native apr connector for ...
1
vote
1answer
183 views

How to make glassfish v3.1.1 run with -Xmx256m?

I have a t1.micro amazon instance and that machine have very scarce resources. I need for the moment to run glassfish3.1.1 (due to complete JEE6 support) on those conditions. Any guidance is welcome. ...
1
vote
1answer
838 views

Groovy-grails: grails run-war works, but grails run-app throws BindException: Address already in use: JVM_Bind<null>:80n

When I run grails -Dserver.port=80 run-app, I get LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind<n ...
1
vote
1answer
264 views

Tomcat's falling again and again

We are a happy group of developers in venezuela who developed a tomcat5.5+java+spring+hibernate+mysql+jstl+(flex) application. Now we installed them to customers and make them happy, each of them in ...
1
vote
1answer
282 views

OOMKiller causing machine hosting Java to become unresponsive

I have two servers running in a private vSphere cloud, both running JBoss and Tomcat. Machine 8 - RHEL5.3, 3 gigs of 'physical' memory, 1 gig of swap Machine 25 - RHEL4.6, 2 gigs of 'physical' ...
1
vote
1answer
1k views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: http://simplygenius.com/...
1
vote
1answer
668 views

Glassfish v3 failure when startup. “Cannot allocate memory ”

It is clear in this Question Fail to start Glassfish 3.1: java.io.IOException: error=12, Cannot allocate memory But in my case,I have a 512M memory Ubuntu 10.04 vps.It seems that I don't need ...
1
vote
1answer
838 views

GWT - Oracle JDBC Connection problems

I am having great difficulty making a connection to an Oracle Database OJDBC. I´m using Google Web Toolkit and i added a SQL Database to my project. The Database name is Agenda. I've searched a lot, ...
1
vote
1answer
756 views

Only one Java program starts on Ubuntu

i have a Ubuntu server # uname -a Linux 2.6.18-028stab064.7 #1 SMP Wed Aug 26 13:11:07 MSD 2009 i686 GNU/Linux Java starts with this options (it won't start with no extra opts): Picked up ...
1
vote
1answer
232 views

Sun Java keytool importing EV certificates into a single keystore

At my current job we are using tomcat, customers have custom web portals setup on their own local machines. EV certs are new to me, they have 2 part intermediary and a primary certificate. For our ...
1
vote
1answer
198 views

Tomcat experts, /proxy/http/1.2.3.4/index.html to proxy http://1.2.3.4/index.html - possible?

How to setup tomcat proxy so that, e.g., /proxy/http/1.2.3.4/index.html causes Tomcat to proxy http://1.2.3.4/index.html?
0
votes
1answer
7 views

Supporting different TLS versions by service on a tomcat web application

I have a legacy web application that runs on Tomcat7 with Java6 and makes web service calls to multiple external services. One of those service providers has decided to end support for TLS1. I tried ...
0
votes
1answer
125 views

package org.json does not exist

I downloaded the JSON library for Java from Maven Repo and installed the .JAR file at the Java library directory on UBuntu 14.04. I tried compile a simple JAVA snippet for JSON parsing, but the ...
0
votes
1answer
32 views

Application GUI on a heavy load tomcat doesn't respond

We have a backend webapp installed on tomcat 8 that has a GUI part written in Apache wicket MVC (version 1.4) - the wicket GUI fails to respond the moment the server starts doing heavy processing. ...
0
votes
1answer
26 views

Linux: Mismatch between the threads the tomcat application created and the run queue length

Linux: 16gb ram, 2cpus On Linux machine running tomcat with around 800 threads which I got using jvisualVM, but in run queue length I am getting only 50 because CPU is 100%, and no blocked threads ...
0
votes
1answer
69 views

JSON Parse Error in Windows Sensu Client Powershell Setup Script - unexpected character at line 1, column 1

I am creating a install script for Sensu on Windows and am getting this error upon starting the service: { "timestamp": "2016-04-14T23:05:45.043371+0100", "level": "warn", "message": "config ...
0
votes
1answer
16 views

Java process thread details

I'd like to get the details like name, running time, etc. of threads of a Java process on a production VM, similar to the info that VisualVM shows in the Threads tab. Unfortunately, VisualVM won't run ...
0
votes
1answer
59 views

why is nodetool (cassandra single node) throwing NameNotFoundException: 'jmxrmi'?

Ubuntu 14.04 3.19.0-30-generic running cassandra 3.0.2. and oracle java version "1.8.0_72" i can see the port listening: 127.0.0.1:7199 0.0.0.0:* LISTEN 26048/java ...
0
votes
1answer
250 views

Run wordpress with tomcat server

I built website in Java on Tomcat server in Centos 6. My website is running at port 8080 with domain: mywebsite.com. Now I would like to construct a Wordpress blog for my website with another domain ...
0
votes
1answer
79 views

WSO2 Governance Registry: Cannot add Active Directory user store with certificates

I'am using wso2 governance registry 5.0.1 and have a problem to add an active directory user store. I succesfully added my certifactes (.crt files) to the JVM's truststore but have this error: [Root ...
0
votes
1answer
155 views

Saving the Iptables rules to the iptables file

I am trying to save the iptables current rules to iptables file through my java application. Since i do not have the permission to write to the file without logging in to the root, am using this ...