Featured Posts

Uncategorized

Oracle Maven Repository in Nexus, authentication failure

Short overview of some last week failing builds at our site 😉

Since a while ago it’s possible to register proxy repositories in Nexus based on the Oracle Maven Repository.
To be able to proxy this repository you need to make use of an oracle account for the autenthication before you can download the artifact.

Let’s check the logging to understand what it does (i can rephrase the logfile or just copy/paste it ;), when others google for it it will find the hit much easier)

2016-11-11 15:17:54 INFO  [tp2714330-28743] - org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl - Initializing non-existing prefix file of newly added "oracle_maven_proxy" [id=oracle_maven_proxy]
2016-11-11 15:17:54 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing circular redirects in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:17:54 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing cookie use in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:17:54 INFO  [tp2714330-28743] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "oracle_maven_proxy" [id=oracle_maven_proxy][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository]
2016-11-11 15:17:54 INFO  [tp2714330-28743] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration made by admin...
2016-11-11 15:17:54 INFO  [tp2714330-28743] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration made by admin...
2016-11-11 15:17:55 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.tasks.UpdateIndexTask - Scheduled task (UpdateIndexTask) started :: Updating repository index "oracle_maven_proxy" from path null and below.
2016-11-11 15:17:55 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "oracle_maven_proxy" [id=oracle_maven_proxy]
2016-11-11 15:17:55 INFO  [ool-1-thread-19] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage - Initializing remote transport for proxy repository "oracle_maven_proxy" [id=oracle_maven_proxy]...
2016-11-11 15:17:55 INFO  [ool-1-thread-19] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing circular redirects in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:17:55 INFO  [ool-1-thread-19] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing cookie use in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:17:55 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.index/nexus-maven-repository-index.properties
2016-11-11 15:17:55 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 301 redirect https://maven.oracle.com/ -> http://www.oracle.com/webfolder/application/maven/index.html
2016-11-11 15:17:55 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/ -> http://www.oracle.com/webfolder/application/maven/index.html
2016-11-11 15:17:55 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] HEAD https://maven.oracle.com/.meta/prefixes.txt
2016-11-11 15:17:55 DEBUG [y-3-thread-1103] - remote.storage.outbound - [oracle_maven_proxy] HEAD https://maven.oracle.com/
2016-11-11 15:17:55 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 301 redirect https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> http://www.oracle.com/webfolder/application/maven/maven-index/nexus-maven-repository-index.properties
2016-11-11 15:17:55 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> http://www.oracle.com/webfolder/application/maven/maven-index/nexus-maven-repository-index.properties
2016-11-11 15:17:56 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/.meta/prefixes.txt -> https://www.oracle.com/content/secure/maven/content/.meta/prefixes.txt
2016-11-11 15:17:56 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> HTTP/1.1 200 OK; 992.5 ms
2016-11-11 15:17:56 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot incrementally update index for repository oracle_maven_proxy
2016-11-11 15:17:56 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.DefaultIndexerManager - Unable to incrementally update index for repository oracle_maven_proxy. Trying full index update
2016-11-11 15:17:56 DEBUG [y-3-thread-1103] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 301 redirect https://maven.oracle.com/ -> http://www.oracle.com/webfolder/application/maven/index.html
2016-11-11 15:17:56 DEBUG [y-3-thread-1103] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/ -> http://www.oracle.com/webfolder/application/maven/index.html
2016-11-11 15:17:56 DEBUG [y-3-thread-1103] - remote.storage.outbound - [oracle_maven_proxy] HEAD https://maven.oracle.com/ -> HTTP/1.1 200 OK; 700.4 ms
2016-11-11 15:17:56 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "oracle_maven_proxy" [id=oracle_maven_proxy]
2016-11-11 15:17:56 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.index/nexus-maven-repository-index.properties
2016-11-11 15:17:56 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 302 redirect https://maven.oracle.com/content/secure/maven/content/.meta/prefixes.txt -> https://login.oracle.com:443/oam/server/obrareq.cgi?encquery%3DpWVt9LA%2FZO2Zg9oy7%2FfjF6%2Fq7czpe3N0fSfRMalYRxEAG7nZX7uCOfu9%2FH1iUHyykaP0yHYrwXTXljpSaNgubNmx747sXOvhkNhMJhz0%2FdII9KfMspGx41DxkKrd5SfcHIBe0hGXyeDIOj2%2Ff3TdGqo%2Bu%2FZ%2FR5mcbyYh9%2Bx1915udAdYpHtKaAy4k1qmQeGmu9slCaT%2Fzyrob5nhmg27EuXitqn0MaSvGkmwyBT%2ByGG0YSe%2Bi1AXJY%2FGzPUVZCc6uYi7yP4fVtSLHDGP12vXeITC1C8x0XK3M%2BwhisZHVT3oM6a9Qjth59E9LmoUZXWsthrlBY%2F5%2FN0ZjvNo4eGZIlR2s56rwB5W95fpz4VU5e8X%2FJqM%2FuaRm%2FaCwWrw%2FSdJznE8xcmwrDHZInl8A6wiJg%3D%3D%20agentid%3Dwww.oracle.com%20ver%3D1%20crmethod%3D2&ECID-Context=1.005GGSc4oMA2rITYU9q2VO00027m0042D6%3BkXjE
2016-11-11 15:17:56 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 301 redirect https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> http://www.oracle.com/webfolder/application/maven/maven-index/nexus-maven-repository-index.properties
2016-11-11 15:17:56 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> http://www.oracle.com/webfolder/application/maven/maven-index/nexus-maven-repository-index.properties
2016-11-11 15:17:56 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> HTTP/1.1 200 OK; 681.5 ms
2016-11-11 15:17:56 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.index/nexus-maven-repository-index.gz
2016-11-11 15:17:57 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 301 redirect https://maven.oracle.com/.index/nexus-maven-repository-index.gz -> http://www.oracle.com/webfolder/application/maven/maven-index/nexus-maven-repository-index.gz
2016-11-11 15:17:57 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/.index/nexus-maven-repository-index.gz -> http://www.oracle.com/webfolder/application/maven/maven-index/nexus-maven-repository-index.gz
2016-11-11 15:17:57 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 302 redirect https://maven.oracle.com/oam/server/obrareq.cgi?encquery%3DpWVt9LA%2FZO2Zg9oy7%2FfjF6%2Fq7czpe3N0fSfRMalYRxEAG7nZX7uCOfu9%2FH1iUHyykaP0yHYrwXTXljpSaNgubNmx747sXOvhkNhMJhz0%2FdII9KfMspGx41DxkKrd5SfcHIBe0hGXyeDIOj2%2Ff3TdGqo%2Bu%2FZ%2FR5mcbyYh9%2Bx1915udAdYpHtKaAy4k1qmQeGmu9slCaT%2Fzyrob5nhmg27EuXitqn0MaSvGkmwyBT%2ByGG0YSe%2Bi1AXJY%2FGzPUVZCc6uYi7yP4fVtSLHDGP12vXeITC1C8x0XK3M%2BwhisZHVT3oM6a9Qjth59E9LmoUZXWsthrlBY%2F5%2FN0ZjvNo4eGZIlR2s56rwB5W95fpz4VU5e8X%2FJqM%2FuaRm%2FaCwWrw%2FSdJznE8xcmwrDHZInl8A6wiJg%3D%3D%20agentid%3Dwww.oracle.com%20ver%3D1%20crmethod%3D2&ECID-Context=1.005GGSc4oMA2rITYU9q2VO00027m0042D6%3BkXjE -> http://www.oracle.com/obrar.cgi?encreply=GKtOH6%2FbBB3GsPamDX%2Bp6NZ5PPVx%2FPJkm8AkVyxv%2FpxAdksPKea4JeMR%2FUhkYYNQd4%2FNx3lrywqZx0pDR27Ks3RketVRDR4L3ad7zhevgRLcm%2FyYGEMGkI8XkCAHRtKbpNzAEz%2FLkVxeishlCu5w05Xr5HVongbqKcCktbChHp9mljaRSNm5MX%2FjrPIjcfZ%2FzYzioDkLsqz5NeRy78icBe5tkEpJoC9E72M5ldKPZaPveoRNB5nLtZ1n%2BGktCcPsMgqrdQLXSgOdPNQpPPrThWS9B2Hmem8i79iZf949Wcpmr0PElL7%2Fd9KW7bOW8dekuZqskXWSxBkAdeR%2FTSz0T5bv9pHbXZLDkhs7xr3%2FMQ%2FDUmJY%2B7wPv3wXvy%2BZit3Pfc3oEVLL972BQSh9gsnGFfECBehT%2Fl85fRez9T0lM8MlcTSywoREvJ7h59PYyfIQyEGokBKa8FNfX9%2F5Stf0x5UT2icF0E7U0trbdd537RBUQT%2FMLPxnaK3NVY%2BdvI88h3sOFr%2B%2FgioNqJs0uZzaPzXdQ%2FMYZCJ0qaCV%2FHW9hRPxGG%2Bk0mf0NXmqk6LxDgsuYp7NRLUPxRfrb%2BSv2gii%2B8Sgc5it5jX6Ysn%2FQKCuUdX%2BDUzQMgESsWqokyoOrVd6P7cNQ7mGIX3OWAaTJ1K3V9DSWktk8QT1RI3pbIXdoaO%2FA1vzwUCC2zGz0kjJfxK7nkeVW893z%2B8LTvM4L2%2B0BXKCTMD%2Bq2Ld46pPOdC1r4O%2FNpq1QMYhUtmr5kJdrnyP1zIQYUmE4FiEi7wmvO%2FFBjkd8llykErCKSAiAAS5o4WTNdwtce13aYukRkDSyY4wrrnUlkDIpyBVH2zkAlsptibUjpWoQ3oANG6V69ofeyFuun8w1S%2FFD%2BWTmwZiQgAfQN7yEtsWGmYZye5oeAOxAYSNF%2FVv0HZnrm8vFb%2F23tizkU1hVPy1axNrhgOyi%2FWsFPqSdIm8%2BAfgktz0D8yHyc%2FRT2%2BWg5PHHkq%2BiMf9FcmXWAcqkSOQjojb2BNVYWeu%2FeIQScIzNlWexSrYvK75%2FIaXEWdrnarujuVKvysoab6TCHutK81IKl7E1QJ6TpBS
2016-11-11 15:17:57 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 302 redirect https://maven.oracle.com/oam/server/obrareq.cgi?encquery%3DpWVt9LA%2FZO2Zg9oy7%2FfjF6%2Fq7czpe3N0fSfRMalYRxEAG7nZX7uCOfu9%2FH1iUHyykaP0yHYrwXTXljpSaNgubNmx747sXOvhkNhMJhz0%2FdII9KfMspGx41DxkKrd5SfcHIBe0hGXyeDIOj2%2Ff3TdGqo%2Bu%2FZ%2FR5mcbyYh9%2Bx1915udAdYpHtKaAy4k1qmQeGmu9slCaT%2Fzyrob5nhmg27EuXitqn0MaSvGkmwyBT%2ByGG0YSe%2Bi1AXJY%2FGzPUVZCc6uYi7yP4fVtSLHDGP12vXeITC1C8x0XK3M%2BwhisZHVT3oM6a9Qjth59E9LmoUZXWsthrlBY%2F5%2FN0ZjvNo4eGZIlR2s56rwB5W95fpz4VU5e8X%2FJqM%2FuaRm%2FaCwWrw%2FSdJznE8xcmwrDHZInl8A6wiJg%3D%3D%20agentid%3Dwww.oracle.com%20ver%3D1%20crmethod%3D2&ECID-Context=1.005GGSc4oMA2rITYU9q2VO00027m0042D6%3BkXjE -> http://www.oracle.com/obrar.cgi?encreply=GKtOH6%2FbBB3GsPamDX%2Bp6NZ5PPVx%2FPJkm8AkVyxv%2FpxAdksPKea4JeMR%2FUhkYYNQd4%2FNx3lrywqZx0pDR27Ks3RketVRDR4L3ad7zhevgRLcm%2FyYGEMGkI8XkCAHRtKbpNzAEz%2FLkVxeishlCu5w05Xr5HVongbqKcCktbChHp9mljaRSNm5MX%2FjrPIjcfZ%2FzYzioDkLsqz5NeRy78icBe5tkEpJoC9E72M5ldKPZaPveoRNB5nLtZ1n%2BGktCcPsMgqrdQLXSgOdPNQpPPrThWS9B2Hmem8i79iZf949Wcpmr0PElL7%2Fd9KW7bOW8dekuZqskXWSxBkAdeR%2FTSz0T5bv9pHbXZLDkhs7xr3%2FMQ%2FDUmJY%2B7wPv3wXvy%2BZit3Pfc3oEVLL972BQSh9gsnGFfECBehT%2Fl85fRez9T0lM8MlcTSywoREvJ7h59PYyfIQyEGokBKa8FNfX9%2F5Stf0x5UT2icF0E7U0trbdd537RBUQT%2FMLPxnaK3NVY%2BdvI88h3sOFr%2B%2FgioNqJs0uZzaPzXdQ%2FMYZCJ0qaCV%2FHW9hRPxGG%2Bk0mf0NXmqk6LxDgsuYp7NRLUPxRfrb%2BSv2gii%2B8Sgc5it5jX6Ysn%2FQKCuUdX%2BDUzQMgESsWqokyoOrVd6P7cNQ7mGIX3OWAaTJ1K3V9DSWktk8QT1RI3pbIXdoaO%2FA1vzwUCC2zGz0kjJfxK7nkeVW893z%2B8LTvM4L2%2B0BXKCTMD%2Bq2Ld46pPOdC1r4O%2FNpq1QMYhUtmr5kJdrnyP1zIQYUmE4FiEi7wmvO%2FFBjkd8llykErCKSAiAAS5o4WTNdwtce13aYukRkDSyY4wrrnUlkDIpyBVH2zkAlsptibUjpWoQ3oANG6V69ofeyFuun8w1S%2FFD%2BWTmwZiQgAfQN7yEtsWGmYZye5oeAOxAYSNF%2FVv0HZnrm8vFb%2F23tizkU1hVPy1axNrhgOyi%2FWsFPqSdIm8%2BAfgktz0D8yHyc%2FRT2%2BWg5PHHkq%2BiMf9FcmXWAcqkSOQjojb2BNVYWeu%2FeIQScIzNlWexSrYvK75%2FIaXEWdrnarujuVKvysoab6TCHutK81IKl7E1QJ6TpBS
2016-11-11 15:17:58 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 302 redirect http://www.oracle.com/obrar.cgi?encreply=GKtOH6%2FbBB3GsPamDX%2Bp6NZ5PPVx%2FPJkm8AkVyxv%2FpxAdksPKea4JeMR%2FUhkYYNQd4%2FNx3lrywqZx0pDR27Ks3RketVRDR4L3ad7zhevgRLcm%2FyYGEMGkI8XkCAHRtKbpNzAEz%2FLkVxeishlCu5w05Xr5HVongbqKcCktbChHp9mljaRSNm5MX%2FjrPIjcfZ%2FzYzioDkLsqz5NeRy78icBe5tkEpJoC9E72M5ldKPZaPveoRNB5nLtZ1n%2BGktCcPsMgqrdQLXSgOdPNQpPPrThWS9B2Hmem8i79iZf949Wcpmr0PElL7%2Fd9KW7bOW8dekuZqskXWSxBkAdeR%2FTSz0T5bv9pHbXZLDkhs7xr3%2FMQ%2FDUmJY%2B7wPv3wXvy%2BZit3Pfc3oEVLL972BQSh9gsnGFfECBehT%2Fl85fRez9T0lM8MlcTSywoREvJ7h59PYyfIQyEGokBKa8FNfX9%2F5Stf0x5UT2icF0E7U0trbdd537RBUQT%2FMLPxnaK3NVY%2BdvI88h3sOFr%2B%2FgioNqJs0uZzaPzXdQ%2FMYZCJ0qaCV%2FHW9hRPxGG%2Bk0mf0NXmqk6LxDgsuYp7NRLUPxRfrb%2BSv2gii%2B8Sgc5it5jX6Ysn%2FQKCuUdX%2BDUzQMgESsWqokyoOrVd6P7cNQ7mGIX3OWAaTJ1K3V9DSWktk8QT1RI3pbIXdoaO%2FA1vzwUCC2zGz0kjJfxK7nkeVW893z%2B8LTvM4L2%2B0BXKCTMD%2Bq2Ld46pPOdC1r4O%2FNpq1QMYhUtmr5kJdrnyP1zIQYUmE4FiEi7wmvO%2FFBjkd8llykErCKSAiAAS5o4WTNdwtce13aYukRkDSyY4wrrnUlkDIpyBVH2zkAlsptibUjpWoQ3oANG6V69ofeyFuun8w1S%2FFD%2BWTmwZiQgAfQN7yEtsWGmYZye5oeAOxAYSNF%2FVv0HZnrm8vFb%2F23tizkU1hVPy1axNrhgOyi%2FWsFPqSdIm8%2BAfgktz0D8yHyc%2FRT2%2BWg5PHHkq%2BiMf9FcmXWAcqkSOQjojb2BNVYWeu%2FeIQScIzNlWexSrYvK75%2FIaXEWdrnarujuVKvysoab6TCHutK81IKl7E1QJ6TpBS -> /content/secure/maven/content/.meta/prefixes.txt
2016-11-11 15:17:58 DEBUG [ool-1-thread-19] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.index/nexus-maven-repository-index.gz -> HTTP/1.1 200 OK; 1.563 s
2016-11-11 15:17:58 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Protocol upgrade during 301 redirect on same host http://www.oracle.com/content/secure/maven/content/.meta/prefixes.txt -> https://www.oracle.com/content/secure/maven/content/.meta/prefixes.txt
2016-11-11 15:17:58 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect http://www.oracle.com/content/secure/maven/content/.meta/prefixes.txt -> https://www.oracle.com/content/secure/maven/content/.meta/prefixes.txt
2016-11-11 15:17:59 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] HEAD https://maven.oracle.com/.meta/prefixes.txt -> HTTP/1.1 404 Not Found; 4.489 s
2016-11-11 15:17:59 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.meta/prefixes.txt
2016-11-11 15:18:00 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/.meta/prefixes.txt -> https://www.oracle.com/content/secure/maven/content/.meta/prefixes.txt
2016-11-11 15:18:01 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.meta/prefixes.txt -> HTTP/1.1 404 Not Found; 1.038 s
2016-11-11 15:18:01 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing circular redirects in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:18:01 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing cookie use in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:18:01 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 301 redirect https://maven.oracle.com/ -> http://www.oracle.com/webfolder/application/maven/index.html
2016-11-11 15:18:01 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/ -> http://www.oracle.com/webfolder/application/maven/index.html
2016-11-11 15:18:01 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing circular redirects in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:18:01 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing cookie use in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:18:02 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 301 redirect https://maven.oracle.com/ -> http://www.oracle.com/webfolder/application/maven/index.html
2016-11-11 15:18:02 DEBUG [ar-4-thread-3  ] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/ -> http://www.oracle.com/webfolder/application/maven/index.html
2016-11-11 15:18:02 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.maven.routing.internal.RemoteScrapeStrategy - Not possible remote scrape of M2Repository(id=oracle_maven_proxy), no scraper succeeded.
2016-11-11 15:18:06 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.DefaultIndexerManager - Remote indexes updated successfully for repository "oracle_maven_proxy" [id=oracle_maven_proxy]
2016-11-11 15:18:06 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.NexusScanningListener - Scanning of repositoryID="oracle_maven_proxy" started.
2016-11-11 15:18:06 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.NexusScanningListener - Scanning of repositoryID="oracle_maven_proxy" finished: scanned=0, added=0, updated=0, removed=0, scanningDuration=0:00:00.695
2016-11-11 15:18:07 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository oracle_maven_proxy
2016-11-11 15:18:08 INFO  [ool-1-thread-19] - org.sonatype.nexus.index.tasks.UpdateIndexTask - Scheduled task (UpdateIndexTask) finished :: Updating repository index "oracle_maven_proxy" from path null and below. (started 2016-11-11T15:17:55+01:00, runtime 0:00:13.635)
2016-11-11 15:18:08 INFO  [ool-1-thread-19] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Tasks] made by *TASK...
2016-11-11 15:18:11 INFO  [pool-1-thread-3] - org.sonatype.nexus.index.tasks.UpdateIndexTask - Scheduled task (UpdateIndexTask) started :: Updating repository index "oracle_maven_proxy" from path / and below.
2016-11-11 15:18:12 INFO  [pool-1-thread-3] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "oracle_maven_proxy" [id=oracle_maven_proxy]
2016-11-11 15:18:12 DEBUG [pool-1-thread-3] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.index/nexus-maven-repository-index.properties
2016-11-11 15:18:12 DEBUG [pool-1-thread-3] - remote.storage.outbound - [oracle_maven_proxy] Downgrade from HTTPS to HTTP during 301 redirect https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> http://www.oracle.com/webfolder/application/maven/maven-index/nexus-maven-repository-index.properties
2016-11-11 15:18:12 DEBUG [pool-1-thread-3] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> http://www.oracle.com/webfolder/application/maven/maven-index/nexus-maven-repository-index.properties
2016-11-11 15:18:12 DEBUG [pool-1-thread-3] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/.index/nexus-maven-repository-index.properties -> HTTP/1.1 200 OK; 661.9 ms
2016-11-11 15:18:12 INFO  [pool-1-thread-3] - org.sonatype.nexus.index.DefaultIndexerManager - Remote indexes unchanged (no update needed) for repository "oracle_maven_proxy" [id=oracle_maven_proxy]
2016-11-11 15:18:12 INFO  [pool-1-thread-3] - org.sonatype.nexus.index.NexusScanningListener - Scanning of repositoryID="oracle_maven_proxy" started.
2016-11-11 15:18:13 INFO  [pool-1-thread-3] - org.sonatype.nexus.index.NexusScanningListener - Scanning of repositoryID="oracle_maven_proxy" finished: scanned=0, added=0, updated=0, removed=0, scanningDuration=0:00:00.810
2016-11-11 15:18:13 INFO  [pool-1-thread-3] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository oracle_maven_proxy
2016-11-11 15:18:14 INFO  [pool-1-thread-3] - org.sonatype.nexus.index.tasks.UpdateIndexTask - Scheduled task (UpdateIndexTask) finished :: Updating repository index "oracle_maven_proxy" from path / and below. (started 2016-11-11T15:18:11+01:00, runtime 0:00:02.591)
2016-11-11 15:18:14 INFO  [pool-1-thread-3] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Tasks] made by *TASK...
2016-11-11 15:19:10 DEBUG [tp2714330-28670] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar
2016-11-11 15:19:10 DEBUG [tp2714330-28670] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar -> https://www.oracle.com/content/secure/maven/content/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar
2016-11-11 15:19:11 DEBUG [tp2714330-28670] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar -> HTTP/1.1 200 OK; 1.631 s
2016-11-11 15:19:11 DEBUG [tp2714330-28670] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar.sha1
2016-11-11 15:19:12 DEBUG [tp2714330-28670] - remote.storage.outbound - [oracle_maven_proxy] Following 301 redirect https://maven.oracle.com/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar.sha1 -> https://www.oracle.com/content/secure/maven/content/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar.sha1
2016-11-11 15:19:12 DEBUG [tp2714330-28670] - remote.storage.outbound - [oracle_maven_proxy] GET https://maven.oracle.com/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar.sha1 -> HTTP/1.1 200 OK; 1.221 s

When we try to index the repository it tries to downloaded serveral files.

https://maven.oracle.com/.index/nexus-maven-repository-index.properties

* no secure url, this will just download without authentication

https://maven.oracle.com/content/secure/maven/content/.meta/prefixes.txt

* secure part, we will get redirected to “https://login.oracle.com:443/oam/server/obrareq.cgi”
* the login will redirect us back and the cookie is set

From now on the cookie is set and we can remotely retrieve artifacts which will get locally stored in our nexus.
Basically the repository is ready to remotely retrieve any artifacts which are stored in the Oracle Maven repository.

Since we haven’t touched any of the artifacts yet, none are currently stored locally.
blog_nexus_uncached_file
* oracle-soa-plugin is not cached yet

Let’s try to deploy one of our composites

exectue mvn com.oracle.soa.plugin:oracle-soa-plugin:deploy

And check the Nexus logging again :

[oracle_maven_proxy] GET https://maven.oracle.com/com/oracle/soa/plugin/oracle-soa-plugin/12.1.3-0-0/oracle-soa-plugin-12.1.3-0-0.jar

blog_nexus_cached_file
* oracle-soa-plugin is cached

When we download this file you will noticed we won’t get redirect to the login again.

In the nexus.properties file we configured 2 settings, see : https://support.sonatype.com/hc/en-us/articles/213465728-How-to-configure-a-proxy-repository-to-maven-oracle-com
this is the logging output of these

2016-11-11 15:18:01 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing circular redirects in proxy M2Repository(id=oracle_maven_proxy)
2016-11-11 15:18:01 INFO  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientManagerImpl - Allowing cookie use in proxy M2Repository(id=oracle_maven_proxy)

The authentication failure

We delete indexes of (some) of our repositories on daily base, and last week we noticed our builds were failing because it couldn’t retrieve dependencies related to the oracle-soa-plugin.
Since we didn’t change anything buildscript-related or account-related, we had to look at the loggings of Nexus to see why it wasn’t able to retrieve files.

The logging showed a valid login, a valid redirect and when i tried the redirect url in my own browser i was just able to download the file. For some reason Nexus wasn’t able to download the file and store it locally.
Looking at the jira issue, Oracle changed something at there site related to the basic authentication.

End of story, we lost time trying to find out what could be wrong at our site, Oracle fixed it at there site and our Nexus is massively retrieving bytes again 😉

links :
https://support.sonatype.com/hc/en-us/articles/213465728-How-to-configure-a-proxy-repository-to-maven-oracle-com
https://issues.sonatype.org/browse/NEXUS-11467
https://blogs.oracle.com/WebLogicServer/entry/sonatype_nexus_2_11_2
http://www.oracle.com/webfolder/application/maven/index.html
http://docs.oracle.com/middleware/1213/core/MAVEN/config_maven_repo.htm#MAVEN9012

bpel, oracle, soasuite

Oracle Composite – leftover oramds imports

On designtime we use the oramds to develop our processflows in our bpel processes.

Basically the composite.xml part for a bpel process would look like this :

<component name="saveEmployee" version="1.0">
    <implementation.bpel src="BPEL/saveEmployee.bpel"/>
    <componentType>
      <service name="client_ep" ui:wsdlLocation="oramds:/apps/xsd/myapp/1.0/saveEmployee.wsdl">
        <interface.wsdl interface="http://mynamespace.nl/saveEmployee#wsdl.interface(bewaarB2bEmployeeServicePort)"/>
      </service>   

When you open the bpel in jdeveloper, jdeveloper will automatically add the next import to your .bpel file :

  <import namespace="http://mynamespace.nl/saveEmployee"
          location="oramds:/apps/xsd/myapp/1.0/saveEmployee.wsdl"
          importType="http://schemas.xmlsoap.org/wsdl/" ui:processWSDL="true"/> 

The value from the ui:wsdlLocation-attribute is copied to the import/@location.
The ui:* attribute would suggest it’s only used for ui-related things (like the development in jdeveloper).

When we manually remove the whole import-element from the .bpel file and try a redeployment it will just deploy the composite. On runtime the service will also complete in a valid way so the import in the .bpel file is only used on designtime and not on runtime.

To have one central place for publishing artifacts and make them available for other interested parties (in our case other internal applications), we expose them by using a simple apache http server.

So in this case the uri “oramds:/apps/xsd/myapp/1.0/saveEmployee.wsdl” would also be retrievable at “htp://myapacheserver.nl/xsd/myapp/1.0/saveEmployee.wsdl”.

Since we only use the mds on designtime and use the apache location at runtime in the whole otap we need a simple cfgplan to change the locations in the artifacts.
When we generate a sample cfgplan (rightmouseclick on the composite.xml > Generate config plan), we will notice the .bpel file artifacts won’t get customized
The wsdlAndSchema section lists all the wsdls, schemas and jca files but no bpel files.

<?xml version="1.0" encoding="UTF-8"?>
<SOAConfigPlan xmlns:jca="http://platform.integration.oracle/blocks/adapter/fw/metadata" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy" xmlns:edl="http://schemas.oracle.com/events/edl" xmlns="http://schemas.oracle.com/soa/configplan">
	<composite name="*">
		<import>
			<searchReplace>
				<search>oramds:/apps/xsd</search>
				<replace>htp://myapacheserver.nl/xsd</replace>
			</searchReplace>
		</import>
	</composite>
	<wsdlAndSchema name="*">
		<searchReplace>
			<search>oramds:/apps/xsd</search>
			<replace>htp://myapacheserver.nl/xsd</replace>
		</searchReplace>
	</wsdlAndSchema>
</SOAConfigPlan>

When we look in the logfiles we see some errors coming by.

info.log:[2016-02-25T16:58:01.928+01:00] [xxx-MS1] [WARNING] [] [oracle.fabric.common.wsdl] [tid: 127] [userId: weblogic] [ecid: 40869563-6b99-4a25-81a5-ed030a64e4df-00000001,0:2] [APP: soa-infra] Initial loading of WSDL at oramds://apps/xsd/myapp/1.0/saveEmployee.wsdl failed due to: Error in getting XML input stream: oramds:/apps/xsd/myapp/1.0/saveEmployee.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded /apps/xsd/myapp/1.0/saveEmployee.wsdl does not exist.. Will retry the load using the metadata manager associated with the composite..

So although the bpel itself just works it does try to resolve the oramds imports in the .bpel file (since those aren’t customized and still use oramds imports instead of http imports).

To remove the import from the bpel we use the the maven-antrun-plugin and the xmltask in ant to edit the .bpel file at the prepare-package phase.

    <build>
		<plugins>
            <plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.7</version>
                <dependencies> 
                    <dependency> 
                        <groupId>com.oopsconsultancy</groupId> 
                        <artifactId>xmltask</artifactId> 
                        <version>1.16</version>                     
                    </dependency> 
                    <dependency>
                        <groupId>xalan</groupId>
                        <artifactId>xalan</artifactId>
                        <version>2.7.1</version>
                    </dependency>                    
                </dependencies>
				<executions>                    
                    <execution>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                         <tasks> 
                           <echo message="Cleaning up bpel artifacts (removing wsdl imports)" />
                            <taskdef name="xmltask"
                                     classname="com.oopsconsultancy.xmltask.ant.XmlTask"
                                     classpathref="maven.plugin.classpath"/>
                            <xmltask todir=".">
                              <fileset dir="." includes="SOA/BPEL/*.bpel"/>
                              <remove path="//*//*[local-name()='import'][@importType='http://schemas.xmlsoap.org/wsdl/']" />
                           </xmltask>
                           </tasks>           
                         </configuration>
                    </execution>    
				</executions>                
			</plugin>    
		</plugins>
	</build>

We added the plugin to a parent pom so it will be active for all composite projects.
Since we also use some embedded java in the processes the xpath match should be on “//*[local-name()=’import’][@importType=’http://schemas.xmlsoap.org/wsdl/’]”.
Imports like

<import importType="http://schemas.oracle.com/bpel/extension/java" location="java.lang.String"></import>

won’t be removed.

fusion11g, oracle, soasuite

Error deploying Oracle Composite with wrong encoding wsdl

We had some issues with deploying a composite which retrieves his wsdl for the partnerlinks from Nexus.
The supplier of the services adds the archive with the wsdl artifacts in Nexus, we download the dependency and after that we compile/validate the composite against the downloaded set of artifacts.

For one particular partnerlink the composite just wouldn’t compile.

Error message :

Validating composite "c:\Repos\composites\mydomainobject\MyService\composite.xml"
c:\Repos\composites\mydomainobject\MyService\composite.xml:21: error: Load of wsdl "oramds:/apps/xsd/nextgen/gm/services/mydomainobject/2/myservice.wsdl" failed
c:\Repos\composites\mydomainobject\MyService\composite.xml:44: error: Cannot find Port Type "{http://ibridge.nl/gm/services/mydomainboject/2}MyServicePortType" for "Service1" in WSDL Manager
c:\Repos\composites\mydomainobject\MyService\composite.xml:44: warning: Failed to Find Binding "Service1":"{http://ibridge.nl/gm/services/mydomainboject/2}MyServicePortType" in WSDL Manager
c:\Repos\composites\mydomainobject\MyService\composite.xml:44: warning: Failed to Find Binding "Service1":"{http://ibridge.nl/gm/services/mydomainboject/2}MyServicePortType" in WSDL Manager
c:\Repos\composites\mydomainobject\MyService\composite.xml:30: error: Cannot find Port Type "{http://ibridge.nl/gm/services/mydomainboject/2}MyServicePortType" for "Service1" in WSDL Manager
c:\Repos\composites\mydomainobject\MyService\composite.xml:63: error: Cannot find Port Type "{http://ibridge.nl/gm/services/mydomainboject/2}MyServicePortType" for "Mediator" in WSDL Manager
c:\Repos\composites\mydomainobject\MyService\composite.xml:63: error: Cannot find Port Type "{http://ibridge.nl/gm/services/mydomainboject/2}MyServicePortType" for "Service1" in WSDL Manager

After recreating the partnerlink over and over again we thought the wsdl for it just looked valid. After selecting the wsdl when we create the partnerlink it also parses the operations correctly, so it looks valid.
The error message is a bit misleading.

Eventually we noticed the encoding of the wsdl itself was changed from ANSI to UTF-8.

Change the encoding back to ANSI (Notepad++), refresh mds, recreate the partnerlink and compile the composite and we have one happy composite again.

soa, soasuite

Altova XMLSpy, testing custom functions in xsl transformations

In our middleware solutions (Oracle SOA Suite) we use a lot of xsl transformations.
Part of these transformations use database backend systems to do lookups for transforming internal values to external values (which can then be communicated to the customers).

In the Oracle SOA Suite you can create custom xsl function and store the jar in the domain/lib folder and then you will be able to use it in the xsl transformations.

We use Altova XMLSpy a lot for creating all these xsl transformations. To be able to test these custom functions in the xsl transformations you use the next in the xsl files to be able to execute the custom functions from within XMLSpy.

Simple example of how to call a java method to uppercase a string.

package nl.xenta.xsl;

public class Helper {
    public Helper() {
    }
    
    public static String formatName(String input) {
        return input.toUpperCase();
    }
}

And the xsl transformation calling the formatName method

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xenta="java:nl.xenta.xsl.Helper?path=jar:file:///c:/xsl_functions.jar!/">
	<xsl:template match="/">
		<root>
			<emp>
				<xsl:value-of select="xenta:formatName('testing')"/>
			</emp>
		</root>
	</xsl:template>
</xsl:stylesheet>

Use “java:” to add the jar file to the xsl.

Now we can test the xsl transformation without deploying the bpel with the transformation first and test it on runtime.

Uncategorized

Oracle BPEL, retrieving the validate activity fault message

The ‘Validate’ activity in Oracle BPEL gives us the functionality to validate variables again schema definitions.
When using it in your bpel process you will get a nice informative message in the ‘Flow trace’.

validate1

When you’re using some generic error hospital functionality you also want this message to be available in there.
First try would be, add a Scope around the activity and catch the ‘invalidVariables’ System Fault.

When using a getFaultString on the fault variable or after assigning it to your own fault variable you will see the fault stack will be empty
validate2

	<myRuntimeFault>
		<part name="summary">
			<summary xsi:type="def:string"/>
		</part>
		<part name="detail">
			<detail xsi:type="def:string"/>
		</part>
		<part name="code">
			<code xsi:type="def:string"/>
		</part>
	</myRuntimeFault>

Because of some bug in the engine you won’t be able to get a handle to the fault message.

To be able to retrieve the fault message do the next.
Create a mediator in the composite based on a wsdl/operation which you ‘represent’ the element you’re trying to validate.

If you have a variable in your process like this :
variable name=”myEmployee” messageType=”emp:myEmployeeMessage”
or
variable name=”myEmployee” element=”emp:myEmployeeRef”

Then also create/use a wsdl which exposes an operation with the same messagetype/element in it.

In certain situations you will be validating an element which isn’t available directly in some operation in some wsdl (for example when you validate against an element which is only defined in a canonical xsd definition).
In that case just create a dummy wsdl/operation and use the element-definition in there, make sure you use the same namespace-structure.

Create the mediator based on this wsdl.
validate4

In the mediator enable the validateSchema option (true)

	<Mediator name="validateInput" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" wsdlTargetNamespace="http://xmlns.oracle.com/ValidateService/ValidateProject/ValidateProcess" xmlns="http://xmlns.oracle.com/sca/1.0/mediator">
	   <operation name="process" deliveryPolicy="AllOrNothing" priority="4" validateSchema="true"/>
	</Mediator>

We won’t be defining any routing rules, we just need the operation to validate the input and that’s it.
When the input isn’t validate it will trigger a remote fault which we will catch in our bpel process.

Instead of using the validate-activity, create an invoke to the mediator partnerlink.

validate3

As you can see, we now receive a fault stack back which includes our validation message.

The bpel will looking something like this :
validate5

The remote fault will be thrown by the mediator, in the second scope we now catch the remote fault instead of the invalid variables fault, and this fault variable does contain the information we need.

download : ValidateProject.zip

Uncategorized

Oracle JCA Database adapter and performance win on big clobs

In a few of our services in bpel and osb we’re inserting a lot of data (big payload messages) into the database by use of the jca db adapter.
We noticed performance would drop hugely when the db adapter needed to insert big payloads (CLOBS) and when the stream of messages on these services would continue even more performance would dramastically go down on the system.

After disabling “wrap data types” on the datasource in Weblogic we had a pretty good performance win on processing big clob messages into the database.

To disable wrapping of data type objects do the next :

  • Login the Weblogic Console
  • Click yourdomain > Services > Data Sources > your_datasource > Connection Pool > Advanced > disable Wrap Data Types

See this (Oracle® Fusion Middleware Configuring and Managing JDBC Data Sources for Oracle WebLogic Server 11g Release 1 (10.3.5) > 10 Tuning Data Source Connection Pools) document for extra information of the exact benefits of enabling/disabled the option

weblogic

Server subsystem failed. Reason: java.lang.NumberFormatException: null

Our admin server of the osb development environment failed to restart because of a full disk.
After cleaning up the admin server still wouldn’t start resulting in the next stack.

<Sep 28, 2012 10:18:16 AM CEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:454)
        at java.lang.Integer.parseInt(Integer.java:527)
        at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(EmbeddedLDAP.java:1104)
        at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:242)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        Truncated. see log file for complete stacktrace
>
<Sep 28, 2012 10:18:16 AM CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>

Locate the file :

ORACLE_HOME/user_projects/domain/your_domaim_name/servers/AdminServer/data/ldap/conf/replicas.prop

.. and remove it

In our case the file got corrupted (0byte file).
Removing the file, the file will get recreated with something like the next content :

[weblogic@my_machine conf]$ cat replicas.prop
#Generated property file
#Fri Sep 28 10:27:06 CEST 2012
replica.num=1
replica.0.name=OSB-MS1
replica.0.base=dc\=OSB
replica.0.port=7003
replica.0.hostname=my_hostname
replica.0.masterurl=ldap\://my_hostname\:7001/
replica.0.masterid=AdminServer
replica.0.secure=0
replica.0.binddn=cn\=Admin
replica.0.consumerid=OSB-MS1

Uncategorized

Oracle Service Bus 11g Development Cookbook is added to the OSB OTN Learn More page

Our book “Oracle Service Bus 11g Development Cookbook” has been added by Oracle to the “Learn More About Oracle Service Bus” section on OTN.
You can find it over here together with other usefull resources.

books

OTN Article : Three Recipes for Oracle Service Bus 11g got published

“Whip up a fresh batch of service- and message-oriented solutions with these recipes from the Oracle Service Bus 11g Development Cookbook”

Today two new items related to the Oracle Service Bus 11g Development Cookbook got published

OTN Article : Three Recipes for Oracle Service Bus 11g

Podcast Show Notes: Author Interview: Oracle Service Bus 11g Cookbook

Uncategorized

Oracle Fusion Middleware Partner Community Forum Malage, the overview

On the 7th and 8th of februari i attended the Oracle Fusion Middleware Partner Community Forum in Malaga.
A 4 day during event with other Oracle colleagues from other companies and from Oracle itself.

After taking a early flight from Schiphol Amsterdam, we arrived on time in Malaga. Great weather, compared to the -12 degrees in The Netherlands.

The agenda for the 4 days
The first day started with the next list of session :

  • Keynote Oracle Middleware Sales Strategy, Opportunities and Go-to-Market
  • Keynote Oracle Fusion Middleware Strategy & Direction
  • Partner SOA & BPM & Webcenter Reference Case
  • Keynote Automatic and Dynamic Publishing using Semantics and Webcenter Content
  • WebLogic 12c & Enterprise Manager 12c & ExaLogic for Fusion Middleware
  • ADF overview and roadmap

The day ended with the so called ‘Socal Network Event’. As usual Jurgen planned a great evening again for all of us.
Starting in El Pimpi restaurant with some drinks, delicious snacks and live music!

.. and to end up in Aleas Restaurant for a great dinner. Ideal moment to find out more about the new ps5/12c features and to finally get in contact with some friends of twitter.

The second day would be the more interested day with presentation about the new upcoming releases. Ideal to get in touch with the right persons and try to find out what’s coming up for us.
The interesting ones for me :

  • WebLogic what’s new in 12c
  • SOA Suite 11g overview, latest new features and directions
  • iAs to Wls
  • WebLogic automation & first WebLogic impressions

For the overall agenda see here.

The last 2 days we could follow the next hands-on trainings :

  • ADF & WebCenter MasterClass by Red Samurai, VASS, InfoMentum and Oracle
  • WebLogic 12c: Maciej Gruszka
  • SOA: Simone Geib & James

A list of upcoming features in one of the next minor upcoming releases (no guarantees, no dates!). Besides that some notes i made myself

SOA

  • Oracle Service Bus will make use of the ECID, so we will be able to trace down to OSB in the audit trial of the instances in the EM
  • Unified exception handling framework (“Error hospital”) (search/delete/recover failed instances)
  • Alerts for stuck messages (eventually these alerts will have the same destinations like the alerts from OSB), extra search options in the EM for these type of instances (stuck messages, ECID, etc)
  • Testing individuals bpel processes from the composite. Support for assertions, fast forward for wait activities
  • New transactions properties (required/requiresNew) for sync and oneway bpel processes (initiating calls). Able to set those on creation of the process instead of in the xml after creating.
  • New delivery proprties (async.persists/async.cache/sync) for async and oneway processes. (async.persist = save message in delivery store before picked up by engine, async.cache = in memory and sync = no save al all)
  • New property inspector for composite properties, instead of xml editing
  • Support for bpel 2.0 Dynamic Partnerlinks
  • Skip Condition on activities for bpel 2.0
  • Throw faults on failed assertions
  • Set timeouts on request/reply and in-only operations
  • Copy/paste functionality, for copying parts of your process in design time
  • Reduced memory footprint (let’s hope this time it will run fine on my mega dell laptop)
  • Enhanced purging strategies (
  • Out of the box integration with WebLogic Diagnostic Framework (WLDF) and Diagnostics Framework(DFW)
  • Coherence integration with DB adapter (cache usage = read/read-write)
  • Template support for composites
  • Besides XSLT also support for XQuery (like in OSB)
  • Out of the box scheduler (ESS) for scheduling webservices, adapters, ejb, plsql, etc

OSB

  • Improved RESTful webservices
  • Assign Transport Policies via OWSM
  • Apply policy to local proxies
  • Optimization importing jars containing an big amount of artificats
  • New console with OSB Designer and OSB Dashboard
  • OSB service will get same kind of composite overview in JDeveloper (Exposed services/Components/External Services)

JDeveloper

  • OSB, CEP, Composites, etc in 1 IDE
  • Better support for debug and tracing in JDEV
  • AIA support in OSB

Weblogic

  • Java EE 6 and Developer Productivity
  • Integrated Traffic Management
  • Better performance
  • Oracle Virtual Assembly Builder (OVAB) support
  • Better Maven integration
  • Latest Spring framework support
  • -Dservertype=wlx, launch instance without ejb, jms and jca containers
  • FastSwap
  • Option for storing transactions logs in de DB instead of filestore
  • Enhanced Disaster Recovery and High Availability
  • Deploy Glassfish application on Weblogic (detection of Glassfish descriptor)

Overall a great event again.
Thanks go out to Jürgen Kress and Hans Blaas for organizing it!

Page 1 of 1112345...10...Last »