Autherization problem WL6.1

I have the following requirement:-
Create a stateless session bean (SLSB) that performs the following:-
1. Acts like a factory.
2. Is created only once during a web applications lifetime.
3. Is authenticated by a unique security unique role (let us assume it is
called EJBROLE)
Create a servlet that
1. Is authenticated by a security role that is different from the ejb
security role(assume it is called SERVLETROLE).
2. The above SLSB is created only once in the servlet's init method using
the normal authentication for ejb (works fine).
3. Is responsible for calling the SLSB.
The Problem
When a client logs in using the SERVLETROLE, the servlet calls the ejb bean
method . The call fails with an "insufficient privileges" message. How do we
solve this problem keeping the roles different.

Hi Anurag,
Thanks for your reply.
The "SERVLETROLE" is mutually exclusive from the "EJBROLE". For example the
"EJBROLE" can have access to a connection pool resource where as the
"SERVLETROLE" will not be provided this access. This way we can provide
direct database access to the EJBs and not to the servlets.
The SLSB acts like a factory for creating stateful session beans(SFSB).
This way we do not have to do an expensive lookup each time a servlet needs
a SFSB.
Regards,
Arjuna.
"Anurag Pareek" <[email protected]> wrote in message
news:[email protected]..
Hi,
If the requirement is such that anybody having the "SERVLETROLE" can havethe
"EJBROLE", then you could just create the InitialContext required for theEJB
lookup by passing the SECURITY_PRINCIPAL(username) and
SECURITY_CREDENTIALS(password) of the EJBROLE in the init() method of the
servlet.
Please do let me know if this satisfies your requirement.
Regards,
Anurag
Arjuna Chala wrote:
I have the following requirement:-
Create a stateless session bean (SLSB) that performs the following:-
1. Acts like a factory.
2. Is created only once during a web applications lifetime.
3. Is authenticated by a unique security unique role (let us assume it
is
called EJBROLE)
Create a servlet that
1. Is authenticated by a security role that is different from the ejb
security role(assume it is called SERVLETROLE).
2. The above SLSB is created only once in the servlet's init methodusing
the normal authentication for ejb (works fine).
3. Is responsible for calling the SLSB.
The Problem
When a client logs in using the SERVLETROLE, the servlet calls the ejbbean
method . The call fails with an "insufficient privileges" message. Howdo we
solve this problem keeping the roles different.

Similar Messages

  • Missing music, autherization problems

    i changed computer . but it don't show i tunes computer authorization. and when i hooked up my i pod classic it down loaded and removed all music from it, but shows most of music. tried to down load from but it is not working. and I lost all my purchased items as well.

    Hi 01gsxr,
    Thanks for visiting Apple Support Communities.
    See these articles for the steps to authorize your computer and download previously purchased music:
    iTunes Store: About authorization and deauthorization
    http://support.apple.com/kb/ht1420
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Best Regards,
    Jeremy

  • PROBLEM IN CREATION OF PUR. ORDER

    Dear cons
       I created a pur. requisition. when I create a p.o based on this pur. requisition the system gives an error message that 'NO SELECTABLE ITEMS EXIST FOR PURCHASE REQUISITION  I_BANFN. PL. solve it . whether it is a basis reletad (autherization)problem or anything else.
    thanks
    nrk

    hi,
    Check for release procedure is there PR's.
    if release procedure is there, then approve the PR, then only you can create  PO against that PR.
    hope this may help you,
    Regards,
    Srinivas

  • PROBLEM IN CREATION P.O

    Dear cons
    I created a pur. requisition. when I create a p.o based on this pur. requisition the system gives an error message that 'NO SELECTABLE ITEMS EXIST FOR PURCHASE REQUISITION I_BANFN. PL. solve it . whether it is a basis reletad (autherization)problem or anything else.Yes, I have released the P.R. When we adopt the P.R to create the P.O at that time the error message comes.Where can I make setting so that I can create a P.O with ref. to P.R
    thanks
    nrk

    Hi
    Goto the PR-> Item Details-> status-> Find the status of the PR  whether it has been already Ordered in full   or Is there any Release to be done..
    ALSO CHECK WHETHER YOU HAVE CHECKED THE CLOSED INDICATOR IN ITEM DETAILS
    Also go to SE16 and see whether your PR is updated..
    reward if useful
    Regards
    S.Baskaran

  • Installation problem of WL6.0SP1 on solaris

    When I install WL6.0SP1 on Sun Solaris, it gives such message:
    weblogic600sp1_sol.bin Preparing to install...
    Error: failed /tmp/install.dir.16036/Solaris/resource/jre/jre/lib/sparc/client/libjvm.so,
    because ld.so.1: /tmp/install.dir.16036/Solaris/resource/jre/jre/bin/../bin/sparc/native_threads/java:
    fatal: libCrun.so.1: open failed: No such file or directory
    >
    My classpath is set as:
    /usr/java1.2/lib:/oracle/product/8.1.6/jdbc/lib/classes12.zip:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:
    Does any one know what is wrong with it?
    Thanks.

    You probably need Solaris patches. I had this problem to installing on Solaris
    7. GO to Sun's web site to look for pathces relating to C runtime libs.
    "Yingwei" <[email protected]> wrote:
    >
    When I install WL6.0SP1 on Sun Solaris, it gives such message:
    weblogic600sp1_sol.bin Preparing to install...
    Error: failed /tmp/install.dir.16036/Solaris/resource/jre/jre/lib/sparc/client/libjvm.so,
    because ld.so.1: /tmp/install.dir.16036/Solaris/resource/jre/jre/bin/../bin/sparc/native_threads/java:
    fatal: libCrun.so.1: open failed: No such file or directory
    >
    My classpath is set as:
    /usr/java1.2/lib:/oracle/product/8.1.6/jdbc/lib/classes12.zip:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:
    Does any one know what is wrong with it?
    Thanks.

  • Problems starting Managed Server on WL6.0 Solaris

    Hi,
    I installed a WL6.0 on Solaris 8. Everythings works fine.
    I careated a Domain and an additional Server wich is located at a
    different machine. As is start this managed server on the other machine
    it complains with the following error message:
    <Aug 30, 2001 12:41:18 PM CEST> <Info> <Security> <Getting boot password
    from user.>
    Enter password to boot WebLogic server:weblogic
    Starting WebLogic Server ....
    Connecting to http://sol23:7001...
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: paros not
    found
    weblogic.management.configuration.ConfigurationException: paros not
    found
    at
    weblogic.management.Admin.getBootstrapLocalServer(Admin.java:927)
    at weblogic.management.Admin.initialize(Admin.java:287)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    In the access-Log of the Admin-Server the following line appears
    my IP - - [30/Aug/2001:12:41:13 +0200] "GET
    /wl_management_internal2/Bootstrap HTTP/1.0" 404 0
    So my question: Where does this "wl_management_internal2" Application
    come from?
    Do I have to install some special things when I start an Admin-Server?
    thanks
    Falko Zurell . Webmaster
    Pixelpark AG . http://www.pixelpark.com
    Rotherstrasse 8 . 10245 Berlin . Germany
    phone: + 49 30 5058 - 1963 . fax: -1600

    Hi Falko,
    This is not a problem. when you want to add a new managed server to the
    admin server, you need to use weblogic console to create that server in the
    admin server first, then start the managed server with that name to connect
    to the admin server. That is like you have to let the admin server know
    there is such a server, then let it join to the Admin server. you can do
    that by using the admin console, from left panel, click on Servers -->
    "Create a new server" and name it to be "paros", specify the port and IP.
    and hit "create". then start the managed server.
    Thanks
    Yu
    "Falko Zurell" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I installed a WL6.0 on Solaris 8. Everythings works fine.
    I careated a Domain and an additional Server wich is located at a
    different machine. As is start this managed server on the other machine
    it complains with the following error message:
    <Aug 30, 2001 12:41:18 PM CEST> <Info> <Security> <Getting boot password
    from user.>
    Enter password to boot WebLogic server:weblogic
    Starting WebLogic Server ....
    Connecting to http://sol23:7001...
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: paros not
    found
    weblogic.management.configuration.ConfigurationException: paros not
    found
    at
    weblogic.management.Admin.getBootstrapLocalServer(Admin.java:927)
    at weblogic.management.Admin.initialize(Admin.java:287)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    >
    In the access-Log of the Admin-Server the following line appears
    my IP - - [30/Aug/2001:12:41:13 +0200] "GET
    /wl_management_internal2/Bootstrap HTTP/1.0" 404 0
    So my question: Where does this "wl_management_internal2" Application
    come from?
    Do I have to install some special things when I start an Admin-Server?
    thanks
    Falko Zurell . Webmaster
    Pixelpark AG . http://www.pixelpark.com
    Rotherstrasse 8 . 10245 Berlin . Germany
    phone: + 49 30 5058 - 1963 . fax: -1600

  • Authentication problem w MDB on WL8.1 and JMS Queue on WL6.1

              Hi,
              I'm having problems with a MessageDrivenBean that is deployed on a Weblogic 8.1
              server. It listens to a JMS Queue on a Weblogic 6.1 server.
              I'm getting the following error message upon deployment:
              [java.lang.SecurityException: Authentication for user system denied in realm wl_realm
              I've made sure that both servers are installed with the user "system" and a password
              of "password".
              This worked fine for two WL6.1 servers.
              Here's my ejb-jar.xml:
              <!DOCTYPE ejb-jar PUBLIC
              '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
              'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
              <ejb-jar>
                  <enterprise-beans>
                      <message-driven>
                          <ejb-name>WebResponseJMSBean</ejb-name>
                          <ejb-class>com.ditech.webresponse.jms.WebResponseJMSBean</ejb-class>
                          <transaction-type>Container</transaction-type>
                          <message-driven-destination>
                              <destination-type>javax.jms.Queue</destination-type>
                          </message-driven-destination>
                      </message-driven>
                  </enterprise-beans>
                  <assembly-descriptor>
                      <container-transaction>
                          <description>Transaction attributes for 'WebResponseJMSBean' methods</description>
                          <method>
                              <ejb-name>WebResponseJMSBean</ejb-name>
                              <method-name>*</method-name>
                          </method>
                          <trans-attribute>NotSupported</trans-attribute>
                      </container-transaction>
                  </assembly-descriptor>
              </ejb-jar>
              Here's my weblogic-ejb-jar.xml:
              <?xml version="1.0"?>
              <!DOCTYPE weblogic-ejb-jar PUBLIC
              '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN'
              'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
              <weblogic-ejb-jar>
                  <weblogic-enterprise-bean>
                      <ejb-name>WebResponseJMSBean</ejb-name>
                      <message-driven-descriptor>
                          <destination-jndi-name>com.ditech.jms.CowResponseQueue</destination-jndi-name>
                          <provider-url>t3://localhost:7003</provider-url>
                          <connection-factory-jndi-name>com.ptp.jms.AppOnlineConnectionFactory</connection-factory-jndi-name>
                      </message-driven-descriptor>
                      <jndi-name>ejb/WebResponseJMSBean</jndi-name>
                  </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              Can anyone give me any suggestions?
              Thanks in advance,
              -Ben
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

              We are facing a similar issue, between MDB's and JMS Queues on 2 separated WebLogic
              8.1 domains. What I will test next week are:
              1. In the domain where my MDB's are deployed, configure Foreign JMS Servers/Connection
              Factories/Queues, for which passwords can be specified (not possible in weblogic-ejb-jar.xml)
              2. If No.1 does not work, I will add CredentialGenerated="false" in <SecurityConfiguration>
              in config.xml in both domains
              3. If No. 2 still does not work, I will specify run-as principal and security-role
              in my MDB DD files, and specify CredentialMapping via the WebLogic admin console.
              Maybe you can try the same?
              Eric Ma
              "B Liu" <[email protected]> wrote:
              >
              >Hi,
              >
              >I'm having problems with a MessageDrivenBean that is deployed on a Weblogic
              >8.1
              >server. It listens to a JMS Queue on a Weblogic 6.1 server.
              >
              >I'm getting the following error message upon deployment:
              >
              >[java.lang.SecurityException: Authentication for user system denied in
              >realm wl_realm
              >
              >I've made sure that both servers are installed with the user "system"
              >and a password
              >of "password".
              >
              >This worked fine for two WL6.1 servers.
              >
              >Here's my ejb-jar.xml:
              >
              ><!DOCTYPE ejb-jar PUBLIC
              >
              >'-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
              >
              >'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
              >
              >
              ><ejb-jar>
              >
              >    <enterprise-beans>
              >
              >        <message-driven>
              >
              >            <ejb-name>WebResponseJMSBean</ejb-name>
              >            <ejb-class>com.ditech.webresponse.jms.WebResponseJMSBean</ejb-class>
              >            <transaction-type>Container</transaction-type>
              >            <message-driven-destination>
              >                <destination-type>javax.jms.Queue</destination-type>
              >            </message-driven-destination>
              >
              >        </message-driven>
              >
              >    </enterprise-beans>
              >
              >    <assembly-descriptor>
              >
              >        <container-transaction>
              >
              >            <description>Transaction attributes for 'WebResponseJMSBean'
              >methods</description>
              >            <method>
              >                <ejb-name>WebResponseJMSBean</ejb-name>
              >                <method-name>*</method-name>
              >            </method>
              >            <trans-attribute>NotSupported</trans-attribute>
              >
              >        </container-transaction>
              >
              >    </assembly-descriptor>
              >
              ></ejb-jar>
              >
              >Here's my weblogic-ejb-jar.xml:
              >
              ><?xml version="1.0"?>
              >
              >
              >
              ><!DOCTYPE weblogic-ejb-jar PUBLIC
              >
              >'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN'
              >
              >'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
              >
              >
              ><weblogic-ejb-jar>
              >
              >    <weblogic-enterprise-bean>
              >
              >        <ejb-name>WebResponseJMSBean</ejb-name>
              >
              >        <message-driven-descriptor>
              >
              >            <destination-jndi-name>com.ditech.jms.CowResponseQueue</destination-jndi-name>
              >            <provider-url>t3://localhost:7003</provider-url>
              >            <connection-factory-jndi-name>com.ptp.jms.AppOnlineConnectionFactory</connection-factory-jndi-name>
              >        </message-driven-descriptor>
              >
              >        <jndi-name>ejb/WebResponseJMSBean</jndi-name>
              >
              >    </weblogic-enterprise-bean>
              >
              ></weblogic-ejb-jar>
              >
              >
              >Can anyone give me any suggestions?
              >
              >Thanks in advance,
              >-Ben
              >
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  • 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???

  • Problem in loading the WL6.1 Examples Web Applications

    While the server 6.1 is starting, an error message is displayed in the DOS window.
    19.10.2001 14:28:28 CEST> <Debug> <HTTP> <Could not resolve entity "-//BEA Systems, Inc.//DTD Web Application 6.1//EN". Check
    your dtd reference.>
    <19.10.2001 14:28:30 CEST> <Error> <HTTP> <[examplesWebApp] Error reading Web application "C:\bea\wlserver6.1\config\examples\a
    pplications\examplesWebApp"
    java.net.UnknownHostException: www.bea.com
    It sounds to be related with the web.xml file. I thank you by advance for your help.
    Cheers

    Hi there,
    Many thanks for your answer. I am fine but I am sure I will be even more fine
    when I solve this technical issue.
    I checked the weblogic.xml file as you suggested and it is OK.
    I even tried to access the URL "http://www.bea.com/servers/wls610/dtd/weblogic-web-jar.dtd"
    with IE5. I had some doubt regarding our corportate proxy. But it worked fine.
    I can access successfully the dtd with a browser. I really don't see what is going
    wrong. I attached in case of the weblogic.xml file for your examination.
    Here is an extract of the error message displayed in the DOS window.
    <23.10.2001 13:52:50 CEST> <Info> <J2EE> <Deployed : DefaultWebApp>
    <23.10.2001 13:52:50 CEST> <Info> <HTTP> <[HTTP examplesServer] Loading web app:
    examplesWebApp>
    <23.10.2001 13:52:50 CEST> <Info> <HTTP> <[examplesServer] Loading "examplesWebApp"
    from directory: "C:\bea\wlserver6.1\config\
    examples\applications\examplesWebApp">
    <23.10.2001 13:52:50 CEST> <Warning> <HTTP> <servlet DisplaySetToPage is referenced
    but not defined in web.xml>
    <23.10.2001 13:52:50 CEST> <Debug> <HTTP> <Could not resolve entity "//BEA Systems,
    Inc.//DTD Web Application 6.1//EN". Check y
    our dtd reference.>
    <23.10.2001 13:52:52 CEST> <Error> <HTTP> <[examplesWebApp] Error reading Web
    application "C:\bea\wlserver6.1\config\examples\a
    pplications\examplesWebApp"
    java.net.UnknownHostException: www.bea.com
    at java.net.InetAddress.getAllByName0(InetAddress.java:571)
    etc....
    Could the origin of my problem come from the aforementionned error message "<servlet
    DisplaySetToPage is referenced but not defined in web.xml>" ?
    I thank you once again by advance for your help and support.
    Cheers
    Athmani H.
    BEA Weblogic Support <[email protected]> wrote:
    Hi Athmani
    Greetings...!
    How are you doing?.
    Weblogic 6.1 examples web application, examplesWebApp, should have the
    below given DOCTYPE in the weblogic.xml.
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application
    6.1//EN"
    "http://www.bea.com/servers/wls610/dtd/weblogic-web-jar.dtd">
    Please check that.
    Thanks & Regards
    BEA Systems Supoport
    Athmani wrote:
    While the server 6.1 is starting, an error message is displayed inthe DOS window.
    19.10.2001 14:28:28 CEST> <Debug> <HTTP> <Could not resolve entity"-//BEA Systems, Inc.//DTD Web Application 6.1//EN". Check
    your dtd reference.>
    <19.10.2001 14:28:30 CEST> <Error> <HTTP> <[examplesWebApp] Error readingWeb application "C:\bea\wlserver6.1\config\examples\a
    pplications\examplesWebApp"
    java.net.UnknownHostException: www.bea.com
    It sounds to be related with the web.xml file. I thank you by advancefor your help.
    Cheers
    [weblogic.xml]

  • [WL6.1 SP2] RMI and Serialization problems

    Greetings. I've got a strange question.
    I have a rather large object graph that's produced by an EJB. This
    object graph is then serialized and sent across the network to a waiting
    client, or is passed to the web tier.
    The object graph is of variable size, but huge in any case - some
    examples are 10 megs in size when serialized to disk.
    The big problem is that it takes a lot of ram to serialize this object
    to push it over the network. Now, this wouldn't be a big problem (because
    objects are not requested very often), but for the fact that weblogic
    doesn't seem to release the memory for these objects after the serialization
    takes place.
    Is there some way to make sure that the object stream is closed after
    the object is sent, so the memory can be GC'd for other processes? We're
    currently giving the server about 600 Megs of ram max for the heap (the
    server is a ES40 dual), and the server can die in a matter of hours.
    Would SP3 help things at all?
    Is there some way to force memory cleanup?
    Thanks!
    -Jim Nemesh

    "Jim Nemesh" <[email protected]> writes:
    The big problem is that it takes a lot of ram to serialize this object
    to push it over the network. Now, this wouldn't be a big problem (because
    objects are not requested very often), but for the fact that weblogic
    doesn't seem to release the memory for these objects after the serialization
    takes place.This sounds like a bug, although if you leave any reference to the
    object it will not get GC'd. Are nulling out all your references after
    you are done with the object?
    Is there some way to make sure that the object stream is closed after
    the object is sent, so the memory can be GC'd for other processes? We're
    currently giving the server about 600 Megs of ram max for the heap (the
    server is a ES40 dual), and the server can die in a matter of hours.If the stream is not being closed then its a bug.
    Would SP3 help things at all?
    Is there some way to force memory cleanup?Garbage collection should do this.
    andy

  • Clustering with wl6.1 - Problems

    Hi,
              After reading a bit about clustering with weblogic 6.1 (and thanks to
              this list), I have done the following:
              1. Configure machines - two boxes (Solaris and Linux).
              2. Configure servers - weblogic 6.1 running on both at port 7001.
              3. Administration server is Win'XP. Here is the snippet of config.xml
              on the Administration Server:
              <Server Cluster="MyCluster" ListenAddress="192.168.1.239"
              Machine="dummy239" Name="wls239">
              <Log Name="wls239"/>
              <SSL Name="wls239"/>
              <ServerDebug Name="wls239"/>
              <KernelDebug Name="wls239"/>
              <ServerStart Name="wls239"/>
              <WebServer Name="wls239"/>
              </Server>
              <Server Cluster="MyCluster" ListenAddress="192.168.1.131"
              Machine="dummy131" Name="wls131">
              <Log Name="wls131"/>
              <SSL Name="wls131"/>
              <ServerDebug Name="wls131"/>
              <KernelDebug Name="wls131"/>
              <ServerStart Name="wls131"
              OutputFile="C:\bea\wlserver6.1\.\config\NodeManagerClientLogs\wls131\startserver_1029504698175.log"/>
              <WebServer Name="wls131"/>
              </Server>
              Problems:
              1. I can't figure out how I set the "OutputFile" parameter for the
              server "wls131".
              2. I have NodeManager started on 131 listening on port 5555. But when
              I try to start server "wls131" from the Administration Server, I get
              the following error:
              <Aug 16, 2002 6:56:58 AM PDT> <Error> <NodeManager> <Could not start
              server 'wls131' via Node Manager - reason: '[SecureCommandInvoker:
              Could not create a socket to the NodeManager running on host
              '192.168.1.131:5555' to execute command 'online null', reason:
              Connection refused: connect. Ensure that the NodeManager on host
              '192.168.1.131' is configured to listen on port '5555' and that it is
              actively listening]'
              Any help will be greatly appreciated.
              TIA,
              

    I have made some progress:
              1. The environment settings on 131 were missing. I executed setEnv.sh
              to setup the required environment variables.
              2. nodemanager.hosts (on 131) had the following entries earlier:
                   # more nodemanager.hosts
                   127.0.0.1
                   localhost
                   192.168.1.135
              I changed it to:
                   #more nodemanager.hosts
                   192.168.1.135
              3. The Administration Server (135) did not have any listen Address
              defined (since it was working without it), but since one of the errors
              thrown by NodeManager on 131 was - "could not connect to
              localhost:70001 via HTTP", I changed the listen Address to
              192.168.1.135 (instead of the null).
              4. I deleted all the logs (NodeManagerInternal logs on 131) and all
              log files on NodeManagerClientLogs on 135.
              5. Restarted Admin Server. Restarted NodeManager on 131.
              NodeManagerInternalLogs on 131 has:
                   [root@]# more NodeManagerInternal_1029567030003
                   <Aug 17, 2002 12:20:30 PM IST> <Info> <NodeManager> <Setting
              listenAddress to '1
                   92.168.1.131'>
                   <Aug 17, 2002 12:20:30 PM IST> <Info> <NodeManager> <Setting
              listenPort to '5555
                   '>
                   <Aug 17, 2002 12:20:30 PM IST> <Info> <NodeManager> <Setting WebLogic
              home to '/
                   home/weblogic/bea/wlserver6.1'>
                   <Aug 17, 2002 12:20:30 PM IST> <Info> <NodeManager> <Setting java
              home to '/home
                   /weblogic/jdk1.3.1_03'>
                   <Aug 17, 2002 12:20:33 PM IST> <Info>
              <[email protected]:5555> <SecureSo
                   cketListener: Enabled Ciphers >
                   <Aug 17, 2002 12:20:33 PM IST> <Info>
              <[email protected]:5555> <TLS_RSA_
                   EXPORT_WITH_RC4_40_MD5>
                   <Aug 17, 2002 12:20:33 PM IST> <Info>
              <[email protected]:5555> <SecureSo
                   cketListener: listening on 192.168.1.131:5555>
                   And the wls131 logs contain:
                   [root@dummy131 wls131]# more config
                   #Saved configuration for wls131
                   #Sat Aug 17 12:24:42 IST 2002
                   processId=18437
                   savedLogsDirectory=/home/weblogic/bea/wlserver6.1/NodeManagerLogs
                   classpath=NULL
                   nodemanager.debugEnabled=false
                   TimeStamp=1029567282621
                   command=online
                   java.security.policy=NULL
                   bea.home=NULL
                   weblogic.Domain=domain
                   serverStartArgs=NULL
                   weblogic.management.server=192.168.1.135\:7001
                   RootDirectory=NULL
                   nodemanager.sslEnabled=true
                   weblogic.Name=wls131
                   The error generated for the client (131) was:
                   [root@dummy131 wls131]# more wls131_error.log
                   The WebLogic Server did not start up properly.
                   Exception raised:
                   java.lang.ClassCastException:
              weblogic.security.acl.DefaultUserInfoImpl
                   <<no stack trace available>>
                   --------------- nested within: ------------------
                   weblogic.management.configuration.ConfigurationException:
              weblogic.security.acl.
                   DefaultUserInfoImpl - with nested exception:
                   [java.lang.ClassCastException:
              weblogic.security.acl.DefaultUserInfoImpl]
                   at weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:1042)
                   at weblogic.management.Admin.start(Admin.java:381)
                   at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:373)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
                   at weblogic.Server.main(Server.java:35)
                   Reason: Fatal initialization exception
                   and the output on the admin server (135) is:
                   <Aug 17, 2002 12:24:42 PM IST> <Info>
              <[email protected]:5555> <BaseProcessControl: saving process
              id of Weblogic Managed server 'wls131', pid: 18437>
                   Starting WebLogic Server ....
                   Connecting to http://192.168.1.135:7001...
                   <Aug 17, 2002 12:24:50 PM IST> <Emergency> <Configuration Management>
              <Errors detected attempting to connect to admin server at
              192.168.1.135:7001 during initialization of managed server (
              192.168.1.131:7001 ). The reported error was: <
              weblogic.security.acl.DefaultUserInfoImpl > This condition generally
              results when the managed and admin servers are using the same listen
              address and port.>
                   <Aug 17, 2002 12:24:50 PM IST> <Emergency> <Server> <Unable to
              initialize the server: 'Fatal initialization exception
                   Throwable: weblogic.management.configuration.ConfigurationException:
              weblogic.security.acl.DefaultUserInfoImpl - with nested exception:
                   [java.lang.ClassCastException:
              weblogic.security.acl.DefaultUserInfoImpl]
                   java.lang.ClassCastException:
              weblogic.security.acl.DefaultUserInfoImpl
                   <<no stack trace available>>
                   --------------- nested within: ------------------
                   weblogic.management.configuration.ConfigurationException:
              weblogic.security.acl.DefaultUserInfoImpl - with nested exception:
                   [java.lang.ClassCastException:
              weblogic.security.acl.DefaultUserInfoImpl]
                   at weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:1042)
                   at weblogic.management.Admin.start(Admin.java:381)
                   at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:373)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
                   at weblogic.Server.main(Server.java:35)
                   '>
                   The WebLogic Server did not start up properly.
                   Exception raised:
                   java.lang.ClassCastException:
              weblogic.security.acl.DefaultUserInfoImpl
                   <<no stack trace available>>
                   --------------- nested within: ------------------
                   weblogic.management.configuration.ConfigurationException:
              weblogic.security.acl.DefaultUserInfoImpl - with nested exception:
                   [java.lang.ClassCastException:
              weblogic.security.acl.DefaultUserInfoImpl]
                   at weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:1042)
                   at weblogic.management.Admin.start(Admin.java:381)
                   at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:373)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
                   at weblogic.Server.main(Server.java:35)
                   Reason: Fatal initialization exception
              6. Now from the client (131) error, I thought it was something to do
              with security. So I tried to start weblogic manually (connected as the
              same user). Curiosly enough, it does start (it threw some errors for
              some EJBs, but I got the final message):
                   <Aug 17, 2002 12:30:39 PM IST> <Notice> <WebLogicServer>
              <ListenThread listening on port 7001>
                   <Aug 17, 2002 12:30:39 PM IST> <Notice> <WebLogicServer>
              <SSLListenThread listening on port 7002>
                   <Aug 17, 2002 12:30:40 PM IST> <Notice> <WebLogicServer> <Started
              WebLogic Admin Server "myserver" for domain "mydomain" running in
              Production Mode>
              7. As you can see the domain on the client (131) is "mydomain". But
              shouldn't the Admin server be 192.168.1.135, since this is what I have
              configured for the NodeManager? Or is it that the error occurs because
              the Admin server Node Manager is configured to work with is 135, while
              in the default scripts the admin server is itself? I'm confused :-)
              Help, anyone?
              

  • Where's the problem in my jsp including Chinese string in WL6.0sp1

              hi,
              my code and appear error as follows, pls help
              code:
              <HTML>
              <title>&#27880;&#20876;</title>
              <BODY BGCOLOR="#FFFFFF" >
              <%@ page language="java" contentType="text/html; charset=gb2312" import="java.util.*"
              %>
              <%
                   String temp="&#27979;&#35797;&#27979;&#35797;";
                   //String test="this is a test";
                   if (true) {
                        temp="333333333333333";
                        out.println("----------it's true----------");
                   } else {
                        out.println("----------it's false------");
              %>
              </BODY>
              </HTML>
              error
              Parsing of JSP File '/yjx_test/yangtestSubmit.jsp' failed:
              /yjx_test/yangtestSubmit.jsp(8): scriptlet close brace '}' unbalanced at line
              8 which breaks scope '_base_service_scope_'
              probably occurred due to an error in /yjx_test/yangtestSubmit.jsp line 8:
              //String test="this is a test";
              Wed May 02 10:34:17 CST 2001
              

              Just tested, Your JSP works fine on my Weblogic 6 SP1 server with W2K (English
              version), too.
              "Jinxia Yang" <[email protected]> wrote:
              >
              >yes, my code works fine in weblogic5.1 on my computer, my OS is W2k Chinese
              >version,
              >so i think may be there are bugs in wl6.0sp1.
              >thanks very much.
              >
              >"Xiang Rao" <[email protected]> wrote:
              >>
              >>I have copy-and-pasted your code to my machine. You code works fine
              >on
              >>my machine,
              >>with both Weblogic 6 (no sp1) and weblogic 5.1. My OS is W2k professional,
              >>English
              >>version.
              >>
              >>
              >>"Javaapple" <[email protected]> wrote:
              >>>
              >>>hi,
              >>>my code and appear error as follows, pls help
              >>>code:
              >>><HTML>
              >>><title>&#27880;&#20876;</title>
              >>><BODY BGCOLOR="#FFFFFF" >
              >>><%@ page language="java" contentType="text/html; charset=gb2312" import="java.util.*"
              >>>%>
              >>>
              >>><%
              >>>     String temp="&#27979;&#35797;&#27979;&#35797;";
              >>>     //String test="this is a test";
              >>>
              >>>     if (true) {
              >>>          temp="333333333333333";
              >>>          out.println("----------it's true----------");
              >>>     } else {
              >>>          out.println("----------it's false------");
              >>>     }
              >>>%>
              >>></BODY>
              >>></HTML>
              >>>
              >>>error
              >>>Parsing of JSP File '/yjx_test/yangtestSubmit.jsp' failed:
              >>>--------------------------------------------------------------------------------
              >>> /yjx_test/yangtestSubmit.jsp(8): scriptlet close brace '}' unbalanced
              >>>at line
              >>>8 which breaks scope '_base_service_scope_'
              >>>probably occurred due to an error in /yjx_test/yangtestSubmit.jsp line
              >>>8:
              >>>//String test="this is a test";
              >>>--------------------------------------------------------------------------------
              >>>Wed May 02 10:34:17 CST 2001
              >>
              >
              

  • Problem with WL6.0 IIS plug in

    I upgraded weblogic server from 4.51 to 6.0. I found out that WL6.0 IIS plug in
    resets a HTTP post request when the size of post data is over 4k. The below is
    my iisproxy.ini. It works fine wihe WL4.51. Is there any entry I need to add to
    iisproxy.ini for WL6.0 plug in.
    WebLogicHost=192.168.0.88
    WebLogicPort=7001
    ConnectTimeoutSecs=30
    ConnectRetrySecs=15
    Thanks,
    Taohe

    try "FileCaching=OFF"
    for more info:
    http://bernal.beasys.com/release/docs61/adminguide/plugin_params.html
    thanks
    Jong
    "taohe" <[email protected]> wrote:
    >
    I upgraded weblogic server from 4.51 to 6.0. I found out that WL6.0
    IIS plug in
    resets a HTTP post request when the size of post data is over 4k. The
    below is
    my iisproxy.ini. It works fine wihe WL4.51. Is there any entry I need
    to add to
    iisproxy.ini for WL6.0 plug in.
    WebLogicHost=192.168.0.88
    WebLogicPort=7001
    ConnectTimeoutSecs=30
    ConnectRetrySecs=15
    Thanks,
    Taohe

  • Installing problems with wl6.0 on redhat7.1

    Hi!I'm writing this, 'cause I've been trying several times to install WebLogic 6.0 on RedHat 7.1, but when I execute "sh weblogic 600....bin", I'm getting the message "tmp/install.dir.... /java : /usr/bin/cut: No such file file or directorytmp/install.dir.... /java: can not load shared libraries"if someone have any idea of what's the problem, please send a mail to [email protected] or [email protected]

    Well the first line of the message is human readable...
         /usr/bin/cut : no such file or directory
    Because it's not there in RedHat 7.1.
    If you do a
         whereis cut
    ...you'll get /bin/cut
    So, create a symbolink link
         ln -s /bin/cut /usr/bin/cut
    Adrien Beau - Stagiaire GDET
    Bureau C608 - Poste 6119

  • Problems with WL6.1 SP4

    Hi All,
    I have an instance of WLServer 6.1 SP4 running as a Windows 2000 Service.
    Otherwiswe I configure logging (general) to show messages (Stdout severity threshold: info) in my own log file.
    Here's the problem: I'm not able to log trace messages (like System.out or Exception.printStackTrace) to this log file.
    Is it possible to do it?
    Thanks in advance.

    Hi,
    You can also check the following url for more information on the issues
    fixed in Service pack 2
    WebLogic Server 6.1 Service Pack 2 Solutions
    http://e-docs.bea.com/wls/docs61/////notes/bugfixes2.html#1121521
    Thanks
    [email protected] wrote:
    where can we search for known problems/bugs in WL 6.1?

Maybe you are looking for

  • Combining Multiple Hard Drives

    If I have a lot of data that needs to be split between multiple hard drives, is there any way of installing the drives but having the OS treat them as a single drive? The idea being that my file system would be just as easy to manage but I could have

  • Acrobat 8 Pro crashes on opening anything...

    As part of CS3 Suite, says "Acrobat 8 Prof cannot be launched at this time.  You must launch at least one other suite component (such as Photoshop) before launching Acrobat 8" Photoshop is/was open already.  Should I uninstall and reinstall?  There d

  • C# Webbrowser using VLCplugin to play online audio stream

    Hello all, I have been trying to get the VLC to play a audio stream from a URL address. I created a forms application and added a webbroswer from the toolbox. I can navigate no problem but if I goto a link like http://audio.wgbh.org/otherWaysToListen

  • Language Installation

    HI All, I had installed Thai, Russian language in my ECC 6.0. After installation when I logon with Thai language, at that time the standart sap text are converted in Thai language. But when I view any Data its display in English language. So I want t

  • Clarification on new feature in OBIEE 10.1.3.4 - Metadata Dictionary

    Hi, I need clarification on this new feature "Metadata Dictionary" available in 10.1.3.4. This is documented in the OBIEE NEw Feature Guide, http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416.pdf, page 17. I have a potential customer who