One of the common requirements we face as developers is to do things in a scheduled manner. For example, check database for change every 10 mins and do something if a change has occurred or send emails at a specific …
Read more »
Cross domain policy file is an important configuration to consider while deploying SAP Dashboard(formerly Xcelsius). The SAP BW Quality dashboard, that I recently worked on, is deployed on the BusinessObjects Infoview and pulls data from SAP ECC and SAP BW for reconciling Orders and Revenue numbers. The flash object that Xcelsius creates run in the browser on the client machine. It follows the security guidelines set by Adobe while accessing external data.
Adobe has introduced a new security policy for the flash palyer 9 & 10. That prevents the Xcelsius dashboard from accessing data from external sources and throws error #2170. In my case, external sources are ECC and BW. To get around this, the cross domain XML file needs to be updated with the following tag:
<allow-http-request-headers-from domain="*" headers="*" secure="false" />
The crossdomain.xml is located at <BusinessObjects installation directory>\Tomcat55\webapps\ROOT\ and should look like this-
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*" secure="false" />
<allow-access-from domain="*" secure="false" />
</cross-domain-policy>
Update the file, restart Tomcat (web server) and you're done!
One of the best things about the Rails framework is that each project looks the same:

Every Rails developer knows to look in “app/models” for the model classes, “app/controllers” for the controller classes, etc. When you start a new project all of this is setup for you, and if you’re a new developer assigned to an existing Rails project you know where to look for things. The way you save and organizing your code files is not simply a convenience… I think it actually effects the way you think about code. Well organized code directories leads to well organized code!
Recently, I developed Xcelsius based dashboard for SAP BW Quality. Purpose of the dashboard is to provide the users with real time information of BW data loads, display ECC and BW values reconciliation and smart alerts based on business processes. The dashboard is published to BusinessObjects Infoview.
As part of the requirements, business needed a direct URL to the dashboard such that the users are presented with the dashboard directly upon login. I published an OpenDocument URL for the dashboard. However, there is a setting for authentication type in the web.xml within the path
. This setting determines the default authenticate type to be used. Also, the same web.xml has a setting whether to allow users to change the authentication type (for example SAP, Enterprise, etc.) <!-- You can specify the default Authentication types here -->
<!-- secEnterprise, secLDAP, secWinAD, secSAPR3 -->
<context-param>
<param-name>opendoc.authentication.default</param-name>
<param-value>secSAPR3</param-value>
</context-param> <!-- Choose whether to let the user change the authentication type -->
<!-- If it isn't shown the default authentication type from above will be used -->
<context-param>
<param-name>opendoc.authentication.visible</param-name>
<param-value>false</param-value>
</context-param> We give out Enterprise IDs to end users. On the server side, these IDs are mapped to their SAP BW credentials. Strangely, the default authentication was set to 'SAP' instead of 'Enterprise'. I suspect 'SAP integration kit' as a culprit.
I updated the web.xml as follows:
<!-- You can specify the default Authentication types here -->
<!-- secEnterprise, secLDAP, secWinAD, secSAPR3 -->
<context-param>
<param-name>opendoc.authentication.default</param-name>
<param-value>secEnterprise</param-value>
</context-param>
Restarted the web server (tomcat) and change was in place. I did not change the setting for selecting authentication type as that could have been confusing for the users.
In my current project I am doing a lot of Excel manipulation using Apache POI and Jacob COM libraries. One of the first challenges I faced was to write test cases that could read these Excel files and process them. …
Read more »
Oracle DB is a weird animal. One might think that it being one of the most used databases in the world (read enterprise), it might be easy to install. But every time I try to install it I end up …
Read more »
1. How will people learn about your product? 2. How will you onboard them to become members or clients? (Asking how we make people become users feels a little creepy) 3. What devices will they use to interact with your … Continue reading →
When dealing with people many of the problems we face can be traced back to misunderstandings and miscommunication. Its easy to get offended either by a perceived offense, or thoughtless acts and words by others. I see two paths you can take: 1. Overlook it, … Continue reading →
When companies ask me how to deliver enterprise social software adoption, my advice is simple: Go to your local drugstore. I'm not kidding. Walk into any drugstore in America and whether it's Walgreen's, Wal-Mart, Rite-Aid, CVS, or an independent, I...
There have been over 3300 cricketers who've played Test and One Day cricket. The youngest player was 14 years old
Hasan Raza from Pakistan who played 5 ODIs and 2 Test matches at that age. The oldest player was 52 years old
W Rhodes from England, who played 8 Test matches at that age. But they are not the ones who've played the game for the longest time. Sachin Tendulkar has.
Sachin started international cricket early and is still playing the game as a 38 year old (not many 38 year olds find a spot in international cricket these days). He has played a lot of Test and One Day cricket matches all these years, and has performed well consistently. As a result, he has broken all batting records in cricket. It is unlikely that any other cricketer will break Tendulkar's batting records anytime soon.
Sachin's international cricket career spans 21 years and counting. What an athlete!
1) Tendulkar entered the game at the youngest age (debut at 16). Very few cricketers start their international career at that age. He is the 3rd youngest to play the game.
2) Tendulkar is now 38 years old and still strong. I wish he plays the game for at least another couple of years. The only other cricketers who comes close to his tenure are Javed Miandad from Pakistan (tenure 21 year, debut at 17 and retired at 38) and Sanath Jayasuriya (tenure 20 year, debut at 20 and retired at 40).
3) Tendulkar is now 38 years old and like his peers, he has reduced the number of games he plays. But unlike his peers he's still going strong. His peers seem to be headed towards retirement (see how Ponting's performance is dropping in Test and One day cricket - Runs scored and Scoring rate).
Tendulkar is exceptional. He beats the rules (normal distribution for statisticians) and sits at the edge of all distributions - debut age, tenure and performance. When he decides to retire, he will be on the edge of retirement age distribution curve as well.


Is this elevator going up or down? For most people, the color red does not answer the question. It may not be until you see an adjacent evaluator’s doors open and the light turn green that you know what to do. Or … Continue reading →
- Separate out the things that change from those that stay the same.
- Program to an interface, not an implementation.
- Prefer composition over inheritance.
- Delegate, delegate, delegate.
Yehuda Katz is a member of the
SproutCore,
Ruby on Rails and
jQuery Core Teams; during the daytime, he works as an architect at Strobe. Yehuda is the co-author of the best-selling "jQuery in Action", the upcoming "Rails 3 in Action", and is a contributor to "Ruby in Practice". He spends most of his time hacking on open source - his main projects, along with others, like Thor, Handlebars and Janus - or traveling the world doing evangelism work. He blogs at
yehudakatz.com and can be found on Twitter as
@wycats.And I am huge fan of his open source contributions, they could be from server side or client side or any other library and I had wish to have a snap with this great contributor which I completed in
RubyConf India 2011.
What can I do here? What is the purpose of the application? Where do I start? Give me a clear entry point to the application and a visual hierarchy I can understand at glance. What can I or should I do … Continue reading →
CouchDB and Rails on the Cloud View more presentations from rockyjaiswal
Felt that I need more depth, so landed up here.
Looking for more concrete abstractions, should I say?
From the last couple of years, I have been more active here, and more active in general.
Life is indeed beautiful, and gets more and more beautiful everyday..
Learnt something new about modern day innovation.
Carson's Law (by Curtis Carlson, the C.E.O. of SRI International, in Silicon Valley) states:
“In a world where so many people now have access to education and cheap tools of innovation, innovation that happens from the bottom up tends to be chaotic but smart. Innovation that happens from the top down tends to be orderly but dumb.”
As a result, says Carlson, the sweet spot for innovation today is “moving down,” closer to the people, not up, because all the people together are smarter than anyone alone and all the people now have the tools to invent and collaborate.
My 2 cents:
Modern day leadership is all about creating a conducive environment where the bottoms up innovations are encouraged and validated real time.
thoughts?
Akela jab nikla tha raahon meinZindagi thi meri aahon mein,Mila jab saath tumharaManzilein hain meri baahon mein,Main tha bas ik toota kinaraBana nadi jab mila saath tumhara,Milne se ban gayi zindagiSaath hi tha tumhara aadhaara,Ab aur kuchh nahi hai meri chahon meinManzilein hain meri baahon meinAb ek line chhichhoron ke liye bhi :-)Tum jo na milteTo main mar jaata kunwara :-)))
When we are faced with new problems or challenges there is tendency to leverage solutions from the past. It is quick, easy, safe and comfortable. It is sort of mindless thinking that requires little effort. We can inadvertently switch on auto-pilot by reaching to … Continue reading →
It’s been awhile since I wrote in here, a solid 6 months gap from the day before my first marathon in 2010. Here I am, planting a stake in the ground, making a public declaration that I will be lacing up for my second tour of marathon running in October 2011 in the windy city of Chicago.
This post is 80% of the battle. The mental and public declaration of intent. The last 20% comes when the body responds to the commitment and begins the training plan This time around, it won’t just be about finishing, but finishing with style, grace and taking some kick a$$ photos along the way.
So heres to the those who are foolish enough to keep at it and go back for the second round....I toast to you.