The url that I specified has a reference to my host machine name: thor.
Sorry about that.  This should be clearer:

weblogic.jdbc.connectionPool.yourConnectionPoolName=\
       url=jdbc:weblogic:mssqlserver4:AuctionINJava@yourHostName,\
       driver=weblogic.jdbc.mssqlserver4.Driver,\
etc...

-----Original Message-----
From: Scott Ellis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 8:45 AM
To: [EMAIL PROTECTED]
Subject:


When you set up your connection pool in weblogic.properties, use something
like the following:

weblogic.jdbc.connectionPool.yourConnectionPoolName=\
       url=jdbc:weblogic:mssqlserver4:AuctionINJava@thor,\
       driver=weblogic.jdbc.mssqlserver4.Driver,\
etc...

Notice that your database name is explicitly stated in the url.

Also, if you can't get to newsgroups, you can go to Deja.com ( or
dejanews.com/usenet I think ).  This will give you browser access to all
newsgroups.

Scott

-----Original Message-----
From: Naresh Sharma [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 5:23 AM
To: [EMAIL PROTECTED]
Subject:


hello friends,

First of all excuse me for putting a question related
to weblogic on this mailing list, but i have the
problem that there is not any mailing list
specifically for weblogic and my machine could not
access the newsgroups.


        anyway, I am using weblogic jDriver for MS SQL Server
7.0 and name of the table used is 'registration' and
its in the 'AuctionINJava' database.

        now i am facing problem that how can i tell the
weblogic server that my table is in the
'AuctionINJava' database. it searches through the
'master' database which is the default database in the
MS SQL Server.

my weblogic-cmp-rdbms-jar.xml contains the following
data :

<!DOCTYPE weblogic-rdbms-bean PUBLIC
 "-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB RDBMS
Persistence//EN"

"http://www.bea.com/servers/wls510/dtd/weblogic-rdbms-persistence.dtd">
<weblogic-rdbms-bean>
  <pool-name>AuctionPool</pool-name>
  <table-name>registration</table-name>
  <attribute-map>
    <object-link>
      <bean-field>pass</bean-field>
      <dbms-column>password</dbms-column>
    </object-link>
    <object-link>
      <bean-field>member_id</bean-field>
      <dbms-column>user_id</dbms-column>
    </object-link>
  </attribute-map>
  <finder-list>
  </finder-list>
  <options>
    <use-quoted-names>false</use-quoted-names>
  </options>
</weblogic-rdbms-bean>


any clue ??


Thanks
Naresh


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to