Sam Check your db.props file. make sure varbinary is set to use bytea instead of text. This should make sense once you view the contents of the file. After you've done that you need to run the init target again.
-b On Sun, 2003-01-12 at 06:42, Sam Joseph wrote: > Hi Einar > > Einar Flesaker wrote: > > >* Sam Joseph > > > > > >>I would very much appreciate it if someone could let me know if they > >>have managed to get Turbine (or particularly the tdk newapp) to work > >>with Postgre, and if so, precisely which driver and which platform they > >>achieved it on. > >> > >> > > > >I'm running my Turbine-application (basically a Mavenized version of the > >generated tdk-newapp) just fine with postgresql, but I've been using the > >village 2.0 snapshot available on the Ibiblio maven repository > >( http://www.ibiblio.org/maven/village/jars/ ) from the start. You might > >have better luck using that. I'm also using the standard 7.2 > >distribution of the postgresql jar. > > > Thanks for the link - much appreciated. I downloaded the latest village > jar and gave it a whirl but to no joy. I still get this error when > trying to create a user: > > Caused by: org.apache.turbine.util.security.DataBackendException: Failed > to create account 'sato': Bad conversion: java.lang.NumberFormatException: ??sr >java.util.Hashtable?%!J? F > loadFactorI thresholdxp?@ w x > at > >org.apache.turbine.services.security.db.DBUserManager.createAccount(DBUserManager.java:404) > at > >org.apache.turbine.services.security.BaseSecurityService.addUser(BaseSecurityService.java:392) > > I can only assume that there is something else in another jar file that > is causing this, or that somehow my system is still accessing the old > jars, but I have run out of time to solve this problem. The project must > move on and MSSQL seems to work fine (well I say fine, it took struggles > to get it working, but at least it is working). So I will have to leave > the postgres road for the moment. > > Thanks again for your help. > > If you do have a moment perhaps you might end me a list of the jar files > in your newapp/WEB-INF/lib directory, but no worries either way. > > CHEERS> SAM > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
