Monthly Archives: décembre 2013
Disclaimer: this note is not finished yet. When trying to compile, you may encounter some Ivy errors. Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid…
In Eclipse, the following exception message may occur: « could not publish to the serveur » (nullpointerexception). This error may appear if one of the deployed application does not exist anymore. Delete…
A very common mistake, in jsFunction from Richfaces is to use f:param instead of a4j:param. This would explain lot of issues.
Some important standard specifications using WS-Addressing for asynchronous communications are not compliant with the specifications. As stated in the WS-Addressing specification, by the following sentence : This section specifies the…
- PostGreSQL: list table size 11 avril 2019SELECT nspname || '.' || relname AS "relation", pg_size_pretty(pg_total_relation_size(C.oid)) AS "total_size" FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) WHERE nspname NOT IN ('pg_catalog', 'information_schema') AND C.relkind 'i' AND nspname !~ '^pg_toast' ORDER BY pg_total_relation_size(C.oid) DESC LIMIT 200;
- EJB - Unexpected Transaction Rollback 11 avril 2019A transaction is rolled back as soon as an exception is not caught. Nevertheless, even when it looks that everything is caught, the transaction roll back issue may happen:NativeQuery is your enemy : a failed query could abort the JTA transaction (container managed transaction) even when catching any exception.Some important tips:@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) annotation on top of the […]
- EJB Debugging Container Managed Transaction (JTA) 11 avril 2019The Java Transaction API (JTA), one of the Java Enterprise Edition (Java EE) APIs, enables distributed transactions to be done across multiple X/Open XA resources in a Java environment.JPA provides two mechanisms for transactions. When used in Java EE JPA provides integration with JTA (Java Transaction API). JPA also provides its own EntityTransaction implementation for Java […]
- Maven-patch-plugin on Windows 11 avril 2019In order to make the patch working:- Install cygwin (https://www.cygwin.com/ ) - In the package selection, add Patch (not selected by default)- Add the cygwin bin directory to the PATH environment variable- Resign into Windows (leaving the session seems mandatory).It seems that "Patch for Windows" does not work (anymore).
- JDBC - Les Types de DataSource 8 avril 2019Found at : https://www.ibm.com/support/knowledgecenter/fr/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/twlp_dep_configuring_ds.htmljavax.sql.DataSourceCe type de source de données correspond au format de base. Elle ne fournit aucune interopérabilité facilitant la mise en pool des connexions et, en tant que ressource à deux phases, elle ne peut pas participer aux transactions impliquant plusieurs ressources.javax.sql.ConnectionPoolDataSourceCe type de source de données se prête à la mise en pool […]
- Windows Issue: All icons displayed with a poor resolution 5 avril 2019My computer crashed last night. All icons were displayed with a poor resolution in Outlook and all applications (I had the feeling to be back with Windows 95 !). Despite of that, my screen resolution was set correctly, so what's the problem ?After a while, I have found that my Theme was turned into a unstable […]
- Suse 11.3 : PostGreSQL Installation 4 avril 2019Here is how to install, configure and play with your PostGreSQL server on a SUSE 11 SP3 machine.InstallationZypper installs an old version (8.4), so if you wish to get a newer server, I guess you must update your packages and repositories. In my case, this is forbidden by the customer requirements.The installation is therefore quite […]
- SUSE 11.3 : Ora2Pg Installation 4 avril 2019Summary of the Ora2Pg Installation on CentOS 11.3.Requirements:- The machine needs to access the internet to download packages- You need PostgresQL-devel (zypper install postgresql-devel) to get pg_configPERL Modules Installation1. Check that perl 5.10+ is installed (otherwise install it, e.g. using zypper):perl --version2.a Install DBI Perl Module (> 1.614) which is the DataBase Interface. zypper install perl-DBINote […]
- SUSE - Zypper Repositories (cheat sheet) 4 avril 2019As a reminder, some commands related to zypper (in that case for a SUSE11.3 REPO):zypper addrepo http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.3/repo/oss/ SUSEoss zypper ar http://ftp5.gwdg.de/pub/opensuse/discontinued/update/11.3/ SUSEupdate zypper ar http://ftp5.gwdg.de/pub/opensuse/discontinued/source/distribution/11.1/repo/oss/ SUSEsource zypper ar http://ftp5.gwdg.de/pub/opensuse/discontinued/debug/distribution/11.1/repo/oss/ SUSEdebugList repos:zypper reposRemove a repo (#1 listed in previous command):zypper rr 1x
- ZFS on Google Cloud Platform 1 avril 2019ZFS provides single node server supporting NFS and can be installed by a simple click on the GCP Marketplace.The only information provided by google about the file system is related to the ZFS command. But unfortunately, the ZFS mode always fails on deployment (april 2019). The default file system is XFS and works fine.Two possible […]