Hi,
I ran into this problem. Read the Postgres HowTo.
I think your postgresql.jar (jdbc driver) needs to be
patched and rebuilt.
How to do this ?
get the postgres src and apply the patch and rebuild --with-java.
I have one for postgres 7.1.2 on redhat7.1. Give me
a bell if you want it.
Don't forget to put the jar file into your webapps/test/WEB-INF/lib
directory.
Other problems i ran into:
1. Error inserting an rdf record (i.e the insert entry link on the side navigation)
to fix this, i had to edit the webapps/test/WEB-INF/conf/test-schema.xml and change
the line <table name="RDF"> to <table name="RDF" idMethod="idbroker"> and remove
the attribute autoIncrement="yes" in the RDF_ID element/column.
go back into your build directory and "ant init" again just to be safe (don't forget
to shutdown catalina first else ant will fail). when done restart catalina and all
should be ok
Good luck...
Huy
> -----Original Message-----
> From: joe black [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 31 July 2001 12:33 PM
> To: Turbine User
> Subject: Re: Exception when trying to insert new user in test
> application
>
>
> Hi Arne:
>
> Not sure about your question, but if you have a JBuilder, with
> its debugging tool, this kind of problem are quite easy to trace.
>
> Good luck
>
> ----- Original Message -----
> From: Arne Meyer Hansen
> Sent: 2001年7月30日 20:39
> To: [EMAIL PROTECTED]
> Subject: Exception when trying to insert new user in test application
>
> Hi!
>
> I'm trying to familiarize myself with Turbine, using the default
> testapp. The only changes I have done was to rename the
> application to testapp and rename the target package before
> "ant"-ing it together, according to the readme's.
>
> I am using a turbine 2.1-jar, built from the
> TT_2_1_BRANCH-branch, as suggested last week for those using Postgresql.
>
> After staring Catalina, accessing the servlet and logging on as
> the "turbine" user, I tried adding a new user, but ended up with
> getting the following exception (I've only included the first
> parts of the stacktrace):
>
> Exception: java.lang.reflect.InvocationTargetException
> Stack Trace follows:
> java.lang.reflect.InvocationTargetException:
> com.workingdogs.village.DataSetException: Bad conversion:
> java.lang.NumberFormatException: ¬ísrjava.util.Hashtable»%!Jä¸F
> loadFactorI thresholdxp?@x
> at com.workingdogs.village.Value.asInt(Value.java:424)
> at com.workingdogs.village.Value.setPreparedStatementValue(Value.java:233)
> at com.workingdogs.village.Record.saveWithInsert(Record.java:325)
> at com.workingdogs.village.Record.save(Record.java:185)
> at com.workingdogs.village.Record.save(Record.java:166)
> at
> org.apache.turbine.om.peer.BasePeer.insertOrUpdateRecord(BasePeer.
> java:860)
> at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:764)
> at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:657)
>
> Has anyone experienced something similiar? Any suggestions?
>
> Regards,
> Arne Meyer Hansen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED] more from the Web. FREE
> MSN Explorer download : http://explorer.msn.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]