users@glassfish.java.net

Re: Connecting Glassfish to SQL Server 2005 named instance

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Nov 2008 04:36:36 PST

According to the documentation, you would need to specify instance name as a separate property and not with the hostname. So in the configuration you will have
<property name="instance" value="instanceName"/>

The property URL would be something like
<property name="URL" value="jdbc:jtds:sqlserver://host:port/database"/>

HTH
Shalini.
[Message sent by forum member 'sm157516' (sm157516)]

http://forums.java.net/jive/thread.jspa?messageID=318083