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
3 answers

Can I put Tomcat offline when no request?

I have been using Tomcat 7 on Ubuntu Server for a little website. But there are other processes working on the server and I think Tomcat has some high load on both CPU and memory. For that reason I am curious if I can put Tomcat server sleep mode…
Yasin Okumuş
  • 103
  • 1
  • 1
  • 5
0
votes
1 answer

Why my server's load suddenly becomes awfully high and flaps sharply?

The machine(linux) runs three servers wating for TCP connections, writing in JAVA. After they runs steadily for about two weeks, the system load suddenly raises utterly high to 30.05, 12.93, 9.70(during the two-week normal running, it is often 0.0 ,…
l4rmbr
  • 113
  • 1
  • 3
0
votes
1 answer

Downgrading CP version (Cumulative Patch) on some of the nodes of a jboss 4.3.0 installation

My scenario is a jboss 4.3.0 installation with several nodes. Some of the nodes are on CP08, and some are in - say - CP05. Upgrading from CP05 to CP08 is a no-brainer using "jboss ON", according to the online manual: Applying JBoss…
pga
  • 1
  • 1
0
votes
1 answer

Tomcat "connection interrupted" with ssl

I can access Tomcat on port 8080, but not on 8443. When I try o get there, this is the error I get in Firefox: The connection was interrupted The connection to the.fqdn.com:8443 was interrupted while the page was loading. This is my…
Mike Thomsen
  • 191
  • 1
  • 1
  • 8
0
votes
1 answer

chef specify openjdk package on ubuntu

I'm creating a Vagrantfile that uses chef solo to install OpenJDK on Ubuntu 12.04. Is there a way to specify which specific package of OpenJDK is installed? This way I can be sure I'm consistent across multiple installs.
Jeff Storey
  • 448
  • 1
  • 7
  • 19
0
votes
1 answer

Unable to find valid certification path to requested target while CAS authentication

I'm trying to configure CAS authentication. It requires both CAS and client application to use HTTPS protocol. Unfortunately we should use self-signed certificate (with CN that doesn't have anything in common with our server). Also the server is…
Dmitriy Sukharev
  • 233
  • 1
  • 4
  • 9
0
votes
1 answer

LDAP Connection TimeOut Exception

While debugging a LDAP connection class, if I terminate the process and do not close the LDAP connection by going into finally block. From next time I am not able to connect back to the LDAP directory. It throws follwoing exception for me Caused by:…
Himanshu Yadav
  • 101
  • 1
  • 3
0
votes
1 answer

Will my apache tomcat server be available from the outside?

I have created a web application in netbeans with a apache tomcat server. I want to be able to acces the server from the web. I am behind NAT, will the project be accessible? From my computer i access the project with http://localhost:8084/equinox/…
Borut Flis
  • 105
  • 1
  • 3
0
votes
1 answer

Network connection failed in Red 5 server

I am new to red5 server. When I try to run Red5 by creating a project in Eclipse using the Red5 plugin it runs with an error: [INFO] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandler - Scope default1 not found on localhost When I try to run…
Somdeb
  • 1
  • 2
0
votes
2 answers

~/.rpmmacros and how to view/add to it

I am currently following a guide to install Java 1.4 on the CentOS site and was wondering if anyone could help me understand some of the terminology. It states: For this example, it will be assumed that the contents of…
Larry B
  • 261
  • 4
  • 5
  • 18
0
votes
2 answers

hitting a webpage hosted in JBOSS externally

I have jboss 5.0 running a web application I am developing. I am able to hit the pages using localhost:8080 but not my external IP address.. How can i hit with my ip???
coderman
0
votes
1 answer

What percent of time my app server spends rendering html

My employer asked me this and I'm trying to figure out ways to measure this. We have have several applications - some Java with Tomcat and some .NET under IIS. To make things a little easier on myself I'm only going go deal with the Java side for…
sproketboy
  • 123
  • 4
0
votes
1 answer

Exception thrown when trying to access a web service (Weblogic) - java.lang.LinkageError

I've installed Adobe LiveCycle for Weblogic 10.3.4, and when I try to access one of the web services it deployed, I'm getting the following exception: Exception - java.lang.LinkageError: loader constraint violation: when resolving interface method …
Shai
  • 123
  • 5
0
votes
1 answer

Instance to Instance communication very slow in AWS

I am trying to execute a set of commands (shell commands) on a number of other AWS Cloud Instances from our java based web platform hosted on the AWS Cloud instance itself. We observed that the time taken to execute a command is much higher when the…
arya
  • 1
0
votes
1 answer

Starting program once leads to 10 instances

I have an old SUSE 8.1 server which just recently started acting crazy. If I start a program once: /usr/local/jdk1.6.0_21/bin/java -cp…
Brad Mace
  • 1,024
  • 3
  • 17
  • 32