Mark,

Version was 3.51.05.

& works ok. It now seems that it might be related to me trying to use
the NamedPipeSocketFactory. When I use leave these properties out of the
datasource url everything works ok.

socketFactory=com.mysql.jdbc.NamedPipeSocketFactory
namedPipePath=/mysql/pipe

If anyone has managed to get named pipes working under Windows XP with
JBoss, would they be nice enough to forward the URL used?

<config-property name="ConnectionURL"
type="java.lang.String">jdbc:mysql://localhost/activelist?socketFactory=com.
mysql.jdbc.NamedPipeSocketFactory&amp;namedPipePath=/mysql/pipe</config-prop
erty>

Other variations of namedPipePath, like c:/mysql/pipe also fail, and yes,
there is a directory called c:\mysql

Any help much appreciated,

Greg.

PS. Using the standard IP-based connection (i.e. not named-pipes) seems to
kick MS Sql Servers arse in terms of speed.


----- Original Message -----
From: "Mark Matthews" <[EMAIL PROTECTED]>
To: "Greg Matthews" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, December 29, 2002 11:27 AM
Subject: Re: JDBC driver / JBoss


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greg Matthews wrote:
> > All,
> >
> > The documention on the JDBC driver (v0.87) shows that ampersands are
used to
> > delimit driver parameters.
>
> I'm curious as to where you get a version # of '0.87'. As far as I know
> neither MM.MySQL or Connector/J has had a version # of 0.87.
>
> >
> > JBoss (www.jboss.org) stores datasource definitions in XML files, and so
> > using & seems a bit problematic.
>
> No, not really. The entity for '&' in XML is &amp;
>
> >
> > Is there any way that the supported delimiters can be extended to use a
> > semi-colon or something that's not going to break XML?
>
> XML has an '&' character, it's &amp; :)
>
> -Mark
>
> sql,query
> - --
> MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/
>
> For technical support contracts, visit https://order.mysql.com/?ref=mmma
>
>      __  ___     ___ ____  __
>     /  |/  /_ __/ __/ __ \/ /  Mark Matthews <[EMAIL PROTECTED]>
>    / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer - JDBC/Java
>   /_/  /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA
>          <___/ www.mysql.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.1.90 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQE+DkF+tvXNTca6JD8RAjY1AJ9TNkBvLTG7SKefDDAUw7xtvTsnrwCgwg1u
> woOKNI5bQ6P50tKEz9adMQ8=
> =d0G6
> -----END PGP SIGNATURE-----
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to