• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
everything was set up properly !!!
 
What are you doing in my house? Get 'em tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic