Problem starting Oracle Database Control Service

Today I run into problem running Oracle Database Control Service on Windows 2003 Server. When I was trying to run it using Administrative Tools->Services I got an error:
“Windows could not start the OracleDBConsoleWIND on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 2”.
Quick look in the Event Viewer proved it usless:
The OracleDBConsoleWIND service terminated with service-specific error 2 (0x2).
The solution came when I tried to run the service using console:
set ORACLE_SID=wind
C:\ptc\PDMLink>emctl start dbconsole
OC4J Configuration issue. C:\oracle\ora102/oc4j/j2ee/OC4J_DBConsole_winddev1_wind not found.

Gotcha!
In C:\oracle\ora102/oc4j/j2ee/ directory I had only:
OC4J_DBConsole_winddev1.devintl.com_wind
After some network reconfiguration the host started to appear using only host name, not fully qualified host name. Fair enough, I had just copied the folder to match current host name and the console is working again:

C:\ptc\PDMLink>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://winddev1.devintl.com:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleWI
ND service is starting...............
The OracleDBConsoleWIND service was started successfully.

Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share

Youtube: Embedding disabled by request

This post was supposed to be be about a really great song I’m listening to on youtube. But it won’t be, because I can’t embed it – youtube says “Embedding disabled by request”. If starting to be fed up with this all copyright management. Youtube recognizes my location in UK by IP and it removes or disables most of music videos (they play without a problem from other countries I visit).

I’m using a free Spotify version currently. I thought that it might be a good idea to buy premium account, but they have only about half of tunes I like. Other record labels haven’t agreed to join, so I gave up.

Hej, fat cats in music industry: wake up! We have a XXI century!

Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share

I’ll have an android with ipad, please. Mix it well…

Wouldn’t it be great to have a mobile OS with proper UX? Just imagine:
– smooth scrolling and scalling like ipad
– android’s keyboard, ideally hardware one like the one in Droid
– arrow keys (I’ll buy a kebab to anyone who will tell me why ipad don’t have one)
– email client that looks like the one from ipad, but works like android’s one (and let’s you save an attachment…)
– hardware “back” button
– notification area
– spellchecker that underlines errors, not midifies your text
– ability to play any media format

I see now, what I really want Windows With a smooth touch UI :)

Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share

The book you should read next


If you are fascinated by technology, get excited by possibilities of human determination, like suspense and thriller stories or just like the history books –
Vulcan 607 by Rowland White is the next book you should read.

It first strikes you with a background story – history of conflict on Falkland Islands. It doesn’t read as history – it’s seems to be Tom Clancy’s kind of story than pure facts! Then you get some quite geeky details of one of the greatest planes ever built with quite surprising insight into how the real world engineering support looks like. On top of that you get the insight into going to war decision process on 1980s and people, real people, involved. And there’s a the finale where not everything works as planned.

Go and buy it.

Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share

Post GeeCON 2010 notes

GeeCON is an annual Java conference I had a pleasure to attend to. Spending two days in awesome geeky atmosphere is definitely the thing to do!

So, was there something apart from unlimited free coffee? Yes, there was! Conference started with Oracle’s official presentation on future of Java (Oracle Java… it still sounds strange, doesn’t it?), where we were reminded that our jobs are safe – Oracle is willing to keep supporting java development and it’s even improving JCP (but they won’t say what they are going to do – that not seem very communitish approach to me ;) ).

Other important presentations for me were:

–          Holly Cummins – Apache Aries: Enterprise OSGi in Action. I’m still not very convinced that Aries is the future, Spring’s implementation seems to be better bet, but I will definitely push in OSGi direction.

–          Christian Tzolov – Rapid Server Side Java Development Using Spring Roo. Spring Roo can be described in one word: WOW! Or maybe two: pure magic. It’s absolutely incredible quick tool to build a solid application in 30 minute using a console based commands like “persistence setup –provider HIBERNATE –database HYPERSONIC_IN_MEMORY” to create set up persistence layer, entity –class ~.domain.Topping –testAutomatically and “controller all –package ~.web” to create persistable entity with full UI for CRUD. Adding site themes, other outputs (JSON, XML) is all done in a similar way. Roo even guesses what you may want to do next – just type “hint” and you will get accurate suggestion what are the reasonable steps to do in current state of application. Must try!

–          Eugene Ciurana – The high availability non-stop fault-tolerant services tutorial. Good presentation with some architectural patterns for High Availability followed with extremely interesting real world example. Not an eye opener, but solid and methodical review of current HA strategies.

–          Dawid Weiss – Java in high-performance computing. Surprising presentation about small things in java that can make the same thing run slowly or fast. All the perks we forget or ignore when the hardware is so cheap.

–          Hans Dockter – Gradle – A better way to build. Since “make” the building methods evolved quite far. With me, still stuck in 20th century ant solution, the Gradle seem a huge leap forward. It does out of the box almost everything we already done manually using ant. Worth a try, but I haven’t found a reason to migrate.

–          Ed Burns – Secrects of the Rockstar Programmers. Great presentation by the Rockstar Presenter. Nothing more, nothing less – buy http://www.amazon.co.uk/Secrets-Rock-Star-Programmers-Riding/dp/0071490833 and see for yourself.

–          Jonas Boner – Let it crash: using Actors for fault-tolerance, scalability and concurrency. The things will go wrong – learn to live with it instead of fighting it. Jonas’s approach is to design solutions using actors, concept for Erlang, and to let the errors happen instead of exercising typical for java defensive programming. As a bonus you get transparent scalalbility. With mature implementation of Akka http://akkasource.org/ you should give it a try.

–          Dalibor Topic – JDK 7 Update. One of the OpenJDK committers presented what is currently going on in JDK development (which you can see on OpenJDK project’s page) with a great reasoning for all the things (which you can see on OpenJDK projects page after reading 4000 documents and discussions ;)). Real insider view!

–          Thomas Enebo – Squeezing Java Performance: When you need a little more. Point one: the jvm is brilliant with optimization. Point two: knowing what JVM does let you help it make it work or stop you preventing it (whichever applies to you ;)). Example topics: how to avoid cost of reflection and auto boxing and how to help jvm inline methods. All based on experience from JRuby project.

–          Andrea Provaglio – Beyond Agile. We are good with technology. We have great tools and methodologies. We are rubbish with people. Andrea predicts that next revolution in the IT will be human factor. We need to understand why IT guys are not just some factory workers. Software is intangible like music, not solid like a wooden chair, we need to adjust to it to unleash the potential and to stop killing productivity.

–          Peter Lubbers HTML 5 Web Sockets: All-You-Can-Eat Real Time! Web sockets are the next best thing after sliced bread. No more hanging gets and communication overheads in RIAs! It’s fast and already supported by Chrome. Peter’s company http://www.kaazing.com has developed useful wrapper for fallback on non-web socket compliant browsers.

Now the conference is over. I’m going to test some of the new ideas I got from this geeky heaven, I’ll keep posting with details.

Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share

HTML5

This week I’ve attended meeting of London-GTUG (Google Technology Users Group). Main themes of the meeting were Chrome Extensions and HTML5. First part was interesting, but not inspiring – the Firefox plugins are widely available, Chrome Extensions just close the gap between the browsers. I like the architecture of Extensions and reasonable restrictions Google put on available APIs. All information are available on Chrome Extensions Lab page.

On the other hand, the HTML5 show put some new ideas in my mind. I like new semantic tags like <header/footer>, <time>, I love new styles (after 20 years we will finally have rounded corners :)), new attributes (“default if empty” for input fields) and other minor stuff like new types of input fields. But the real revolution lies in HTML’s multimedia capabilities. HTML currently supports audio and video embedding with full control over the elements from JavaScript; there are transitions to allow define movement of elements and my personal favourite – canvas. Where’s canvas and bunch of developers, there will be frameworks that will make it really usable. And this canvas gets access to GPU, so it’s fast. I will observe WebGL closely. This may be a foundation of revolution in PLM world!

Is HTML5 a flash-killer? If you compare capabilities, it may seem so, but the battle is not lost for Adobe yet. At the moment there are no IDEs that let developers use full potential of new capabilities. And the browser support is still quite poor with Internet Explorer in lead in department of ignoring new standard. Adobe has some time to make a leap forward and run away before HTML folks produce something stable and popular enough.

Btw: Someone took a decision to stop numbering HTML, so we should not talk about HTML5 – it’s just HTML now. How do you tell what capabilities are supported by your browser? IMHO it will make some mess in two or three years. I don’t understand why they did it.

Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share

Google turn by turn navigation in UK on Milestone

This post summarizes my first experiences with Google maps turn by turn navigation. Please note that turn by turn is not supported in UK, not even as beta!

I took for a ride a hacked version of US Google maps application running on Motorola Milestone. It runs very smooth, you can use all Google maps power when searching, including post code search, which can’t be done using Motonav. That’s a great plus!

I have played with different destinations and every time Google was able to give me very reasonable routes – another advantage over Motonav, which tends to force me into congested streets in town centres. Google navigation reacted very fast to all mistakes on the road with almost immediate route recalculations. So far, so good.

After about 20 minutes of cruising in neighbourhood I understood why Google decided to block Maps Mavigation in UK – it cannot navigate here. Literally. It’s impossible to drive using voice commands given by the navigation – it lost some turns and remaining ones were told when I was in the middle of cross roads when I had no chances of turning. To get the directions right, I had to look on the screen all the time and even though navigation wasn’t easy since there are no icons displayed to show what to do next. The map itself is easly readble though.
You may also forget about roundabout notifications – with Google you don’t take second exit, you just drive straight through cross roads. It’s far from we all got used to.

I wish I could finish my list of complains now, but there are still two thing I must mention – both small but annoying. According to Google Navigation most of the time you drive on unknown road, which is quite strange as road names are correctly displayed on map.
Last quirk I’ve noticed is the most terrible voice I ever heard in any navigation (and I have tested quite a lot of them). Google decided to use Text-to-speech synthesis, which isn’t very good. The voice is absolutely artificial, it reminded me early TTSs I used to play with ten years ago. And I think most of them knew how to read “road” – definitely it should not be read as “hawl”.

I will be waiting for new updates to Google Navigation. I’m sure it’s only a matter of time before Google will turn its Navigation in really usable product. But I think I will stay with Garmin for next year or two.

Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share

Importing phonebook to Android

It’s been almost a week since I got Motorola Milestone. It’s an Android based phone and I absolutly love it. Actually I’m using it to write this post. And since it’s running on an open source platform, it will provide many hours of fixing and twicking.

First quirk you’ll notice soon after booting your new toy is that you can’t import your contacts from old mobile. Android do not accept contacts sent by bluetooth nor can read them from sim card. So to copy your contacts you need a pc (or mac if you are gay or female).
I was able to make my old sony-ericsson k750 send all contacts directly to my outlook. This wasn’t what I really wanted – I hoped for a file, but still it was a step in good direction.
Gmail can import contacts from various formats, including csv and this was a format I’ve chosen when exporting from outlook (file -> export -> follow the wizard).
If you think it was too simple, you’re right. Somewhere during the process all phone numbers lost + sign from the country code. Still… 140 +s to edit is better than 140 contacts to add ;)

Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share

Manual virus on facebook

Couple year’s ago I received a pretty funny joke – Albanian Manual Virus, which went something like:

DEAR RECEIVER,

You have just received an Albanian virus. Since we are not so technologically advanced in Albania, this is a MANUAL virus. Please delete all the files on your hard disk yourself and send this mail to everyone you know.

Thank you very much for collaboration.

And again reality surpassed joke – here’s an example of real-world manual virus I found on facebook:
Seems to work, at the moment this group has 22694 members…
Share and Enjoy:
  • Digg
  • Facebook
  • Blip
  • Kciuk.pl
  • StumbleUpon
  • Wykop
Share