Create authentication alias in Websphere Application Server

I was recently involved in setting up the infrastructure for deploying web applications into Websphere App Server(WAS) v6.1. As a "weblogic bee", this is was something new to me. But over all, the experience was really great.

The tasks involved in the whole process is given below:
1) Installation of WAS6.1
2) Creating profile called appProfile using Profile Management Tool (in weblogic we create "domains" using domain config wizard)
3) Started the profile
4) Created connection pools, data sources
5) Resource reference mapping.
6) Implement custom user registry.
7) Deploy Web applications.
8) Map security role to user/group mapping.

After doing all of the above tasks, application would not connect to Data base using data source connection. It was throwing exceptions in the logs. It took couple of days to figure it out Websphere needs user name/password while creating connection. So login credentials can be passed

a) programmatically but this is a bad idea as hard coding user id/password in the application code.
b) create authentication alias mapping to a user name/password in websphere admin console

So this alias name must be mapped while creating data source itself..

ooooph! Finally it worked.

P.S: 
If you don't create an alias while establishing connection using data source in Websphere 6.1 you may end up getting this error below: 
Authentication Alias Websphere JNDI Data source Exception Connection Failed SQLException null userid is not supported. errorcode 4461

23 comments:

  1. Please post some basics regarding Websphere application server.

    ReplyDelete
  2. Like u did for weblogic..please put some info regarding webspehere...

    ReplyDelete
  3. You ought to be a part of a contest for one of the most useful blogs on the internet.
    I am going to recommend this website!

    Have a look at my web-site :: NFL Jerseys Cheap

    ReplyDelete
  4. all the time i used to read smaller articles or reviews that as well clear their motive,
    and that is also happening with this paragraph which I am reading at this place.


    My web blog ... Cheap Louis Vuitton Bags

    ReplyDelete
  5. Hey there fantastic website! Does running a blog such as this take a great deal of work?

    I have very little understanding of programming but I was hoping to start my own blog in the
    near future. Anyhow, should you have any recommendations or techniques
    for new blog owners please share. I know this is off topic but
    I just wanted to ask. Cheers!

    My web page: Wholesale Jerseys

    ReplyDelete
  6. Hi there! This post couldn't be written much better! Looking at this post reminds me of my previous roommate! He constantly kept talking about this. I'll forward this article to him.
    Fairly certain he will have a great read. Thanks for
    sharing!

    my blog: Sac a main Guess

    ReplyDelete
  7. Hello this is somewhat of off topic but I was wondering if blogs use WYSIWYG editors or if you have
    to manually code with HTML. I'm starting a blog soon but have no coding experience so I wanted to get advice from someone with experience. Any help would be enormously appreciated!

    My weblog Cheap NFL Jerseys

    ReplyDelete
  8. You actually make it seem so easy with your presentation but I find this
    matter to be actually something that I think I would never
    understand. It seems too complex and extremely broad for me.
    I'm looking forward for your next post, I will try to get the hang of it!

    Look into my homepage; Mulberry Outlet UK

    ReplyDelete
  9. Hi there, always i used to check weblog posts here early in the dawn, for the reason that i love
    to gain knowledge of more and more.

    Also visit my website: Abercrombie Paris

    ReplyDelete
  10. It's an amazing piece of writing for all the web visitors; they will take advantage from it I am sure.

    my page - Chaussure De Foot Pas Cher

    ReplyDelete
  11. I am sure this piece of writing has touched all the internet viewers, its really really pleasant article on
    building up new webpage.

    Take a look at my website ... Sac Louis Vuitton Pas Cher

    ReplyDelete
  12. Hi! I've been reading your web site for some time now and finally got the bravery to go ahead and give you a shout out from New Caney Texas! Just wanted to mention keep up the good work!

    My webpage; nfl jerseys cheap

    ReplyDelete
  13. Fastidious respond in return of this matter with firm arguments and explaining everything
    on the topic of that.

    Also visit my homepage :: Louis Vuitton Outlet

    ReplyDelete
  14. I think this is one of the most significant
    info for me. And i am glad reading your article.
    But should remark on some general things, The website style is perfect,
    the articles is really excellent : D. Good job, cheers

    Here is my site :: Cheap Louis Vuitton Handbags

    ReplyDelete
  15. Since the admin of this website is working, no uncertainty very quickly it will be
    renowned, due to its feature contents.

    my homepage: Louis Vuitton Outlet

    ReplyDelete
  16. It's going to be end of mine day, except before end I am reading this fantastic article to improve my experience.

    Have a look at my weblog :: Louis Vuitton Bags

    ReplyDelete
  17. It is in point of fact a nice and useful piece of information.

    I am satisfied that you shared this helpful information
    with us. Please stay us informed like this.
    Thanks for sharing.

    Feel free to visit my homepage ... Oakley Sunglasses

    ReplyDelete
  18. Fine way of explaining, and good piece of writing to
    obtain facts on the topic of my presentation subject matter, which i am going to
    deliver in college.

    my web page; Air Jordan

    ReplyDelete
  19. Way cool! Some very valid points! I appreciate you
    penning this article and the rest of the website is extremely good.


    Feel free to visit my blog - link

    ReplyDelete
  20. Have you ever thought about including a little bit more
    than just your articles? I mean, what you say is valuable and all.

    But think about if you added some great photos or videos to
    give your posts more, "pop"! Your content is excellent but with images and video clips, this blog could certainly be
    one of the very best in its niche. Wonderful blog!


    my page ... Discover More Here ()

    ReplyDelete
  21. This excellent website definitely has all of the information
    I needed concerning this subject and didn't know who to ask.

    Here is my weblog - Nike Air Jordan

    ReplyDelete
  22. No matter if some one searches for his necessary thing, so he/she needs
    to be available that in detail, thus that thing is maintained over here.



    Here is my homepage Louis Vuitton Outlet

    ReplyDelete
  23. I am actually grateful to the holder of this site who has shared
    this fantastic piece of writing at here.

    Also visit my website - Sac Louis Vuitton

    ReplyDelete