The fact that the second JSP works means that the network is not the problem. So you don't need to test through the command line to verify this.
It looks like something is wrong with the datasource. When I used WSAD, we had to define the userid/password on the server configuration rather than in the code. You might want to try setting two new properties at the bottom of the datasource screen: userid and password.
I'm going to move this to our IBM/WebSphere forum as it is more about WSAD setup than general JDBC.