Certificate installation Java
keytool -import -alias yakeen -keystore cacerts -file yakeen-pilotingeservecomsa.der
keytool -list -v -keystore cacerts > sajjad_cacerts.txt
sharing some tech problems and soln
keytool -import -alias yakeen -keystore cacerts -file yakeen-pilotingeservecomsa.der
keytool -list -v -keystore cacerts > sajjad_cacerts.txt
Posted by Sajjad at 6:41 pm 0 comments
http://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed.html
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
./jdk1.6.0_24/jre/lib/security/cacerts
./jre1.6.0_24/lib/security/cacerts
javax.net.ssl.trustStore
javax.net.ssl.trustStorePassword
keytool -list -v -keystore /path/to/cacerts > java_cacerts.txt
Enter keystore password: changeit
keytool -import -alias example -keystore /path/to/cacerts -file example.der
Posted by Sajjad at 6:28 pm 0 comments
<repositories>
<!-- Repository for ORACLE ojdbc6. -->
<repository>
<id>codelds</id>
<url>https://code.lds.org/nexus/content/groups/main-repo</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
</dependencies>
src:http://stackoverflow.com/questions/1074869/find-oracle-jdbc-driver-in-maven-repository
LENGTH(TRIM(TRANSLATE(TEXT_TO_BE_TESTED, 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+-.0123456789', ' '))) is not null
Posted by Sajjad at 1:17 pm 0 comments
Labels: Oracle
UPDATE table_t t1
SET FIELD_NEW = (SELECT rnk
FROM (SELECT id_val,
row_number() over (partition by GROUPING_COULUMN
order by id_val) rnk
FROM table_t ) t2
WHERE t2.id_val = t1.id_val)
Posted by Sajjad at 8:44 pm 0 comments
Labels: Oracle