• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

it is a bug in InstallAction!

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in InstallAction.java

//---------------------------------------------------------------------
if ("JDBC".equals(connectionType)) {
implementation = "yes".equals(this.getFromSession("usePool")) &&
!"hsqldb".equals(database)
? "net.jforum.PooledConnection"
: "net.jforum.SimpleConnection";

this.configureJDBCConnection();
} else {
isDs = true;
implementation = "net.jforum.DataSourceConnection";
SystemGlobals.setValue(ConfigKeys.DATABASE_DATASOURCE_NAME,
this.getFromSession("dbdatasource"));
}

//------------------------------------------------------------------
shoud be repaired :

if ("JDBC".equals(connectionType)) {
implementation = "yes".equals(this.getFromSession("usePool")) &&
!"hsqldb".equals(database)
? "net.jforum.core.db.PooledConnection"
: "net.jforum.core.db.SimpleConnection";

this.configureJDBCConnection();
} else {
isDs = true;
implementation = "net.jforum.core.db.DataSourceConnection";
SystemGlobals.setValue(ConfigKeys.DATABASE_DATASOURCE_NAME,
this.getFromSession("dbdatasource"));
}


thinks!



i love jforum!!!
[originally posted on jforum.net by jyhcyd]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

jyhcyd wrote:in InstallAction.java

//---------------------------------------------------------------------
if ("JDBC".equals(connectionType)) {
implementation = "yes".equals(this.getFromSession("usePool")) &&
!"hsqldb".equals(database)
? "net.jforum.PooledConnection"
: "net.jforum.SimpleConnection";

this.configureJDBCConnection();
} else {
isDs = true;
implementation = "net.jforum.DataSourceConnection";
SystemGlobals.setValue(ConfigKeys.DATABASE_DATASOURCE_NAME,
this.getFromSession("dbdatasource"));
}

//------------------------------------------------------------------
shoud be repaired :

if ("JDBC".equals(connectionType)) {
implementation = "yes".equals(this.getFromSession("usePool")) &&
!"hsqldb".equals(database)
? "net.jforum.core.db.PooledConnection"
: "net.jforum.core.db.SimpleConnection";

this.configureJDBCConnection();
} else {
isDs = true;
implementation = "net.jforum.core.db.DataSourceConnection";
SystemGlobals.setValue(ConfigKeys.DATABASE_DATASOURCE_NAME,
this.getFromSession("dbdatasource"));
}


thinks!



i love jforum!!!



Fixed in CVS
[originally posted on jforum.net by Serge Maslyukov]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thinks!

but here will repair too !
at

SystemGlobals.properties -> database.connection.implementation = net.jforum.SimpleConnection


[originally posted on jforum.net by jyhcyd]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just got the latest version from CVS. did the net.jforum.core.db disappear? IT looks like SimpleConnection is back where it started...
[originally posted on jforum.net by roach]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just got the latest version from CVS
the
SystemGlobals.properties -> database.connection.implementation = net.jforum.core.db.SimpleConnection

is ok!! thinks!!!
[originally posted on jforum.net by jyhcyd]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We moved to the .core.db package, but then discarted the changes, as it would cause many problems to people upgrading.

All is in net.jforum package again.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks!! Rafael Steil
[originally posted on jforum.net by jyhcyd]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!