Custom database integration authentication fails

Okay, here’'s the deal, I am trying to set up Wildfire so it us an existing drupal database for authentication, I followed the guide in the documentation.

When I use the configuration I pasted below, the error log remains empty, BUT it isn’'t authenticating any users from the drupal database. When i uncomment the first tag (and comment the other) it does produce errors, but since I am no expert at all, i do not know what to do with it nor where to place that tag.

+(I do believe, logically, everything considering databases should be inside them, but you knever know)+

when I change the admin’'s password in drupal, i still have to log in using the password in the wildfire database…

Even more curious is the fact that the user “wildfire” is a user defined in the wildfire database, and isn’'t getting access to the admin panel either… markske, scratch, kater, are defined in the drupal database.

What am I doing wrong here? I’‘m looking into it for hours now, and i used to stumble from one error into the other… but now there are none, and still isn’'t working…

I apreaciate the help (I was able to correct all other errors using this forum )!

System info

Operating system: Gentoo Linux

mysql: 5

JRE: 1.5

wildfire: 3.1.1

plug-ins used: none

My wildfire.xml:

content of error.log when first is uncommented and the other isn’'t

2007.01.07 21:45:34 [org.jivesoftware.wildfire.auth.JDBCAuthProvider.(

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor

at java.lang.reflect.Constructor.newInstance(

at java.lang.Class.newInstance0(

at java.lang.Class.newInstance(

at org.jivesoftware.wildfire.starter.ServerStarter.start(

at org.jivesoftware.wildfire.starter.ServerStarter.main(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

Message was edited by: scratch


as it is an XML file it matters what’‘s in and what’'s outside. The documentation reads

     <passwordSQL>SELECT password FROM user_account WHERE username=?</passwordSQL>
     <loadUserSQL>SELECT name,email FROM myUser WHERE username=?</loadUserSQL>
     <userCountSQL>SELECT COUNT(*) FROM myUser</userCountSQL>
     <allUsersSQL>SELECT username FROM myUser</allUsersSQL>
     <searchSQL>SELECT username FROM myUser WHERE</searchSQL>
   ... </jive>

so these sections must not be within the database tag.


Thanks for clearing that out, but then… what do the errors mean? can i fix it?


you should not get the error you did post above as then the provider is not null.

Is it possible for you to stop Wildfire, delete all log files and start it again?