Questions tagged [java]

Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms

1835 questions
5
votes
1 answer

MySQL JDBC force ignore client certificate on AWS RDS

I have a Java web app running on AWS and connecting to a MySQL database running on AWS RDS. My app uses SSL client certificates signed by our own CA to connect to various web services, so I have set the -Djavax.net.ssl.keyStore and…
Rich
  • 704
  • 14
  • 30
5
votes
2 answers

Solr Search - java.util.Map$Entry cannot be resolved

I have Solr 3.6.2 running and powering the search for a Magento Enterprise site, and it's all working well, with no errors on startup etc. However when trying to access the following admin pages: /solr/admin/stats.jsp…
jsims281
  • 165
  • 1
  • 1
  • 11
5
votes
2 answers

Can I host my web application in Cloud?

I have made a small web application created in J2EE which i want to develop as a "business". Can i host it in one of the cloud services ? Please do advice me as well on this issue. Will the cloud service be reliable over a long time ? Thanks in…
Anand
  • 261
  • 6
  • 17
5
votes
1 answer

How do companies handle the need for different Java requirements on the same user?

In our company, we use GPOs to push software updates such as Java updates. We have about 150 users in different offices located in different countries, all using Windows 7. We have a few office-specific applications, and no user has admin…
salcoin
  • 53
  • 5
5
votes
4 answers

Glassfish Vs Tomcat (Java app servers)

I am looking at running a java application server on my debian linux webserver, and am looking for a breakdown of the advantages that using either app server would provide me with (or disadvantages). I am using apache 2 as my webserver and have no…
PixelSmack
  • 530
  • 4
  • 8
5
votes
2 answers

Using both basic and client-certificate authentication with GlassFish

I'm currently building a Java-servlet applcation (using Jersey on GlassFish to be specific). In some parts of the application I need to authenticate the user using basic authentication and in some other parts I need to use client certificates. Which…
Yrlec
5
votes
2 answers

Preserve imported CA Certificates through Java upgrades

I have imported internal Certificate Authorities into Java's CA keystore. (Using keytool to import into the "cacerts" store) This works fine and dandy, until I update the Java RPM. At which point all of those imported certs are not carried over…
Christopher Karel
  • 6,582
  • 1
  • 28
  • 34
5
votes
1 answer

Mysql, SSL and java client problem

I'm trying to connect to an SSL-enabled mysql server from my own java application. After setting up ssl on mysqld, and successfuly tested an account using "REQUIRE ISSUER and SUBJECT", I wanted to use that account in a java app. I've generated a…
CarlosH
  • 423
  • 2
  • 5
  • 10
5
votes
2 answers

After kill -9 process won't disappear and port is still bound

We have a Java server application running on Mac OS X. Occasionally this application has become unresponsive, and we have resorted to killing it with kill -9. However, the process doesn't disappear; it still appears to ps, with parentheses around…
5
votes
5 answers

What configuration changes do you make to a new Tomcat installation?

After installing Tomcat 5 what configuration changes/tweaks do you apply, and why? Be specific: name what files you edit, what settings you change and why you do it. Some areas of interest: General configuration changes Best practices with regards…
knorv
  • 1,799
  • 6
  • 19
  • 29
5
votes
5 answers

Java Deployment Rule Set via AD Enterprise CA

My goal is to get a Java Deployment Rule Set in place in my organization, but I do not want to pay third-party certificate authority for a code signing cert when we have a working CA running through Active Directory. I have followed what I think is…
Julius
  • 71
  • 1
  • 1
  • 6
5
votes
2 answers

Does kill -3 actually terminate a java process? Or just generate a thread dump?

CentOS 5.9 If I run kill -3 what actually happens? As per this red hat article, I understand that a Java Thread Dump is generated but is the process terminated? It doesn't appear to be based on my tests: [root@foobox ~]# kill…
Mike B
  • 11,871
  • 42
  • 107
  • 168
5
votes
1 answer

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot without errors?

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot? the manual for installing oracle java on debian wheezy is quite clear and…
c33s
  • 1,515
  • 3
  • 21
  • 39
5
votes
1 answer

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?
michal.kreuzman
  • 335
  • 3
  • 7
5
votes
2 answers

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 again everything goes back to normal. This is…
Paxxil
  • 181
  • 1
  • 10