473,387 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Long time before connection

Hi all,

I'm using DB2 Express 8.1 on windows 2000 professional.
I set up local authentication(db2set db2_grp_lookup=local),
and I created a local group MYGRP on my machine,
which is now the administrator's group of my DB2 DB
(db2 update dbm cfg using sysadm_group MYGRP).
I created the local user profile MYUser, which belongs
to the local group MYGRP. My machine is a member of a
Windows 2000 domain.
I use DB2 through a Java application using JDBC.
When I'm at office and the network card is connected
to the network in which there is the domain controller
of my domain, I connect to db2 using MyUser. In this case
the authentication process is very fast. But when I'm not
at office, and so my machine can't reach the domain
controller, the authentication process takes a very long
time, (about 30/40 seconds). I think that's because DB2
tries to find the domain controller to authenticate MyUser,
before asking to the local machine. Note that the
authentication works fine after this "time-out".
How can I avoid this problem?

Thanks a lot.

Bye

Franco
Nov 12 '05 #1
2 2693
Inserting a loopback plug into the network slot can often help it fail
faster.
"Franco Lombardo" <f_********@hotmail.com> wrote in message
news:c6************@ID-100339.news.uni-berlin.de...
Hi all,

I'm using DB2 Express 8.1 on windows 2000 professional.
I set up local authentication(db2set db2_grp_lookup=local),
and I created a local group MYGRP on my machine,
which is now the administrator's group of my DB2 DB
(db2 update dbm cfg using sysadm_group MYGRP).
I created the local user profile MYUser, which belongs
to the local group MYGRP. My machine is a member of a
Windows 2000 domain.
I use DB2 through a Java application using JDBC.
When I'm at office and the network card is connected
to the network in which there is the domain controller
of my domain, I connect to db2 using MyUser. In this case
the authentication process is very fast. But when I'm not
at office, and so my machine can't reach the domain
controller, the authentication process takes a very long
time, (about 30/40 seconds). I think that's because DB2
tries to find the domain controller to authenticate MyUser,
before asking to the local machine. Note that the
authentication works fine after this "time-out".
How can I avoid this problem?

Thanks a lot.

Bye

Franco

Nov 12 '05 #2
Inserting a loopback plug into the network slot can often help it fail
faster.
"Franco Lombardo" <f_********@hotmail.com> wrote in message
news:c6************@ID-100339.news.uni-berlin.de...
Hi all,

I'm using DB2 Express 8.1 on windows 2000 professional.
I set up local authentication(db2set db2_grp_lookup=local),
and I created a local group MYGRP on my machine,
which is now the administrator's group of my DB2 DB
(db2 update dbm cfg using sysadm_group MYGRP).
I created the local user profile MYUser, which belongs
to the local group MYGRP. My machine is a member of a
Windows 2000 domain.
I use DB2 through a Java application using JDBC.
When I'm at office and the network card is connected
to the network in which there is the domain controller
of my domain, I connect to db2 using MyUser. In this case
the authentication process is very fast. But when I'm not
at office, and so my machine can't reach the domain
controller, the authentication process takes a very long
time, (about 30/40 seconds). I think that's because DB2
tries to find the domain controller to authenticate MyUser,
before asking to the local machine. Note that the
authentication works fine after this "time-out".
How can I avoid this problem?

Thanks a lot.

Bye

Franco

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Fortepianissimo | last post by:
Here is the situation: I want my server started up upon connection. When the first connection comes in, the server is not running. The client realizes the fact, and then starts up the server and...
31
by: Jamie Burns | last post by:
Hello, I am writing a client / server application. There is 1 server, and many clients. The server processes requests from each client, and typically creates and manipulates C++ objects on their...
1
by: john.livermore | last post by:
When I login using QA to my SQL Server database, it takes 15-20 seconds to establish a connection and open a query window. Drilling into a database via Enterprise Manager is similar. Once the...
18
by: Larry Herbinaux | last post by:
I'm having issues with garbage collection with my long-standing service process. If you could review and point me in the right direction it would be of great help. If there are any helpful...
2
by: Gen | last post by:
Hello there, I am developing a web application using Firebird.NET provider ver 1.7 Connection pooling is being used to better the application's performance. The problem is that the pool never...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.