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

Tomcat thread consumes maximum CPU

We have a Tomcat 7.0.21 server running on OpenJDK Server VM (20.0-b11 mixed mode). The webapp runs well for usually several hours or days after startup - typical CPU load is 1-2%. At some point, the tomcat process starts to consume 100% CPU. At…
ricsearle
  • 1
  • 1
  • 2
0
votes
3 answers

War deployment vs dir deployment in tomcat?

What is the recommended procedure for deployment of Java Web App in tomcat? Drop the uncompressed directory or just drop the war? Im asking because the war is compressed, doesnt it have a performance cost?
Jhonnytunes
  • 127
  • 4
0
votes
2 answers

JDK Not installing in Debian.

I am using these commands to install JDK/JVM in Debian server: apt-get install openjdk-jdk apt-get install sun-java6-jdk But getting lots of error: 404 Not Found [IP: 149.20.20.6 80] 404 Not Found [IP: 199.6.12.70 80] I trying to install this…
Khoyendra Pande
  • 170
  • 2
  • 11
0
votes
1 answer

elasticsearch service wrapper on gentoo

I have elasticsearch installed and working in /opt/elasticsearch. I want to install a service wrapper for it to start/stop/restart it as a service. Elasticsearch recommends using java-service-wrapper: curl -L…
0
votes
2 answers

Tomcat partial startup on linux

My server: CentOs 6 64-bit. Installed jre by downloading Linux x64 (64-bit) jre rpm and used command rpm -Uvh myJreFileName.rpm Installed tomcat6 with yum and then tomcat7 without yum to see if my problem was with tomcat6 but it was not. When I…
ivar
  • 141
  • 6
0
votes
2 answers

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 a reverse proxy on Apache 2. I have enabled the…
locrizak
  • 1
  • 7
0
votes
3 answers

JDK not found on CentOS 6 x64

I installed jetty on a CentOS 6 server, but when i try to reach a WAR example of jetty I get this error : org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required yum says that the JDK…
Jerec TheSith
  • 163
  • 1
  • 3
  • 8
0
votes
2 answers

Amazon EC2 estimation

I'm a software/web developer and for the first time I have to set up a cloud system to host one of the websites I have coded. I found very difficult to estimate the costs for an Amazon EC2 cloud system using the provided calculator. I have…
satoshi
  • 141
  • 7
0
votes
1 answer

Issue in java hot spot when more than user request for services

I am working with jboss AS6 also developed some services using jbossws, when multiple user request for services , i am getting error as follows A fatal error has been detected by the Java Runtime Environment How to detect root and cause of this…
Mallika
  • 3
  • 3
0
votes
3 answers

Private cloud solution [Eucalyptus,OpenStack, Nimbus] for Java deployments [Glassfish, Tomcat]

I am interested in a way to have private cloud which would host Glassfish (or Tomcat) server. Which option from Eucalyptus, Openstack or Nimbus would be best to deploy java applications on it? Or maybe there is something other and I am looking wrong…
Tadas Šubonis
  • 171
  • 1
  • 6
0
votes
1 answer

Install Tomcat on Linux server

I am trying to install Tomcat on my linux server .Once I had installed glassfish and already working with it . I successfully installed tomcat7 to my server but when I request the machine url : 8081 (I edited the port number becouse of multiple…
malcolmx
  • 3
  • 1
  • 2
0
votes
1 answer

how to deploy a WAR archive/ Java web application into server with CentOS + CPanel control Panel

How do I deploy a Java War archive/web application into a server that uses the latest version of Cpanel control panel? The server has Cent OS 6.2 OS.
Arvind
  • 501
  • 4
  • 9
  • 18
0
votes
1 answer

AS3: Breakpoints in Intellij Idea do not work for me

I am trying to check how debugging works in IntelliJ idea for AS3. Have set several breakpoints (http://screencast.com/t/wLmLU12RE), but the code do not when I click on debug... Don't understand what is wrong here.
Oleg
  • 47
  • 1
  • 1
  • 14
0
votes
1 answer

Fedora error log file

I am running a java application using this wrapper service yajsw. The problem it just stopped without any error in its logs file. So I was wondering will there be any system log file which will indicate the cause of it going down? Partial of the log…
user111196
  • 1,257
  • 2
  • 13
  • 14
0
votes
3 answers

How to execute a script when a Linux machine starts

I am using Ubuntu 10.04 and I want to execute the following 3 statements when it starts: export _JAVA_OPTIONS='-Xms32m -Xmx64m' cd ~ appengine-java-sdk-1.6.4/bin/dev_appserver.sh --port=8080 appengine-java-sdk-1.6.4/demos/VosaoCMS/war How would I…
rockye
  • 1