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
5 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, ...
0
votes
0answers
7 views

Handling time based events within a cluster [on hold]

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
9 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
votes
0answers
12 views

Web Application basic information required [on hold]

I am new to web application development, as with any beginners, technologies available to build a web application is overwhelming that I am not sure which would be the one that serves the purpose in ...
1
vote
0answers
17 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
5 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 ...
0
votes
0answers
25 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
60 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
13 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 ...
0
votes
0answers
26 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
2answers
35 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
29 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 ...
1
vote
0answers
6 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
61 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 ...
3
votes
2answers
45 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
3answers
36 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 ...
0
votes
0answers
52 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
19 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 ...
1
vote
0answers
12 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
19 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 ...
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 ...
0
votes
0answers
38 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 ...
0
votes
0answers
30 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
10 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 ...
-2
votes
2answers
50 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
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
55 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
0answers
15 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 ...
0
votes
1answer
50 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
20 views

How to add a datasource in wildfly swarm with .war packaging?

I'm trying to run my web application using Wildfly Swarm and .war packaging. How should i add my jdbc driver and data source definition?
0
votes
1answer
42 views

<jvm-arg>'s not added to JVM on Resin 4, Windows Server 2012

We are migrating from Linux (Ubuntu) to Windows Server 2012R2 (don't ask!) and have encountered a setup problem with Resin: Installing Resin 4 Pro using the packaged setup.exe facility, resin.exe is ...
0
votes
0answers
5 views

Enable Java Caching for a specific site

In our environment our users utilize many 3rd party Java applications. The majority of these applets require caching to be disabled within Java but there are a couple of applets that need to have ...
0
votes
1answer
13 views

Wowza SSL error PR_END_OF_FILE_ERROR

I have installed the SSL certificate by following https://www.wowza.com/forums/content.php?128-How-to-request-an-SSL-certificate-from-a-certificate-authority The certificate was imported properly ...
0
votes
0answers
16 views

Deploying Java application on Tomcat 7 with Context Versioning

I am working on an API that is built on top of the Spark mini-framework (http://sparkjava.com/) Whenever I build a package through Maven, which is then uploaded to the webapps/ folder under Tomcat 7. ...
0
votes
1answer
17 views

WebSphere 7.0 Admin Console - Web Services

I've been trying to search on Google (and IBM's documentation) to find the answer to this, and I haven't found anything. Either my search skills aren't that great today, or my assumption is correct ...
0
votes
0answers
25 views

Puppet Server throwing load module error on `/etc/init.d/puppetserver start`

Getting the following error one a clean yum install of puppet LoadError: no such file to load -- jar-dependencies require at org/jruby/RubyKernel.java:1072 (root) at ...
0
votes
1answer
10 views

Java process thread details

I'd like to get the details like name, running time, etc. of threads of a Java process on a production VM, similar to the info that VisualVM shows in the Threads tab. Unfortunately, VisualVM won't run ...
0
votes
0answers
21 views

Linux screen(or java) with different date of system

I having a problem with screen on Centos 7. The system time is correct but on screen application theres a diference of 3 hours. The system output(correct): [root@Server ~]# date Ter Fev 23 01:27:11 ...
0
votes
0answers
20 views

How can you fairly split CPU between multiple JVMs running on a single SmartOS server?

I currently run an app within Tomcat but want to deploy Play Framework on the same servers as well. For licensing reasons, this is cost efficient, but being able to use excess CPU usage on a beefier ...
8
votes
1answer
92 views

How do I build a Linux environment that specifies specific versions of packages?

I am creating a dockerfile that runs a custom application that is tied to a specific version of Java. I'm using a centos7 base image because that's what an article I was referring to was using and ...
0
votes
0answers
28 views

Mysql and HAproxy

Our java application hosting on jboss was connected directly to mysql server and it was working fine.As per new requirement HAProxy has been placed in front of MYSQL Server,It works but after few ...
1
vote
0answers
223 views

Windows Server 2012 R2 IE Refuses to Load Java Plugin

We have a Windows Server 2012 R2 machine that we're using as a Remote Desktop Services server for our employees. It has the "RemoteApp" feature set up so that everybody can run our pre-configured ...
1
vote
0answers
16 views

How to create a headless JDK on Ubuntu

I want to have a headless JDK on Ubuntu 14.04. As discussed in the question “How can I install a headless JDK on an Ubuntu Jaunty server?”, one option is to create my own jdk-headless package. I have ...
0
votes
0answers
5 views

How do I sandbox build code in bamboo?

I am thinking of setting up a build server (bamboo) for an open source project. That means the code executed on build time (java) is not under my control. I will run the server as it's own user but ...
0
votes
0answers
12 views

Separated Java EE and PHP APIs running in the same machine and sharing the same SQL database general workaround

Having in mind the Java EE and the PHP APIs are completely separated (this is not about using java processes from PHP or PHP processes from java) and they will only share the database, is there any ...
0
votes
0answers
38 views

Jetbrains team products + out of memory

I am trying to build an Ubuntu server 15.10 VM with all the software tooling required for software development. When I saw that Jetbrains offers various tools like: hub, youtrack, teamcity and ...
1
vote
0answers
63 views

Nagios check_jstat

I'm trying to monitor java memory usage using nagios nrpe features. So I download and install check_jstat and install the plugin on the remote server. And when I ran it below is the result: OK: jstat ...
1
vote
0answers
87 views

Java application is slow in virtual server (KVM)

I have a Java web application, which runs from JAR, starts embedded Tomcat and is using Spring Boot. Problem is that it runs very slow when running in KVM virtual guest. The same application in the ...
0
votes
0answers
23 views

Deploying a SOS WAR file gives me a 404 Status Code on Tomcat?

I am trying to deploy a SOS WAR file from 52 north into the Tomcat, I put this WAR file in the webapps folder, but I got a 404 Status code, and I don't know how to solve this problem now. Is there ...