• 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

DbConnectionbroker Null Pointer Exception when depolyed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I saw someone else had this problem a while ago and am sorta hoping someone remembers or knows a solution ... I am flat out stumped. Oh the old article is: <a href="https://coderanch.com/t/295612/JDBC/java/Help-Connection-problems-you-know">here</a>.
Basically, I am using java exchange's connection broker along with the mm mysql driver to connect to a mysql database. It works fine on my workstation but when I deploy it, it results in null pointers. I have narrowed out extraneous causes... I know the user/pw pairs work with mysql. All permissions are accurate. My workstation uses the same database on the server as well. Tomorrow, if I wake up, I will try moving the mysqld service to yet a 3rd machine and see if it works then for some reason.
Thanks for any help...
-Steve
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Steve Neill:

.... I am using java exchange's connection broker along with the mm mysql driver to connect to a mysql database. It works fine on my workstation but when I deploy it, it results in null pointers. I have narrowed out extraneous causes... I know the user/pw pairs work with mysql. All permissions are accurate. My workstation uses the same database on the server as well. Tomorrow, if I wake up, I will try moving the mysqld service to yet a 3rd machine and see if it works then for some reason.
-Steve


what exaclty is the problem.. do you have the stack trace error? null pointer exception... what?
I have the same configuration as you have and it's workin' ok.
let me know
reply
    Bookmark Topic Watch Topic
  • New Topic