cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: Can not get Connection from DataSource named //192.168.10.1:5432/test
Date Sat, 21 Feb 2004 12:51:30 GMT
Johnson dijo:
> I'm trying to bind the ojb-jdo example to postgresql
> when open the page,it show me Cannot get Connection from DataSource named
> //192.168.10.1:5432/test
> below is my repository.xml
>
> <descriptor-repository version="1.0" isolation-level="read-uncommitted">
>  <jdbc-connection-descriptor jcd-alias="test" default-connection="true"
> platform="PostgreSQL" jdbc-level="3.0" driver="org.postgresql.Driver"
> protocol="jdbc" subprotocol="postgresql"
> dbalias="//192.168.10.1:5432/test" username="postgres" password=""
> eager-release="false" batch-mode="false" useAutoCommit="1"
> ignoreAutoCommitExceptions="false">
>   <connection-pool maxActive="21" validationQuery=""/>
>   <sequence-manager
> className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
>    <attribute attribute-name="autoNaming" attribute-value="true"/>
>    <attribute attribute-name="grabSize" attribute-value="20"/>
>    <attribute attribute-name="globalSequenceId" attribute-value="false"/>
>    <attribute attribute-name="globalSequenceStart"
> attribute-value="10000"/>
>   </sequence-manager>
>  </jdbc-connection-descriptor>
>  <class-descriptor class="com.goodwill.bean.Registration"
> table="REGISTRATION">
>   <field-descriptor name="id" primarykey="true" default-fetch="true"
> autoincrement="true" sequence-name="user_seq'::text" column="ID"
                                     ^^^^^^^^^^^^^^^^^
                                     A valid name for a sequence?

Can you change it? I don't like it and maybe this is the source of the
problem

Best Regards,

Antonio Gallardo.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message