Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms
16
votes
5answers
37k views
Practical maximum open file descriptors (ulimit -n) for a high volume system
We recently began load testing our application and noticed that it ran out of file descriptors after about 24 hours.
We are running RHEL 5 on a Dell 1955:
CPU: 2 x Dual Core 2.66GHz 4MB 5150 / ...
6
votes
4answers
959 views
is it possible to install java without the browser plugin?
I need java, but I don't want any browser to be able to access it.
Is it possible to remove the whole applet/browser plugin code?
0
votes
1answer
15 views
centos install java openjdk for jenkins
I have an issue with a VPS, centos, thats running WHM as the container. I need to run open-jdk to get jenkins ci going, but the issue is that oracle's java keeps popping up. From a server restart:
...
1
vote
2answers
869 views
Glassfish V3 using up all available memory
I have a Virtual Server with 1GB of RAM. When i start glassfish with asadmin start-domain it instantly allocates all available memory, although i defined -Xmx128m in my domain.xml. Am I missing an ...
0
votes
0answers
11 views
wso2 Governance Registry Active Directory integration unable to find valid certification path to requested target
I am attempting to set up a WSO2 Governance Registry server on RHEL5 that will integrate with our Active Directory using ldaps, but normal methods of setting up trust of the domain controllers ssl ...
0
votes
0answers
17 views
Remote JMX connections are sent to localhost
I' m trying to set up remote JMX monitoring on a Java process. These are the options I'm giving the JVM to start it:
JAVA_OPTS="-server -Xms1G -Xmx1G -XX:MaxPermSize=512m "
...
2
votes
1answer
2k views
javaws not found
I have a server which has centos installed in it. Recently I have installed jdk 1.6 into it.
When I try to run java command from shell it's working perfectly fine.
Java is stored into ...
0
votes
2answers
58 views
Glassfish admin loading forever
i have downloaded the .sh bundle of Glassfish 3.1.2 on my mac machine and started the server using ./asadmin stat-domainand tried to hit the url http://localhost:4848/
but the page is loading ...
0
votes
0answers
12 views
Control Usage Of bandwidth for each site
The scenario is as follow.
Let's take an example I have one domain called abc.com.I have purchased this domain.Now I am providing facility to the users to create their sites on this domain.So suppose ...
0
votes
4answers
1k views
Hung Java JVM failing to respond to kill -3
I have a Java VM that is hanging "randomly". I quote the randomly bit, because there is obviously a reason that the VM is hanging, but the hang does not occur periodically. We have the same software ...
0
votes
0answers
8 views
Glassfish server running java application lifetime
We're developing with Glassfish 3+ with a Maven project.
However, when we run an application in Netbeans - the application stops to work after a small amount of time.
The application which runs at ...
-3
votes
1answer
41 views
Minecraft FTB Ultimate server crash (OS Related?) [closed]
(Originally posted this on StackOverflow and was told that it wasn't the correct site to post on - I think ServerFault is the correct site, but tell me if otherwise).
(ServerFault didn't like me ...
2
votes
2answers
1k views
503 error in glassFish
I am using Glassfish V2 server and till now every thing was going fine. It was deploying the application as usual, but suddenly it has started to prompt a 503 error saying "unable to find context ...
0
votes
2answers
788 views
javac compiler throwing error in CentOS 5.7
I'm trying to install Red5 on a vps running CentOS 5.7 in MediaTemple using this how-to
(dv):Install Red5 Media Server but on step 7 I get this error:
BUILD FAILED
/usr/local/red5/build.xml:217: The ...
0
votes
1answer
627 views
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 ...
1
vote
1answer
654 views
Environment variables in Weblogic Managed Server with SSL nodemanager
We have a C legacy application start with JNI that requires environment variables. Not java -Djava.library.path -Dvar=foo as these are purely java. I need real environment variables.
When we setup ...
6
votes
2answers
196 views
SSH unresponsive after stopping Tomcat, many ksoftirqd CPU usage
I have a weird issue.
Every time I stop Tomcat, SSH becomes very slow, almost totally unresponsive. It takes a minute or even more for SSH to accept any command. When I finally get Tomcat started ...
0
votes
2answers
22 views
Kerberos with active directory from linux
I have windows stations and a linux server - and I would like to perform SSO using Windows-Kerberos (via Active Directory - the same one all users on the windows station use).
And so - I have ...
0
votes
1answer
725 views
Debian install netbeans - “No protocol specified”
When trying to run the netbeans shell installer, it gives me an error.
./netbeans-7.0.1-m1-php-linux.sh
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
...
0
votes
1answer
31 views
Is auto-restarting services (like tomcat) a good idea?
Are there any reasons to not auto-restart tomcat in the case of a crash? It seems like a no-brainer to restart the process, especially in production, if that can mean less downtime due to a crash, but ...
1
vote
2answers
457 views
Jconsole over VPN
I'm trying to monitor a remote jvm using jconsole. I need to do this monitoring through an OpenVPN network which might me part of the problem. This is the network configuration:
Server A ...
0
votes
2answers
50 views
how do I use chef to force ubuntu to install dependencies?
New to chef.
I'm trying to install openjdk-6-jre-headless using chef, but first I went to try it out using apt-get and I get this this error
The following packages have unmet dependencies:
...
0
votes
1answer
22 views
java.lang.OutOfMemoryError: GC overhead limit exceeded TeamCity 7.0
I am getting this error suddenly. Running teamcity 7.0 on a Windows Server 2008. How do I add more memory via passing options to the JVM? I don't understand how to pass the xmx option when using ...
0
votes
2answers
25 views
Managing security (Java) access in a shared environment
While developing a shared hosting solution for Java applications we have encountered an issue, since users can upload their own jars how do we restrict them from running Linux commands such as df -h ...
1
vote
0answers
98 views
Java CertificateException in Domino 9 when trying to access HTTPS URL
When we upgraded our Domino development server from 8.5.3 to 9 the HTTPS connections from Java code to sites having GoDaddy certificate stopped working. Connections to servers having DigiCert ...
2
votes
1answer
2k views
Deploying to Tomcat root using Jenkins
Is there any way to deploy my Java application .war file at root on Tomcat 7 server, using the Deploy plugin for Jenkins?
Currently the app gets deployed at http://server/foo/ if it comes in a file ...
-1
votes
0answers
30 views
Dashboard KPI Application (java/open source) [closed]
What java/open source frameworks/tools would the community use to build a dashboard KPI website?
Realize this is opened ended but I'm a .net SME. Here are some basic requirements:
Data is coming ...
0
votes
2answers
2k views
IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local
In brief:
IIS 7 + Apache Tomcat 7 + isapi_redirect.dll:
I have a deployed and working Tomcat-application available under http://localhost:8080/my_app.
I would like to see the same content under ...
0
votes
0answers
21 views
How can I capture traffic from a Java application using Fiddler?
I am using SolrMeter to load test a Solr search engine. To make sure I understand how the SolrMeter application performs queries, I want to inspect the HTTP requests it executes. I have installed ...
0
votes
1answer
667 views
Performance issue on solaris 10 zone. Multiple pollsyscalls
We have slow running JAVA program on a Solaris 10 Zone. I ran a truss on the pid and noticed following messages getting generated even when program is not doing anything:
pollsys(0x00000000, 0, ...
0
votes
1answer
80 views
Running Jenkins standalone vs within Tomcat
What things should be considered when deciding between running Jenkins standalone or within Tomcat? We would prefer to not have to use Tomcat because there's no other applications on this server ...
-3
votes
0answers
42 views
How to setup production server? [closed]
We have developed a java ee application and now we want to host it onproduction server. can anyone guide us what all we should take care while setting up production server in java ee
2
votes
1answer
697 views
How can webapps within Apache Tomcat use SSL/TLS client-certificate authentication as clients?
I am using Apache Tomcat webapp as a client (java) to an IIS hosted webservice.
I need to use SSL with client authentication.
What kind of matching criteria is used by the client to send a client ...
1
vote
1answer
630 views
Java and Sendmail HELO requires domain address
I am trying to set up emailing from a java web application hosted on a linux server (Cent OS) in apache.
Sendmail is working fine from the command line as root on localhost but when trying to send ...
1
vote
1answer
759 views
Running 32-bit installer on 64-bit CentOS
I am trying to run the installer for a particular piece of software (I probably shouldn't name the application in case the software vendor gets upset over what I am about to say) on a fresh ...
0
votes
2answers
227 views
jetty.state issue when starting Jetty
I rent a CentOS 6 VPS and wish to install Jetty on it so I can use Solr for a project I've been working on.
I've been following this jetty tutorial to install Jetty on my VPS, however when I try to ...
0
votes
2answers
642 views
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 ...
0
votes
1answer
32 views
setting up environment variables for aws hadoop ec2
I've been following this book: Hadoop in Action
It gives a nice guide on how to start using ec2 with hadoop.
One of the first things that it says is to download the command line tools here:
...
1
vote
1answer
787 views
Configuring Tomcat to not load web-app automatically at start up
I have a Java web app which I'm deploying using Tomcat but I'm having some trouble with this.
The problem is that my web app has to talk to some native libraries (via JNI) and those libraries do not ...
0
votes
0answers
17 views
Where can I obtain libnet.so's source code? [migrated]
libnet.so is the system library that Java (linux distro) uses for all its native networking calls. I'm trying to debug a complicated networking issue involving a Java app, and need to take a peek at ...
0
votes
0answers
25 views
Looking for guidelines for java updates
Partly related to Updating production Ubuntu boxes the dos and don'ts, but more specific to java updates. We are also based on Ubuntu servers.
Wondering how others keep up with java updates which ...
0
votes
1answer
948 views
Error deploying Spring with JAX-WS application in Jboss 6 server
I'm getting this error when I deploying spring+JAX-WS application in jboss server 6.1.0.
09:14:38,175 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed: ...
3
votes
1answer
2k views
Connect to SVN repository with Netbeans using SVN+SSH
I am trying to connect to a SVN server in order to import my project into it with svn+ssh authentication method. I am using the NetBeans IDE (6.8) with subversion plugin installed on Windows XP SP2. I ...
2
votes
1answer
749 views
how to solve out of memory error in java in amazon ec2 server
can anyone explain about this error message? we are using IBM jre to run java application
Its occupying more space on the server.
JVMDUMP006I Processing dump event "systhrow", detail ...
0
votes
0answers
39 views
Free Job Scheduler [closed]
I'm looking for a (free) application running on a "master" server to schedule on slaves :
File copy (including the jar used to run one of the jobs) from and to these computers to other servers
...
0
votes
0answers
36 views
create java keystore with certificate request and certificate?
I have two files.
labeled as privatekey.pem but opened, it has a header called: certificate request
certificate in pkcs#7 format from a CA
I want to create new java keystore to provide Tomcat with ...
1
vote
0answers
24 views
Nat Traversal, peers unable to communicate
I'm currently working on a project that requires NAT traversal but I seem to be running into difficulty. I have the following setup running for testing:
R1, Verizon Fios router connected to the ...
0
votes
1answer
70 views
OpenJDK or Oracle Java on production server
I'm little bit confused about which implementation is better to use on production server? Are there any reason why not pick OpenJDK?
0
votes
0answers
16 views
java rmi conntrack module for iptables
I was looking on the Internet, but it seems nobody has written iptables conntrack module for Java RMI connections. It would be great, if all connections for JMX monitoring could be matched by --state ...
1
vote
1answer
2k views
How do I fix a 'Failed to retrieve RMIServer stub' JMX error?
I just completed a migration from Windows server 2008 R2 to Ubuntu 10.04. I manage a java application (Java 6, Tomcat) that is having some performance issues. I'd like to use JMX to try and ...



