2 Replies Latest reply on Jan 18, 2005 7:23 AM by darranl

    DataBase Connectivity Problem

    pradeep989

      I am migrating my application from Apache-Tomcat with Oracle DataBase to JBoss with MySQL Data base..
      I added the MySQL driver (connector/j) in the lib directory of default server.
      The apllication otherwise runs fine except the DataBase connectivity part...
      When trying to access a page that requires DataBase connectivity.. The page goes blank.. I checked the server log.. It said that the required Database.table did not exist... but when I checked using the normal SQL command on the server.. It was there.....
      What could be the problem... Is there any configuration setting that I have overlooked??

        • 1. Re: DataBase Connectivity Problem
          vjy

          Sometimes you need to set the classpath for the driver in the jboss run.bat file. You can try this.

          Hope this helps

          • 2. Re: DataBase Connectivity Problem
            darranl

            pradeep989,

            You will need to provide more of a description of your problem.

            Which JBoss version are you using?
            Post the actual error and stack trace.

            What do you mean by 'a page that requires DataBase connectivity'? Are your pages executing SQL? Are your pages accessing entity beans? Are your pages using Hibernate objects?