• 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

Driver problom

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Raphael,

I m having probloms with driver.

i have downbloaded ur forum and put in webapps directory.

changed the DBUsername and password in properties file.

created the database.

populated the database.

i use tomcat 4.1 .so no need of context setting

started tomcat,

just typed the URL,http://localhost:8080/JForum-RC2/

Nothin is coming...

error is

java.sql.SQLException: Server connection failed during transaction: unable to load the database ..

my app uses MySQL for another pages with same username and password.then why not to Jforum?.plz share ur experience.


ANOTHER NEED.

i may use another driver in app.so i need a place to provide DBUser and password instead of localhost URL.

SIMPLE ones for u ..

thanks,


[originally posted on jforum.net by shaba]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need the complete stack trace. To get it, open the page source code when the error occurs. The stack trace is in the end of the page, in a commented block.

I will try to put a more customizable database login option in RC3.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:I need the complete stack trace. To get it, open the page source code when the error occurs. The stack trace is in the end of the page, in a commented block.

I will try to put a more customizable database login option in RC3.

Rafael



but i need now man!..dealine for me ..


[originally posted on jforum.net by shaba]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Then hack the source.

You will just need to change database.properties file and ConnectionPool.java . You can do that in 20 minutes.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot bro,

then i need to synchronise my login system to ur login system.

plz tell me which class is having information abt username and password and how to do it.so i can use your forum to my site.

it's deadline for me ..so please urgent

thanks for the forum and all the help.

[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
forgot to login earlier .

i need only 2 things to use JForum to my site ..as i told,plz inform me how to synchronise the login systems and i will make my profile system according to ur DB.

if two things done,i'll be comfortably using JForum.it's deadline for me,so plz help

thanks
shaba





[originally posted on jforum.net by shaba]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

shaba wrote:Hi Raphael,

(...)
just typed the URL,http://localhost:8080/JForum-RC2/

Nothin is coming...
(...)



We had the same problem and found out that we must use MySQL 4
[originally posted on jforum.net by ferdez]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anonymous wrote:Thanks a lot bro,

then i need to synchronise my login system to ur login system.

plz tell me which class is having information abt username and password and how to do it.so i can use your forum to my site.

it's deadline for me ..so please urgent

thanks for the forum and all the help.



The table is jforum_user, the authentication and similar stuff is net.jforum.view.forum.UserVH, and the database access class is net.jforum.drivers.mysql.UserModel

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ferdez wrote:

shaba wrote:Hi Raphael,

(...)
just typed the URL,http://localhost:8080/JForum-RC2/

Nothin is coming...
(...)



We had the same problem and found out that we must use MySQL 4



I updated the mysql driver.. you can try downloading it from mysql.com and replacing the mysql.jar which comes with jforum rc2 .. maybe it work for you.
I'm using mysql 4 as well.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
reply
    Bookmark Topic Watch Topic
  • New Topic