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
311 views

setting kerberos ktpass ktab all that JAAS

I have a couple of questions on Kerberos on Windows. I want to find out what the purpose of mapping a user to a service using ktpass is. For example I am on windows and I run ktpass like this: ...
0
votes
0answers
69 views

Azure web role runnig Java returns 500

I am new to Java/Apache tomcat I needed to build a web service in azure cloud services, using java. The web service is running on apache tomcat 7, jdk 1.7 and communicating a mongo-db that is running ...
0
votes
1answer
161 views

Monitor Tomcat-JDBC connections

The company that I work for sells a java web application that runs in Tomcat. The primary problems we have are that the tomcat containers become unresponsive and need to be restarted and that the ...
0
votes
0answers
108 views

Java causing kernel panic

I'm running quite a lot of computations on Ubuntu 12.04 (3.8.0-35-generic), application is written in Java (Oracle 1.7.0_45-b18) on a server which has 12 AMD cores. Typically the computations uses 10 ...
2
votes
1answer
48 views

Solaris SMF Detect Java PermGen?

Is there a way to detect a Java process is out of memory (e.g. PermGen space) and restart it with an SMF contract?
9
votes
2answers
991 views

How do you get the latest update for Java 6?

An application my company is considering buying requires Java 6. I am concerned that this is quite out of date and am recommending against the application as a result. But it seems that Oracle do ...
0
votes
2answers
257 views

Installing a minimal java on Ubuntu VM

I don't have java installed on a Ubuntu virtual machine (just server, no X11): bash: java: command not found I want to install a minimal version to run some scripts. When I issue: sudo apt-get ...
0
votes
1answer
33 views

Tomcat 7.0.42 Manager Weird behavior

Good morning folks! I'm playing with my brand new tomcat installation today, and everything run pretty smoothly except that I got a weird reaction using the manager with virtualhosts. The problem ...
0
votes
1answer
166 views

Connection to Amazon AWS highly unreliable [closed]

I have a Java application that connects to MySQL on an Amazon EC2 (USA east region) instance with JDBC (using official latest Oracle drivers, location specified by IP). It also connects to S3 using ...
0
votes
1answer
100 views

How to increase heap size for particular WAR on WAS?

I have a WAS where a particular WAR file is deployed. This WAR file runs okay most of the time, however at times it would run to Java OOM issue. I'd like to know if there is any control to increase ...
0
votes
0answers
97 views

Apache, FCGI, and Java setup

I have a Java program that I'm trying to access through my Apache 2.4.7 webserver locally. At first I had it set up as a reverse proxy using mod_proxy_fcgi whereby I would have to start the webserver ...
1
vote
1answer
287 views

Load Balancer on Amazon does not have secure flag set for Cookie

We have a java based application running on Amazon and have configured our Amazon ELB to connect to them successfully. However, we are seeing that the Cookie flag not set as Secure. Name Value ...
0
votes
0answers
237 views

My Bitnami Tomcat Stack (on EC2 AWS) is generating DoS attack

I have a very small java web app that is deployed on a Bitnami Tomcat Stack on AWS. We are using this app in the company with only 5-10 user base daily, and generating only below 100MB of traffic per ...
1
vote
2answers
265 views

Load Balancing MongoDB

I have an application written in java with tomcat that I am ready to start scaling for production. As I understand it, i shouldn't use a load balancer with mongodb router instances as it can cause ...
0
votes
2answers
732 views

Java process restarting prematurely under runit

I'm attempting to run Logstash under supervision with runit. My run script for Logstash is simply #!/bin/sh SSL_CERT_DIR=/etc/ssl/certs exec /usr/bin/java -jar /usr/local/bin/logstash.jar agent -f ...
2
votes
2answers
1k views

Block bots by their Java referrer or User-Agent string?

I have been getting a lot of web hits in my logs that crawl most top level pages of my site and show a referrer as a Java version. I see different variants of the Java versions in the referrer, i.e. ...
0
votes
1answer
445 views

Cannot start cassandra: numactl: execution in CentOS 6

I trying to install Datastax Apache Cassandra with OpenJDK # java -version java version "1.7.0_51" OpenJDK Runtime Environment (rhel-2.4.4.1.el6_5-x86_64 u51-b02) OpenJDK 64-Bit Server VM (build ...
0
votes
1answer
189 views

Tomcat - JDBC Data Access Exception

My company has a web application that allows users as part of their business process to upload large documents (10+ MBs) into the application. For fast connections it works great with the document ...
0
votes
1answer
73 views

RHEL 6.4 Kicking off all Terminal Connections

I have a RHEL 6.4 server with 64GB of ram running a java app that loads 60+ war files into tomcat. For some reason, every time it loads every user gets kicked off. This includes a directly connected ...
0
votes
1answer
103 views

Weblogic server as Windows Service

I have problem while installing weblogic server as windows service , After creating installation script and service created when I'm trying to start the service I got this message : The service on ...
2
votes
1answer
158 views

%HOSTNAME% value is “unknown” in rsyslog template

The Gist Where does rsyslog get the value of %HOSTNAME% and under what conditions would "unknown" be the expected value? We're using rsyslog on an EC2 instance and we're trying to send our ...
0
votes
1answer
142 views

Change java version for tomcat on centOS

I need to run tomcat6 with Java 8 and keep Java 6 as the default JRE on CentOS. I have succeeded on unpacking a tar version of tomcat6 on centOS and doing so, but when I use the yum package, for ...
0
votes
1answer
230 views

change java process name

I am trying to change a java process name using the start-stop-daemon. When running the process without the daemon I simply add to the script: "exec -a kuku" And the java process name in the proc file ...
0
votes
1answer
201 views

Why does Bamboo + msbuild + DeployOnBuild create corrupt zip files?

I apologize if this is in the wrong place. I am a stackoverflow guy, but i need some server help. Since my problem seems confined to one of our build agent servers, i think its a server issue. I am ...
-1
votes
1answer
668 views

Running java application fails with “Unsupported major.minor version” [closed]

I want to install a java in my linux centos 64bit when I run it it gave me an error what should I install in my server I have java 1.6 java -jar licence.jar Exception in thread "main" ...
1
vote
0answers
650 views

Preventing Linux Kernel from killing a Java process prematurely

Running Ubuntu 12.04.3 LTS with 32 cores 244GB. Its the Amazon EC2 memory instance the big one and Java 1.7u25 My java process is running with -Xmx226g I'm trying to create a really large local ...
0
votes
1answer
897 views

nginx is running but not serving?

I've been trying to set up nginx as a proxy to jetty. I have one laptop running ubuntu server. Now I made jetty working at localhost:8080 and it serves the home page for the app at ...
2
votes
1answer
295 views

RSS feed/email list to be notified about java updates

I'm doing upgrades of JDK on our servers regularly. But because Oracle JDK installed via custom packages (not via package manager) I need way to be notified about updates. Are there way to be ...
0
votes
0answers
43 views

top output seems fine, yet server is overloaded

This server I am benchmarking gives no obvious signs of getting overloaded at a first glance. top output: top - 22:48:25 up 5 days, 3:41, 3 users, load average: 3.19, 3.34, 3.25 Tasks: 146 total, ...
1
vote
1answer
105 views

Searching in a compressed(.gz) file using java

We have large files where in we need to do pattern searches. Looks like when we use GZIPInputStream it uncompress the file in memory and then i need to do search on it. In memory one uncompressed file ...
1
vote
0answers
131 views

Cannot access OSGI service provided in Rifidi Edge Server (RFID Middleware)

I have installed Rifidi edge server (open source RFID middleware provide services as osgi bundles) on windows7 and I am trying to develop a java application to connect and read data from edge server. ...
0
votes
2answers
1k views

Granting access to Java Logger with java.policy file not working in Domino 9.0.1

After I upgraded our 32bit dedicated Windows 2003 server from 9.0 to 9.0.1 this part in java.policy file stopped working: permission java.util.logging.LoggingPermission "control"; which means I'm ...
0
votes
1answer
396 views

After Mavericks upgrade problems with PHPStorm [closed]

I upgraded to Mac OS Mavericks and since then my PHPStorm caused problems. During typing inside the editor the CPU goes up to 400% and the typing lags. I didn't know what to do or what the reason is. ...
1
vote
1answer
84 views

Windows service - java fails, service process doesn't, no one knows there's a failure

We have a web proxy running as a service. It's a straight-up EXE, within it is a packaged java application. Sometimes, we get this in the log file the application generates, and the proxy stops ...
0
votes
2answers
102 views

The page isn't redirecting properly

I have deploy my web app to EC2(AWS) instance. Firewall, tomcat configuration etc are OK. When i try acess to it via browser i see such error. enter link description here I see this in all browsers. ...
0
votes
0answers
27 views

How to configure SMTP to recognize a group

I'm using a windows server. I installed IIS SMPT server and using it. I have no problem when I send a mail to individual id. But I get an error when trying to send to a group. InternetAddress ...
0
votes
1answer
96 views

JVM dying with no error, no OOM in kern.log

My JVM sometimes, but not always, dies on startup with no error in any application or system log file. There is nothing in /var/log/kern.log, nothing relevant in dmesg. The thing is, even when I use ...
0
votes
1answer
86 views

Websphere shutdown not releasing database locks

Sometimes when shutting down Websphere there are database locks not released. As a result, when WAS is restarted nobody can work because of these locks, that must be removed manually by the DBA. It's ...
0
votes
0answers
91 views

Java daemon: “…not allowed access to the window system right now.” on boot

I have a daemon (/Library/LaunchDaemons/...) configured to launch on boot. However, I get the following error: Nov 17 20:36:24 server.local java[28972]: This user is not allowed access to the window ...
0
votes
2answers
2k views

302/301 and 404 redirect issue for apache redirection for tomcat

I'm using Apache HTTPD in front of Apache Tomcat with the following virtual host: $ cat /etc/apache2/sites-enabled/onlinetaskboarddotcom <VirtualHost *:80> ServerAdmin comented@out.com ...
1
vote
1answer
494 views

Access secured windows folder with java on a linux server

We're trying to mount a secured windows share on a linux server, but until now we're unable to do so. This is the setup we're having: A linux server that runs a java application A windows share that ...
0
votes
1answer
256 views

How to create new Servlet and JSP project on Ubuntu?

I've installed Tomcat 7, javaservlet 3.0 and openjdk 7. I read that I need to install Eclipse and Web Tool platform (from eclipse) but I can't find it. I install few packages from eclipse there is no ...
-1
votes
1answer
55 views

How to loop specific powershell script

I need to uninstall Java from several computers in my network. After almost all day of Googling it seems the best way to do this is with a Powershell script. I found one that I have tested on a few ...
3
votes
4answers
13k views

Java Deployment Rule Set via AD Enterprise CA

My goal is to get a Java Deployment Rule Set in place in my organization, but I do not want to pay third-party certificate authority for a code signing cert when we have a working CA running through ...
0
votes
1answer
33 views

Roll standalone JBoss app under Tomcat

I've got a Linux box where there’s Tomcat running, with some JSP applications in it. Now, I’ve received a third party app from a developer shop to be eventually deployed. It came as an archive called ...
1
vote
1answer
1k views

Large virtual memory size of ElasticSearch JVM

I am running a JVM to support ElasticSearch. I am still working on sizing and tuning, so I left the JVM's max heap size at ElasticSearch's default of 1GB. After putting data in the database, I find ...
0
votes
1answer
117 views

can network Redundancy possible with help of Layer 2 switches & dual NIC in one PC & program in java?

I am Trying to achieve Network Redundancy in network which have 1 server & lots of node which use 1 switch for each. As per various forums for achieve Redundancy in network i should use Layer 3 ...
0
votes
0answers
32 views

preventing vpn multiple connections

A little background: I'm a suddenly network manager working for a small business firm. I have a little knowledge about networking details and technology. But I have a good programming background. ...
0
votes
1answer
128 views

Monitoring performance metrics from Xen (xend) with Java

I need to write a Java application that is collecting and monitoring (remotely and local) performance informations and metrics from a Xen hypervisor. This Java application should fetch the same ...
0
votes
1answer
64 views

Restricting access from the internet to a website in beta conflicting with the website's own authentication

I have a java website that runs on Apache Tomcat. As the website is in Beta, I don't want it to be publicly accessible to anyone on the internet and I want a restricted group of beta testers to ...