browse by category or date

A few months ago my colleague asked me to try out TOra (Toolkit for Oracle). I downloaded the latest stable version of TOra (2.0), and get it installed in my PC.

But somehow I could’t get it to connect to our Oracle test DB. I tried all combinations of the connection settings, but I always get either of these error messages whenever I press the connect button:

  • ORA-06401: NETCMN: Invalid driver designator
  • ORA-12560: TNS: protocol adapter error

Desperate for guidance, I lurked at TOra’s community forum looking for one. I found a number of questions from people who apparently have the same problem as mine. I tried the tips given there, but I still unable to get TOra connected.

I stopped my experiment with TOra because my colleague suggested us to settle with Oracle’s SQL Developer instead. I noticed that SQL Developer is a Java-based Windows application, so I already anticipated that it is going to be much slower than native Windows application.

TOra (Toolkit for Oracle)

So after months of occasionally frustrated by SQL Developer’s slowness and memory-hogging, I return back to trying to get TOra connected. Hoping that my fortune is improved this time. And it does improved 😀

I installed TOra (the latest stable version is still 2.0) and then visited TOra’s community forum for clues. Then I found out someone mentioned that TOra 2.0 was build based on Oracle Instant Client 10. Hmm.. I am still using Oracle 9.2 Instant Client. This could be the main cause why TOra unable to connect.

So I downloaded Oracle’s Instant Client v. 10.2 and extracted its content to my TOra installation folder. Then I tried the following settings:

 

Voila!!! It works!!!

 

Update:

Unfortunately, I am still unable to use TNS record to get TOra connected. I’ll update again once I have success getting TOra connected using TNS records.

To make TOra able to use TNS, please set the following Environment Variables:

  • TNS_ADMIN. Value: fullpath of TNSNames.ORA’s directory
  • ORACLE_HOME. Value: fullpath of Oracle’s installation directory

Once you’ve done above steps, a new connection provider [Oracle (TNS)] will be available.

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant:

A colleague asked for my help yesterday. He wants to have a chart that consists of bar chart and smooth-line chart. Since I don’t rate my MS Excel skill highly, I told him to give me some time to do simulation (read: Trial-and-Error)

Assume we have the following data:

 

Jan

Feb

Mar

Apr

Sales 2008

12

56

90

34

Sales 2009

23

87

43

83

Overtime 2008

23

45

37

68

Overtime 2009

11

32

43

12

Below is the final result that he wanted:

excel-chart

To do that, first we need to plot the data as XY (Scatter) – Smooth Line chart. I assume you know how to plot chart with data series. By now, we should have this:

excel-chart2

Select one of the series that you want to change into bar chart. You can do that by clicked the series’ line in the chart, or open the chart toolbar.

excel-chart3

It’s a simple trick that I only know about it yesterday :D. I hope you will find it useful.

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant:

Selamat Datang Prof. Dr. Boediono

Hari ini, Wakil Presiden Indonesia Terpilih, Prof. Dr. Boediono berdialog dengan warga Indonesia yang tinggal di Singapura. Dialog ini diselenggarakan di Gedung Ripta Loka, Kedutaan Besar Republik Indonesia Singapura yang berlokasi di Chatsworth Road no 7.

Dialog ini dibuka dengan sambutan Duta Besar Indonesia untuk Singapura, Bapak Wardana. Berikut adalah rangkuman poin-poin yang disampaikan oleh beliau.

  • Informasi tentang data demografis warga negara Indonesia yang tinggal di Singapura. Saat ini ada kurang lebih 150 ribu warga Indonesia yang berdomisili di Singapura, dimana sekitar 80 ribu bekerja sebagai Penata Laksana Rumah Tangga (PLRT)
  • KBRI Singapura telah memfasilitasi pembentukan organisasi-organisasi profesi untuk menampung aspirasi WNI di Singapura. Organisasi-organisasi tersebut akan menampung aspirasi para pelaut dan PLRT Indonesia.
  • Hasil akhir Pilpres 2009 di Singapura, dimana lebih dari 80% suara mendukung pasangan SBY-Boediono.
  • Program-program yang dilaksanakan di KBRI Singapura untuk meningkatkan profesionalisme PLRT Indonesia. Antara lain dengan membuka program kursus Bahasa Inggris, Komputer dan Universitas Terbuka. Program-program ini dijalankan dengan partisipasi para mahasiswa Indonesia di Singapura.

Bapak Dubes selanjutnya mempersilahkan Bapak Prof. Dr. Boediono untuk menyampaikan sambutan beliau. Bapak Boediono membuka dengan salam dan ucapan terima kasih kepada para hadirin yang telah hadir dalam dialog ini. Beliau juga berterima kasih karena warga Indonesia di Singapura telah memberikan dukungan kepada pasangan SBY-Boediono dalam Pilpres 2009.

Beliau juga berharap bahwa demokrasi Indonesia saat ini akan menjadi demokrasi yang bermanfaat bagi masyarakat. Hal ini mengingat pada tahun 1950-an Indonesia juga menerapkan demokrasi, tapi gagal karena demokrasi saat itu tidak bisa memberikan manfaat yang bisa dirasakan oleh masyarakat.

Beliau memaparkan tiga garis besar program Pemerintahan SBY-Boediono ke depan. Tiga program itu adalah

  1. Pembangunan infrastruktur fisik. Saat infrastruktur fisik Indonesia sangat tertinggal jika dibandingkan dengan negara-negara tetangga. Infrastruktur ini antara lain pembangunan/perbaikan jalan, penyediaan listrik, dan transportasi antar pulau.
  2. Pembangunan infrastruktur lunak. Hal ini akan diwujudkan dengan membuat iklim ekonomi yang mendukung pertumbuhan. Antara lain dengan melanjutkan proses pembentukan pemerintahan yang bersih dan transparan, kebijakan-kebijakan yang mempermudah tumbuhnya ekonomi.
  3. Bantuan kepada masyarakat yang tertinggal dalam pertumbuhan ekonomi. Tidak bisa dipungkiri bahwa dalam perkembangan, selalu ada elemen masyarakat yang akan tertinggal. Hal ini akan diwujudkan dengan melanjutkan program BLT, pemberian beasiswa untuk pelajar miskin yang berprestasi dan subsidi kesehatan untuk warga yang tidak mampu

Acara kemudian dilanjutkan dengan memberikan kesempatan bagi para hadirin untuk menyampaikan pertanyaan kepada Bapak Boediono. Rangkuman pertanyaan dan jawaban akan saya tuliskan di posting selanjutnya.

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.