File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes DbConnectionbroker Null Pointer Exception when depolyed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "DbConnectionbroker Null Pointer Exception when depolyed" Watch "DbConnectionbroker Null Pointer Exception when depolyed" New topic
Author

DbConnectionbroker Null Pointer Exception when depolyed

Steve Neill
Greenhorn

Joined: Sep 14, 2002
Posts: 1
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

Joined: Nov 27, 2001
Posts: 1561
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


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DbConnectionbroker Null Pointer Exception when depolyed
 
Similar Threads
problem validating user login using jsp
weird functioning of servlet
Very slow to hook up to MySQL db
Exception in thread "main"
LifeCycleException & SQLException - connecting to mysql from tomcat with basic auth