Hi all, I have tried all different ways(that I can think of ;( ) to solve the current problem, but was not successful. Here is the problem, Please help.
I have writtten a java program, that is kicked off through a shell script to update bunch of tables. So I have a props file that has the database password and other information to connect to the database. So in the program I said:
where p_propsFile is the file with Db connection information.
But I am having problems getting connection to the db using hte above command. I am getting NUll POinter Exception on this line, which tells me that it is not able to locate p_propsFile. I also tried used ClassLoader.getSystemResourceAsStream(). One thing I am sure is that this location is in the Websphere classpath..
I have the class files and props files at different places, so I need to use a command to look into the Webpsphere classpath for locating the files(props file in teh current case).