Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms
Questions tagged [java]
1835 questions
0
votes
1 answer
Cannot make Java Package on an OpenVZ container
I'm trying to install Sun's Java SDK 7 by following the Debian Wiki instructions using java-package. But it won't work on an OpenVZ proxmox container.
I'm running Debian Wheezy 7.0-2 64bit on all my environments.
java-package works fine on my local…

capdragon
- 174
- 1
- 11
0
votes
2 answers
JVM/Tomcat crashes when to many uploads occur in parallel (Heap Space)?
I have a Servlet application running on Tomcat 7. I set the following in setenv.sh
CATALINA_OPTS="
-server
-Xms1G
-Xmx5G
-XX:MaxPermSize=512m
-Dfile.encoding=UTF-8";
The server runs on Ubuntu 12.04LTS, has 6 Cores and 8GB of RAM.
My application…

Michael
- 183
- 1
- 2
- 8
0
votes
1 answer
How to set multiple paths with update-alternatives
For example, the following command install java to /usr/bin/java
update-alternatives --install /usr/bin/java java /opt/java7/bin/java 1 && update-alternatives --set java /opt/java7/bin/java
What if I also want to set java under /bin/java at the…

Ryan
- 5,831
- 24
- 72
- 91
0
votes
1 answer
Tomcat 7.0.42 crashes many times a day
I have a Tomcat7 server running and it crashes and shows sometimes a memory warning that there is not enough Heap Space.
What do I have to do here?
My server has 4GB RAM, 4CPU and runs on ubuntu 12.04 LTS 64-Bit
I am new with Tomcat so I will be…

Michael
- 183
- 1
- 2
- 8
0
votes
1 answer
-XX:MaxNewSize and other JVM parameter setting in AIX
All,
I am trying to adjust our application's memory settings: JVM and Heap adjustments. I also came across -XX:MaxNewSize parameter.
Our application runs on a AIX machine which has ample RAM (100+ GB). 1200 concurrent users. Deployed in WAS 6.1
My…

Kannan Lg
- 133
- 2
- 7
0
votes
2 answers
java http service on mac server with Apple server admin
I've written a simple com.sun.net.httpserver.HttpServer program that runs on a non-server mac. When I visit http://localhost:39600/test in a web browser, it gives me the correct response: "Here's my response!".
I then move this java file to a…

ejsuncy
- 403
- 1
- 5
- 7
0
votes
1 answer
Tomcat - How to stop, start, restart
I installed Tomcat7 from source on a debain. However, based on the information online I should be able to start and stop the service using the following command:
service tomcat7 stop/start
However when I run this, I get this error:
tomcat7:…

J.Zil
- 1,123
- 3
- 21
- 29
0
votes
1 answer
j2ee server setup and beginners tutorial
I've got basic to intermediate knowledge of java and would like to install a j2ee server on my debian machine. Can anyone tell me what I need or point me in the right direction to a good tutorial?
Thanks
--Mark

madphp
- 379
- 3
- 12
0
votes
3 answers
Tomcat with virtual hosts - 404
I have a CentOS 5.2 server set up with Apache 2.2.3 and Tomcat 5.5.27. The server hosts multiple virtual hosts connected to multiple Tomcats. For instance we have one tomcat for development and testing and one tomcat for production.…
Thardas
0
votes
0 answers
Java applications getting squeezed via remote desktop with 16bit color depth
I am managing some virtual desktops running Windows 7 Enterprise SP1 x64. When running any Java applications (tested on 7u13, 7u21 and 7u25) the windows are getting squeezed to the left.
The black area is the whole window. I am able to e.g. click…

krissi
- 3,387
- 1
- 19
- 22
0
votes
3 answers
2 x Dual Core vs 1 x Quad Core Performance
A license restriction limits us to 2 x dual core servers, or one 1 x quad core server.
Should we see better performance running 2 x Dual Core servers or 1 x Quad Core?
Dual Core processors are harder to find now. Which would give best…

Karl Glennon
- 161
- 13
0
votes
1 answer
Tomcat access logs - are failed requests included?
We have a RESTful web service (Java, hosted in Tomcat on Ubuntu on Amazon EC2). From time to time it fails (not every week). When it fails, Java CPU consumption goes to 100% and it takes all available memory. It does not finish by itself. I have to…

Maxim Eliseev
- 117
- 2
- 6
0
votes
1 answer
Rundesk cannot execute local command
I'm trying to interact with the nodejs Azure sdk from a CentOS installation of Rundeck.
If I try from the "run" adhoc virtual shell, I am able to after running azure account import and can then also execute other Azure commands inside of…

ljs.dev
- 1,254
- 2
- 9
- 15
0
votes
1 answer
Imap subfolders not shown in list command - perhaps acls misconfiguration
My goal is to copy the whole folder structure with all mails from one imap account to another.
The tool I am using for this is imapcopy (the java based version from code.google.com since the unix/linux tool packaged with debian doesn't support…

mschenk74
- 165
- 1
- 7
0
votes
2 answers
Which libraries are required for Java7 when installing on Debian wheezy?
It is trivial to download and install the Java 7 distribution from Oracle.com.
But I am concerned about any dependencies that might be missing on the system. How can I find out which libraries are required by the java installation?
Previously, when…

nn4l
- 1,336
- 5
- 23
- 40