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

Adding values up in sqlite db and displaying the sum in EditText [migrated]

I have a database helper class: public Cursor getAllData() { SQLiteDatabase db = this.getWritableDatabase(); Cursor res = db.rawQuery("select * from " + TABLE_NAME, null); return res; } ...
0
votes
0answers
13 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
32 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
19 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
8 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 ...
1
vote
1answer
12 views

Monitor java application memory inside Cloud Foundry

I have a Java application that I'm deploying inside a Cloud Foundry environment. I want to monitor the application's memory usage. Cloud Foundry provides the cf app command that produces output ...
0
votes
1answer
10 views

why is nodetool (cassandra single node) throwing NameNotFoundException: 'jmxrmi'?

Ubuntu 14.04 3.19.0-30-generic running cassandra 3.0.2. and oracle java version "1.8.0_72" i can see the port listening: 127.0.0.1:7199 0.0.0.0:* LISTEN 26048/java ...
0
votes
0answers
23 views

Cannot connect with slave from Jenkins master. Connection broken

I have setup one Jenkins Master (CentOS 7), and one node on which my project is running (dev environment, Windows 7). My project requirement is Java 1.6. On my Windows 7 and Java 1.7 machine, I can ...
0
votes
0answers
16 views

CentOS: in which folder should I install Java JDK? [closed]

I need to install Java JDK on CentOS 6.7, from different instructions I can see that some install it to /opt/, some to /usr/share/ some to /usr/local/, and some to /etc/. Which folder would be the ...
0
votes
0answers
15 views

RDS RemoteApp with Java

I am attempting to put together a small RDSH farm to deliver a front-end which requires Java. The front end is a simple VB executable which displays a predefined java-driven web front end. Now, my ...
-1
votes
0answers
21 views

How to prevent Java user prompts o Windows 7?

I need to create a strategy to deploy Java to Windows 7 computers in our network in a way to minimize user prompts for a specific application. Ideally, I would do this in a way that there will be ...
0
votes
1answer
8 views

YouTrack java process started to disappear on VPS

I had YouTrack installed on my VPS, and lately it just stopped working. Installation method I used is described here: ...
1
vote
0answers
18 views

CISCO SSL VPN Apps fail to connect using Java 8 update 71 (Java 8u71)

A remote client uses the SSL VPN apps for port forwarding through an ASA 5505 firewall. Basically no traffic was able to traverse the port forwarded IP addresses. Using the web browser in the VPN ...
0
votes
1answer
17 views

Configure Database Properties for Tomcat Webapp

I setup a sample application in Tomcat but have trouble getting the database connection working. It is a standard WAR package written in Spring framework and uses a MySQL database. The application is ...
-2
votes
0answers
9 views

How to install a 32-bit JVM on RHEL 7 [duplicate]

Does RHEL 7 support a 32bit JVM? If so, how can I install this onto my RHEL 7? I have a business application that only has 32-bit libraries that I need to run.
-3
votes
0answers
20 views

How to run 32-bit Java applications on Red Hat Enterprise Linux

I have a Java business application (its an old application) that has 32 bit libraries. I want to run it on a 64bit Red Hat Linux Server. Whenever I do, I get Exception in thread "main" ...
0
votes
0answers
25 views

WildFly 9.0.2 javax.net.ssl.SSLException: Error generating ECDH server key exchange

I have a problem with SSL connection negotiation in WildFly 9.0.2 The problem is when client is trying to connect to HTTPS listener the server responds ssl_error_internal_error_alert, while in log ...
-1
votes
1answer
56 views

how to solve SVN Commit Issue: forbidden by server

When I tried to commit my code using Eclipse. I got the following error: org.apache.subversion.javahl.ClientException: The operation is forbidden by the server svn: Commit failed (details follow): ...
1
vote
0answers
28 views

NginX with GeoIP - what is returned for geo code when no mapping is found?

As the tests I conducted (using Java API to read GeoIP.dat, as well as local test) might be insufficient, I was wondering what happens on NginX when geo-ip module is configured, and when no IP to ...
0
votes
0answers
12 views

How to update an application within an AWS autoscaling group?

We have 8 to 12 servers in our mico-service auto scaling group. We build jar files for our application. Now after building the jar file and uploading it to the Artifactory, how do we get it on all 8 ...
0
votes
0answers
19 views

EJB Remoting Auto Scaling in AWS

I'm currently in the process of figuring out how to migrate a Java EE Middleware application from a single static server to a Load Balanced Wildfly Cluster in AWS (with an Auto Scaling Group behing an ...
0
votes
1answer
39 views

Azure Web Apps With Java, MySql, Filesystem

Some background is I currently have a VM deployed on Azure. On the VM I have 3 java web applications running on a Tomcat server. Each are integrated in some way or another. They all run on the same ...
-1
votes
1answer
34 views

Trying to find some really old versions of software [closed]

I am currently trying to track down some old versions of Adobe Flash, Adobe Acrobat 9, Adobe Reader XI and Java Runtime Environment so that a Windows 2012R2 server can run a piece of [redacted] ...
0
votes
1answer
43 views

Linux: How to configure TCP wrappers in /etc/hosts.allow for manually started processes?

An internal server in the company I work for has been compromised and I would like to harden CentOS machines in the organization in order to avoid any future incidents so I've been reading about ...
1
vote
0answers
40 views

Java keystore: How to import the ca certificates correctly?

We have renewed the certificate of one of our server (apache httpd). For a webservice interface (for mobile clients) we need the certificate also on tomcat, means: stored in a java keystore. We have ...
2
votes
0answers
134 views

Using TLS 1.2 and java 6

We have a legacy web application that runs in a tomcat under java 6 - an upgrade to 7 or 8 is currently infeasible. We now have a requirement to connect, as a client, over TLS 1.2 however java 6 only ...
0
votes
0answers
29 views

error when trying to connect via websocket to the server on Openshift

My Web-socket server and client are written in Java. When I used a JavaScript web-socket client to connect, there was no issue. When I switched to Java web-socket client, I got the following errors: ...
0
votes
0answers
24 views

Geoserver (a java based webapp) returns 404 for some clients after a bit of use. Rebooting the Ubuntu instance temporarily fixes it

Geoserver returns 404 for some clients after a bit of use. Rebooting the Ubuntu instance temporarily fixes it. It seems to happen to clients of mine on xfinity more than others. The service will ...
3
votes
0answers
44 views

How do companies handle the need for different Java requirements on the same user?

In our company, we use GPOs to push software updates such as Java updates. We have about 150 users in different offices located in different countries, all using Windows 7. We have a few ...
0
votes
0answers
23 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 ...
0
votes
1answer
33 views

Change WebSphere's default Java SDK from IBM's JVM to Oracle's?

I've seen mentions that it's possible to change WebSphere 8.x so that it uses Oracle's JVM instead of IBM's included JVM. Does anyone know how to accomplish this? It does seem possible but I did not ...
0
votes
1answer
21 views

JVM memory in smartfoxserver

We have developed a multiplayer game using smartfoxserver as gameserver. I've setup a Ubuntu Instance 14.10 LTS in AWS with 2 Core 8GB Ram for only gameserver. But when I log into SFS admin. It says ...
0
votes
1answer
21 views

Do I need my application baked into the AMI to use auto scaling or can I use ansible for deployment?

I have an Ansible playbook that deploys my java app running on port 8080. It does this: Unregister instance from ELB Bring Java application offline Update RPM package with new jar file Bring Java ...
0
votes
0answers
12 views

Java distributed tasks

I am building a system which should consist of 3 servers running the same Java (Spring mvc) service on all 3 of them. Service will be able to do 3 sets of tasks, i.e. A, B and C. What I want is to ...
0
votes
0answers
4 views

Weblogic jms message driven bean

I'm working with weblogic 10.3.5. I have a maven2 project with those modules ear ejb - containing an ejb3 stateless bean ws - containing a soap web-service client The ws module contains only a ...
3
votes
1answer
65 views

Tomcat shuts down unexpectidly

I am using Apache Tomcat 8.0.23 with 1 GB RAM on centos 6 OS . I have used servlet and jsp for server side . But after few days it shuts down automatically . I have given memory size as ...
1
vote
1answer
60 views

CentOS, Tomcat 6 failed and won't start - java issue?

Linux isn't my strong suit so bear with me if this seems a little newbish. I have a virtual linux box rented, has CentOS (not sure which version) and Apache with Tomcat 6. Over the past 24 hours, the ...
1
vote
1answer
94 views

Office 365 and JavaMail

I trying to send email from server using JavaMail and smtp protocol. The email is name@mydomain.com. JavaMail is throwing the exception above and this message "Client does not have permissions to send ...
0
votes
1answer
96 views

IBM Cognos Business Intelligence 10.2.2 on WebSphere Application Server 7.0.0.29 fails to start, possibly due to a missing classpath entry

I have a server running IBM AIX 6.1.7.15 TL07 and I am trying to install Cognos Business Intelligence 10.2.2 on WebSphere Application Server Network Deployment 7.0.0.29, using a server cluster to ...
1
vote
0answers
87 views

Cannot get a java app to run/start as a service using systemd

I am trying to get a java app(server) to start as a service using systemd on my Centos 7 but it always fails. this is my push.service [Unit] Description=b4xpush server After=syslog.target ...
0
votes
1answer
24 views

Determine if security software is blocking application process on RHEL Linux [closed]

We deployed a networking application implemented in Java 8 on RHEL 7.1. Periodically, the application gets stuck attempting to communicate on non-standard ports. Is there any way to determine if other ...
0
votes
0answers
27 views

Start java server using init.d script

I am currently trying to start a java server using an init.d script. However, if I start the server it tells me that the server started and i can find a pid file, but the server is not showing up in ...
0
votes
0answers
21 views

Tomcat CSR for 2 servers with SAN ssl cert

I have a requirement to install SSL on Tomcat on two different servers. One server for pre-production the other production. I have been told that I must submit a CSR to my CA to get my certs for my ...
0
votes
1answer
25 views

Tomcat startup with security-manager - CentOS

I've seen this topic before, and the solution given works. However, it doesn't fit in my needs, since it's granting read access to every directory, by setting this catalina.policy: grant { ...
-2
votes
2answers
146 views

Is it safe to reboot Linux every night? [Being attacked] [closed]

Is it safe to use reboot command to reboot VPS every night? I'm under attack everyday for ~30 mins and I'm pretty sure if they could attack, they would do it non-stop. I contacted hosting provider, ...
0
votes
1answer
56 views

Run wordpress with tomcat server

I built website in Java on Tomcat server in Centos 6. My website is running at port 8080 with domain: mywebsite.com. Now I would like to construct a Wordpress blog for my website with another domain ...
0
votes
0answers
13 views

grizzly server not accessible outside

I'm running a Grizzly server on port 81, but when I try to access the resource outside, I get this But, when I tried netstat to check connections, its binding to my external ip, with its port ...
1
vote
2answers
441 views

ERROR 2006 (HY000): MySQL Server Has Gone Away… (HaProxy / Galera)

I setup a cluster of 3 MariaDB servers in a multi-master setup which is working fine. I added a 4th server for HaProxy to load balance and round robin so that we can have a little redundancy which is ...
2
votes
1answer
2k views

How can I install Java 8u65 on a Windows Server?

If you attempt to install the Java 8u65 runtime on a Windows Server, the following error message appears: Content within this application coming from the website listed below is being blocked by ...
0
votes
0answers
7 views

Java ResultSet & ResultSetMetaData together in a single execute statement

By Jdbc API ,I need to fetch "Column-Name" (by ResultSetMetaData) & Data (ResultSet) of the same Column-Name in a SINGLE Executed query (cannot execute SQL twice for any reason) Is this possible ...