This thread is archived
723 Views 5 Replies Last post: Aug 16, 2001 6:07 PM by Yinhong Chen RSS
Yinhong Chen Novice 8 posts since
Aug 15, 2001
Currently Being Moderated

Aug 15, 2001 9:31 AM

setup JDBC Drivers (Win2k, Tomcat3.2.3, MySQL) in Jive 2.0.1

Sir,

I can not figure the MySQL section on the Jive Databse Setup Doc.

It said, In the Jive setup tool, use the following values;

 

driver: org.gjt.mm.mysql.Driver

server:jdbc:mysql://[your_host]/[databse_name]

 

but, where can I find Jive setup tool???

 

also I can only pass the first 2 setup pages...

Thanks for your help so much.

 

 

 

 thunderbolt Novice 33 posts since
Aug 14, 2001
Currently Being Moderated
Aug 15, 2001 9:36 AM in response to: Yinhong Chen
Re: setup JDBC Drivers (Win2k, Tomcat3.2.3, MySQL) in Jive 2.0.1

 

go to

 

admin/setup.jsp

 

 

follow the step by step instruction

 thunderbolt Novice 33 posts since
Aug 14, 2001
Currently Being Moderated
Aug 15, 2001 10:17 AM in response to: Yinhong Chen
Re: setup JDBC Drivers (Win2k, Tomcat3.2.3, MySQL) in Jive 2.0.1

I think you can go to the directory 'WEB-INF\jiveHome'

 

open the configuratin file jive_config.xml,

 

and add these lines. (put them after the locale).

 

Use your own username and password. 

 

 

     <database>

          <defaultProvider>

               <driver>org.gjt.mm.mysql.Driver</driver>

               <serverURL>jdbc:mysql://localhost/jive</serverURL>

               <username>your_username</username>

               <password>your_password</password>

               <minConnections>3</minConnections>

               <maxConnections>10</maxConnections>

               <connectionTimeout>0.5</connectionTimeout>

          </defaultProvider>

     </database>

 

     <setup>true</setup>

 

 

 

Matt Tucker Jive Employee 3,658 posts since
Jun 28, 2001
Currently Being Moderated
Aug 15, 2001 10:31 AM in response to: Yinhong Chen
Re: setup JDBC Drivers (Win2k, Tomcat3.2.3, MySQL) in Jive 2.0.1

*org.apache.jasper.JasperException: Unable to

compile class for

JSPC:\tomcat\work\localhost_8080%2Fjive\_0002fadmin_00

2fsetup_0002fsetup_00033_0002ejspsetup3_jsp_0.java:426

Ambiguous class: java.beans.Statement and

java.sql.Statement

Statement stmt =

Statement stmt = con.createStatement();

^

1 error

*

 

What appserver are you using? If you can't compile the JSP pages, you're going to have some more significant problems than trying to get the db settings correct.

 

-Matt

More Like This

  • Retrieving data ...

Bookmarked By (0)