When doing this, we have identified an issue in iPhone 6 by which the FLUID pages were not correctly scaling:
As you see, the text is barely readable. After some research, we have identified that standard pages deal with this scaling issue by using the following PeopleCode (normally in the component PostBuild event):
Version 1.3 of node-oracledb, the add-on for Node.js that powers high performance Oracle Database applications, is available on NPM
We kept the changes minimal in this release for several reasons. It has two small enhancements and a few bug fixes.
oracledb.oracleClientVersionattributes gives the version of the Oracle client libraries that node-oracledb is linked with.
connection.oracleServerVersionattribute gives the Oracle Database version used by the connection.
These attributes are handy for code that needs to run in multiple environments. See examples/version.js for usage.
The major bug fix resolves some corruption with
result.outBindswhen calling PL/SQL blocks. This was sometimes causing a crash.
See CHANGELOG for the other changes.
Issues and questions about node-oracledb can be posted on GitHub.
node-oracledb installation instructions are here.
node-oracledb documentation is here.
This is a quick blog entry to invite readers to view this little demonstration video I created. The topic is Copy Data Management in an Oracle Database environment. We all know the pains involved with the number of database copies needed in today’s Oracle environment. Well, how about technology with these characteristics:
- 100% space efficient. There is no need for any full-copy “donor” in this solution. You can create 8192 XtremIO Virtual Copies of volumes in an XtremIO array and there is no reduction in user-capacity at the storage level. For example, 512 copies of a 1TB volume with Oracle tablespaces in it takes exactly 1TB from the array.
- Self service. With EMC AppSync permissions can be set up so that developers can create their own copies, refresh their own copies and expire their own copies.
- Speed. AppSync copy operations such as creation and refresh are measured in seconds.
- Data Services. All XtremIO Virtual Copies enjoy data reduction services. So as users begin to make changes to their database copies the modified blocks are first treated with de-duplication and then compression.
You more than likely need XtremIO in any cose. However, now it’s also time to think about the ease of provisioning copies of Oracle databases to test/dev and other functions the XtremIO way.
It only takes minutes so please give this a view:
Filed under: oracle
With over 500 experts on hand to help our customers, Oracle Support Services will be front and center at Oracle OpenWorld 2015. Come to the Moscone Center and Palace Hotel October 25–29, and learn best practices to help optimize your Oracle technology and increase the value of your Oracle products and services.
If you or others in your organization will be attending Oracle OpenWorld this year, take a moment to review the available Support Services sessions, events, and demonstrations.
Learn about the must-see conference sessions and networking events hosted by Oracle Support Services, including hands-on, interactive demos and training.
Discover 50+ sessions that highlight the depth and breadth of Oracle's Support Services portfolio, and see how other customers are driving success with Oracle Support tools and resources.
- Best practices for supporting and upgrading Oracle hardware and software, including how to utilize all the features and entitlements of Oracle Premier Support
- Best practices, tips, and customer examples for how to leverage mission-critical support delivered by Oracle Advanced Customer Support
- How customers are leveraging Oracle Consulting for faster adoption and ROI to help them succeed using the Oracle stack
- How organizations are developing sharper, smarter, faster strategies which help them grow and meet today's changing business requirements with modern business platforms that drive innovation, create value, lower cost, and reduce risk
Oracle Business Analytics
Oracle E-Business Suite
Oracle Engineered Systems
Oracle Enterprise Manager
Oracle Fusion Applications / Fusion Middleware
Oracle Human Capital Management (HCM)
Explore 18 single-day, pre-conference training sessions offered by Oracle University on Sunday, October 25 covering popular Oracle technology topics, all taught by expert instructors.See available training sessions on the Oracle University OpenWorld site.
If you're an Oracle Premier Support customer, come see us on Monday, October 26 at the sixth annual My Oracle Support Monday Mix. Relax and network with Oracle support engineers, support managers, and other Oracle customers starting at 6 p.m. PT. Find out more about the Monday Mix event and venue here.
Meet us in the Support Stars Bar and Mini-Briefing Center in Moscone West Exhibition Hall, booth 3361. Work one-on-one with some of Oracle's best to get answers to your support questions. Attend a 10-minute mini-briefing and get entered to win prizes!
DEMOgrounds feature live demonstrations focusing on specific Oracle products and solutions across the Moscone Center and other event venues.
Based on your Oracle products and services, visit a DEMOgrounds area appropriate to you:Product Location Booth Oracle Database Moscone South 122 Oracle HCM and Fusion HCM Palace Hotel Sunset Court Middleware Moscone South 106 My Oracle Support & Proactive Tools Moscone West 3161
(next to the Stars Bar) Oracle PeopleSoft Palace Hotel Sunset Court Server / Storage Moscone South 737
In addition to the DEMOgrounds, Oracle Support Services will be offering specialized informational demos around maximizing Oracle Support resources and tools during convention hall hours.Program or Service Area Title Location HCM - Fusion Applications Maximize Your Investment in Oracle HCM Cloud Services Support Palace Hotel, Sunset Court ERP - Fusion Applications Maximize Your Investment in Oracle Enterprise Resource Planning Cloud Services Support Moscone West, Level 1 ERP Showcase PaaS Maximize Your Investment in Oracle Technology Cloud Services Support Moscone South, Oracle Cloud Platform and Infrastructure Showcase Platinum Services Oracle Platinum Services: Extreme Support for Engineered Systems Moscone North, Lower Lobby, Engineered Systems Showcase (at the bottom of the escalator) Oracle Consulting (Announced at the event) Moscone West, ERP Showcase Oracle Advanced Customer Support (Announced at the event) Moscone South, Oracle Database DEMOgrounds (area 122)
working translation by Greg Pavlik
Like a white stone in the depths of a well
within me there lies one memory.
I can not - and do not - want to expel
this, my greatest joy and my agony.
I think that anyone who closely looks
can see this recollection reads
as harrowing sadness in a tragic book -
a warning, and a sign of need.
I know the gods forever strive
to wreck the body but cannot touch the mind;
assurance that you will forever live
as a memory I can’t leave behind.
Как белый камень в глубине колодца,
Лежит во мне одно воспоминанье.
Я не могу и не хочу бороться:
Оно - веселье и оно - страданье.
Мне кажется, что тот, кто близко взглянет
В мои глаза, его увидит сразу.
Печальней и задумчивее станет
Внимающего скорбному рассказу.
Я ведаю, что боги превращали
Людей в предметы, не убив сознанья,
Чтоб вечно жили дивные печали.
Ты превращен в мое воспоминанье.
Following are highlights of this edition:
- President's Message
- DBA Article: Automated Testing of Oracle BPM Suite 12c Processes with SOAP UI - Peter Kemp, State Revenue Office, Victoria
- DBA Article: Best Practices for Oracle on Pure Storage
- Apps Article: Performance Review Data Capture - Brad Sayer, More4Apps
- DBA / Dev Article: Database Developers – Feeling Left Out of Agile? - D Nowrood, Dell Software
- Apps Article: Cost-effective alternative to Oracle Discoverer and BI Suite - Wilhelm Hamman, Excel4apps
- DBA Article: DBA101 - characterset corruption - Paul Guerin, HP
- Quick Tips 1: Five Reasons to Upgrade to APEX 5.0 - Scott Wesley, Sage Computing Services
- Quick Tips 2: Last Successful login time in 12c - Fahd Mirza Chughtai, The Pythian Group
What is Sharding in simple words:
Sharding is partitioning. Horizontal partitioning to be exact.
Sharding means partitioning a table rows on basis of some criteria and storing that partitioned rows of table (i.e. a shard) on different database servers. These database servers are cheap low commodity servers.
The benefits include smaller data to manage, smaller backups, faster reads, and faster response time for the queries.
Just like existing partitioning option in the Oracle database, there are generally three kinds of sharding:
The news out there on social media is that Oracle 12c next version is coming up with Sharding option. That is pretty exciting and let's see what they come up in this regard.
So if you're around Reston on November 12th from 7-9PM (or so), feel free to stop by. Here's the MeetUp.com link: http://www.meetup.com/orclapex-NOVA/events/226009784/
My first ODTUG conference was in 2006 and it was awesome. On this blog you'll find different blog posts about my experience and why I love it, so I won't go over that... but from time to time I get some questions about being a presenter at the event.
"What should I submit, I don't know what to talk about?"
The topics in the Oracle Application Express track are following:
- Integration: Relates to any work where other products are integrated with APEX or a gap is bridged between platforms. Perhaps is integration with EBS, SAP, Raspberry Pi, Node.js, OAuth, REST, etc...
- New Release: Presentations that relate to the latest version of APEX. Typically the Oracle development team is presenting those topics.
- Real World: Everybody loves real life examples. This is anything where a real life system is presented. The problem is explained and how APEX was used to solve it.
- Detail Plunge: These are presentations on any topic, but the topic, even if it seems narrow, is explored in detail and with focus. It doesn't have to be complicated. I could be building plugins or Dynamic Actions.
- Other Application Express: Everything else goes here. This is the catch-all bucket.
The way I chose my topics typically fall in one of following categories:
- I learned different things and combine them in a presentation. E.g. my presentation on the way we develop
- I worked on something in the last months and think it might be useful for others. For example my printing in node.js presentation
- I read about something cool I want to investigate, so by submitting the topic I force myself to have it completely researched before a certain date. An example of that was my presentation on Web Components.
"Why even bother, I won't be selected"
Well, without submitting you don't know. What do you have to lose? I'm sure I don't speak for myself when I say, I would love to meet new people and hear about what they do and discover. There's not a single day I don't learn anything, tech or non-tech. This weekend I learned something new and the feature has been in APEX for many years! (but that's for another blob post)
The level of presentation is very broad as well. We need presentations of all levels; beginners, intermediate and advanced.
"I don't know how to write an abstract"
On the internet there're many links how to present and write an abstract. On the ODTUG site you'll find some tips and examples.
Give it a go, you'll feel good when you've done it. Here's the link. It's all about the learning experience!
All the best and I look forward meeting you in Chicago.
translation by Greg Pavlik
Do not lament me, O Mother,
seeing me in the tomb.
The angelic chorus glorified the hour of eternity,
when the heavens convulsed in a river of fire:
He cried to His Father “Eli, Eli, lama sabachthani?”
And to His Mother, he spoke: “Do not lament me”…
Mary Magdalena writhed, and wept
as the beloved John froze like stone (or salt).
Where the Mother stood in silence -
no one dared to look.
Translator notes. I chose to translate this poem much less loosely than my interpretative translation of Akhmatova’s Lot’s Wife – there Russian readers will recognize that the final stanza is essentially my own poem (with an explicit reference to the unrelated work of Scott Cairns, in fact).
Instead, this section of Requiem is much closer to the original (1), with only minimal augmentation. Nonetheless, it is also very different from Akhmatova’s in certain critical respects. Requiem itself is a difficult and evocative work – its melancholy is inseparable from the suffering of both Akhmatova herself and the Soviet people under Stalin. In some sense, I have abandoned this context in my translation. Educated Russian readers would have recognized Akhmatova’s work as using the imagery of the hymnography of the Paschal Nocturnes, the final liturgical setting of Great and Holy Saturday chanted before the entombed body of the dead Christ, which includes a deeply moving dialogue with his Mother. (2)
I have chosen to deepen the liturgical elements of the poem and play off themes that recur in and around the Lenten Triodion. The text of the Slavonic service is rendered here in English as it is commonly used in American parishes within the Russian Orthodox tradition. Second, I use the Hebrew directly in quotation from the Psalter, emphasizing its position as a liturgical prayer. While the dialogic element from the Nocturnes service is repeated, maintaining the liturgical connection, here the address to the Mother is clearly one of human filial affection.
The river of fire is evocative of the image God as “consuming fire”, which, St Isaac says is experienced as bliss by the pure in heart. The second stanza – and I do not believe there is any intention at all in the original to do this – also points back to the story of Lot and Sodom and implicitly re-invokes the image of fire. Akhmatova makes no association with salt. I have tried intentionally not to recall the poetics of Stabat Mater in the final lines.
(1) Original Russian:
Не рыдай Мене, Мати,
во гробе зрящия.
Хор ангелов великий час восславил,
И небеса расплавились в огне.
Отцу сказал: "Почто Меня оставил!"
А матери: "О, не рыдай Мене..."
Магдалина билась и рыдала,
Ученик любимый каменел,
А туда, где молча Мать стояла,
Так никто взглянуть и не посмел.
1940, Фонтанный Дом
(2) From the Eastern Orthodox Liturgical Service of Paschal Nocturnes:
Do not lament me, O Mother, seeing me in the tomb, the Son conceived in the womb without seed, for I shall arise and be glorified with eternal glory as God. I shall exalt all who magnify thee in faith and in love.
Glory to Thee, our God, glory to Thee!
I escaped sufferings and was blessed beyond nature at Thy strange birth, O Son, who art without beginning. But now, beholding Thee, my God, dead and without breath, I am sorely pierced by the sword of sorrow. But arise, that I may be magnified.
Glory to Thee, our God, glory to Thee!
By my own will, the earth covers me, O Mother, but the gatekeepers of hell tremble at seeing me clothed in the blood-stained garments of vengeance; for when I have vanquished my enemies on the cross, I shall arise as God and magnify thee.
Glory to the Father and to the Son and to the Holy Spirit, now and ever and unto ages of ages. Amen.
Let creation rejoice, let all born on earth be glad, for hateful hell has been despoiled, let the women with myrrh come to meet me, for I am redeeming Adam and Eve and all their descendants, and on the third day shall I arise.
A couple days ago i created simple package for HTTPS/HTTP, but I’ve decided now to improve it:
- Timeout parameter – it would be better to control connection time;
- Simple page parsing with PCRE regular expressions – to speed up and simplify page parsing, because if you want to get big number matched expressions from CLOB with regexp_xxx oracle functions, you have to call these functions many times with different [occurance] parameters, passing/accessing to the clob many times. But within java procedure it will be just one pass.
- Support of plsqldoc – the tool for automatically generating documentation in HTML format.(javadoc analogue)
- added HttpMethod parameter – so you can choose POST or GET method
- added function get_last_response – returns last HTTP response code.
You can download new version from github: https://github.com/xtender/xt_http
Also it may be interesting if you want to see how to get collection of CLOBs/varchar2 from JAVA stored procedure.
So with new functions I can even more easy get UpVoters list from prevous post:
select * from table( xt_http.get_matches( pUrl => '&url' ,pPattern => 'alt="([^"]+)"' ,pGroup => 1 ) ) t
select * from table( xt_http.get_matches( pUrl => '&url' ,pPattern => 'alt="([^"]+)"' ,pGroup => 1 ) ) t / Enter value for url: https://community.oracle.com/voting-history.jspa?ideaID=6901&start=0&numResults=1000 NAME -------------------------------------------------- Denes Kubicek Pavel Luzanov Martin Preiss AlexAA scherbak TimHall Toon Koppelaars Dom Brooks mweedman BluShadow Dmitry-Oracle Mahir M. Quluzade SA2 Dmitry A. Bogomolov SQL*Plus Alexander.Ryndin-Oracle Mohamed Houri Randolf Geist ctrieb UltraBlast Kot Dmitriy user9506228 Timur Akhmadeev Franck Pachot pudge user12068799 user11933056 user11994768 iRAV user12228999 nicher100 vva Alexander Semenov Dmitry_Nikiforov Bud Light user7111641 dbms_photoshop AcidMan achervov GokhanAtil user2616810 Harun Kucuksabanoglu _Nikotin Maki user9066618 user10487079 IgorUsoltsev edw_otn Vigneswar Battu user11198823 be here now 869219 user7543311 VladimirSitnikov kamineff Asmodeus djeday84 Oleh Tyshchenko 87Rb-87Sr 911978 KoTTT Konstantin 945154 953255 user12217223 Alexander_Anokhin-Oracle oragraf.sql Jack10154746 user9502569 Yury Pudovchenko Sergey Navrotskiy 985277 xifos MatthiasRogel Mikhail Velikikh user12134743 1025067 Oren Nakdimon 1051964 1094595 1209426 user11211533 user6115180 user3990689 d.nemolchev user8925862 user11222376 user882251 user12279047 1284785 1323138 1336159 Grigory-OC 1373320 1373354 1411786 1421824 user13287062 1442254 1443436 1447180 KSDaemon user12097700 Sergei Perminov user3539222 Victor Osolovskiy 1560322 user13609377 user6672754 Alfredo Abate user11315510 user12245839 1636030 user5399907 user3983717 user12276855 1744386 user9171605 ksAsmodeus user12058508 1856219 user3214869 Trihin Pavel 1879578 1886567 user8869337 1890583 1913344 user11978061 user1438531 Menno Hoogendijk 2616420 2646629 rpc1 user4770257 user5217858 user11949728 al.netrusov 2693742 AKalugin 2721788 RZGiampaoli 2728073 2769955 2786798 2789541 BobDJ 2816036 user10123230 2831055 DBA_Hans_007 2880604 2896072 2902504 ApInvent Pinto Das natalka 2913706 2924025 2957186 2960288 -KE- user5337688 3001391 3004351 oleksii.kondratenko zeynep.samsa Mehmet Kaplan adbee6ae-dcb4-4c59-915b-487b33773a3f 6648e909-359d-4a32-b7bd-6cea3fd9fec3 mehmetyalcin 60e3f71b-bd5d-422c-b479-7a087d5b3827 3032511 c09042fd-15da-494b-b7b0-243ff4ceeb4b 5e087e18-4789-4923-92cb-cce149ba3072 5291adcf-242b-4f01-bbe6-b7ce44db1aac 9c0321bf-a358-49f9-88e4-462bd4fd5674 03b9266b-53f4-4503-ae04-b339c039bffd user12044736 4a89f5a6-cc35-424e-8e3c-59964ad8d56b 54113fd4-6592-4a32-9920-663813bdd4c5 590d4b9f-32b6-43ad-b0c4-3b767407c055 ffb03087-d390-4068-98e5-4cfd73e66d00 3fa47a10-7b28-4857-9274-d175f3b7fd48 user5814569 d0b20163-7a58-4d4d-9a7d-01ec973bc3e1 8aaa1ed8-e0f6-4712-bef7-6b1e6579798f 1aee554c-832b-4fa5-bead-0680a53d1cc5 5daa756f-80aa-4260-b91d-10d2c51b78d6 e7897e6a-993d-46db-ad93-215b61b715ad 9f982eda-2b58-4d61-aad9-4c6a50d2dab7 user2503867 3032876 f3012cfb-62b5-4c86-a102-2172c3640d5b 68fe6d1e-d41c-4528-b076-ac3bc5289cc5 41232c56-5a29-442c-a1c6-d5b94477be1d 0682b6e1-8662-498c-8455-629032a25cea user6592033 59961cb1-b4a6-470c-9802-44432911a7ff user7345691 ab7980ce-71ba-4ec1-a578-6b716f2ae1ae user5844404 723b639c-f6c6-4780-8ad6-0315564ef937 28e651f6-c9c3-4d2a-af03-001837eb99ba 3032942 841b96b4-ab84-461e-aed9-58f9df710406 user9961876 d7e48e5c-868f-4b2d-88b5-8614e9d35c80 3033022 f095cbb6-707a-4f40-8f18-a6a9dc37894d 3033091 9e9d3c99-9b5e-4fa2-89ac-4e6216209566 a9e702d3-f8e5-43ee-8e6c-0fe722d9ab50 bdd07d60-c467-4115-8149-8ef2af880d9a d5571104-4726-4f06-b529-293dc667ae6e user10865764 petrelevich 87a6503f-5717-4887-ac77-cd916002f53a user7355088 user6083916 user2300447 user12299863 81ddc21a-7cb3-4298-a96b-ea7c9774b2c4 3405d13c-9d19-4903-8eb0-14a2544cb32b user2427414 4670adeb-1c9d-4ce4-98eb-962bc4c68f5d oldhook 1e4428aa-3a63-4a1a-90b3-f2b74292f502 user6367919 7c75e315-487d-4797-8e5b-f3dee58bbc79 user8828289 1a8ad4e7-759f-48ee-8054-c449540d0573 6f3b1262-c9d6-42d6-b703-fc4e6a40b7a1 037f209b-f643-4642-a059-79988d19d77b PL99 3034106 3034166 user5489918 user2340616 naeel maqsudov 3036157 user2626322 52e8d732-4289-4d0d-b8c5-80e701f3c07d 4b2deedd-84c4-4b8b-8724-837c54dd764e user12569643 07292d40-2bab-4e94-b68e-cfaae6c093a8 8ec394ac-fd54-4896-9810-0381bb75260e caec3a42-0f98-440b-ad71-9522cb1e0a0e 9c52d45b-e2e4-489c-9a32-548c77f159b3 f6e966be-8576-4da9-a0df-8fec374b6cd3 5214be2e-d761-4a4e-aeba-23ff7bb4cf4e f070b484-017d-4d4c-a740-f6ad9db37286 d4f322d3-0265-458d-948d-83bd66d5c7e3
Recently did an Exadata Expansion project on x3 half rack and making it a full rack by adding x5.
this setup is a full exadata rack with two different flavours of engineered system hardware four x3 compute nodes and four x5-2 compute nodes along with seven x3 cellnodes with seven x5 cell nodes.
This topology is supported but there were a lot of work behind.
- First getting the x3 on the supported release 12c , this involved 4 node grid upgrade from 11g to 12c and x3 compute/cell node image to 12c from 11g.
- Next physical racking of x5 hardware into x3 rack space
- Then upgrade x5 to the latest software stack 12c same as x3
- Interconnect both x3 and x5 to co-exisits
- Precheck of the full exadata rack before making them into one cluster
- Next add the four x5 node to the x3 rac cluster using addnode.sh
- Now the storage - x3 had 3TB disk and x5 has 4TB disk , so grid disk has to be the same size.
- following doc "How to Add Exadata Storage Servers Using 3TB/4TB Disks to an Existing Database Machine (Doc ID 1476336.1)" will help.
- the additional 1TB space from x5 cell storage was created into RECO2 for future recovery storage space as the current setup is 80:20 (DATA:RECO)
- Completed cluster verification and return the rack to service
This whole exercises was so cool and went as documented.
For documentation the below was used (you may have to refer to the latest document for extending exadata)
Oracle® Exadata Database Machine Extending and Multi-Rack Cabling Guide
12c Release 1 (12.1)
In this example I create a basic Spring Boot application using Elasticsearch, Web, Rest Repositories along with Thymeleaf / Bootstrap as the view pages. The code for this is on GitHub which also provides the "Deploy to Bluemix" button to deploy to your own instance of this application into your own Bluemix accout.
Like all Spring Data Repositories you can create an interface and be given basic CRUD operations to the Elastisearch DOCUMENT as shown below.
public interface EmployeeRepository extends ElasticsearchRepository<Employee, String>
public List<Employee> findByFirstNameContaining(String firstName);
@Document(indexName = "employee", type = "employee", shards = 1, replicas = 0, refreshInterval = "-1")
public class Employee
private String id;
private String firstName;
private String lastName;
private String job;
private int deptNo;
If you don't have a IBM DevOps Jazzhub account the manifest.yml can be used if you clone the project, and compile it using maven with "mvn package". Be sure to alter the application name / host to be a unique name within Bluemix.
- name: pas-sb-elastic
pasapicella@pas-macbook-pro:~/ibm/DemoProjects/spring-starter/jazzhub/SpringBootElasticSearch$ cf push
Using manifest file /Users/pasapicella/ibm/DemoProjects/spring-starter/jazzhub/SpringBootElasticSearch/manifest.yml
Creating app pas-sb-elastic in org firstname.lastname@example.org / space dev as email@example.com...
Using route pas-sb-elastic.mybluemix.net
Binding pas-sb-elastic.mybluemix.net to pas-sb-elastic...
Uploading app files from: /Users/pasapicella/ibm/DemoProjects/spring-starter/jazzhub/SpringBootElasticSearch/target/SpringBootElasticSearch-0.0.1-SNAPSHOT.jar
Uploading 1M, 133 files
Starting app pas-sb-elastic in org firstname.lastname@example.org / space dev as email@example.com...
-----> Downloaded app package (35M)
-----> Java Buildpack Version: v3.0 | https://github.com/cloudfoundry/java-buildpack.git#3bd15e1
-----> Downloading Open Jdk JRE 1.8.0_60 from https://download.run.pivotal.io/openjdk/trusty/x86_64/openjdk-1.8.0_60.tar.gz (2.7s)
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.7s)
-----> Downloading Spring Auto Reconfiguration 1.10.0_RELEASE from https://download.run.pivotal.io/auto-reconfiguration/auto-reconfiguration-1.10.0_RELEASE.jar (0.9s)
-----> Uploading droplet (79M)
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
1 of 1 instances running
App pas-sb-elastic was started using this command `SERVER_PORT=$PORT $PWD/.java-buildpack/open_jdk_jre/bin/java -cp $PWD/.:$PWD/.java-buildpack/spring_auto_reconfiguration/spring_auto_reconfiguration-1.10.0_RELEASE.jar -Djava.io.tmpdir=$TMPDIR -XX:OnOutOfMemoryError=$PWD/.java-buildpack/open_jdk_jre/bin/killjava.sh -Xmx329386K -Xms329386K -XX:MaxMetaspaceSize=64M -XX:MetaspaceSize=64M -Xss975K org.springframework.boot.loader.JarLauncher`
Showing health and status for app pas-sb-elastic in org firstname.lastname@example.org / space dev as email@example.com...
requested state: started
usage: 450M x 1 instances
last uploaded: Sat Oct 10 10:20:52 UTC 2015
state since cpu memory disk details
#0 running 2015-10-10 09:22:42 PM 0.3% 425.1M of 450M 158.1M of 1G
The application is currently deployed and is accessible at the URL below.
On the left side you have the authorized_keys file created in Windows.
On the right side you have the same authorized_keys file created in Unix.
If you notice the ends of the lines in the Windows file it shows CR LF, where as unix shows LF.
This difference is well described in the wikipedia article on newline character.
The one mistake I had done this time was create the authorized_keys file in Windows notepad, as I was teaching a Developer how to create authorized_keys file. Once I used vi on unix to create the authorized_keys file and pasted the same ssh key, sftp started working without prompting for password. I know that Windows/DOS and Unix have different newline characters. However, I was not able to apply that knowledge, till I compared the files in hex editor.
Whenever, a techie is able to get to the root cause of a problem, a deep sense of satisfaction is experienced. I am glad I got the opportunity to troubleshoot and fix the issue by getting to the root cause of the issue.
The Support Stars Bar at Oracle OpenWorld - Live Help, Demos, and More From Some of Oracle's Best and Brightest
Come to the Oracle Support Stars Bar at Oracle OpenWorld and get the answers you need from Oracle Support experts—across all Oracle product lines.
Visit us in Moscone West, Booth 3361 and learn about new features and tools that will help make your job simpler.
- Find Answers: Ask the Stars of Oracle Support your toughest questions.
- Win a Prize: Attend a 10-minute mini-briefing on a specialized topic for a chance to win.
- Get Proactive: Discover powerful new proactive support tools.
- Power Up: Maximize availability and performance with Advanced Customer Support.
Moscone West Exhibition Hall, Booth 3361
Monday, October 26: 10:15 a.m. to 6:00 p.m. PT
Tuesday, October 27: 10:15 a.m. to 6:00 p.m. PT
Wednesday, October 28: 10:15 a.m. to 4:15 p.m. PT
This week, orphaned table rows and how to avoid them.
Its a bit more subtle than rows breaking across a page border and the solution is a doozy!
Im using another video to demonstrate because
- I don't have to type and grab screen shots, even thou I have one above
- Its faster and more easily understood, even in my umming and erring English.
- I'm hip and happening and video help is the future kids!
- You get to hear my Southern (England) drawl; a great sleep aid for insomniacs!
Here it is. You might want to 'fullscreen' it. Enjoy!
This is probably ambitious and I’ll start with a disclaimer, there is no such thing.
But ok, we know that system/manager isn’t
Apart from system/manager, there are hundreds of weak passwords that are commonly used and easy to guess.
On your database server, after a few tries, the account is lock. And maybe the attacker is detected by then.
So the worst passwords are the default passwords and passwords like oracle.
To enforce good passwords, we have verify functions, like ora12c_strong_verify_function in 12c, that checks for mixed case, special characters, etc. One may prefer to write his own and not disclose what it exactly checks.
In that function in rdbms admin, it states The maximum length of any DB User password is 128 bytes. but it’s 30 character in most cases.
If you have failed login attends of 10, chosing eleven as a password does not make it safe. If the attacker got’s the user metadata, you are screwed in no time. In Oracle 4, it’s clear text. In 7-10, it’s a doubled-DES unsalted with a fixed disclosed key encryption. There any dictionary attack takes milliseconds, and a 6 character password in sub-second. It’s got better in 11, where SHA1 could take weeks to years to have a 8 char password. Depending on its complexity. In 12c, generating a hash cost lot’s of cpu cycle, so it is no longer possible to test millions of password per second, even with the strongest hardware.
But to get a good password it is recommended and often required to use digit / letters / special signs / mixed case and no dictionary word.
I have made a small password generator for my reader using dbms_random.string, which generates pseudorandom string. It is best to use the cryptographically secure dbms_crypto.randombytes, but then you must still get a password that you can type. It should also be possible to use unicode if you like. And depending where you are going to use it, it is sometimes safer to not use signs like * or ‘ because, who know’s, your password may produce an error and end up in a logfile.
Okay, I wrote a small function that generates a 10-char string and verify it with the 12c strong verifier. And loop until one is good enough.
The chance that a random password is manager is pretty low, but it is probably best to check you got not only safe random, but also strong string
-- @?/rdbms/admin/catpvf CREATE OR REPLACE FUNCTION pw (username VARCHAR2, old_password VARCHAR2 DEFAULT NULL) RETURN VARCHAR2 IS p VARCHAR2 (30); c BOOLEAN := FALSE; i NUMBER := 0; BEGIN WHILE NOT c AND i < 1000 LOOP p := DBMS_RANDOM.string ('P', 10); i := i + 1; BEGIN c := sys.ora12c_strong_verify_function (username, p, old_PASSWORD); EXCEPTION WHEN OTHERS THEN NULL; END; END LOOP; RETURN p; END; / SELECT pw ('SCOTT', 'TIGER') FROM DUAL; #gA~82NxBv
This could well be a good initial expired password for your user. Later the user will find something easier to remember
The only thing I have a problem with is the absolutely microscopic number of votes. The most votes in the category ORDS has Dietmar - 134. In APEX it is 98 votes for Morten. Even Jari Lane who is very well known in the APEX community and has helped numerous people with his solutions has received all together 103 votes - obviously almost the half of it as down-voitng. To my point of view this is incredible. But if I think back and do a comparison with my own experience then this is actually normal. In the last seven years I have received more than 9.000 emails from the community asking either for access to my workspace, my Demo Application or asking for an APEX solution of some kind. As a result of that I have created almost 4.000 accounts and answered 95% of those emails. But all together, maybe 50 receivers responded saying thank you.
Shame on us. We are lazy and cynic. We are constantly talking about how big the APEX community and how strong it is. Maybe, because there are a few people out there like Dietmar, Jari, Jürgen Schuster, Morten and few others. The rest seem to be there only when they need something.
It’s very easy to get and analyze voters list using my new XT_HTTP package
We can get up-voters list by the URL:
where NNNN is Idea ID from nomenee’s page.
For example my page – https://community.oracle.com/ideas/6901 so my voters page will be https://community.oracle.com/voting-history.jspa?ideaID=6901&start=0&numResults=1000
BTW, though this page is called “VotingHistory”, but it shows up-voters only
-- create table upvoters as with finalists(category, userid, name) as ( -- SQL~ Voting: ------ ------------------ ------------------------------------------------------------------------------------- select 'SQL' , 6899, 'Stew Ashton ' from dual union all select 'SQL' , 6900, 'Sean Stuber ' from dual union all select 'SQL' , 6901, 'Sayan Malakshinov' from dual union all select 'SQL' , 6902, 'Matthias Rogel ' from dual union all select 'SQL' , 6903, 'Kim Berg Hansen ' from dual union all select 'SQL' , 6904, 'Justin Cave ' from dual union all select 'SQL' , 6905, 'Erik Van Roon ' from dual union all select 'SQL' , 6906, 'Emrah Mete ' from dual union all -- PL/SQL~ Voting ------ ------------------ ------------------------------------------------------------------------------------- select 'PL/SQL' , 6907, 'Sean Stuber ' from dual union all select 'PL/SQL' , 6908, 'Roger Troller ' from dual union all select 'PL/SQL' , 6909, 'Patrick Barel ' from dual union all select 'PL/SQL' , 6910, 'Morten Braten ' from dual union all select 'PL/SQL' , 6911, 'Kim Berg Hansen ' from dual union all select 'PL/SQL' , 6912, 'Bill Coulam ' from dual union all select 'PL/SQL' , 6913, 'Adrian Billington' from dual union all -- ORDS ~ Voting ------ ------------------ ------------------------------------------------------------------------------------- select 'ORDS' , 6881, 'Tim St. Hilaire ' from dual union all select 'ORDS' , 6882, 'Morten Braten ' from dual union all select 'ORDS' , 6883, 'Kiran Pawar ' from dual union all select 'ORDS' , 6884, 'Dimitri Gielis ' from dual union all select 'ORDS' , 6885, 'Dietmar Aust ' from dual union all select 'ORDS' , 6886, 'Anton Nielsen ' from dual union all -- APEX ~ Voting ------ ------------------ ------------------------------------------------------------------------------------- select 'ORDS' , 6887, 'Trent Schafer ' from dual union all select 'ORDS' , 6888, 'Paul MacMillan ' from dual union all select 'ORDS' , 6889, 'Morten Braten ' from dual union all select 'ORDS' , 6890, 'Kiran Pawar ' from dual union all select 'ORDS' , 6891, 'Karen Cannell ' from dual union all select 'ORDS' , 6893, 'Juergen Schuster ' from dual union all select 'ORDS' , 6894, 'Jari Laine ' from dual union all -- DatabaseDesign ~ Voting ------ ----------------- ------------------------------------------------------------------------------------- select 'DbDesign', 6896, 'Michelle Kolbe ' from dual union all select 'DbDesign', 6897, 'Mark Hoxey ' from dual union all select 'DbDesign', 6898, 'Heli Helskyaho ' from dual union all select 'DbDesign', 6919, 'Rob Lockard ' from dual ) ,finalists_with_voters_pages as ( select finalists.* ,xt_http.get_page('https://community.oracle.com/voting-history.jspa?ideaID='||to_char(userid,'fm0000')||'&start=0&numResults=1000') page from finalists where rownum>0 ) ,finalists_with_voters as ( select fp.category ,fp.userid ,fp.name ,voters.column_value as voter from finalists_with_voters_pages fp ,table(cast(multiset( select regexp_substr(page,'alt="([^"]+)"',1,level,'c',1) from dual connect by level<=regexp_count(page,'<li>') ) as ku$_vcnt)) voters ) select * from finalists_with_voters