• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Different behaviour when running JDBC program on Window and Unix !!!

 
YuenLian Wu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I designed an application by WSAD512 and it runs fine in the window platform(during development). However, the problem occurred when I migrated it to Linux. I set up the WAS and DB, and I upload my package to the Linux Server, I also defined(export in linux) the classpath to make sure the JRE can find the library. Unfortunately, it throws error message during runtime, the message is:




java.sql.SQLException: Driver not found for URL: jdbc b2://130.21.92.77:50016/DPWSD01



I am Linux Dummy, and I don't know why that I will happen. It depressed me for few days, messed up my holidays and my wife is in cold war with me. I hope you guys can help me out here so that I can get out from the bottomless hole !!!

Myriads Thanks,

Transistor

[ March 02, 2006: Message edited by: YuenLian Wu ]
[ March 02, 2006: Message edited by: YuenLian Wu ]
 
Yongping Wang
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you need to check
1. existence of the right JDBC driver package
2. the package shows in the classpath
3. privilege
4. (optional) write a test program

Yongping
 
YuenLian Wu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
everything was set up properly !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic