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

Java Spark web service doesn't work sometimes

I have created a web server using Spark that contains one route. I'm calling this route from android clients. post("/query", (req, res) -> { res.header("content-type", "application/json"); ...
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
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
0answers
9 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
14 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?
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: ...
0
votes
1answer
24 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 ...
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 ...
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
10 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 ...
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
25 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
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 ...
0
votes
0answers
62 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 ...
12
votes
2answers
20k 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
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
37 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
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
18 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
35 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 ...
0
votes
0answers
7 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
35 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
57 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
9 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
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 ...
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
33 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
72 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
29 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 ...
0
votes
3answers
43 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
3k 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: ...
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: ...
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
2answers
62 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
37 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
26 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
12 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
84 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 ...
0
votes
0answers
123 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
23 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
24 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 ...