Oracle 11g user password expired locked

To find the details of the users in your DB, execute the following statement:

select username, account_status, expiry_date, lock_date from dba_users;

To unlock the account, execute the following:

alter user se account unlock;

To change the password, execute following:

alter user se identified by sepm;

NOTE:  Old and new password can be same.


Debugging Jetty in Maven

Just a quick one.

Here is a command to put Jetty in debug mode in a maven project:

set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
mvn jetty:run -P jetty


Young Indian IT staff

I got this forwarded mail today. I guess it is tru to an extent. Take it at face value ūüôā

It’s half past 8 in the office but the lights are still on…

PCs still running, coffee machines still buzzing…

And who’s at work? Most of them??? Take a closer look…

All or most specimens are ??

Something male species of the human race…

Look closer… again all or most of them are bachelors…

And why are they sitting late? Working hard? No way!!!

Any guesses???

Let’s ask one of them…

Here’s what he says… ‘What’s there 2 do after going home…Here we get to surf, AC, phone, food, coffee that is why I am working late…Importantly no bossssssss!!!!!!!!!!!’

This is the scene in most research centers and software companies and other off-shore offices.

Bachelors ‘Passing-Time’ during late hours in the office just bcoz they say they’ve nothing else to do…

Now what r the consequences…

‘Working’ (for the record only) late hours soon becomes part of the institute or company culture.

With bosses more than eager to provide support to those ‘working’ late in the form of taxi vouchers, food vouchers and of course good feedback, (oh, he’s a hard worker… goes home only to change..!!).

They aren’t helping things too…

To hell with bosses who don’t understand the difference between ‘sitting’ late and ‘working’ late!!!

Very soon, the boss start expecting all employees to put in extra working hours.

So, My dear Bachelors let me tell you, life changes when u get married and start having a family… office is no longer a priority, family is… and

That’s when the problem starts… b’coz u start having commitments at home too.

For your boss, the earlier ‘hardworking’ guy suddenly seems to become a ‘early leaver’ even if u leave an hour after regular time… after doing the same amount of work.

People leaving on time after doing their tasks for the day are labelled as work-shirkers…

Girls who thankfully always (its changing nowadays… though) leave on time are labelled as ‘not up to it’. All the while, the bachelors pat their own backs and carry on ‘working’ not realizing that they r spoiling the work culture at their own place and never realize that they would have to regret at one point of time.

So what’s the moral of the story??

* Very clear, LEAVE ON TIME!!!

* Never put in extra time ‘ unless really needed ‘

* Don’t stay back unnecessarily and spoil your company work culture which will in turn cause inconvenience to you and your colleagues.

There are hundred other things to do in the evening..

Learn music…

Learn a foreign language…

Try a sport… TT, cricket………

Importantly,get a girl friend or boy friend, take him/her around town…

* And for heaven’s sake, net cafe rates have dropped to an all-time low (plus, no fire-walls) and try cooking for a change.

Take a tip from the Smirnoff ad: *’Life’s calling, where are you??’*










SOA or SCA is there a difference?

Here is what I think: The whole SOA hype is a pure marketing-excersise. Every developer knows that if you have several different elements in your application (UI, business logic, Data layer, security, hardware interface), all provide¬†services to each other.¬†Did MVC not pave the way?¬†Offering a ‘service’ as a whole in a library or as a hosted service in the form of web services is one and the same, only the media changes.

Just because you are using messaging bus or a web service does not mean the other person who is using an API to do the same is not providing services. Right?

I would rather say SCA (Service component architecture) makes more sense. First of all it describes exactly, what it is doing “service”, what it is “component”.¬†Now you write your components as a library and expose it as you want through an API or as a web service. Is it not doing the same thing as the SOA components?

Yes but what SCA approach typically does is to decouple the application business logic from the details of its invoked service calls.

Wikipedia: “Gartner Group has published a short brief that concluded that the SCA included technology of Service Data Objects (SDO) will enjoy more rapid adoption due to its maturity.


  • caters for all existing Java platform technologies and C++
  • less technology dependence – does not have to rely on the Java programming language, nor XML
  • SDO, which is a technology specification for data access


  • lack of support by Microsoft (how typical monopolistic)¬†reduces the relevancy of SCA for a large number of potential users.
  • Specification does not address performance of SOA applications, which continues to be a detractor of adoption.
  • Focusing on portability (instead of interoperability), making it vulnerable to repeat CORBA’s mistakes .

SCA is said to provide interoperability through an approach called “Activation”. It is the method that provides the highest degree of component autonomy, compared to older “mediation” (e.g. JBI) or “Invocation” method used in JCA, as explained by an architect at SAP. “

Now it is again up to the marketing people to decide which one is to be hailed as the “In” technology or buzz word.