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

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...
0
votes
1answer
20 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: ...
0
votes
2answers
36 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: ...
1
vote
4answers
739 views

What's a good setup for running Java and PHP applications with SSL on the same server?

I have one Java- and one PHP-application which I both want to run on the same machine (using Tomcat). As far as I can see, I have two options: Option 1: Do the classic apache-tomcat setup with ...
2
votes
1answer
22 views

JVM on Windows - paging and full GCs

We have a Java-based app (TeamCity, on Tomcat, on Java 1.7) running on Windows (Server 2012 R2). Java runs with a 6GB max heap size, and the system has 10GB of RAM. It is the only non-OS service ...
1
vote
0answers
17 views

Add an entire domain to Java Exception list

I'm administering hundreds of machines with Java interfaces that I sometimes need to get into. Unfortunately, the default Java settings in Windows block all of these applications from running, ...
1
vote
1answer
890 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: ...
2
votes
1answer
275 views

Error while installing jasperserver

I am about to install a jasperserver instance on my server. This is not my first jasperserver installation and I did this already on my host system and on a lxc. But now for some reason I get ...
1
vote
0answers
17 views

jrun ssl peer not authenticated

Before I start, I should say that I've already posted this question at Code Ranch, and have not yet gotten an answer. I'll make sure both this site and Code Ranch receive the answer should I find ...
0
votes
1answer
810 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
1
vote
1answer
1k 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 ...
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... ...
-1
votes
0answers
10 views

Tomcat - enable cross domain cookie [closed]

I have an application that run with Tomcat 6. It is written in Java. I host it at home on a Synology Nas and I can access it in public with the address mywebsite.synology.me I have another addresse ...
0
votes
2answers
237 views

How to copy an SVN repository periodically without losing the target tags, and branches?

We want to download (export, checkout) a complete repository, and import to a different repository (with all the commit messages) periodically so we can implement a tag/branch strategy. Background: ...
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 ...
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
1answer
13 views

Write sitemap.xml to java webapp root directory permission denied

I'm trying to use the sitemapgen4j library to build my sitemaps. I'm facing a permission problem while trying to write to my root directory https://code.google.com/p/sitemapgen4j/ the root context ...
3
votes
1answer
85 views

How to switch between TLS 1.0 and SSL 3.0 at Java/JRE level?

I am using java 1.6. I have setup my tomcat as my ssl enabled server. And i have setup a ssl enabled client (java code). When i do a communication from my client to server. In java ssl dump in tomcat ...
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 ...
3
votes
4answers
13k views

Java Deployment Rule Set via AD Enterprise CA

My goal is to get a Java Deployment Rule Set in place in my organization, but I do not want to pay third-party certificate authority for a code signing cert when we have a working CA running through ...
1
vote
0answers
15 views

Destination Host Unreachable and Communications link failure when I connect to MySQL database using D2RQ library

I have a question: I have a web service which runs on a virtual machine located on a remote server with Ubuntu 12.04 operating system. Now, I want to test this Web Service and I'm using this code ...
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
34 views

Apache Tomcat + Apache2 + mod_proxy: Issues regarding cluster

I have a Tomcat 7.0.57 cluster setup behind an Apache2 using mod_proxy. Setup: Apache2: 192.168.2.139 Tomcat Node1: ajp://192.168.2.166:8010 (http connector also defined on port 8082) Tomcat Node2: ...
1
vote
3answers
11k views

Can I delete java dump files (java core dump, heap dump, snap dump, etc)

Can dump files like java core dump, heap dump, snap dump, be deleted? They are occupying lots of space on the server. Is there any usage of this file? Will anything happen on production servers if i ...
0
votes
0answers
21 views

Install logstash using the Deb file

I have installed Java 7 and Java 8 on my machine and java -version returns the correct version when I change the environment variables. When I go to install Logstash using the deb I receive the follow ...
0
votes
0answers
11 views

How to map multple URL to same class in servlet? [migrated]

I am trying to create webapp using jsp and servlet. I found some following problems like.. Index.jsp Home Contact Us Services Enquire ...
1
vote
0answers
34 views

Java hosting and e-mail server on VPS [closed]

I can't find a good tutorial for this, I looked at https://www.howtoforge.com/ but there is only a weak tutorial on how to setup JDK and Tomcat in a Linux environment. For me this isn't a problem, a ...
0
votes
1answer
67 views

Tomcat 8 hangs on startup while deploying webapp. Possibly related to entropy generation

I'm trying to get a tomcat webapp started and while just testing out the server (vanilla tomcat8 download) it seems to be hanging on startup. My guess is that it is hung up on something dealing with ...
-1
votes
0answers
7 views

Development server for java WAR applications from current directory and without sudo [migrated]

In Rails and most modern web frameworks, I can easily develop web applications interactively by running a development server with a single simple command (rails server) and visiting the browser. For ...
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
1answer
881 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 ...
1
vote
1answer
43 views

install oracle java using alternatives system on centos 7

I installed Oracle's Java onto my CentOS Linux release 7.0.1406 (Core): [alexus@wcmisdlin02 Desktop]$ rpm -q jdk1.8.0_25-1.8.0_25-fcs jdk1.8.0_25-1.8.0_25-fcs.x86_64 [alexus@wcmisdlin02 Desktop]$ ...
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 ...
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 ...
0
votes
2answers
895 views

Tomcat 6 crashes under CentOS 5

We have CentOS 5, OpenJDK 1.6 and Tomcat 6. Every week or two our server fatally crashes with the following output in catalina.out: Exception while removing reference: java.lang.NullPointerException ...
1
vote
1answer
44 views

Coldfusion JVM heap vs RAM usage

I need help clarifying memory usage on a CentOS server running Coldfusion/Apache. I've got a script that reads a file into memory and process it line by line, inserts into DB and deletes the file. ...
-3
votes
0answers
12 views

Manage LVM Volume through Java [migrated]

I want to Manage LVM Volume through Java Servlet. Like Creating, resizing, deleting Volume or Volume Group. Is there any API to access LVM through Java? If not then any alternative mechanism for it?
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 ...
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 ...
2
votes
1answer
3k 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 ...
-1
votes
1answer
28 views

Cache Memory Growing very fast Cent Os -Tomcat

i am running Java application on Tomcat-6 on CentOs . JAVA_OPTS Like this : JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask` -server -Xms256m -Xmx2536m ...
0
votes
0answers
20 views

WSDL2Java Subject Alternative Missing

I have been provided with a 3rd party URL for a WSDL that is stored at a client's location. I am to generate code and use that WSDL, and the client made the the WSDL available over an https IP ...
0
votes
5answers
6k views

How to connect to oracle server in java?

I am trying to connect to my friends Oracle server. But while connection I am getting error please help..... JDBC code Class.forName(oracle.jdbc.driver.OracleDriver).newInstance(); ...
0
votes
0answers
7 views

Can't connect to tomcat7 from public ip [migrated]

I posted this question on stackoverflow and was recommended to ask here instead. I've been struggling with this issue for the past two days and am hoping someone here can help me out. I have a ...
3
votes
1answer
2k 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
76 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
0answers
30 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 ...
0
votes
3answers
338 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
67 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 ...