This has come up on the mailing list a number of times. Create a
jboss.xml file or remove all data sources except the one you want. For
more details, search the archive for "jboss.xml".
Aaron
On Thu, 26 Oct 2000, Alexander ten Bruggencate wrote:
> Hi!
>
> it's fixed, the bean(s) now use the postresql pool BUT
> now i get an error from PostgreSQL itself, when i run my client app:
>
> ./client
> got home reference.
> Could not create entity:java.sql.SQLException: ERROR: Relation
> 'personbean' does not exist
>
> so it looks like postgresql doesn't like me writing to the db. but the
> same bean and client DO work with the hypersonic pool.
>
> any help somebody can provide here would be great!
> -Alexander.
>
>
> marc fleury wrote:
> >
> > hello,
> >
> > your jboss instance is still running hypersonic as it's default datasource.
> >
> > Please follow the how to steps closely, let me know what is not clear in
> > there
> >
> > marc
> >
> > |-----Original Message-----
> > |From: [EMAIL PROTECTED]
> > |[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander ten
> > |Bruggencate
> > |Sent: Wednesday, October 25, 2000 1:12 AM
> > |To: jBoss
> > |Subject: [jBoss-User] newbie trying to get a CMP bean to use a
> > |postgresqlpool
> > |
> > |
> > |
> > |i've set up a postgresql pool and made my own cmp entity bean called
> > |PersonBean
> > |when i deploy my jar file, jboss gives me:
> > |org.jboss.ejb.DeploymentException: Hypersonic not bound
> > |which is correct because i removed the hypersonic pool. but in turn i
> > |made a jaws.xml that is in the person.jar file and it says to use
> > |"MyPostgresPool", so what i am doing wrong?
> > |Do i need to specify for each bean that is has to use the postgrespool?
> > |i want all my beans to use the postgrespool...the howto is a little
> > |vague about this.
> > |
> > |my jaws.xml file, from jawsxml_howto.html#datasource at jboss.org:
> > |
> > |<jaws>
> > | <datasource>MyPostgresPool</datasource>
> > | <type-mapping>PostgreSQL</type-mapping>
> > |</jaws>
> > |
> > |-Alexander.
> > |
> > |
> > |--
> > |--------------------------------------------------------------
> > |To subscribe: [EMAIL PROTECTED]
> > |To unsubscribe: [EMAIL PROTECTED]
> > |Problems?: [EMAIL PROTECTED]
> > |
> > |
> >
> > --
> > --------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Problems?: [EMAIL PROTECTED]
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]