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
puppet - missing openjdk-6-jdk
I am trying to run a script with puppet. I have absolutely no idea about how puppet works
When I run the following command:
facter_user=nbui facter_group=staff puppet apply
--node_name_value=mac_local…

Gaurav Shah
- 101
- 2
0
votes
1 answer
JVM garbage collection: What is the difference between "survivor 1" and "survivor 2"?
In Oracle's Java Virtual Machine's Garbage Collector, what are the respective roles of "survivor 1" and "survivor 2" ?
Are the objects always moving like: Eden → Survivor 1 → Survivor 2
Or can an object jump directly from Eden to Survivor 2?
Would a…

Nicolas Raoul
- 1,334
- 7
- 22
- 43
0
votes
1 answer
customizable web email client backend
I have a comprehensive internal web site for my company, which handles a lot of crm functions as well as other customized functions.
I am trying to integrate all needed aspects into this, and am currently stumped on the easiest way to implement…
0
votes
3 answers
Analysis on Memory Management
I'm doing Memory management analysis for my Java web application,
Before starting my tomcat the free memory was around 595 MB, Once I started the server the free memory goes to 151 MB. When I took the Heap dump, the objects were occupying 262 MB.…

Selvakumar P
- 305
- 2
- 8
- 16
0
votes
1 answer
Rpm repo for java on centos 6
Is there any other repo from jpackage available for centos 6?
I don't like to build tomcat, maven from sources.
many thanks.

ykhrustalev
- 121
- 4
0
votes
1 answer
Netbeans SVN Commit Error 403 - Forbidden
I have an svn set up on Debian 6
I have access on http://myserver/svn/youfood/, I can checkout from Netbeans but when i try to commit, still from Netbeans, i have these errors :
Netbeans Log
svn: OPTIONS of '/svn': 403 Forbidden…

Yaman
- 103
- 2
0
votes
3 answers
DNS name creation in linux
I Have a requirement like the below:
as i have a linux machine with the ip 10.127.0.1 and and tomcat installed on the same machine with the port number 8080 and I am runnning my web application with the name apps1
if i want to access the apps1…
user1206852
0
votes
2 answers
Setting up SVN server on Windows 7
Short
My OS is: Windows 7 Ultimate and IDE is Netbeans. Want to work with 2-3 devs on PHP projects. After research I found that it's possible with GIT. Found this solution. But it's installing apache server. (I don't need any web server: I already…

Tural Ali
- 119
- 1
- 10
0
votes
1 answer
Strange Jmeter connection refuse on Tomcat
I tried difference setting in Jmeter and Tomcat.
If the Threads number in JMeter is 1~200, Then tomcat is okay.
If It is 300, Then after serving few requests, tomcat starts to output errors.
Here is the error show in…

Tommy
- 123
- 1
- 6
0
votes
2 answers
Does java respect PATH env variable when resolves .jar filename?
This is what I have in PATH:
PATH=/opt/ClosureCompiler:/home/vmadmin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
There is a compiler.jar in /opt/ClosureCompiler, but when I call
java -jar compiler.jar
I get
Unable…

zerkms
- 431
- 2
- 5
- 17
0
votes
1 answer
JVM Max heap size
For an application I use JVM Max heap setting when starting it on both a test environment and a production system. When i connect via JMX to monitor the application I see that the max heap size of production app is not the same as test application.…

geoaxis
- 491
- 1
- 6
- 18
0
votes
1 answer
How set owner of file cms.war for ftpuser and owner of cms folder for tomcat user?
I'm using Tomcat Server. I would like the owner of the file cms.war to be the ftp user the tomcat user to be the owner of the cms/ folder.
When I uploaded cms.war it was automatically deployed in cms/ folder and when I deleted cms.war the cms/…

amir2 taghvaei
- 1
- 2
- 4
0
votes
2 answers
find the path of jdk and set JAVAHOME
I've got java installed on my Ubuntu VirtualBox, and I am trying to run sunspot, but sunspot can't find java.
typing 'java' from the command line return
The program 'java' can be found in the following packages:
* gcj-4.4-jre-headless
*…

pedalpete
- 113
- 1
- 2
- 7
0
votes
1 answer
Tomcat access control exceptions (binding to RMI) with no Security Manager running (Ubuntu)
I'm encountering some strange access control exceptions from a Tomcat servlet (when it tries to bind to an RMI server). I'm running without a Security Manager, and this whole application worked fine previously on essentially the same setup.
It's a…

Stuart Rossiter
- 101
- 4
0
votes
1 answer
Very often database PostgreSQL for my webapp fails
I have web application like
Nginx (proxy) + Tomcat (backend) + PostgreSQL (database).
This web application is located on amazon free tier instance (http://aws.amazon.com/free/) and very often from 2 to 3 times a month PostgreSQL falls.
Below is a…

user647919
- 103
- 1