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

Tomcat - enable cross domain cookie [on hold]

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
11 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
53 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 ...
2
votes
1answer
263 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 ...
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
12 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
1answer
21 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
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
28 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
14 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
32 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
50 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
877 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 ...
0
votes
1answer
32 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
891 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
40 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
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 ...
-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
17 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 ...
0
votes
1answer
810 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 ...
1
vote
1answer
882 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
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 ...
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
72 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
28 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
318 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
66 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
45 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
25 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 ...
0
votes
0answers
29 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 ...
9
votes
4answers
494 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
39 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 ...
1
vote
2answers
36 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 ...