Complicated realm problem

Hello,
I have to write a WebLogic realm that ist based on a backend like this
one:
public interface UserContainer {
public boolean containsUser (String userName, String password);
i.e. the backend contains a number of users, represented by
(username,password) tuples, and one can ask the backend whether or not
it contains a specific user.
There is no way to get a list of all users contained in the backend
I now wanted to map all the backend's users into a group, so I could
uniformly apply permissions to them. However, as one can't get a list
of the users, I can't imagine how to implement the getGroup(String
name) method in my realm...?
So I came up with a different solution: I map all the user entries in
the backend to a single generic weblogic user named "GenericUser": In
the authUserPassword(String name, String password) method of my realm,
I query the backend whether it contains (name,password) and if so, I
just return a new weblogic.security.acl.User("GenericUser") (else, I
return null).
This works so far, but there is a problem: I'm using the realm in a
servlet-driven web application. From inside the servlet, I have to
know the "real" name and the password of the currently authenticated
user, i.e. the "name" and "password" values that were passed to my
authUserPassword() method when the user was authenticated. If I call
request.getUserPrincipal().getName() from inside the servlet, it
returns "GenericUser" (no surprise). So I wrote a subclass
"MappingUser" which inherits from weblogic.security.acl.User and adds
the fields "actualName" and "actualPassword", like this:
public class MappingUser extends weblogic.security.acl.User {
private String mActualName;
private String mActualPassword;
public MappingUser (String pName, String pActualName, String pActualPassword) {
super (pName);
mActualName = pActualName;
mActualPassword = pActualPassword;
public String getActualName() {
return mActualName;
public String getActualPassword() {
return mActualPassword;
From authUserPassword(String name, String password) I now return a new
MappingUser ("GenericUser", name,password). However: when I now call
request.getUserPrincipal() from within my servlet, it still returns an
object whose dynamic type is weblogic.security.acl.User . Somehow my
MappingUser got lost on its way from authUserPasword to
request.getUserPrincipal (obviously, it was statically copied into a
weblogic.security.acl.User, so my subclass attributes were not
retained).
Could somebody shed some light please? How could I get to know the
name and password of the currently authenticated user from within my
servlets, given the above backend?
I'm using WLS 5.1 .
Thanks in advance,
Olaf
Olaf Klischat | Fraunhofer ISST
Oberfeldstrasse 132 | Mollstrasse 1
12683 Berlin, Germany | 10178 Berlin, Germany
phone: +49 30 54986231 | mail: [email protected]

once you've converted it its under the file of vidoera ipod converter in program files (or whereever you downloaded it) then you go to itunes, go to file press add file to library and find that program under program files, etc. then once you find the videora folder click videos and then it should work
happy holidays

Similar Messages

  • Windows 8 - user login and Kerberos Realm problems.

    Hi,
    Just installed Windows 8 Enterprise x64 from our MDT into our production enviroment for some final testing. I have done this with both Consumer and the Release Preview just to make sure our infrastructure can support user that want to run Windows 8 (Win
    7 Enterprise will still be the default OS for our client desktops).
    The problem I reported here with the Consumer Preview
    http://social.technet.microsoft.com/Forums/en-US/W8ITProPreRel/thread/069f59be-b89c-4005-8cd2-ff5fd756825a is still alive and kicking.
    Logon after fresh reboot. (Windows 8)
    Username: XWYZ
    Password: *********
    Sign in to: "OURKERBEROSREALM.SE"
    We authenticate all our users with our Kerberos Realm and in our AD's all user passwords are random dummy placeholders, and are linked to the Kerberos realm.
    When a user lock their computer, or put it in sleep mode, they should see this at their login.
    XWYZ (their full name)
    "OURKERBEROSREALM.SE\XWYZ(their username)
    Locked
    Password: ********
    But it does not show this… it shows:
    XWYZ (their full name)
    WINDOWS DOMAIN NAME\XWYZ(their username)
    Locked
    Password: ********
    This meens that when they want to unlock their desktop, or login after sleep, it will try and authenticate their login on the domain AD and not the Kerberos realm. Howver if you choose to go back and select "other user" it defaults back to using "OURKERBEROSREALM.se"
    as "Sign in to:" domain.
    This worked flawlessly in XP, Vista and Windows 7, but not in Windows 8. Not having our Kerberos realm as default login in every scenario is kind of a bummer.

    I had some brief time looking into this, and my awesome workbuddy found that you can poke about the keys found in
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData\1
    With the LastLoggedONSAMUser and LastLoggedOnUser values I changed from from "domain"\username to "kerberosrealm"\user, and when locking my computer or restating, I now have no need to choose "other user" every time I want to login again.
    Atleast somewhere to start.

  • HADB session failover & realm problem

    I have a enterprise applicaiton server cluster configured for loadbalancing and session failover.
    I installed HADB.
    HADB works, I test with the webapp from the samples of the application server:
    I add some attribute in session, I see which node executed the request, I stop the node.
    The other requesto go to the other node and the session is reloaded as it was on the stopped node.
    The problem I have is with app with realms authentication.
    I can login without problem on the first node.
    I stop the server handling the request and when switched to the other server I have to login again if I request a realm protected URL again.
    Any suggestion?
    Thanks in advance.

    Solved
    on Cluster configuration (in the tree of admin apps of application server):
    my-clu-config -->
       Availability Service -->
            Web Container Availability -->
                      Single-Sign-On State: Enabled.

  • Installing LDAP realm Problem

    Hi,
    I'm trying to configure Netsacape Directory Server 4.1 to work with the
    LDAP Security Realm Update for WebLogic Server 6.1. The Weblogic Server
    is unable to connect to NDS and there is not error message to indicate
    any exception. I have connect to the NDS using a LDAP browser using the
    same principal and credential in the ldaprealm.properties file and was
    able to establish connection.
    Has anyone encountered the same problem? Any help is appreciated.
    Thank you,
    PY

    Humm,
    I have heard of different people with the same name but with the same
    email address. Strange...
    Will the person who did the posting below please email me. You've
    already have my email address.
    Han.
    "Ng, Wey-Han" <[email protected]> wrote in message news:<[email protected]>...
    Hi,
    I'm trying to configure Netsacape Directory Server 4.1 to work with the
    LDAP Security Realm Update for WebLogic Server 6.1. The Weblogic Server
    is unable to connect to NDS and there is not error message to indicate
    any exception. I have connect to the NDS using a LDAP browser using the
    same principal and credential in the ldaprealm.properties file and was
    able to establish connection.
    Has anyone encountered the same problem? Any help is appreciated.
    Thank you,
    PY

  • WL6.0 LDAP Realm problems

    I'm trying out WL6.0 (eval version) LDAP realm support and having trouble
    getting it to work - basic auth just keeps popping the window up 3 times and
    then giving up. Only pertinent message in the log is:
    ####<Mar 16, 2001 12:03:21 PM EST> <Info> <Security> <FOOBAR>
    <examplesServer> <ExecuteThread: '11' for queue: 'default'> <> <> <090021>
    <Locking account, user jdoe.>
    No obvious LDAP info or errors in the log, despite adding the following two
    to the startup script cmd line and restarting the server:
    -Dweblogic.security.realm.debug=true -Dweblogic.security.ldaprealm.verbose=t
    rue
    The HTTP basic-auth dialog box is correctly showing me that I'm trying to
    authenticate to: MyLDAPRealm
    Here's the config info for MyLDAPRealm
    <LDAPRealm AuthProtocol="simple"
    Credential="myserverpasswd"
    GroupDN="o=mycompany,c=us" GroupIsContext="false" GroupNameAttribute="cn"
    GroupUsernameAttribute="uniquemember"
    LDAPURL="ldap://tug:390"
    Name="MyLDAPRealm"
    Principal="cn=myserver,ou=myserverstuff,o=mycompany,c=US"
    UserAuthentication="local"
    UserDN="o=mycompany,c=us" UserNameAttribute="uid"/>
    It's a Netscape 4.1 Directory server, and I've verified that the above
    server account exists AND can authenticate and retrieve account
    userpasswords (yes, the server account is "cn=" while the user accounts are
    "uid=" - don't ask :-)....
    I've tried both "bind" and "local" and get the same results both ways.
    Any ideas???

    Did you use the most recent ldap patch? I could not get it to work fine
    with the default wls6.0sp1, but with the ldap-patch it works fine.
    AND probably even more important... change
    <Realm FileRealm="..." Name=".....">
    to
    <Realm CachingRealm"MyCachingRealm" FileRealm="..." Name=".....">
    Hope this helps...
    Ronald
    Sushil Pulikkal wrote:
    Hi Tom,
    I am using iPlanet Directory server with WL6.0 (which I presume is supported as
    Netscape's is) and facing the same problem as Mike was i.e account locking after
    three attempts(bottom of the message). I have created my own caching realm with
    the basic realm being MyLDAPRealm.
    The log gives no info other than the one about account locking.
    My config.xml looks something like this -
    <CachingRealm BasicRealm="MyLDAPRealm" CacheCaseSensitive="true" Name="MyCachingRealm"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <LDAPRealm AuthProtocol="simple" Credential="enslaved"
    GroupDN="ou=Aussies,dc=timerasolutions,dc=com"
    GroupUsernameAttribute="uniquemember"
    LDAPURL="ldap://DJ-SUSHILP.timerasolutions.com:389"
    Name="MyLDAPRealm"
    Principal="uid=admin, ou=Administrators,
    ou=TopologyManagement, o=NetscapeRoot"
    UserAuthentication="bind"
    UserDN="ou=Aussies,dc=timerasolutions,dc=com"
    UserNameAttribute="uid"/>
    The browser window does pop up, but the user id doesn't get authenticated. Is
    there a way to know whether WLS is actually going to the LDAP server for authentication?
    Any insight into this?
    Thanks in advance,
    Sushil
    "Tom Moreau" <[email protected]> wrote:
    Mike,
    I haven't had any trouble getting the LDAPRealm to work
    in WLS 6.0. Could it be that while you've created the LDAPRealmMBean,
    you haven't told WLS to use it?
    In other words, you can create many realm configurations then
    you need to activate the one you want. If you haven't, the
    we just use the file realm. The file realm won't be able
    to authenticate you (since you put the info in LDAP!) and
    after 3 failures, will lock out the account.
    The instructions for selecting the realm are at:
    http://e-docs.bea.com/wls/docs60/adminguide/index.html
    See:
    12. Managing Security
    Specifying a Security Realm
    Configuring the Caching Realm
    The basic idea is:
    1) create your LDAP Realm (you've already done this)
    2) create a CachingRealm
    3) set the CachingRealm's BasicRealm to your LDAP Realm
    4) set the Security Realm's CachingRealm to your Caching Realm
    5) reboot
    It's pretty easy to do this through the admin console.
    Otherwise, you can edit config.xml by hand.
    Here's how:
    <Domain>
    <Security
    Name="mydomain"
    Realm="myRealm"
    />
    <Realm
    Name="myRealm"
    FileRealm="myFileRealm"
    CachingRealm="myCachingRealm"
    />
    <FileRealm
    Name="myFileRealm"
    />
    <CachingRealm
    Name="myCachingRealm"
    BasicRealm="myLDAPRealm"
    />
    <LDAPRealm
    Name="myLDAPRealm"
    />
    -Tom
    "Mike" <[email protected]> wrote:
    BTW, before someone suggests it, I found Tom Moreau's
    suggestion to use:
    <ServerDebug Name="examplesServer" DebugSecurityRealm="true"
    />
    under the <Server> element in config.xml and restarted
    with this and still
    no additional
    info from the LDAP realm printed about why it's not working
    (nothing but the
    same
    locking account message mentioend below).
    Is the source for the LDAP realm available so I can debug
    it myself or has
    anybody
    written their own LDAP realm that they'd be willing to
    share with the group?
    Thanks again,
    ...Mike
    "Mike" <[email protected]> wrote in message
    news:[email protected]...
    Ok I've verified that the -Dweblogic.security.ldaprealm.verbose
    probably
    won't
    work with 6.0 (old 5.x and previous style property),
    but I can't figure
    out
    what
    replaced it, to figure out why the LDAP realm isn't
    working for me...
    The property mapping guide at:
    http://e-docs.bea.com/wls/docs60///////config_xml/properties.html
    shows that things like weblogic.security.ldaprealm.url
    changed to LDAPURL in config.xml (without telling
    you that this resides as an XML attribute of
    <Domain><LDAPRealm ... /></Domain> although that's
    easy enough to find by looking through the example
    LDAP realm.
    It then says that weblogic.security.ldaprealm.verbose
    has changed to "Debug" in config.xml, but doesn't
    say whether that's a "Debug" XML attribute on one
    of the XML elements in there, or whether it's an
    XML node itself, or where in the config.xml doc
    it goes... It doesn't work as an attribute of
    <LDAPRealm ...> (server won't start with it there)
    and it doesn't show up at all in the DTD for config.xml
    so I'm assuming the mapping doc at the above url is
    wrong. Anybody know what this really became in 6.0?
    I've tried setting StdoutDebugEnabled="true" in config.xml
    and turning the logging level all the way up to see
    everything, but even
    then all I
    get is the account locked message, not why it's failing
    to authenticate
    via
    LDAP...
    Any other ideas?
    "Mike" <[email protected]> wrote in message
    news:[email protected]...
    I'm trying out WL6.0 (eval version) LDAP realm support
    and having
    trouble
    getting it to work - basic auth just keeps popping
    the window up 3 times
    and
    then giving up. Only pertinent message in the log
    is:
    ####<Mar 16, 2001 12:03:21 PM EST> <Info> <Security>
    <FOOBAR>
    <examplesServer> <ExecuteThread: '11' for queue: 'default'>
    <> <>
    <090021>
    <Locking account, user jdoe.>
    No obvious LDAP info or errors in the log, despite
    adding the following
    two
    to the startup script cmd line and restarting the
    server:
    -Dweblogic.security.realm.debug=true -Dweblogic.security.ldaprealm.verbose
    =t
    rue
    The HTTP basic-auth dialog box is correctly showing
    me that I'm trying
    to
    authenticate to: MyLDAPRealm
    Here's the config info for MyLDAPRealm
    <LDAPRealm AuthProtocol="simple"
    Credential="myserverpasswd"
    GroupDN="o=mycompany,c=us" GroupIsContext="false"
    GroupNameAttribute="cn"
    GroupUsernameAttribute="uniquemember"
    LDAPURL="ldap://tug:390"
    Name="MyLDAPRealm"
    Principal="cn=myserver,ou=myserverstuff,o=mycompany,c=US"
    UserAuthentication="local"
    UserDN="o=mycompany,c=us" UserNameAttribute="uid"/>
    It's a Netscape 4.1 Directory server, and I've verified
    that the above
    server account exists AND can authenticate and retrieve
    account
    userpasswords (yes, the server account is "cn=" while
    the user accounts
    are
    "uid=" - don't ask :-)....
    I've tried both "bind" and "local" and get the same
    results both ways.
    Any ideas???

  • Jaas authentication with cutom realm problem

    I'm having this problem, I have a web application made with JSF running on Sun One Application Server 9, and I made a cutom realm with Jaas so that the server will be handeling the authentication and it is working fine. The problem is that i want to load some info into the user's session after that he have been authenticated based on the username. But I have on clue how to do it. so I'll be very thanks full it anybody helped me.

    Did you resolve this problem? Please let me know. I have the same issue now and don;t know what I should be doing next

  • Apache realm problems

    Hi,
    i'm running a 10.5.5 MacOsX Server , and i'm having some problems with Apache realms.
    Actually i'm running 5 sites on this machine , only one needs a Realm with Basic Auth.
    The protected folder is inside root's site (a subfolder).
    Allowed users of course are real local user created with Workgroup manager and have read/write permissions. "Everyone" has no permission.
    Anyway trying to connect to this url (www.site.com/realmfolder), an auth is requested (a classic apache one) but after login it reports an "Internal Server Error".
    Any Idea?

    Camelot wrote:
    How did you setup your realm? manually, or via Server Admin?
    This time via Server Admin, usually from Terminal.
    i'm not new on MacOsxServer , i use it since its early versions...
    Allowed users of course are real local user created with Workgroup manager and have read/write permissions. "Everyone" has no permission.
    Everyone must have no permission, otherwise apache realms doesn't make sense :-D.
    In order for Apache to serve the content you need at least read privileges for the _www user. If Apache can't read the files it can't serve them, regardless of who owns them.
    Permissions are ok i'm sure of that i'm running on this machine 6 sites without any problems.
    Problems come out upgrading from 10.5 > 10.5.5
    after login it reports an "Internal Server Error".
    What does the log say? /var/log/apache2/error_log (or /var/log/httpd/error_log if you're running Apache 1.3).
    here's some line from error log
    [Wed Dec 17 14:50:10 2008] [notice] Digest: generating secret for digest authentication ...
    [Wed Dec 17 14:50:10 2008] [notice] Digest: done
    [Wed Dec 17 14:50:10 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l PHP/5.2.5 configured -- resuming normal operations
    [Wed Dec 17 14:50:10 2008] [warn] long lost child came home! (pid 49875)

  • Complicated Query Problem - Booking System

    I am currently developing a hotel booking system for my University final year project and am having some serious problems with my queries to calculate room availability.
    I felt the best method to calculate room availability was to first calculate which rooms were already booked for any specific queried dates and then to subtract those results from the list of total rooms. That would then return which rooms were available on those dates.
    My first query successfully calculated which rooms were already booked using my test dates which were rooms 1,3 & 5. This result was stored in a temporary table. The second query then obtained the list of total rooms (1-10) and from this subtracted the results in the temporary table (1,3 & 5) which should have returned 2,4,6,7,8,9,10 as the rooms available. However, it returned the rather strange result "2,3,4,5,6,7,8,9,10,1,2,4,5,6,7,8,9,10,1,2,3,4,6,7,8,9,10"
    It seems to take each result from the temporary table individually, subtract it from the total list of rooms, return the result and then move on to the next value in the temporary table. Which is why '1' is missing from the first 9 numbers, '3' from the second 9 and '5' from the last 9.
    If anyone can help me solve this problem or suggest alternative methods I would be most appreciative.
    Below is my MySQL code for the relevant parts of my database, the test values I am using and the two queries I am having problems with.
    Advance Thanks!
    CREATE TABLE booking
    booking_id               INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
    e_mail                VARCHAR(40),
    arrival_date          DATE NOT NULL,
    departure_date          DATE NOT NULL,
    PRIMARY KEY(booking_id)
    insert into booking (booking_id,e_mail,arrival_date,departure_date)
    values ('[email protected]','2004-02-25','2004-02-28');
    CREATE TABLE roombooked
    booking_id      INTEGER UNSIGNED NOT NULL REFERENCES booking(booking_id),
    room_id               INTEGER UNSIGNED NOT NULL REFERENCES rooms(room_no),
    no_of_nights          INTEGER UNSIGNED NOT NULL,
    PRIMARY KEY(booking_id,room_id)
    insert into roombooked(booking_id,room_id,no_of_nights)
    values ('1','1','1'),('1','3','1'),('1','5','1');
    CREATE TABLE rooms
    room_no               INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
    room_name           VARCHAR(11),
    room_type               VARCHAR(9),
    single_price          DECIMAL(5,2),
    double_price          DECIMAL(5,2),
    PRIMARY KEY(room_no)
    insert into rooms (room_name,room_type,single_price,double_price)
    values ('shakespeare','principal','165','225'),
    ('keats','principal','165','225'),
    ('kipling','standard','125','165'),
    ('tennyson','superior','135','185'),
    ('shelley','deluxe','155','205'),
    ('brooke','superior','135','185'),
    ('wordsworth','deluxe','155','205'),
    ('milton','deluxe','155','205'),
    ('masefield','deluxe','155','205'),
    ('browning','deluxe','155','205');
    FIRST QUERY
    CREATE TEMPORARY TABLE roomsoccupied          
    SELECT roombooked.room_id FROM roombooked, booking
    WHERE
    roombooked.booking_id = booking.booking_id
    AND
    booking.arrival_date = '2004-02-25'
    AND
    booking.departure_date = '2004-02-28';
    SECOND QUERY
    SELECT rooms.room_no FROM rooms, roomsoccupied
    WHERE
    rooms.room_no != roomsoccupied.room_id;

    you haven't got a join in your second query
    SECOND QUERY
    SELECT rooms.room_no FROM rooms, roomsoccupied
    WHERE
    rooms.room_no != roomsoccupied.room_id;will return rubbish because you have created a valid view of your data with a sensible join.
    try something like
    SELECT rooms.room_no FROM rooms
    WHERE rooms.room_no NOT IN (SELECT roomsoccupied.room_id FROM roomsoccupied);instead, which I believe should give you more meaningful data

  • WLS5.1 SP_9 RDBMS Realm problem

    Hi all,
    I am trying to configure the RDBMS realm examples that come with weblogic.
    I am getting an error saying the Table Users was not found.
    I created my own simple java class to check if the parameters from
    rdbmsrealm.properties are working fine, they are. Then why is weblogic not
    able to find the USERS table, where is it looking for this table.
    Any Help is highly appreciated.
    Ramesh
    Stack Trace :
    Unable to initialize server: examples.security.rdbmsrealm.RDBMSException:
    realm
    initialization failed, Connection.prepareStatement() failed on statement
    "SELECT
    U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?", - with nested exception:
    [SQL Exception: Table 'USERS' does not exist.]
    fatal initialization exception
    Properties File :
    # - - - - - - ORACLE - - - - - - -
    driver=weblogic.jdbc.oci.Driver
    dbURL=jdbc:weblogic:oracle:bizpivot.india
    dbUser=ramesh
    dbPassword=******
    #getGroupNewStatement=false

    Hi all,
    Never Mind, I got it working. A couple of lines down the property lines,
    the Cloudscape URL was uncommented and hence the webloigc server was looking
    the USERS table in cloudscape instead of Oracle where I created them.
    I figured this out by modifying the LoadDDL,java and asking it to print the
    URL and other details that it read from the rdbmsldaprealm.properties file.
    Thank you all.
    Ramesh
    "ramesh" <[email protected]> wrote in message
    news:[email protected]..
    Hi all,
    I am trying to configure the RDBMS realm examples that come with weblogic.
    I am getting an error saying the Table Users was not found.
    I created my own simple java class to check if the parameters from
    rdbmsrealm.properties are working fine, they are. Then why is weblogicnot
    able to find the USERS table, where is it looking for this table.
    Any Help is highly appreciated.
    Ramesh
    Stack Trace :
    Unable to initialize server: examples.security.rdbmsrealm.RDBMSException:
    realm
    initialization failed, Connection.prepareStatement() failed on statement
    "SELECT
    U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?", - with nestedexception:
    [SQL Exception: Table 'USERS' does not exist.]
    fatal initialization exception
    Properties File :
    # - - - - - - ORACLE - - - - - - -
    driver=weblogic.jdbc.oci.Driver
    dbURL=jdbc:weblogic:oracle:bizpivot.india
    dbUser=ramesh
    dbPassword=******
    #getGroupNewStatement=false

  • NT Realm problem

    Hi,
    I followed all the steps required in setting up NT realm. I am using weblogic 6.1
    sp2 on NT 4.0 sp6. I am starting WLS as a service and the user has got all the rights.
    Could anyone please help me on this?
    <myserver>
    <main> <> <> <000000>
    <Unable to initialize the server: 'Fatal initialization exception
    Throwable: java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.security.ntrealm.NTResumeEnum.<init>NTDelegate.java:402)
    at weblogic.security.ntrealm.NTDelegate.getGroupNames(NTDelegate.java:20
    4)
    at weblogic.security.ntrealm.NTRealm.getGroup(NTRealm.java:85)
    at weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1120)
    at weblogic.security.acl.internal.FileRealm.getPrincipalFromAnyRealm(Fil
    eRealm.java:1010)
    at weblogic.security.acl.internal.FileRealm.ensureRequiredObjectsExist(F
    ileRealm.java:957)
    at weblogic.security.acl.internal.FileRealm.loadMembers(FileRealm.java:1
    202)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:274)
    at weblogic.security.SecurityService.initialize(SecurityService.java:115
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    '>

    hi,
    try the ntrealm unit test first by,
    java weblogic.security.ntrealm.NTRealm username password.
    and see if that works.
    thanks
    kiran
    "ganesh" <[email protected]> wrote in message
    news:3cc61f89$[email protected]..
    >
    Hi,
    I followed all the steps required in setting up NT realm. I am usingweblogic 6.1
    sp2 on NT 4.0 sp6. I am starting WLS as a service and the user has got allthe rights.
    Could anyone please help me on this?
    <myserver>
    <main> <> <> <000000>
    <Unable to initialize the server: 'Fatal initialization exception
    Throwable: java.lang.NullPointerException
    java.lang.NullPointerException
    atweblogic.security.ntrealm.NTResumeEnum.<init>NTDelegate.java:402)
    atweblogic.security.ntrealm.NTDelegate.getGroupNames(NTDelegate.java:20
    4)
    at weblogic.security.ntrealm.NTRealm.getGroup(NTRealm.java:85)
    atweblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1120)
    atweblogic.security.acl.internal.FileRealm.getPrincipalFromAnyRealm(Fil
    eRealm.java:1010)
    atweblogic.security.acl.internal.FileRealm.ensureRequiredObjectsExist(F
    ileRealm.java:957)
    atweblogic.security.acl.internal.FileRealm.loadMembers(FileRealm.java:1
    202)
    atweblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:274)
    atweblogic.security.SecurityService.initialize(SecurityService.java:115
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    '>

  • Complicated Inheritance Problems

    Ok, some of you may be getting familiar with these classes :P
    Basically;
    public class CentredDictionaryWindow extends JFrame
    public class welcomeScreenFrame extends CentredDictionaryWindow
    public class searchWindowFrame extends CentredDictionaryWindow
    public class resultsFrame extends CentredDictionaryWindowNow, searchWindowFrame searches a set of words in a dictionary based on your input, which it then passes to resultsFrame to display.
    I have a JMenuBar that I created in CentredDictionaryWindow as well as a JPopupMenu, so that all the screens have it.
    One of the options is save. To do this, CentredDictionaryWindow needs the results.
    In searchWindowFrame and welcomeScreenFrame I've used
    super(null)So they don't need to pass anything in.
    resultsFrame uses
    super(results)and passes in a TreeSet containing all the results. This seems logically sound, and I've put
    if (results != null)
         resultList.addAll(results);which again, should make sense.
    However, when I press 'Search' on searchWindowFrame, the end of the code for which is here: (the beginning simply performs the search, that's all fine)
    if (operatorSearchFour.size() > 0 && !failedQuery)
         JFrame loading = new loadingWindow();
         setVisible(false);
         loading.show();
         TreeSet searchResults = new TreeSet();
         searchResults.addAll(operatorSearchFour);
         resultsFrame resultFrame = new resultsFrame(searchResults, this, parentWindow);  //(results, parent, home)
         loading.setVisible(false);
         resultFrame.show();
         if (operatorSearchFour.size() == 0)
              JOptionPane.showMessageDialog(new JFrame(), "The Query you entered returned no results." + "\n" + "Please try again.", "Zero Results", JOptionPane.INFORMATION_MESSAGE);I get a null pointer exception on the second line of
    if (results != null)
         resultList.addAll(results);Is there something I'm doing wrong? (don't know how more code examples could help none of the rest really has anything to do with this but if you want it, ask) or is there an easier way of doing this? (While still being able to leave the menu in CentredDictionaryWindow - hopefully - because I know I'll lose marks for repeated code otherwise). I can't figure it out at all, especially since the set of results resultsFrame sends in definately isn't null.

    if (results != null)
         resultList.addAll(results);To be getting a null pointer here I'm pretty sure resultList == null. Are you initialising this beforehand?

  • Complicated preloader problem (movie within a movie)

    I am using Flash 8 with AS 2.0
    I have a 2 scene movie
    scene 1 is preloader
    scene 2 is main movie
    scene 2 has a MC on the mains stage in frame 1. This MC loads
    another .swf in frame 40 using hte loadmovie command
    I want my preloader to determine when the loadmovie mc in
    sceen 2 is loaded or perhaps just load it in scene 1 but into the
    MC that holds it in sceen 2.
    I can't figure out how to reference the MC that holds my
    loaded movie in sceen 2 from scene 1 or how to detect when the
    loadmovie in frame 40 of my MC is loaded.
    Any advice would be appreciated.
    Peace,
    Rickard

    Understood. I actually found a post from someone saying
    scenes are not the way to go. I moved the bulk of my movie to frame
    5 and put my preloader on frame 1. I am also loading my .swf into
    my MC on frame 1. What I guess I need to do is set up a listener on
    my MovieCliLoader to tell when that is done (since it is larger
    than my movie I can wait until t is loaded to move on.).
    THanks for the advice.
    peace,
    Rickard

  • Complicated Album Problem!!!

    Hi there,I has=ve some albums that have more than one cd which is common especially those collection album but normally those cd is stated XXXX[cd1]or XXXX[cd2] my question is my album the cd they both have their own name eg in same album 1st cd is XXXX[my story] and the 2nd cd is XXXX[your song] when u import them to ur itune it wil become two album....using comlilation is useless as the album name is differnt but they actually is ONE album.

    Hi
    You can try to select all Music files and amend the album name using "get info" to the album name you want, and if all the album name is the same, Itune will treat it as 1 album
    Hope the above helps!
    =)
    Cheers
    Grace Tang

  • Complicated Networking Problem

    Good Morning:
    I am trying to set up a simple network between my iBookG4 Tiger and my Dell Inspiron Windows XP. I was trying to set up the connection over the internet. The following is what I did: (please read below for questions)
    On Mac OS X 10.3 Panther and 10.4 Tiger:
    * Click on System Preferences - Sharing
    * Make sure the Services tab is selected
    * Click to check Windows Sharing
    * Note your Mac's IP address at the bottom of the window
    On Windows XP:
    * Click on Start - Search
    * Click on Computers or people - A computer on the network
    * Enter the Mac's IP address that you noted above
    * Enter your OS X username and password
    Set up a shared folder on XP:
    * Right-click on the folder to be shared
    * Click on Properties
    * Click on the Sharing tab
    * Click on Share this folder on the network (so the folder can be read by the Mac)
    * Click on Allow network users to change my files (so the folder can be written-to by the Mac)
    * Click on Apply
    * Click on OK
    After doing this, I accessed my mac from the dell. I was able to see everything in my mac from my dell. However, I only wanted to see one folder. And instead I opened the whole world to see my computer. I stopped the sharing, however, my dell can still see the network...but the file size of my dell didn't change. But I still have access to everything on my mac via the dell. How do I fix this? Also, how to I set up the simple network between my dell and mac via internet? Please help.

    To setup a shared folder on your mac for windows sharing and restrict what anybody else can see you need to use something like sharepoints.
    how to I set up the simple network between my dell and mac via internet? Please help.
    To share files over the internet by using the windows sharing protocol would leave your network vulnerable to crackers.
    So you would be better creating a Virtual Private Network. This would let you use windows protocols and other sharing inside a secure tunnel. You can pick up a good broadband router that has built in VPN server for as little as £65.

  • Complicated string problem

    I need to get the 8 last digits of a cell phone number from a string that may contain some random text as well.
    The string might i.e. look like this:
    String senderName = "asd5fa 9 as9df asdf 5599999999sd asdf 3as4df";
    How can I extract only the 8 last digits of the phone number from this string (99999999)?

    String str = "12345h678 as9df asdf 12307721345k999b99k999sd asdf 999b99999";
    StringBuffer sb = new StringBuffer();
    char chArr[] = str.toCharArray();
    System.out.println("Input String : " + str);
    for(int i=chArr.length-1; i>=0; i--){
         try {
              Integer.parseInt(Character.toString(chArr));
              if(sb.length() == 8) break;
              else sb.append(Character.toString(chArr[i]));
         catch (NumberFormatException e) {
              sb.delete(0, sb.length());
    System.out.println("Phone Number : " + sb.reverse().toString());Cheers

Maybe you are looking for

  • Error in the Informatica when running the DAC load( Prebuilt Analytics)

    Hi All, Please help me with the below issue with the informatica i am getting when running the DAC load: Below are the details: SELECT F0006.MCMCU,F0006.MCSTYL,F0006.MCCO,F0006.MCAN8,F0006.MCDL01,F0006.MCRP06,F0006.MCUPMJ,F0006.MCUPMT,F0006.MCUSER,F0

  • Call a dynamic action automatically on a regular basis

    Hi, We have a classic report on a page which we would like to refresh automaticallly every X minutes. We have done this using setInterval and $a_report however as I understand, this is unsupported functionality... So I would like to go down the dynam

  • Saving FCP projects externally

    I have several finished projects that I'd like to save to an external drive to free up space on my internal  drive. Do I just "move" the projects to an external drive?  And if so, when they are moved, can I bring them back to make further edits if ne

  • Read the valid Operation/Activity Master Recipe data using an FM

    Dear all, Can anyone guide me to a function module, which could read the relevant master recipe data taking the validity date into consideration. i.e. the function module should return the correct valid data based on the Key Date. Is there such a fun

  • Sales Order printing on two pages

    Hi Gurus, Our SAP just got upgraded to 8.81 PL07 and since then we are facing printing problems. The thing is all the sales orders and invoices are printing on two pages (when only one page is required); the second page having only the page header. M