× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



A Windows service has sort of an invisible desktop associated with it.  So 
the dialog would have come up, but in a place where it could never be 
seen.

You have a couple of options. 

1)  When you configure the service you can give it a username and password 
from the domain, and then grant it the right to interact with the desktop. 
 In theory, any dialogs it pops-up will then be visible, although I wonder 
if only the usernames match?  You would have to consult MS docs for 
details.

2)  Change your code to tell the driver there is no GUI.  I think there is 
a setGUI method (might only exist on the AS400 class) or something like 
that you can call, otherwise there should be a JDBC property you can set 
on the jdbcURL you use  The property is "prompt=false".

Mark







"David Gibbs" <david@xxxxxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
03/17/2003 11:41 AM
Please respond to Java Programming on and around the iSeries / AS400 
 
        To:     java400-l@xxxxxxxxxxxx
        cc: 
        Subject:        Re: JDBC & Passwords


"Mark Phippard" <MarkP@xxxxxxxxxxxxxxx> wrote in
message
news:OFE2D3D081.79038CF2-ON85256CEC.005629F6-85256CEC.00565254@xxxxxxxxxxxxx

om...
> You do not say which driver, but I will assume it is the Toolbox driver.
> Did you set that property that tells the driver not to use a GUI?  If 
not,
> it could be that it popped up a dialog box telling the user the password
> was going to expire in 5 days.  If this was in a service such as
> WebSphere, you might not even see the dialog anywhere.

I'm using JTOpen 3.1.

The user did not see the signon dialog when the connection hung ... 
although
she DID see it when she was initially installing the program (when it
creates the tables on DB2 database).  She was informed that her password 
was
about to expire and did she want to change it.  She said no.

One thing of note ... this application runs as a Win2000 SERVICE.  Perhaps
the normal GUI functions are suppressed when the application is running as 
a
service?

david


_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.