Re: Jboss and mysql

From: Sudsy (bitbucket44_at_hotmail.com)
Date: 08/30/04


Date: Mon, 30 Aug 2004 13:05:45 -0400

Iede Snoek wrote:
<snip>
> When I try to make a connection using JNDI it seems that JBoss keeps
> thinking it i s a Postgres database it is connecting to (there is
> another datasource, for a postgres connection). How can I solve this?
> If you need more info, or better yet, if you have an answer, I would
> be very grateful.

Sounds like you're missing the datasource-mapping element in the
META-INF/jbosscmp-jdbc.xml file. I had similar difficulties when
trying to use Oracle but the solution was easier to implement by
using Eclipse along with JBoss-IDE and Xdoclets.



Relevant Pages

  • Jboss and mysql
    ... When I try to make a connection using JNDI it seems that JBoss keeps ... thinking it i s a Postgres database it is connecting to (there is ...
    (comp.lang.java.programmer)
  • Cannot load DBD and DBI to connect perl to postgres database
    ... I need to connect a windows client running activestate perl 5.8.8 to a ... postgres database running on windows 2003 server. ... test script to make a connection to the postgres database I get the ... foreach $field (@vetor) { ...
    (comp.lang.perl.modules)
  • how to best access a web server database
    ... i have a postgres database on a web server, ... from remote csv files, or some connection that has read them in. ...
    (comp.lang.java.databases)
  • Issue closing postgres db connection..
    ... I've got an intriguing issue..I've got no problem initiating a ... connection to a postgres database with pg_connect, ... ...but, if I want to close that connection with pg_close, I get ...
    (php.general)
  • Understanding netstat -a output and Jboss ports
    ... during a client connection (we hard code several ports so these are ... There is one port how ever which gets created during a ... where in jboss it can be set. ... Port 44732 is the port/service we are trying to identify. ...
    (comp.unix.aix)