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
9 views

Two application deployed in openshift — Need to connect database to different server [on hold]

I have two web application deployed in openshift.redhat.com What i want to do is to connect one application database to another application database server. How can i do that ? Thanks.
-1
votes
0answers
16 views

Need to deploy php and java application together on openshift.redhat.com [on hold]

I have a Java and PHP Website. Front end code in PHP and Java call some library. How can i deploy php and java application together ? I have a java war file, PHP Code and One database file.
3
votes
1answer
37 views

Enable HugePages on Linux for multiple services/processes

On one of my Debian machines I'm running a service on a JVM and a MySQL instance. I have enable the HugePages following various online guides but I'm having a problem. Here is my configuration: ...
-2
votes
0answers
13 views

after reboot server, service start without special chars [migrated]

I write simple Java server. This service connect with mySQL database. I am connecting with this service by socket connection. Everything work well when i start my service by line Command. ...
-1
votes
0answers
24 views

How to catch an exception by calling a method in other java class file? [closed]

Following is my sample code for what i am doing. Calling a method in other class file from a servlet and trying to retrieve the error-id or error-message from the other class file to servlet and ...
1
vote
0answers
9 views

OpenSSL: how to generate public and private keys usable for both C and Java? [migrated]

I am trying to generate PKCS12 public and private keys with OpenSSL on Windows 7 64-bit that can be used by both the Microsoft CryptoAPI in C as well as Java programs. Here are the steps I have ...
0
votes
0answers
11 views

java.security.NoSuchAlgorithmException: SecureRandom IBMSecureRandom implementation not found

I am trying to connect to a JRE that is publishing JMX information. When I do, I get the following error: Exception in thread "main" java.lang.reflect.InvocationTargetException ... Caused by: ...
0
votes
0answers
29 views

Can't push git updates & run Unix commands when connecting via SSH [migrated]

I have installed java 8 on my bluehost VPS. I have followed http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ instructions . In order to add directories to PATH variable I have added ...
1
vote
1answer
63 views

ORA-12505, TNS:listener does not currently know of SID after changing port number

I am trying to change oracle tnslsnr port number from default to some other port. After I change port number for tnslsnr from 1521 to 2000 I start geting ORA-12505, TNS:listener does not currently ...
0
votes
0answers
8 views

Tomcat throws java.nio.charset.IllegalCharsetNameException on attempted start

I'm installing the Dspace repository system on a freshly initated BlueHost VPN. Dspace is served with Tomcat, so as part of the installation, I have to install and start Tomcat. First order of ...
1
vote
1answer
12 views

Garbage Collection and Memory Visualizer (GCMV) Doesn't Always Generate A Report

I'm using GCMV within ISA 4.1 to analyze some gc logs from a cluster. When I open a native_stderr.log file in that tool, it always creates the following 4 reports/tabs: Table data Line plot ...
1
vote
0answers
37 views

elasticsearch glibc memory corruption

My elastic search clusters keep crashing for no reason. All I can see in the logs is : INFO | jvm 4 | 2015/04/17 19:10:09 | *** glibc detected *** /usr/java/jre1.7.0_04/bin/java: malloc(): ...
0
votes
3answers
30 views

How can I install multiple Atlassian applications in a single server?

Ok, this is a two-part question. I got an unmanaged VPS with CentOS from a hosting company in order to install several Atlassian tools, however, I ran into the problem that when starting a second ...
-1
votes
0answers
9 views

error in tomcat missing “php-cgi”

i tried to install(windows) javabridge to connect java and php.Its giving me an error saying php-cgi missing Here is what i did. What am i missing here? 1) Copied javabridge.jar , php-servlet.jar and ...
0
votes
0answers
22 views

How to fix hung requests creating dead lock(/root/syn)?

We are running a search service using written in Java using solr We are noticing dead locks on the service. 14:00:30,465 WARN ThreadPoolAsynchronousRunner:416 - Task ...
0
votes
0answers
8 views

Glassfish4: Should I run multiple applications in one domain?

I have 5 different Java EE 7 applications (WAR files) that communicate to each other via a REST interface. In production, is it "better" to deploy them all in one Glassfish4 domain, or to create a ...
2
votes
0answers
87 views

Unable to change vm.max_map_count for elasticsearch

Prehistory I have elasticsearch and SugarCRM7 running on CentOS 6.5. Every day I face the same problem: java outOfMemory error. That happens because of small vm.max_map_count value, 65530 only when ...
0
votes
0answers
29 views

Memory Leak in Solr cloud 4.8.1 and Lucene

I have a solr cloud instance version 4.8.1 with 8 nodes, 4 shards and facing memory leak on the JVMs here are the details of the instance. 8 nodes, 4 shards(2 nodes per shard) runs on Tomcat ...
1
vote
0answers
45 views

How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux)

TL;DR -- How do I give ws_ant.sh and/or the <wsInstallApp> task more heap at runtime? I am attempting to deploy a relatively large (~160-MB) EAR file to WebSphere 8.5 running on a 64-bit Linux ...
0
votes
1answer
59 views

Tomcat CPU and GC going crazy [closed]

Having some major issues with our Tomcat 7 installation. It used to run fine for over a year, but now the CPU is mainly at 400% - 700% (8 core machine) and in the logs I see tones of these: ...
1
vote
1answer
53 views

In-house java apps work in citrix environment but will not run locally on a users machine

BACKGROUND I am one of three systems administrator for the organization i work at. We previously had a Java developer who is no longer with the organization. The developer built several custom Java ...
0
votes
2answers
67 views

HttpServletRequest.getRemoteAddr() always returns 127.0.0.1

We're attempting to identify where specific requests are coming from inside our Java application. We have changed the log files to include the IP address and we're using ...
1
vote
0answers
11 views

Solr 503 when using boost function

I have three environments which are set up to use Solr: local, staging and production. The local configuration differs slightly to the staging/production however the other two are identical. I ...
0
votes
0answers
47 views

OpenShift, change java security properties

The latest WildFly OpenShift image includes Java 8u31. But my apps needs the disabled sslv3 'algorithm'. So I need to edit the java.security file from the JRE but this file is read-only. How can ...
0
votes
0answers
98 views

json works on localhost but not working on my real server

I have an application that is getting information from my server (online), I have a version of that website in my computer (localhost), The application is working on localhost can get the json, But I ...
0
votes
0answers
34 views

CORBA lookup fails with NameNotFoundException

The CORBA lookup works fine from localhost: thufir@doge:~$ thufir@doge:~$ appclient -client NetBeansProjects/corba/GreeterCorbaClient/dist/GreeterCorbaClient.jar {org.omg.CORBA.ORBInitialPort=3700, ...
0
votes
2answers
48 views

java installed but not working (dependency issue??)

I just installed Java 8 on my new VPS I set the links correctly but, still java, or javac won`t work: root@vpsXXXXX:~# update-alternatives --display java java - Auto-Modus Link verweist zur Zeit ...
0
votes
0answers
22 views

Apache 2.4 switching sessions from primary to backup in between even when sticky session is enabled

I am facing issue with long running requests . We have a case of file upload in which file upload process starts and at front end we represnt the user with a progress bar to show the percentage of ...
0
votes
0answers
42 views

how do I configure a glassfish host and broker to use JMS?

In trying to run a JMS Message producer remotely, I'm going through the fine manual: Administering the Java Message Service (JMS) GlassFish Server Open Source Edition Administration Guide Release 4.0 ...
0
votes
0answers
61 views

Tomcat client certificate authentication, client certificate not sent

I've add client certificate based authentication on our Tomcat servers. Both client and server are tomcat servers with internal CA issued certificates. Each tomcat has its own keystore (PKCS12) ...
0
votes
0answers
32 views

tomcat https static content

We are using tomcat to serve everything over http. BUT, we have a login page which is served over https since we have them enter a password. Recently, chrome has stopped supporting serving non secure ...
0
votes
0answers
11 views

Library to create self querying SNMP Agent in Java

I am trying to create an SNMP Management Agent that will query itself the OID of the Object to be retrieved. It will retrieve the value and store it in an internal database for later retrieval. The ...
0
votes
0answers
14 views

CATALINA_HOME not exported properly in Ubuntu 12.04

Running Ubuntu 12.04 and Tomcat6 A Java web app (ClinCapture) attempts to access catalina_home and instead of returning CATALINA_HOME=/usr/share/tomcat6 it returns ...
1
vote
1answer
725 views

Suddenly error='Cannot allocate memory' (errno=12) [closed]

So this morning I noticed my website is down, went on my server and saw that the webserver has been stopped. When I try to start it again I get this error start -Dhttp.port=80 ...
1
vote
1answer
436 views

System-wide JRE settings in deployment.properties file are ignored?

Basically I have the same problem as in this question. However the proposed solution doesn't work for me, not on a Win2003 server and not on a Win7 laptop used for testing. I have a Java SE 6 program ...
1
vote
0answers
128 views

Disabled SSLv3 in Tomcat, but Still Showing POODLE Vulnerability

I have a Windows 2008 server with Tomcat 7.0.59 & Java 8u31 & I am trying to ensure that SSLv3 is disabled. Looking at the changelog for Java, SSL3 should no longer be supported and the Java ...
0
votes
0answers
73 views

Apache Tomcat for Windows - cannot get https to work

Environment: Windows 2003 Server 64-bit Running on VMWare ESX 5.5 8GB of Ram Apache Tomcat 6.0.36 Server D:\Program Files\Java\jdk1.6.0_26\jre\bin\server\jvm.dll JDK 1.6 update: 26 Have been able ...
42
votes
5answers
3k views

How do I install the JRE on a Windows server without Oracle adware?

I would like to install Java on one of our servers, but I am reticent due to Oracle's bundling of an Ask.com toolbar and some virus scanner. I've read that the java updater even installs these for ...
0
votes
0answers
66 views

Tomcat is not starting although JAVA_HOME path is correct

I have linux server in which I run several Tomcats. The current Java I use is 64 bit. All Tomcats use 64 bit java but one. This one Tomcat needs to run with 32 bit Java. If I don't change anything, ...
0
votes
1answer
58 views

JVM outputs “No console, will fork to get enough memory” when started via cron

I have come across an odd message when starting up a JVM via cron: "No console, will fork to get enough memory". Google only returns a handful of results when searching for that string, so I figured ...
0
votes
1answer
121 views

Effectively Monitoring Server Load of Production Amazon AMI + Tomcat + Lucee Instance [closed]

Looking for advice as to effectively monitoring the load of a production web server. Preferably solution will be free or minimal cost (server is owned by a very small web development company - read ...
0
votes
0answers
30 views

Taking a thread dump on IBM J9 takes a long time

I'm trying to collect a java core on AIX (java version 1.6). There is only one dump agent configured, which collects a system dump, heap dump and java core on every SIGQUIT, so I used HealthCenter to ...
0
votes
0answers
48 views

Openfire how to fix? Error creating secured outgoing session to remote server

I have a OpenBSD server 5.6, in this server install Openfire 3.9.3. But I am getting the following error: error.log 2015.02.16 08:59:44 org.jivesoftware.openfire.session.LocalOutgoingServerSession ...
0
votes
1answer
188 views

How to run Wildfly best?

Within development I start Wildfly 8 as standalone. Then I copy all my WAR files to /standalone/deployments and run them over http://localhost:8080/projectname/. When thinking of a productive server ...
1
vote
1answer
187 views

(103) Software caused connection abort: proxy: pass request body failed

The following errors are being logged in our proxy Apache logs while processing the request with Tomcat Server: (103)Software caused connection abort: proxy: pass request body failed proxy: pass ...
0
votes
2answers
249 views

Dependancy error when building maven project

I'm trying to move an application from being built locally on a Windows Eclipse installation to a Jenkins server. From what I can see the settings are correct and the dependencies should resolve. Even ...
0
votes
1answer
92 views

Why is my java process using much more heap space than specified?

I'm running a Java application on Solaris using the -Xmx256M switch. When I connect via JMX, the JVM tells me the application is using about 50Mb of heap, and correctly states the maximum heap size is ...
1
vote
0answers
44 views

HP Radio Port 210 web configuration

We acquired used WiFi system to provide better wlan for the customers in our hostel. The switch is HP PROCURVE 5406zl and we have 50 or so HP PROCURVE RADIO PORT 210 access points. I set up the ...
0
votes
1answer
384 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 ...
0
votes
3answers
150 views

Jenkins maven java 7 permission issue

I'm getting this error when attempting a Maven build in Jenkins, Building in workspace /var/lib/jenkins/workspace/xxxxprojectnamedeletedforprivacyxxxx java.nio.file.AccessDeniedException: ...