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

learn more… | top users | synonyms

3
votes
1answer
326 views

SNMP query - operation not permitted

I am working on API that reads a lot of data via SNMP (routes, interfaces, QoS policies, etc...). Lately, I have experienced a random error stating: Operation not permitted Now, I use SNMP4J as ...
3
votes
1answer
112 views

How to determine what websites or local applications are using JVM/JRE

We run a large Windows shop -- tens of thousands of workstations. Most have a version of the Sun/Oracle Java Virtual Machine (JVM) installed. With all the security issues around the JVM, we'd like to ...
3
votes
1answer
169 views

HTTPS Connection error

I am trying to connect to a servlet from usinghttp url connection,i.e http://localhost:9481/test/NewServlet. It worked fine for me. Now I want to connect using https://localhost:9481/test/NewServlet. ...
3
votes
1answer
541 views

What are the best practices for monitoring and alerting for low level JVM metrics?

I'm looking to set up monitoring and alerting for java server based app and want to find some best practices for monitoring JVM specific metrics and for designing alerts based on those metrics. So ...
3
votes
1answer
2k views

Connect to SVN repository with Netbeans using SVN+SSH

I am trying to connect to a SVN server in order to import my project into it with svn+ssh authentication method. I am using the NetBeans IDE (6.8) with subversion plugin installed on Windows XP SP2. I ...
2
votes
1answer
358 views

Error while installing jasperserver

I am about to install a jasperserver instance on my server. This is not my first jasperserver installation and I did this already on my host system and on a lxc. But now for some reason I get ...
2
votes
1answer
227 views

Is the Kerberos SPN FQDN significant to the server, or is the keytab enough?

I spend most of my time as a developer, so I'm not familiar with all the details... I have a service running on a linux host. I want to use Kerberos to transmit identity information to the service. ...
2
votes
1answer
166 views

Any way that I can feed tshark a live capture written to a file without reading from the start?

I'm capturing traffic from a microtik router to my linux server and writing to a big file. I'm searching for a way to feed from the current file end forward since it is a several GB file and I can't ...
2
votes
1answer
236 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
373 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 ...
2
votes
1answer
1k 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
413 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
420 views

Installation of SSL certificates onto stand-alone ActiveMQ failing

I am trying to get SSL working on ActiveMQ but keep running into the error: SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) I am ...
2
votes
1answer
1k views

How do I set the jmx to listen in a specific IP

I am trying to configure jboss to allow monitoring with a jmx tool (I am looking at a few so no need to give). Looking at the properties in java jmx docs it does not seem to have a property to set ...
2
votes
1answer
123 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
2k 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
307 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
165 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
1answer
185 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
107 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
954 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
316 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
609 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
639 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
914 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

Can't start WebLogic admin console

I'm wondering how to fix this error. We had the wrong Java installed on my machine when I got it, so my boss installed JRocket to fix things. WebLogic has been having problems ever since. I cannot ...
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
530 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
278 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
248 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
2k views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
1
vote
1answer
680 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
88 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
109 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
768 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
440 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
212 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
403 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
118 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
221 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
584 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
174 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
673 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
224 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
273 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
602 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
751 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
733 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
222 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 ...