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
0answers
8 views

Unable to create new native thread

I am using 128 GB 16 core ec2 instance after running multiple (java) applications . I got " unable to crate new native thread" error I checked issue In /etc/sysctl.conf Kernel.core_uses_pid=1 It ...
0
votes
1answer
7k views

Error deploying Spring with JAX-WS application in Jboss 6 server

I'm getting this error when I deploying spring+JAX-WS application in jboss server 6.1.0. 09:14:38,175 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed: org....
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....
0
votes
0answers
15 views

Run FNDLOAD command on unix server from windows using Jsch

I'm trying to run an FNDLOAD command using Jsch after connecting to my unix server through ssh. But the command is giving me the following error bash: FNDLOAD: command not found Also if I try to ...
0
votes
0answers
13 views

Event log viewer returns “ Failed to open event query. Access is denied” from java programme [closed]

When I run the command above in CMD from remote server wevtutil qe application /r:server name /u:user /p:password /rd:true /f:text /q:"*[System[(EventID=17972) and TimeCreated[timediff(@SystemTime) &...
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
votes
0answers
27 views

Why database performance decrease in different data centers? [closed]

I'm trying to migrate all our infrastructure to the cloud. In order to do that, we need to ensure that our application performance would, at least, be the same. So we set 2 environment with our ...
0
votes
1answer
21 views

Jenkins is hanging with no errors during startup

So, I've tried doing my research on this issue but it's gotten to the point where I'm no longer understanding what I'm reading (looking at bug reports and mailing lists). I've installed Jenkins and ...
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 ...
1
vote
0answers
7 views

Elasticsearch high RSS memory consumption

I am seeing too high memory consumption in my elasticsearch instance. I set ES_HEAP_SIZE=4g. The starting command for ES starts with: /usr/lib/jvm/java-8-oracle/jre/bin/java -Xms4g -Xmx4g So far so ...
7
votes
4answers
15k views

How can I install WildFly 8.0.0.Final as service on Ubuntu Linux?

I am trying to install the WildFly 8.0.0.Final application server on a Virtual Machine running Ubuntu 12.04 LTS. I've done some searches on Google, but I found only third-party scripts and, I think, ...
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
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 ...
12
votes
2answers
40k views

what is .crt and .key and how can I generate them?

SSLEngine on SSLCertificateFile /etc/httpd/conf/login.domain.com.crt SSLCertificateKeyFile /etc/httpd/conf/login.domain.com.key SSLCipherSuite ALL:-ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
1
vote
3answers
3k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
0
votes
1answer
54 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
2answers
766 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 24....
1
vote
1answer
404 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 ...
0
votes
1answer
1k 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 ...
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....
0
votes
2answers
2k views

Deploying play! 2.0 application on an apache server with a reverse proxy

I'm trying to deploy my play! 2.0 application on an Ubuntu 11.10 server and I have been running into error after error and hope someone can help me here. I am try to deploy my Play! application using ...
0
votes
0answers
9 views

Adding additional locale translation to java/icedtea web start under CentOS 7

I am trying to see if there is any supporting documentation on how to add or download/install new translation for locale support on a java web start application. The application is a '.jnlp' file ...
0
votes
0answers
31 views

WildFly can't be stopped via service on Windows Server

Using the following configuration: Microsoft Windows Server 2012r2 WildFly-9.1.0.Final (running in standalone mode) Oracle Java JDK 1.8.0_91 For some unknown reason, WildFly can't be stopped using ...
1
vote
0answers
29 views

How to Deploy Enterprise Applicatin on JBoss

I have been having the most difficult time deploying an enterprise application on Jboss. In my opinion Jboss is ridiculously un-intuitive and Impossible configure without extensive help. I am ...
0
votes
0answers
7 views

Manually trigger file write failures

We're building a custom software program (Java + Spring.io) that writes audit trails to a log file (using logback). When a user takes an action in the system, an auditing entry is logged. This works. ...
0
votes
0answers
9 views

How to get connect to MongoDB in Java without specifying it database name in the URL?

I am using the following mongodb driver. <dependency> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> <version>3.0.2</version>...
1
vote
2answers
6k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under http:...
2
votes
2answers
1k views

RPM with RHEL: install 2 version of same package / different arch

I think the title is pretty self explanatory :) Is it possible, under RHEL (v 5) to install 2 instances of the same packages with 32 bit support for one and 64 bits support for the other one? ...
0
votes
0answers
9 views

Can the CRaSH Java shell run system commands?

CRaSH is a shell for Java. It runs in the JVM and is built to run commands against the JVM. I have a use case where I have access to a Java application and can deploy CRaSH against that application. ...
0
votes
0answers
25 views

Remove java 1.7 that was automatically installed with maven, but keep maven

I installed maven on an Amazon Linux following these instructions. This automatically installed and made 'default' java 1.7. I had already manually installed java 1.8, so I run sudo yum remove java-1....
-1
votes
0answers
21 views

Selecting a Remote Target Runtime for a Dynamic Web Project eclipse [migrated]

I am using Eclipse Mars 1 Release 4.5.1 on my laptop, and running Tomcat 7.0.26 on an Ubuntu 12.04 (installed using wubi), on the same local network as my laptop. I create my Dynamic Web Projects ...
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
8 views

Does Glassfish 4.x require JDK 7 specifically?

I was thinking about setting up a Java EE 7 framework to run Spring applications on Glassfish, which depends on JDK 7. However, we already have JDKs compatible with the newer specifications of Java 8 ...
1
vote
2answers
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
2answers
46 views

How to balance elasticsearch (java) on a very powerful machine?

On a 16 core XEON class, 128GB RAM RHEL server I want to deploy elasticsearch. What is preferable performance-wise? Have a huge elasticsearch process to use all resources on the native host? Break ...
1
vote
0answers
3k views

Add an entire domain to Java Exception list

I'm administering hundreds of machines with Java interfaces that I sometimes need to get into. Unfortunately, the default Java settings in Windows block all of these applications from running, ...
0
votes
0answers
15 views

What is the default value for TCP accept queue length on Linux?

I have read this article but it doesn't mention where the default accept queue length can be found (it does mention tcp_max_syn_backlog though, but it's different). I'm working on a Java 8 project ...
0
votes
0answers
16 views

Strange Postgres PreparedStatement behaviour (JDBC)

i have a strange problem with the following parameterized PreparedStatement in Java: PreparedStatement ps=DBUtil.newPreparedStatement( "SELECT * FROM msg as m WHERE " + ...
-1
votes
1answer
20 views

how to install two versions of tomcat 6 and 7 with java 6 and 7 respectively on same ubuntu server

Can any one help me to configure a server with two tomcat instances i.e. tomcat 6 with java 6 and tomcat 7 with java 7 versions on a same ubuntu server?
0
votes
1answer
50 views

Apache Tomcat requires an abnormal amount of time to start in CentOS 7

I am experiencing a weird issue on a CentOS 7 virtual machine and I can't see what is causing it. I created the VM on Digital Ocean and set it up as follows: 1) modified /etc/hostname with ...
0
votes
0answers
19 views

Tomcat instance inadvertently down in amazon ec2

I am running a tomcat instance in my ec2-instance, and it is frequently down for some reason. I checked the logs at {tomcatinstance}/logs/ , like catalina.out, localhost*.log, myapplication.log; but ...
0
votes
0answers
11 views

Java applet blocked?

I have a server application on GCE and is failing to load a Java applet to client side. Is there any GCE configuration to set? This happened after configure Load Balance with https and session ...
0
votes
1answer
30 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
0answers
67 views

c3p0 commit is always called even if queries are not executed(data is coming from Ehcache)

I have a web service which makes readonly call(bunch of select queries) to get data from DB. But it makes call to the database for the first time only, after that, all entities involved are cached in ...
15
votes
2answers
23k views

How can I upgrade to Java 1.8 on an Amazon Linux Server?

I tried sudo yum update but it just keeps java "1.7.0_75". I need 1.8 for it to work with another application but can't figure out how to upgrade it. Do I need to manually install it somehow? There's ...
2
votes
3answers
8k views

Setting up tomcat autostart on Linux?

So I have a java web app on tomcat installed on the server. How can I setup auto start for it so that it starts up automatically when the server is restarted?
0
votes
0answers
39 views

Can't increase Java heap in Debian

I'm setting up an environment to run some web apps developed in Grails, and deployed in Tomcat. I made the default configuration and the first web app deployed just fine, but after logging in, the ...
1
vote
0answers
23 views

AWS Elastic Beanstalk Instance - debugging low CPU but high memory usage

I'm running a small t1.micro instance on Amazon Elastic Beanstalk. The app itself is a Java web server, uploaded via a .war file, that responds to requests from a remote Heroku web app. Upon ...
0
votes
2answers
38 views

Linux: where to store Java trusted CAs

I need an advice regarding the best practice of storing organisational CA on Linux servers for Java. Basically, JRE installation contains a list of trusted CAs in cacerts file, which is used by ...
0
votes
0answers
12 views

Jetty : server is getting redirected to 302 instead of HTTP 500

We are doing a service call running on Jetty which has a expected behavior to fail with HTTP response=500 and gives a redirection url in the response location ( header ). In the subsequent call, ...