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
1answer
967 views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
3
votes
1answer
1k views

Signing a Java Deployment Rule Set JAR using AD Certificate Services

I am tasked with deploying Java 7 Update 55 along with a Java Deployment Rule Set to all Active Directory Windows clients. I've managed to get a solid Java software deployment setup but I'm now ...
0
votes
1answer
4k 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: ...
0
votes
3answers
1k views

Debian install netbeans - “No protocol specified”

When trying to run the netbeans shell installer, it gives me an error. ./netbeans-7.0.1-m1-php-linux.sh Configuring the installer... Searching for JVM on the system... Extracting installation data... ...
0
votes
1answer
37 views

OSX Maverick Java version's mess

I have installed from the Oracle website, the latest version of Java needed to run Cassandra. Unfortunately, I still get the error message : "Cassandra 2.0 and later require Java 7u25 or later." ...
0
votes
2answers
1k 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
13 views

jinfo for java-7-openjdk-amd64

I am trying to check my memory settings currently in use with tomcat via jinfo on Ubuntu. However when running jinfo -flags <PID> against the tomcat PID, I get the following error: $ sudo ...
3
votes
1answer
2k views

Connect to SVN repository with Netbeans using SVN+SSH

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 ...
-2
votes
0answers
23 views

Hadoop on BananaPi [closed]

I'm trying to run Hadoop on a banana pi and I don't understand why my Hadoop isn't working. I have an exception on running the very basic command root@bananapi:/opt/hadoop# hadoop fs -ls 14/12/17 ...
0
votes
3answers
267 views

gracefully stopping Apache Solr from command line

I using using jetty to run Solr using the following cmd line: java -jar start.jar & how can I stop this instance of solr gracefully?
0
votes
0answers
38 views

Why doesn't Linux strace show activity on a particular socket from java

This has been confusing me for a while now. I have a Java app (specifically, Glassfish, 3.1.2.2). I want to see how it handles the main HTTP socket that is used to for serving HTTP requests. I can ...
2
votes
0answers
28 views

mod_ssl client certificates on a reverse proxy

I am trying to add client certificate authentication on a reverse proxy that proxies an oracle application. Before adding, and if i remove the subsequent code, the oracle application is able to start ...
0
votes
0answers
13 views

Difference between ps_mem.py & free -m . Ubuntu server kills processes

Previously, I had a 4GB RAM server with Linode. Several times, I did "free -m" command to check available memory. I asked question here as well, but realized its more appropriate here. Most of the ...
-2
votes
0answers
15 views

Soft link between filesystems on CentOS with java 8 app ok?

So our basic software setup is to host application data in the /var/app-name/data directory. However some setups have minimal disk space allocated to the root filesystem (basically just enough for the ...
0
votes
2answers
1k views

Java application server behind IIS 7.5 on Windows Server 2008

I have a Java application server (GlassFish, indeed, but the problem is the same for any other application server, I guess), running on port 8080. And I have IIS 7.5 listening on port 80 as by default ...
0
votes
1answer
872 views

Problems to connect Java visualVM to a EC2-instance

I'm trying to profile a AWS EC2 instance via visualVM. The instance is in a securitygroup which allows all connections and i'm runing jstatd with a grant codebase ...
-2
votes
0answers
21 views

What are the correct memory settings for Tomcat 7 under java 8?

How is memory set in tomcat-8 with java-8 as jvm? In java-7 using java-7 i would create a file with contetnts as below #!/bin/sh export JAVA_OPTS="-Xms1000m -Xmx6000m" /tomcat/bin/startup.sh How ...
0
votes
0answers
13 views

windows single sign on tomcat through IIS Url rewrite

I'm facing a difficult setup where I have to configure single sign on, based on the logged in used on my tomcat application. I already took some steps which allow me to login via single sign on ...
2
votes
1answer
1k views

How do I set the jmx to listen in a specific IP

I am trying to configure jboss to allow monitoring with a jmx tool (I am looking at a few so no need to give). Looking at the properties in java jmx docs it does not seem to have a property to set ...
0
votes
3answers
3k views

Tomcat 7 Throwing Unsupported Class Version Error

I'm setting up a Tomcat server to host JSP sites. I have created a test application in Eclipse to make sure everything is working. All it does is print text in JSP, then call a function in a custom ...
1
vote
3answers
1k views

javac compiler throwing error in CentOS 5.7

I'm trying to install Red5 on a vps running CentOS 5.7 in MediaTemple using this how-to (dv):Install Red5 Media Server but on step 7 I get this error: BUILD FAILED /usr/local/red5/build.xml:217: The ...
1
vote
3answers
2k 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
2answers
4k 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 ...
9
votes
4answers
402 views

ps aux hanging on high cpu/IO with java processes

I'm having some issues with java process and nrpe checks. We have some processes that sometimes use 1000% cpu on a 32 core system. The system is pretty responsive until you do a ps aux or try to ...
2
votes
3answers
29 views

How can I verify the heap size startup arguments for an active JVM that's running as a Windows service and loading JVM params from registry?

I've got a Windows server with a third-party application on it that runs as a Windows service. The service/application is actually a java virtual machine however it displays in task manager as an exe ...
2
votes
1answer
1k 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
2answers
24 views

Automatically stop Tomcat if Root context initialization fails

I can't seem to figure out if it's possible to setup Tomcat to stop when the ROOT context initialization fails. Since my Tomcat instance only hosts one application as the ROOT context, it makes no ...
2
votes
1answer
2k views

Clearing Java certificates cache (force reload certificates)

A simple question here. One application gave me this exception when trying to access a website with a expired certificate: java.security.cert.CertificateExpiredException So, I renewed the ...
3
votes
1answer
116 views

Is it appropriate to use HeapDumpOnOutOfMemoryError in Production?

We have been struggling to diagnose the cause of an OutOfMemoryError we experienced on one of our production servers. Our attempts to reproduce the issue in soak tests have so far failed, and we are ...
0
votes
2answers
79 views

ColdFusion 11 and Java 8u25 and -XX:+UseStringDeduplication don't want to work

I have a ColdFusion 11 update 2 server and I wanted to try out new Java UseStringDeDuplication Setting that does work -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 ...
0
votes
2answers
1k views

MySQL database really slow with a really big table [closed]

I have a MySQL table with 150 million rows. Below is its data structure. Below is some of its data. Now, using PHP My Admin I ran the below command. SELECT `iwords` FROM `wordstable` WHERE ...
1
vote
1answer
45 views

Apache2 / tomcat / MySQL / PageSpeed Server hanging once a day

My server started to hang at least once a day. It remains so until I restart Tomcat. I'm not sure yet which part causes the problem, so I'm trying to work on several hypotheses: My website is served ...
2
votes
3answers
60 views

java program out of memory before reaching xmx

On a Redhat CentOS 6.4 are only a few process running, using about 3GB RAM (System has 12GB available). One of the processes is a WSO2ESB Server (java), we start it with those parameters: -Xms2048m ...
1
vote
1answer
854 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: ...
-1
votes
1answer
23 views

enable java app to establish http connection under network of VPN.

Some relative question http://stackoverflow.com/questions/17170980/connect-to-http-server-behind-vpn-with-java has already asked in Stack Overflow while I don't still have a solution since this should ...
2
votes
1answer
265 views

RSS feed/email list to be notified about java updates

I'm doing upgrades of JDK on our servers regularly. But because Oracle JDK installed via custom packages (not via package manager) I need way to be notified about updates. Are there way to be ...
1
vote
2answers
2k views

Kerberos authentication using Java and ActiveDirectory: KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN

Iv'e got a Java app that is SSO-enabled using Kerberos under the URL http://alf-test.example.com/. Unfortunately somethings not working, the AD says it doesn't know the service principal. This is the ...
3
votes
2answers
973 views

Java applets not starting in IE on Windows Server 2008 R2

I can't get the Java ActiveX Add-on to work on a Remote Desktop Server 2008 R2 with Desktop Experience enabled. This is what I get after enabling compatibility mode from http://www.java.com/verify : ...
1
vote
1answer
78 views

What ciphers are compatible with both Java 6/Tomcat 7 and IE8 (XP)?

I have disabled SSL3 and restricted the ciphers available to a recommended set but now I can't access my server using IE8 on Windows XP. If I allow all ciphers then I can connect using IE8 but when I ...
1
vote
3answers
4k 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, ...
1
vote
5answers
15k views

How to find DB2 port number (note: it does not use port listed in services file and db2 listing is missing from netstat command output) in windows?

I want to find DB2 port in windows, please help. Some information: DB2 v 9.7 Personal Edition - new/fresh install netstat command does not list db2 port. db2 entry missing was missing in ...
0
votes
0answers
40 views

Memory usage of Postgresql and play framework

I am running a play framework application and a Postgresql server on a VPS which has 2vCores and 2GB of RAM and I'm having memory issues. I limited my play application to 1024MB with the parameter : ...
0
votes
2answers
113 views

AWS Beanstalk redirect entire application from http to https

I've been trying to figure this out for a while and have not had any luck. As I'm sure you guys are well aware, the aws load balancer forwards all https request onto the ec2 instance over port 80. I ...
3
votes
1answer
739 views

Linux Huge Pages Usage Accounting

I have configured Huge Pages for use with Java and it appears to be working well although I have a question about the accounting in /proc/meminfo. To illustrate # grep HugePages /proc/meminfo ...
-2
votes
1answer
40 views

Does GlassFish Server need JDK or JRE in order to run Java EE applications? [closed]

I want to Install GlassFish Server in a computer without a GUI. I would like to know if a JDK or a JRE is required in order to run Java Platform, Enterprise Edition (Java EE) applications?
4
votes
1answer
2k views

Java 8 Update 25 Install Via GPO Not Working

I am trying to set up our Active Directory DC to automatically install Java 8 Update 25 (jre1.8.0_25.msi) using Group Policy. When attempting to add the jre1.8.0_25.msi package in the GPO at Computer ...
2
votes
1answer
4k views

How to install java-1.7.0-openjdk-devel on RHEL Server 6.3?

I have need of installing a Java 7 development environment on a RHEL 6.3 (system details are below). Following the official OpenJDK directions I tried yum install java-1.7.0-openjdk-devel (as root). ...
0
votes
2answers
257 views

Can't update scala on Gentoo

As I wanted to test Scala 2.9.2 on my gentoo system I tried updated the package but ended up with this error. I can't figure out where the problem may be: Calculating dependencies ...... done! ...
2
votes
3answers
5k views

What port is the Websphere app server's admin app on?

I've started Websphere on my local box and I can't remember what port the admin app should be on. Any ideas?
3
votes
1answer
1k views

“remote file operation failed” on remote UNIX slaves since upgrading to Jenkins 1.502

Since upgrading to Jenkins 1.502, any jobs using git on remote UNIX slaves launched by SSH fail with hudson.util.IOException2: remote file operation failed: /var/ciworkspaces/web/workspace/DFT.BA ...