Articles in the Java Category
Bugs, Cryptography, Debian, Featured, Java, Security, Shell »
Trying to integrate BouncyCastle Cryptography provider in Java can be a nightmare. I read a lot of forums messages about “JCE cannot authenticate the provider BC” and I didn’t find any clear response. After several hours of tweaking and digging I found the main reason of the problem. If you want to use BouncyCastle as Security provider then install it directly on your Java Virtual Machine and remove any library of bc from your application.
Share this post
…
Clustering, Glassfish, How-to, Java, Newbie »
Why you should do that? All this ports, by default, are allocated dynamically and if you want to use a firewall between your client and JMS broker then you should have static ports assigned. Another solution is to tunnel through httpjms and httpsjms protocol but this are slow. In the next article I will show you how to assign static ports to this JMS service in Glassfish. To show you the all ports what need for JMS I just “ripped” the following table from SUN Site: http://docs.sun.com/app/docs/doc/820-4916/gcuhq?a=view
Share …
Clustering, Debian, Featured, Glassfish, Headline, Java, Linux »
If you want 99.999% availability of your Glassfish cluster then you should do 2 things: 1. Use HADB for user HTTP and Session persistence, 2. get some SUN support. I cannot help you with the decision on point 2, but with point 1 I will show you how to doit.In this article I will NOT start again to show you how to configure a Glassfish cluster, because this is already made in this article. Today I will present how to add HADB functionality to a existent Glassfish cluster.
Share this …
Java, Liferay, Linux, Mysql »
In the old versions of Liferay, switching from HSQL to MySQL was easy under Glassfish. Just replace the jdbc connector created for HSQL with one for MySQL and at the next restart of Liferay all was working ok. From version 5.2.1 configuration was changed and all is done from portal.properties. To switch from HSQL just create a portal-ext.properties with the following content:
Share this post
Hide Bookmarks
Bugs, Clustering, Debian, Glassfish, Java, Linux »
Again some problems with glassfish cluster. If in Glassfish v2UR2 all was ok in Glassfish 2.1 we had some problems. This post is based on How to install and configure a Glassfish cluster
my early article. So first part of installing the cluster, first server with DAS and all the stuff is working perfectly, but second part when we need to add more instances we get some problems. Following the steps to add a new instance on the cluster we get an error:
Share this post
…








