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
1answer
378 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
733 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
804 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
1k 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 ...
1
vote
1answer
665 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
290 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 ...
1
vote
1answer
294 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 ...
1
vote
1answer
784 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
102 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
111 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
940 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
518 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
214 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
459 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
120 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
239 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
703 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
178 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
770 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
247 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
277 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: ...
1
vote
1answer
635 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
803 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
751 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
228 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
189 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
10 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
17 views

Configure Database Properties for Tomcat Webapp

I setup a sample application in Tomcat but have trouble getting the database connection working. It is a standard WAR package written in Spring framework and uses a MySQL database. The application is ...
0
votes
1answer
34 views

Change WebSphere's default Java SDK from IBM's JVM to Oracle's?

I've seen mentions that it's possible to change WebSphere 8.x so that it uses Oracle's JVM instead of IBM's included JVM. Does anyone know how to accomplish this? It does seem possible but I did not ...
0
votes
1answer
58 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
60 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
83 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 ...
0
votes
1answer
29 views

.War updates for Jboss

There is a .war file running well in JBoss environment. I need to update some little logic in some of the .jsp files. The steps I followed was First I change the extension to .zip extract out a ...
0
votes
1answer
89 views

Apache 2.2 to Tomcat Virtual Host from differnt machines not working

I have a scenario where all the requests to the Tomcat Server (Application Server) should go through the Apache 2.2 (Web server). Both the servers are on 2 different machines. The 2 machines are not ...
0
votes
1answer
54 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
1answer
220 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 ...
0
votes
1answer
279 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
1answer
165 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 ...
0
votes
1answer
583 views

Why is my java process using much more heap space than specified?

I'm running a Java application on Solaris using the -Xmx256M switch. When I connect via JMX, the JVM tells me the application is using about 50Mb of heap, and correctly states the maximum heap size is ...
0
votes
1answer
75 views

Access the JVM section of elasticsearch through the monitoring API

How I can access the jvm section of the node stats API ? I've read about it in the docs - monitoring individual nodes I'm doing a call to /_nodes/stats?pretty=true but don't have the jvm ...
0
votes
1answer
51 views

TOP processes by system time

I have a system running 2 processes - MySQL and Java I'm seeing 20-30% of the time spent in %system. I've looked around to try and find a way to identify which what the balance of the system time is ...
0
votes
1answer
93 views

504 error crash on openshift

I have deployed a java application in openshift. I am using bronze plan. My application is a scaled application and also uses 4GB of memeory. I got an 504 error crash two or more times in a day. ...
0
votes
1answer
319 views

Record raw http requests in weblogic

We are running a java ee application on weblogic 12.1 that has a soap messaging component. We are having trouble with our soap responses and want to get more details so we can figure out exactly what ...
0
votes
1answer
31 views

Nginx: index mapping

I'm trying to install Nging as a frontend server for HTTP requests but the welcome page does not work: server { listen 8081; server_name localhost; root ...
0
votes
1answer
401 views

Install Apache Derby on CentOS 6.4

I'm not a Java developer, my knowledge is very limited to this topic. I want to deploy a .war webservice on my Tomcat server, which fails most likely because of its Derby dependency (just a guess from ...
0
votes
1answer
215 views

How to prevent a specific request to redirect from http to https in SSL configuration?

I am facing one issue regarding ssl. Basically i want to stop redirection of only one request from http to https in Jboss 7. According to the requirement all http request should be redirected to ...
0
votes
1answer
846 views

How do I change Jboss' logging directory

I'm running jboss-as 7.2. I'm trying to configure all log files to go to /var/log/jboss-as but only the console log is going there. I'm using the init.d script provided with the package and it calls ...
0
votes
1answer
600 views

Solr: Using multiple SQL server data sources results in error: “…\sqljdbc_auth.dll already loaded in another classloader”

I have one Solr instance running in Jetty with JRE 8 with 3 collections (same as cores, yes?) and more to come. I am indexing data from SQL Server, connecting using NTLM as the identity of the Java ...