Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DbConnectionbroker Null Pointer Exception when depolyed

 
Steve Neill
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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="http://www.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
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic