Is there any resolution right now to the problems using Jetspeed with
Postgres (7.2.1) ?
I've tried all the latest CVS builds of the Postgres JDBC driver and the
Village API to no avail ...
The how-to at
http://jakarta.apache.org/turbine/turbine-2/howto/postgres-howto.html is
horribly outdated and of no use.
Here are the steps I follow to get a NumberFormatException from the Village
API:
1. execute the 'turbine-postgres.sql' and 'populate-postgres.sql' scripts
from the Jetspeed source distribution
2. start Jetspeed after configuring it to use Postgres
3. log in as 'admin' and password 'jetspeed'
4. go to the 'Security' tab and 'Edit' the admin user
5. change the first and last name and click 'Update user'

The following stack trace appears in jetspeed's log:

        com.workingdogs.village.DataSetException: Bad conversion:
java.lang.NumberFormatException: �? ?sr ?java.util.Hashtable???%!J??? ?F

loadFactorI     thresholdxp?@        ?    x
        at com.workingdogs.village.Value.asInt(Value.java:462)
        at
com.workingdogs.village.Value.setPreparedStatementValue(Value.java:241)
        at com.workingdogs.village.Record.saveWithUpdate(Record.java:262)
        at com.workingdogs.village.Record.save(Record.java:187)
        at com.workingdogs.village.Record.save(Record.java:166)
        at
org.apache.turbine.om.peer.BasePeer.insertOrUpdateRecord(BasePeer.java:890)
        at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1683)
        at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1577)
        at
org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate(TurbineUserPeer
.java:469)


Help!

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to