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
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 ...
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: ...
1
vote
0answers
11 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
26 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 ...
-1
votes
0answers
13 views

multiple user logins on glassfish

So for my project i have to create a simple web application, all my functionality works with the EJB and JPA with glass fish, im also using JSF to create it. However, when i test for using multiple ...
-1
votes
0answers
10 views

Jetty: what is the use of re-write handler in Jetty server [closed]

Can someone please tell when do we need to customize rewrite handler in jetty server. what is the exact use and does it has any impact of response.sendRedirect().
0
votes
0answers
6 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, ...
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 ...
0
votes
0answers
8 views

Handling time based events within a cluster [closed]

I have a Java app which loads up records from a database and then executes something every x mins/seconds, in a one machine environment, this works fine, however if this was to be run in a cluster, I ...
0
votes
0answers
19 views

Java package moved to new Windows server is throwing a memory error - “Attempt to access invalid address”

I have been tasked with moving an existing Java application to a new server. The old server is Windows 2008 R2 64-bit, running Java 32bit version 1.7.0_80. The java memory heap settings must be ...
1
vote
0answers
31 views

Deployment of Java8u77 removes static installation of Java6u45

I'm using the free version of PDQ Deploy to deploy Java updates on client computers in a domain, using the executable installers, NOT the extracted MSI. According to the Oracle documentation, there ...
0
votes
0answers
6 views

Authentication failed for user: null

I have an API "Vignette Collab" that is running on an Apache stack with Java, I inherited a legacy codebase and need to find where this error is coming from apparently the last developer built a ...
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
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 ...
0
votes
0answers
29 views

how to monitor java jre 8 on zabbix via JMX technology

how to monitor java jre 8 that running on tomcat8 via jmx technology? server os is ubuntu 14.04 LTS and monitoring platform is zabbix 2.2.
0
votes
0answers
61 views

How to add your own .class into a compiled .jar file? [migrated]

I have a .jar and I would like to add my own .class to it and recompile. Is there anywhere I can do it?
2
votes
0answers
14 views

Running Jenkins Slaves on old operating systems

I have a (quite old) Jenkins installation that I'd like to upgrade. Unfortunately, some jobs require to be built on an old operating system which cannot run Java 7 and hence cannot run the slave.jar ...
3
votes
2answers
53 views

Solr Search - java.util.Map$Entry cannot be resolved

I have Solr 3.6.2 running and powering the search for a Magento Enterprise site, and it's all working well, with no errors on startup etc. However when trying to access the following admin pages: ...
0
votes
0answers
28 views

How change “from” of outgoing mail in postfix or dovecot without touching DB or app code?

I have test machine (test.domain.com) with dovecot+postfix both configured to work with database users. I can send and recieve mail (smtp) and check all my folders in UI(imap) with addresses like ...
0
votes
1answer
23 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 ...
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 ...
0
votes
3answers
39 views

Getting java.lang.OutOfMemoryError when running an application

I am on a linux Red Hat machine and am trying to run a shell script that initiates a java application. It ran just fine yesterday but today I am getting this error: Error occurred during ...
-1
votes
3answers
2k views

java.lang.OutOfMemoryError: Java heap space

In our application we have both, Apache Server (For frond end only) & JBoss 4.1 (For business end). We are using Ubuntu 12 as server OS. Our application is throwing "java.lang.OutOfMemoryError: ...
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: ...
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 ...
0
votes
1answer
6k 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: ...
2
votes
1answer
2k views

Connect to SVN repository with Netbeans using SVN+SSH [closed]

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 ...
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
2answers
43 views

Tomcat webapp failing to start when Tomcat started as a service

I have a webapp that is failing to start in Tomcat on a Linux install. The app works on a different Tomcat installs on different machines and on the same machine when using a standalone Tomcat. The ...
0
votes
1answer
33 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
4answers
5k views

How can I install Sun Java JDK 6 on Debian?

If I try to install Sun Java JDK 6 on Debian, it doesn't install it. I don't want to install OpenJDK, because it doesn't work always exactly same as Sun JDK. I use following command: apt-get install ...
0
votes
1answer
20 views

Web App Error After Installing Java on Centos Server

Good day. My web app is programmed in jsp, using some of jQuery and javascript, is on a server with Centos 6.4, the app run its own java 1.7.0 - tomcat 8.0.21 and between its functions, uses ...
1
vote
0answers
11 views

Best Java REST API Metrics Solution(response time, count, etc)(not SaaS) [closed]

What is the best solution for Monitoring Java REST APIs? Metrics to collect are API response time, hit counts, failures, etc. I have already used Graphite(not performing well). Thanks
0
votes
1answer
72 views

How to disable 112 bits cipher suite in ssl of a java server

How to disable 112 bit cipher suite on java application server. Specifically these one. TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA TLS_RSA_WITH_3DES_EDE_CBC_SHA TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA ...
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
0answers
79 views

Java AWS Server: 502 Bad Gateway nginx/1.8.1

I am getting the 502 bad gateway error after uploading my application via Eclipse and I don't understand why its happening? I created a Sample Application through the AWS Elastic Beanstalk Console. ...
-2
votes
1answer
20 views

Python and java static IP [closed]

I have a Python server. Each time I change the network the IP changes. I want it to have a static IP over all networks so it can receive data without customizing the code every time. I want to do the ...
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 ...
1
vote
0answers
13 views

Run Java Mission Control as a daemon, and activate alerts?

I would like to use Java Mission Control (JMC) to monitor a java application I have that will expose certain information via JMX. In JMC it is possible to setup alerts to trigger when certain ...
0
votes
1answer
15 views

Increase openfire memory to larger values

We use OpenFire for XMPP messages. We have some memory issues(OutOfMemoryError), and therefor we would like to increase memory. I know how to increase memory using VM options and we were able to ...
-2
votes
2answers
52 views

Java process stay in running state and consume CPU

I have a jar running in background on a Ubuntu server. In a certain moment, the application start consumming too much CPU (400%) and 4 child process stay in R state: N.B: the problem is ...
0
votes
0answers
41 views

Zabbix JMX custom java app monitoring

We are trying to monitor a custom java app and retrieve JMX data from that host . I've tried to figure out the issue for the past 2 days but with no success . Unfortunately zabbix documentation does ...
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, ...
2
votes
1answer
275 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
0answers
44 views

Solr: Every time I do a bulk import the core admin stops working

Java 1.8.0, Solr 5.5.0. Heap size and other parameters are default. As simple as that. I have a stable core, I run a bulk import, and the core admin becomes completely unresponsive. Here's a dump ...
0
votes
0answers
11 views

Cannot expose Java Instrumentation for tomcat jvm

I am using a tomcat7 instance to run a Java application. My application needs the Java instrumentation exposed. This is done with a javaagent and I pass the agent at startup to the JVM in the ...
0
votes
2answers
13 views

Downstream IBM Httpd Server returns 404 only when accessed through another upstream IHS web server

We have a current setup like the following: HTTPServer - IBM HTTPD Server v? WASServer6.1 - WebSphere Application Server v6.1 (Running App "A") The basic communication is as follows on the listed ...
1
vote
2answers
57 views

Errors while updating IBM HTTP Plugin and IBH IHS

Initially this activity started with installing the WAS 7.0.0.39 fixpack on our system. The UpdateInstaller was successfully upgraded to 7.0.0.39, along with WAS and java. WAS is installed using ...
0
votes
1answer
55 views

Tomcat service does not see $JAVA_HOME

I'm trying to setup a Tomcat service with Systemd on CentOS 7. I've installed Oracle Java 1.8u74 to /usr/java/jdk1.8.0_74 and set the environment variable $JAVA_HOME at boot like so: # echo "export ...
0
votes
0answers
16 views

MySQL Cluster: Too Many Connections

We have our java application directly connected to the MySQL cluster (NDB engine) with 1 SQL Node. We also have another SQL node. We had a requirement to load balance our 2 SQL Nodes with the physical ...