Actually am trying to get a datasource look up in my junittest case class from websphere but it is throwing java.lang.ClassCastException: javax.naming.Reference.The object that is returning from the lookup is a Reference object instead of Datasource object that is why i am facing class cast exception i suppose. In one of saloon form they asked to set the naming.jar and namingclient.jar in the class path. That also i tried it is not working. Any inputs to resolve this issue will be appreciated.
Of course, I found a very beautiful couch. Definitely. And this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!