Questions tagged [java]

Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms

1835 questions
0
votes
1 answer

ProxyPassReverse

our IT is trying to configure a new apache/jboss/apj setup. When I browse to http://domain.com/jboss/test.jsp and echo out the request.getRequestURL() I get http://domain.com/test.jsp (without jboss) My deployed app encounteres a lot of 404's…
jeff
  • 101
  • 3
0
votes
3 answers

Can I install JAVA on the same linux or unix server on which PHP is already installed and hosting website without any issue?

I need to install Java on the same server on which PHP is already installed and hosting website. I need Java on the same server as I need to validate my XML file for Schematron business rule validation, will it create any problem if I install Java…
Deepak Vishwakarma
0
votes
1 answer

Restrict Client Certificate except for some pages in ASP.NET / IIS 7 or Jsp / Apache / Tomcat

In IIS you can force client certificate request mais can it exclude some pages ? How is it by coding (sample code somewhere ?) or by configuration ? Same question for Apache / Java
user46250
  • 362
  • 1
  • 6
  • 22
0
votes
1 answer

How to stop Java web app on server remotely

I remotely ran a Java web application on a server using TightVNC. One of the tasks of the web app was that it would schedule and do a specific task every 15 minutes. Turns out the code is incorrect and produces a SQL Exception: Invalid column index…
0
votes
1 answer

How do you lock a process in memory and not let it page swap?

How do I keep a Windows Tomcat 6 service process from having so many page faults? It has 9M faults. I have plenty of memory and want to keep the entire JVM in RAM and keep it from swapping, to make it faster. The Tomcat service is 8GB and the…
Chloe
  • 1,164
  • 4
  • 19
  • 35
0
votes
1 answer

Cannot connect via remote JMX

I tried to enable JMX remoting on a Java app running on a server by adding the JVM args -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.authenticate=false…
Andy Shulman
  • 293
  • 3
  • 7
0
votes
1 answer

I've apt-get java, tomcat6 on debian system and get this exception. How can I fix it?

root@konrad:/var/lib/tomcat6/logs# cat localhost.2012-07-12.log Jul 12, 2012 9:26:30 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter SetCharacterEncoding java.lang.ClassNotFoundException:…
0
votes
2 answers

Replace GIJ with Oracle Java

I'm trying to run Google's Closure Compiler on my server (CentOS 6). I installed it, but only got errors when I tried to run it. java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String;…
Theron Luhn
  • 325
  • 2
  • 3
  • 11
0
votes
3 answers

Multiple *Almost* identical processes on a Linux Server

What is the best way to run multiple Almost Identical Java processes on the same Linux server? Explanation of the environment: We are running a set of Java processes that provide a calculation grid. The only difference between the processes, is the…
0
votes
1 answer

Writing a Script to Delete JMS Queus in Websphere

suppose I have the following JMS queues "doc/queue1","home/queue2" and "someOtherQueue" added in a websphere process server, how can I write a script to delete them? looking around the web i haven't found a solution to my problem yet unfortunately,…
snajahi
  • 101
  • 2
0
votes
1 answer

Birt on Tomcat unable to find JARs

First, my setup: BiRT Runtime: 3.7.2. Ubuntu 10.04 Tomcat 6 Sun Java 1.6.0 I have a jar file I want to deploy onto the Tomcat server so it is usable by the runtime, so I placed the jar file in /var/lib/tomcat6/webapps/birt/WEB-INF/lib. As I…
0
votes
4 answers

Coldfusion on VPS, how much JVM heap memory?

Recently I got a VPS server and I'm running Coldfusion, the website was running fine until it got more and more traffic and I started to encounter 'OutOfMemory' exceptions. I thought simply to rise the memory of the VPS server, but this didn't…
0
votes
1 answer

How can I automate the deployment of a glassfish application?

I'm writing a bash script that pulls a specific copy of our java web application from the svn repository and builds it. I would like that script to be able to deploy the generated .war file on the glassfish server. The script and glassfish server…
Eti
  • 111
  • 6
0
votes
1 answer

DNS caching "-Dsun.net.inetaddr.ttl=30" in glassfish v3?

Excuse my basic question, but i am a software engineer and not very experienced with server admin. I am using reCAPTCHA in my j2ee application, and on google's site they say that the reCAPTCHA plugin for java requires modifying DNS caching (put it…
ccot
  • 181
  • 2
  • 11
0
votes
1 answer

Connection timed out exception, why?

I am developing an application which uses embedded tomcat server 7, and deploys a web application on embedded server. My application accesses the embedded webapp through Rest APIs, but my clients are getting Connection Timed Out exceptions and port…