when i am running this application as stand alone java code it is working fine .
but when i am trying to run this on WAS 6.1 server. i am getting following error.
please find below the code and error..
I have tried other newInstance method also but i am getting the same error again and again.