Chhotisiaasha's Blog

Archive for February 2010

Last week I was working on deploying  my axis webservice on WebSphere 6.1 server for the first time. Till now they were using websphere 5.1, but we needed to move the extended service to Websphere 6.1 . Some JDBC datasources Websphere V4 were existing on  the new server, may be for some other application, not sure.

When I installed my application, I got following exception.

Exception thrown [com.ibm.websphere.naming.CannotInstantiateObjectException] Msg[Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.] RootCauseExcp[javax.naming.NamingException] RootCauseMsg[Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.] RootCauseToString[javax.naming.NamingException: Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.]
faultActor: null
faultDetail:
stackTrace: AxisFault

To resolve this I had to create WebSphere V5 datasources and had to delete the earlier V 4 datasources then only it could recognize the V5 datasources. It seems, but default it was looking for some V4 datasources. While creating V5 datasources, I read from IBM docs, that I will also need to create some J2C authentication alias, to supply for the dasources. I created it, and as per the documentation, it was preceded by some node name. This resolved the problem and I was able to successfully access the database, but still need to understand why it pick a different node name than one on which I installed application.

Advertisements

While reading for activities for toddlers, there is a well known activity, stringing different items, I thought of my favourite drawing when I was a kid, drawing natural scene. My favourite scene was a house with a mountain , rising sun and trees behind, a river and yard in front, having cow and sheep in the yard and boat with a kid and parents in the river. there were some clouds and birds in the sky, too.

I am planning to cut such pieces from the empty diaper boxes and will make such a scene for my daughter. This weekend I plan for these two activities for her , stringing shapes from cardboard and many other possible things, like beads, cheerios and the natural scene.