EJB Redeploy in 8.1

Hi,
There is a way to redeploy only 1 ejb module inside in an ear
using the ant task?
I mean that if I chaged a method inside an ejb I don't want to redeploy
the whole ear because it's really big.
Thanks,
Avi

java weblogic.BuildXMLGen will generate build scripts for you that have all
these targets in place, try it out for youself, in the mean tim here is an
example of one.
Cheers
mbg
<!-- Redeploys just helloEJB of the application -->
<target name="redeploy.helloEJB" description="Redeploys just the helloEJB
module of the application">
<wldeploy user="${user}" password="${password}"
action="redeploy" targets="helloEJB@${serverName}"
name="simpleEAR" />
</target>
"Avi" <[email protected]> wrote in message news:[email protected]..
Hi,
There is a way to redeploy only 1 ejb module inside in an ear
using the ant task?
I mean that if I chaged a method inside an ejb I don't want to redeploy
the whole ear because it's really big.
Thanks,
Avi

Similar Messages

  • Very Slow EJB Redeployment

    Developers at my company experience the same problem described in this
    thread, but the thread ends without any solutions or advice. Does anybody
    know more about why EJB redeployment can take such a long time?
    I am deploying the application to a single, unmanaged server in development
    mode. The application is deployed to an exploded directory. My machine
    statistics are: P4 2GHz, 756MB RAM, Win2k, WLS 7. The weblogic admin tool
    returns the following version info:
    $ java weblogic.Admin -username installadministrator -password
    installadministrator VERSION
    WebLogic Server 7.0 Thu Jun 20 11:47:11 PDT 2002 190955
    WebLogic XMLX Module 7.0 Thu Jun 20 11:58:44 PDT 2002 190955
    I attempted to do a mid-deployment thread dump, but I get the following
    error. Is there another way to get a thread dump on Windows?
    Command Prompt:
    $ java weblogic.Admin -username installadministrator -password
    installadministrator THREAD_DUMP
    Thread Dump for the Server is available on the WebLogic Server Console.
    WLS Console:
    Activate application appsdirwms_dir on myserver( Running )
    cannot dump threads on this VM:
    java.version='1.3.1_03'
    os.name='windows 2000'
    java.vendor.url='http://java.sun.com/'
    It either hasn't been tested, or is known not to work.
    Thanks,
    Dave
    Original Thread Follows
    Also "ps -ef | grep java" to see if other processes are being kicked off.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com/coherence.jsp
    Tangosol Coherence: Clustered Replicated Cache for Weblogic
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    My first guess is the server is re-running ejbc. However, I can't see
    why that would take so long.
    Next time you see this, take a thread dump (or several) of the server
    while it's happening. Post them here, and we'll have an idea what it's
    doing.
    -- Rob
    Gary Bradshaw wrote:
    Hi, folks. I hope someone has seen something similar to this,
    because I'm running out of ideas.
    One of our developers has been having trouble re-deploying
    session EJBs on WL 7.0 under Linux. He prepares the .jar on his
    local machine, coppies it to the server's ejb directory, then
    uses the WL console to redeploy it (we're not running in auto-
    deployment mode since we're using a 2-server cluster).
    Sometimes (but not always) the deployment task just hangs with
    no messages. The only thing I could do to get out of it was to
    stop and restart both the cluster and the admin server. Then
    the new EJB deploys just fine, so I don't think it's a problem
    with his .jar file.
    A few days ago it happened again around 5pm,
    so I decided to wait until the next day to work on it.
    When I checked the next day, I saw that the EJB DID redeploy,
    two hours and fifteen minutes after the deployment task started.
    I don't think there are any 135-minute timeouts in the system,
    and since these are stateless session beans, I can't imagine
    what resources they could be holding on to. There was no other
    activity on the servers after about 5:45, yet his EJB didn't
    redeploy until after 7:00.
    Any ideas on what I should be looking for?
    - gary

    The redeploy doesn't always hang, so it took me awhile to get a thread dump
    for a slow redeploy. I've also included a thread dump taken during a healthy
    redeploy. Scroll down to "ExecuteThread: '8' for queue: 'default'" to find
    the thread waiting on the deployment. At first glance, I don't notice any
    difference between the two thread dumps. Would you like me to take a sample
    of several thread dumps during the deployment process?
    Thanks, Dave
    **************** Slow Redeploy Thread Dump ************
    Activate application appsdirwms_dir on myserver( Running )
    Activate application appsdirwms_dir on myserver( Running )
    Activate application appsdirwms_dir on myserver( Running )
    Activate application appsdirwms_dir on myserver( Running )
    Activate application appsdirwms_dir on myserver( Running )
    Full thread dump Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode):
    "JDWP Transport Listener: dt_socket" daemon prio=5 tid=0x3A621E78 nid=0xb4c
    runnable [0..0]
    "SSLListenThread.Default" prio=5 tid=0x3866B618 nid=0x8d0 runnable
    [3b6cf000..3b6cfd8c]
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
    - locked <146EA738> (a java.net.PlainSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:439)
    at javax.net.ssl.impl.SSLServerSocketImpl.accept(Unknown Source)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:256)
    "ListenThread.Default" prio=5 tid=0x38EA1270 nid=0x744 runnable
    [3b68f000..3b68fd8c]
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
    - locked <146EA830> (a java.net.PlainSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:439)
    at java.net.ServerSocket.accept(ServerSocket.java:410)
    at
    weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:26)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:256)
    "Thread-8" prio=5 tid=0x38C06780 nid=0xa74 waiting on condition
    [3b64f000..3b64fd8c]
    at java.lang.Thread.sleep(Native Method)
    at
    weblogic.management.deploy.ApplicationsDirPoller.waitForTimeout(Applications
    DirPoller.jav
    a:293)
    at
    weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirP
    oller.java:22
    0)
    at
    weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:243)
    at
    weblogic.management.deploy.GenericAppPoller.run(GenericAppPoller.java:137)
    "ExecuteThread: '0' for queue: 'JMS.TimerTreePool'" daemon prio=5
    tid=0x386E1E20 nid=0xb44 in Object
    .wait() [3b60f000..3b60fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13AA5930> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13AA5930> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '3' for queue: 'JMS.TimerClientPool'" daemon prio=5
    tid=0x387A1E68 nid=0x5f0 in Obje
    ct.wait() [3b5cf000..3b5cfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13AA4DE0> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13AA4DE0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '2' for queue: 'JMS.TimerClientPool'" daemon prio=5
    tid=0x38B40E20 nid=0x8bc in Obje
    ct.wait() [3b58f000..3b58fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13AA48A8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13AA48A8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '1' for queue: 'JMS.TimerClientPool'" daemon prio=5
    tid=0x38794DD8 nid=0x8dc in Obje
    ct.wait() [3b54f000..3b54fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13AA4370> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13AA4370> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '0' for queue: 'JMS.TimerClientPool'" daemon prio=5
    tid=0x38B1A2E0 nid=0x828 in Obje
    ct.wait() [3b50f000..3b50fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13AA3E18> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13AA3E18> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "CoreHealthMonitor" daemon prio=5 tid=0x38791D48 nid=0x59c waiting on
    condition [3a4cf000..3a4cfd8c]
    at java.lang.Thread.sleep(Native Method)
    at
    weblogic.t3.srvr.CoreHealthMonitorThread.run(CoreHealthMonitorThread.java:11
    4)
    "ExecuteThread: '14' for queue: 'JmsDispatcher'" daemon prio=5
    tid=0x389938C0 nid=0x8e0 in Object.wa
    it() [3a48f000..3a48fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093630> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093630> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '13' for queue: 'JmsDispatcher'" daemon prio=5
    tid=0x388B0C08 nid=0xbc0 in Object.wa
    it() [3a44f000..3a44fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <130936A0> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <130936A0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '12' for queue: 'JmsDispatcher'" daemon prio=5
    tid=0x388B0008 nid=0xab8 in Object.wa
    it() [3a40f000..3a40fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093710> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093710> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '11' for queue: 'JmsDispatcher'" daemon prio=5
    tid=0x38720410 nid=0x6bc in Object.wa
    it() [3a3cf000..3a3cfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093780> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093780> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '10' for queue: 'JmsDispatcher'" daemon prio=5
    tid=0x38822818 nid=0x11a4 in Object.w
    ait() [3a38f000..3a38fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <130937F0> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <130937F0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '9' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x386AAAB8
    nid=0xb84 in Object.wai
    t() [3a34f000..3a34fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093860> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093860> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '8' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x38958D10
    nid=0x80c in Object.wai
    t() [3a30f000..3a30fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <130938D0> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <130938D0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '7' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x389581A8
    nid=0x968 in Object.wai
    t() [3a2cf000..3a2cfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093940> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093940> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '6' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x388D6410
    nid=0x6fc in Object.wai
    t() [3a28f000..3a28fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <130939B0> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <130939B0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '5' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x3868FA18
    nid=0x5dc in Object.wai
    t() [3a24f000..3a24fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093A20> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093A20> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '4' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x3868F818
    nid=0x71c in Object.wai
    t() [3a20f000..3a20fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093A90> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093A90> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '3' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x38693988
    nid=0x69c in Object.wai
    t() [3a1cf000..3a1cfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093B00> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093B00> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '2' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x38693020
    nid=0x8fc in Object.wai
    t() [3a18f000..3a18fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093B70> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093B70> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '1' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x386E4010
    nid=0x7f8 in Object.wai
    t() [3a14f000..3a14fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093BE0> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093BE0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '0' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x3856FE48
    nid=0x948 in Object.wai
    t() [3a10f000..3a10fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <13093C50> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <13093C50> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '2' for queue: 'weblogic.transaction.AsyncQueue'" daemon
    prio=5 tid=0x388BE008 nid=0
    x1368 in Object.wait() [3a0cf000..3a0cfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <12FD4140> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <12FD4140> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '1' for queue: 'weblogic.transaction.AsyncQueue'" daemon
    prio=5 tid=0x38704DF8 nid=0
    x8a4 in Object.wait() [3a08f000..3a08fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <12FD3BF8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <12FD3BF8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '0' for queue: 'weblogic.transaction.AsyncQueue'" daemon
    prio=5 tid=0x38754DE0 nid=0
    xbf8 in Object.wait() [3a04f000..3a04fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <12FD3690> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <12FD3690> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "Thread-5" prio=5 tid=0x38587C70 nid=0x888 in Object.wait()
    [3a00f000..3a00fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <12FD02B0> (a java.util.TaskQueue)
    at java.util.TimerThread.mainLoop(Timer.java:429)
    - locked <12FD02B0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:382)
    "ExecuteThread: '1' for queue: 'DRS'" daemon prio=5 tid=0x38717470
    nid=0x136c in Object.wait() [39fc
    f000..39fcfd8c]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <12FCFD18> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '0' for queue: 'DRS'" daemon prio=5 tid=0x38762C30 nid=0x840
    in Object.wait() [39f8f
    000..39f8fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <12FCF7E8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <12FCF7E8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "VDE Transaction Processor Thread" prio=2 tid=0x008DE040 nid=0x92c in
    Object.wait() [39f4f000..39f4f
    d8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <12716940> (a
    com.octetstring.vde.backend.standard.TransactionProcessor)
    at java.lang.Object.wait(Object.java:426)
    at
    com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(Transac
    tionProcessor
    .java:306)
    - locked <12716940> (a
    com.octetstring.vde.backend.standard.TransactionProcessor)
    at
    com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionPro
    cessor.java:1
    92)
    "ExecuteThread: '9' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x3870C190 nid=0x9e4
    in Object.wait() [39f0f000..39f0fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253F758> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F758> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '8' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x00908408 nid=0xae4
    in Object.wait() [39ecf000..39ecfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253F7C8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F7C8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '7' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x385FB370 nid=0xb30
    in Object.wait() [39e8f000..39e8fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253F838> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F838> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '6' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x38628C30 nid=0xa28
    in Object.wait() [39e4f000..39e4fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253F8A8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F8A8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '5' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x389299C8 nid=0x98c
    in Object.wait() [39e0f000..39e0fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253F918> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F918> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '4' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x385F5DB8 nid=0x8b4
    in Object.wait() [39dcf000..39dcfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253F988> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F988> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '3' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x38617C80 nid=0xbd0
    in Object.wait() [39d8f000..39d8fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253F9F8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F9F8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '2' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x385567E8 nid=0xac0
    in Object.wait() [39d4f000..39d4fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FA68> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253FA68> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '1' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x009042F8 nid=0x900
    in Object.wait() [39d0f000..39d0fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FAD8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253FAD8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '0' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5
    tid=0x3861DE20 nid=0x870
    in Object.wait() [39ccf000..39ccfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FB48> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253FB48> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'" daemon prio=5
    tid=0x3892A7D8 nid=0x134
    8 in Object.wait() [39c8f000..39c8fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FBB8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253FBB8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'" daemon prio=5
    tid=0x3859CD10 nid=0x470
    in Object.wait() [39c4f000..39c4fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FC28> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253FC28> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "TimeEventGenerator" daemon prio=5 tid=0x386775A8 nid=0x54c in Object.wait()
    [39c0f000..39c0fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FD70> (a weblogic.time.common.internal.TimeTable)
    at
    weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:272)
    - locked <1253FD70> (a weblogic.time.common.internal.TimeTable)
    at
    weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
    :139)
    at java.lang.Thread.run(Thread.java:536)
    "SpinnerRandomSource" daemon prio=5 tid=0x386B29C8 nid=0xbf0 in
    Object.wait() [39bcf000..39bcfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FDE8> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.security.SpinnerRandomBitsSource.run(SpinnerRandomBitsSource.java:6
    0)
    - locked <1253FDE8> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:536)
    "HighPriority TimeEventGenerator" daemon prio=9 tid=0x3884E9B0 nid=0xba8 in
    Object.wait() [39b8f000.
    .39b8fd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FE10> (a weblogic.time.common.internal.TimeTable)
    at
    weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:272)
    - locked <1253FE10> (a weblogic.time.common.internal.TimeTable)
    at
    weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
    :139)
    at java.lang.Thread.run(Thread.java:536)
    "ExecuteThread: '14' for queue: 'default'" daemon prio=5 tid=0x008DD008
    nid=0x784 runnable [39b4f000
    ..39b4fd8c]
    at weblogic.socket.NTSocketMuxer.getNextSocket(Native Method)
    at
    weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:544)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    "ExecuteThread: '13' for queue: 'default'" daemon prio=5 tid=0x38798FC8
    nid=0x7fc runnable [39b0f000
    ..39b0fd8c]
    at weblogic.socket.NTSocketMuxer.getNextSocket(Native Method)
    at
    weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:544)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    "ExecuteThread: '12' for queue: 'default'" daemon prio=5 tid=0x3876C568
    nid=0x7dc in Object.wait() [
    39acf000..39acfd8c]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F160> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '11' for queue: 'default'" daemon prio=5 tid=0x386566F8
    nid=0xac8 in Object.wait() [
    39a8f000..39a8fd8c]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F1D0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '10' for queue: 'default'" daemon prio=5 tid=0x38945980
    nid=0xb0c in Object.wait() [
    39a4f000..39a4fd8c]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F240> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '9' for queue: 'default'" daemon prio=5 tid=0x386F2560
    nid=0x8e8 in Object.wait() [3
    9a0f000..39a0fd8c]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F2B0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '8' for queue: 'default'" daemon prio=5 tid=0x3887E6B8
    nid=0x5d0 in Object.wait() [3
    99cf000..399cfd8c]
    at java.lang.Object.wait(Native Method)
    - waiting on <1253FE90> (a
    com.octetstring.vde.backend.standard.BackendStandard)
    at
    com.octetstring.vde.backend.standard.BackendStandard.get(BackendStandard.jav
    a:714)
    - locked <1253FE90> (a
    com.octetstring.vde.backend.standard.BackendStandard)
    at
    com.octetstring.vde.backend.BackendHandler.get(BackendHandler.java:556)
    at
    weblogic.ldap.EmbeddedLDAPConnection.search(EmbeddedLDAPConnection.java:920)
    at
    weblogic.ldap.EmbeddedLDAPConnection.search(EmbeddedLDAPConnection.java:838)
    at weblogic.entitlement.data.ldap.EData.update(EData.java:525)
    at
    weblogic.entitlement.engine.EEngine.setRoleEntitlements(EEngine.java:543)
    at
    weblogic.security.providers.authorization.DefaultRoleMapperProviderImpl.depl
    oyRole(Defaul
    tRoleMapperProviderImpl.java:208)
    at
    weblogic.security.service.RoleManager.deployRole(RoleManager.java:403)
    at
    weblogic.ejb20.internal.SecurityHelper.registerRolesWithMethod(SecurityHelpe
    r.java:346)
    at
    weblogic.ejb20.internal.SecurityHelper.registerRolesWithMethod(SecurityHelpe
    r.java:277)
    at
    weblogic.ejb20.internal.DeployerHelper.setMethodDescriptor(DeployerHelper.ja
    va:91)
    at
    weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptor(ClientD
    rivenBeanInfo
    Impl.java:795)
    at
    weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors(Client
    DrivenBeanInf
    oImpl.java:760)
    at
    weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInf
    oImpl.java:89
    9)
    at
    weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:1047)
    at
    weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1251)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContaine
    r.java:1446)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java
    :654)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java
    :552)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeplo
    yer.java:1056
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.j
    ava:724)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.ja
    va:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    "ExecuteThread: '7' for queue: 'default'" daemon prio=5 tid=0x38A7FF30
    nid=0x5cc in Object.wait() [3
    998f000..3998fd8c]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at
    weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:104)
    - locked <1253F390> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:128)
    "ExecuteThread: '6' for queue: 'default'" daemon prio=5 tid=0x38A7F928
    nid=0x135c in Object.wait() [
    3994f000..3994fd8c]
    a

  • CR040697 ClassCastException on EJB redeployment

    040697
    Fixed a ClassCastException when undeploying Message-Driven EJBs
    We are currently using weblogic 6.0 sp2. I am trying to redeploy an EAR, but I'm
    getting the following exception (stack trace below). Apparently, the site says that
    this issue was resolved in service pack 1.
    Resolved Issues
    http://e-docs.bea.com/wls/docs60//notes/bugfixes2.html
    What can I do to get redeployment working?
    Thanks,
    Justin Miranda

    Hi Justin.
    There is no stack trace attached with your original post.
    The log shows that CR040697 was integrated in SP1 of WLS6.0 already a while ago.
    Please upload the stack trace or a test case for further analysis. Again, you are
    always welcome to log a support case to us if the problem persists.
    Thanks.
    Ji Zhang
    Developer Relations Engineer
    BEA Support
    "Justin Miranda" <[email protected]> wrote:
    >
    040697
    Fixed a ClassCastException when undeploying Message-Driven EJBs
    We are currently using weblogic 6.0 sp2. I am trying to redeploy an EAR,
    but I'm
    getting the following exception (stack trace below). Apparently, the site
    says that
    this issue was resolved in service pack 1.
    Resolved Issues
    http://e-docs.bea.com/wls/docs60//notes/bugfixes2.html
    What can I do to get redeployment working?
    Thanks,
    Justin Miranda

  • Automatic ejb redeploy when deploying a webapp

    Hi all,
    I' got a problem with bea 6.1 webapp deploy/redeploy.
    When, from console, I upload the war the server undeploy and redeploy an EJB,
    then try to deploy the war.
    The ejb is used by the webapp and in the war (in WEB-INF/classes) there are the
    EJB interfaces.
    Is this correct ?
    The real problem is that I have to deploy on a 2 node cluster. Deploying from
    console automatically target the admin server, the EJB fail the redeploy and the
    webapp is not deployed on the nodes.
    I tryed to undeploy the EJB before deploying the webapp and another EJB (not related
    to the webapp, developed here, not from bea) id redeployed ! :|
    Any idea ?
    Thanks
    Lorenzo

    Lorenzo,
    Have you considered using an Enterprise Application (EAR) which includes both your web
    app and your ejbs? This way you can undeploy and redeploy at the application level and
    let the server worry about the deployment order. See:
    http://edocs.bea.com/wls/docs61/programming/packaging.html#1029830
    You can turn off the automatic deployment to the admin server. Please read:
    http://edocs.bea.com/wls/docs61/adminguide/appman.html#1029683
    I hope this helps.
    Regards,
    Velvet
    Developer Relations Engineer
    BEA Systems
    "\"lorenzo bolzani\" lorenzo.bolzani-at-ethink.it" wrote:
    Hi all,
    I' got a problem with bea 6.1 webapp deploy/redeploy.
    When, from console, I upload the war the server undeploy and redeploy an EJB,
    then try to deploy the war.
    The ejb is used by the webapp and in the war (in WEB-INF/classes) there are the
    EJB interfaces.
    Is this correct ?
    The real problem is that I have to deploy on a 2 node cluster. Deploying from
    console automatically target the admin server, the EJB fail the redeploy and the
    webapp is not deployed on the nodes.
    I tryed to undeploy the EJB before deploying the webapp and another EJB (not related
    to the webapp, developed here, not from bea) id redeployed ! :|
    Any idea ?
    Thanks
    Lorenzo

  • Problem in getting Updated EJB methods in JSC for a Same Project

    I'm Using Sun Studio Enterprise for developing EJB sets.After that i'm importing the EJB set in to JSC & using it my Project.
    If i need to add some more business methods/edit the business method i'm able to do that in the Sun Enterprise IDE.After editing the EJB ,redeploying & reimporting to JSC i couldn't get the updated version of EJB in my Current Project.
    We could be able to get the updated EJBs,if we are using it in a new project other than using it in the Previous one.
    It's being a great problem for me.Vat shall i do for this problem?Please help me,a project is in Pending stage because of this problem.
    Regards
    Kajanan

    Hi MWH@Keystroke,
    Thanks for your consideration of my problem.I also use an EJB layer built in Sun Enterprise for the backend to my Creator-based web application.My Current problem is getting the updated EJB sets to my current project.
    For Ex:
    If i add a new Business method called doSomething( ),then i should be able to get that method in JSC using FinalFacadeRemoteClient1.doSomething().
    But after typing FinalFacadeRemoteClient. , doSomething() method is not displaying.
    If i use that in a new project [Previously not used Same Session Facades]all the updated EJB business methodss are coming.I want to use updated EJBs in the project i'm already working.
    Regards
    Kajanan

  • Implementation of EJB

    I need some help with EJBs:
    I can implement a Session EJB (in the admin console) and add it with no problems in "EJB -> add Set of Session EJBs"
    I create a wrapper for that EJB (drag&drop in Page1) and use it.
    If I modify the EJB (add a method) and implement it again (after I remove the old one), I can't use the new method...it appears in the list of methods but I can't bind it to a Table for example (it returns an ArrayList).
    If I create a new project I can perfectly use that new method.
    [sorry for my awful English]
    Mono.

    Well, after hours, here is one posible solution:
    To make the JSC recognize the modification made on an EJB you should:
    - Not undeploy the old EJB, redeploy it instead.
    - In the servers tab, refresh the Set of Session EJBs that contains your EJB.
    - Drag and drop in the page one of the new methods you added, JSC will create a new EJB client.
    - Delete the old EJB Client and change the new one's id to replace it. (Do not touch any of your datasources, because if you do you will loose all your references to the EJB).
    - Clean and rebuild your project.
    - Done!. You can now use your new methods!
    Mono.
    [Thx to MAL & JPB]

  • Problem with starting WLCS

              I got this error when starting the weblogic commerce server in a cluster environment:
              ++++++++++++++++++++++++++++++++++++++++++
              n Dec 18 08:55:24 CST 2000:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB
              redeployment enabled.
              java.lang.ClassNotFoundException:
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName0(Compiled Code)
              at java.lang.Class.forName(Compiled Code)
              at weblogic.security.acl.Realm.getRealm(Realm.java:79)
              at weblogic.security.acl.Realm.getRealm(Realm.java:57)
              at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
              at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              The WebLogic Server did not start up properly.
              Exception raised: java.lang.reflect.InvocationTargetException
              java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError:
              java.lang.ClassNotFoundException:
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Error.java:50)
              at java.lang.LinkageError.<init>(LinkageError.java:43)
              at
              java.lang.IncompatibleClassChangeError.<init>(IncompatibleClassChangeError.java:43)
              at java.lang.IllegalAccessError.<init>(IllegalAccessError.java:44)
              at weblogic.security.acl.Realm.getRealm(Realm.java:86)
              at weblogic.security.acl.Realm.getRealm(Realm.java:57)
              at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
              at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              java.lang.IllegalAccessError: java.lang.ClassNotFoundException:
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Error.java:50)
              at java.lang.LinkageError.<init>(LinkageError.java:43)
              at
              java.lang.IncompatibleClassChangeError.<init>(IncompatibleClassChangeError.java:43)
              at java.lang.IllegalAccessError.<init>(IllegalAccessError.java:44)
              at weblogic.security.acl.Realm.getRealm(Realm.java:86)
              at weblogic.security.acl.Realm.getRealm(Realm.java:57)
              at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
              at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              Could anyone tell what's the problem?
              Regards,
              -Niyue
              

              I got this error when starting the weblogic commerce server in a cluster environment:
              ++++++++++++++++++++++++++++++++++++++++++
              n Dec 18 08:55:24 CST 2000:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB
              redeployment enabled.
              java.lang.ClassNotFoundException:
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName0(Compiled Code)
              at java.lang.Class.forName(Compiled Code)
              at weblogic.security.acl.Realm.getRealm(Realm.java:79)
              at weblogic.security.acl.Realm.getRealm(Realm.java:57)
              at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
              at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              The WebLogic Server did not start up properly.
              Exception raised: java.lang.reflect.InvocationTargetException
              java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError:
              java.lang.ClassNotFoundException:
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Error.java:50)
              at java.lang.LinkageError.<init>(LinkageError.java:43)
              at
              java.lang.IncompatibleClassChangeError.<init>(IncompatibleClassChangeError.java:43)
              at java.lang.IllegalAccessError.<init>(IllegalAccessError.java:44)
              at weblogic.security.acl.Realm.getRealm(Realm.java:86)
              at weblogic.security.acl.Realm.getRealm(Realm.java:57)
              at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
              at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              java.lang.IllegalAccessError: java.lang.ClassNotFoundException:
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Error.java:50)
              at java.lang.LinkageError.<init>(LinkageError.java:43)
              at
              java.lang.IncompatibleClassChangeError.<init>(IncompatibleClassChangeError.java:43)
              at java.lang.IllegalAccessError.<init>(IllegalAccessError.java:44)
              at weblogic.security.acl.Realm.getRealm(Realm.java:86)
              at weblogic.security.acl.Realm.getRealm(Realm.java:57)
              at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
              at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              Could anyone tell what's the problem?
              Regards,
              -Niyue
              

  • Database connection problem from RDBMSRealm

    Hi Everyone,
    I am implementing an application with Weblogic5.1, RDBMSRealm, Merant type 4 JDBC driver and SQL server 7.0. When I am starting
    the Weblogic server, I am getting an error as described as follows. Can anyone there give me a clue?
    As you see, I am using Merant Spy JDBC driver (for debugging).
    With this kind of driver, any JDBC calls to database server
    in the code will be displayed.
    As you know, there are a quite number of "prepareStatement" from RDBMSRealm. When the weblogic server is starting, they have to be initialized. I don't understand why it needs to make a connection for each "prepareStatement"?, and why it is still in connection mode after it is initialized?
    Thanks a lot.
    -John
    Thu Jan 18 16:01:00 EST 2001:<I> <System Props> weblogic.system.home = Ppg
    Thu Jan 18 16:01:00 EST 2001:<I> <System Props> weblogic.system.name = PpgServer
    Thu Jan 18 16:01:00 EST 2001:<I> <WebLogicServer> Loaded License : D:/weblogic/license/WebLogicLicense.xml
    Thu Jan 18 16:01:00 EST 2001:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB redeployment enabled.
    registerDriver: driver[className=com.merant.datadirect.jdbc.sqlserver.SQLServerDriver,com.merant.datadirect.jdbc.sqlserver.SQLServerDriver@d071d920]
    skipping: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@fdd92d]
    spy>> Connection accepted by SQLServer
    spy>> OK (Connection[1])
    getConnection returning driver[className=com.merant.jdbcspy.SpyDriver,com.merant.jdbcspy.SpyDriver@cee1d920]
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?
    spy>> OK (PreparedStatement[1])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries WHERE A_NA..
    spy>> OK (PreparedStatement[2])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT U_NAME, U_PASSWORD FROM users
    spy>> OK (PreparedStatement[3])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT GM_GROUP, GM_MEMBER FROM groupmembers ORDER BY GM_GROUP
    spy>> OK (PreparedStatement[4])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A..
    spy>> java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login fa..
    java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login failed. The maximum simultaneous user count of 5 licenses for this 'Standard Edition' server has been exceeded. Additional licenses should be ob
    tained and installed or you should upgrade to a full version.
    at com.merant.datadirect.jdbc.base.BaseExceptions.getException(BaseExceptions.java:72)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processErrorToken(TDSRequest.java:401)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processReplyToken(TDSRequest.java:1571)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(TDSLoginRequest.java:549)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processTokensInReply(TDSRequest.java, Compiled Code)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processReply(TDSRequest.java:1661)
    at com.merant.datadirect.jdbc.sqlserver.SQLServerImplConnection.open(SQLServerImplConnection.java:98)
    at com.merant.datadirect.jdbc.base.BaseConnection.getNewImplConnection(BaseConnection.java:405)
    at com.merant.datadirect.jdbc.base.BaseConnection.getImplConnection(BaseConnection.java:333)
    at com.merant.datadirect.jdbc.base.BaseStatement.getImplConnection(BaseStatement.java:1223)
    at com.merant.datadirect.jdbc.base.BaseStatement.getImplStatement(BaseStatement.java:1241)
    at com.merant.datadirect.jdbc.base.BasePreparedStatement.<init>(BasePreparedStatement.java:63)
    at com.merant.datadirect.jdbc.base.BaseConnection.prepareStatement(BaseConnection.java:960)
    at com.merant.jdbcspy.SpyConnection.prepareStatement(Unknown Source)
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate.prepare(RDBMSDelegate.java:116)
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:187)
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    at com.bea.ppg.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    at com.bea.ppg.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    at weblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled Code)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Unable to initialize server: com.bea.ppg.rdbmsrealm.RDBMSException: realm initialization failed, Connection.prepareStatement() failed on statement "SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A
    _NAME, A_PRINCIPAL", - with nested exception:
    [java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login failed. The maximum simultaneous user count of 5 licenses for this 'Standard Edition' server has been exceeded. Additional licenses should be o
    btained and installed or you should upgrade to a full version.]
    fatal initialization exception
    com.bea.ppg.rdbmsrealm.RDBMSException: realm initialization failed, Connection.prepareStatement() failed on statement "SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A_NAME, A_PRINCIPAL", - with
    nested exception:
    [java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login failed. The maximum simultaneous user count of 5 licenses for this 'Standard Edition' server has been exceeded. Additional licenses should be o
    btained and installed or you should upgrade to a full version.]
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:210)
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    at com.bea.ppg.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    at com.bea.ppg.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    at weblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled Code)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    D:\weblogic>goto finish
    D:\weblogic>cd Ppg
    D:\weblogic\Ppg>ENDLOCAL
    D:\weblogic\Ppg>

    John, this should be fairly easy to correct. Make sure that you are closing
    your prepared statements after you finish with then. Even if you have 3
    connections open and you don't close your statements, more connections will
    be opened to take care of need.
    Hope that this helps.
    Paul
    "John Wang" <[email protected]> wrote in message
    news:[email protected]...
    >
    All SQL server connections come from the code itself. As you see in themessage output, everytime when the server is initalizing a
    "prepareStatement(String sql)" which comes from RDBMSRealm, it is making a
    connection. When it starts the sixth, it is broken. In other words, to make
    the server start with RDMBSRealm, I have to have the number of SQL server
    licence at least the same as the number of "prepareStatement(String sql)" in
    RDBMSRrealm realm. Is my understanding correct here? Why is it still in
    connection mode after one "prepareStatement" is initialized? Any ideas?
    >
    Thanks.
    -John
    "Pete Cressman" <[email protected]> wrote:
    The same error? Hmm... the trace says:
    java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login
    failed. The maximum simultaneous user count of 5 licenses for this 'Standard
    Edition' server has been exceeded. Additional licenses should be obtained
    and installed or you should upgrade to a full version.
    >>
    Find out who is making so many connections. Sorry, that's the best I cansuggest. Good luck.
    >>
    "John Wang" <[email protected]> wrote:
    Hi Pete,
    Thanks for your help.
    As you suggested, I modified the value DEFAULT_POOL_SIZE = 2 or 1 and
    compiled it again. When I run, it still gave me the same error message. What
    could it be wrong?
    >>>
    -John
    "Pete Cressman" <[email protected]> wrote:
    RDBMSDelegates are pooled by RDBMSRealm. The connection in each
    RDBMSDelegate is held open until the class is disposed. the default pool
    size is 6. Your license is limited to 5 connections total. Modify the code
    in RDBMSRealm so DEFAULT_POOL_SIZE = 2 or 3.
    >>>>
    "John Wang" <[email protected]> wrote:
    Hi Everyone,
    I am implementing an application with Weblogic5.1, RDBMSRealm, Merant
    type 4 JDBC driver and SQL server 7.0. When I am starting
    the Weblogic server, I am getting an error as described as follows.Can anyone there give me a clue?
    >>>>>
    As you see, I am using Merant Spy JDBC driver (for debugging).
    With this kind of driver, any JDBC calls to database server
    in the code will be displayed.
    As you know, there are a quite number of "prepareStatement" fromRDBMSRealm. When the weblogic server is starting, they have to be
    initialized. I don't understand why it needs to make a connection for each
    "prepareStatement"?, and why it is still in connection mode after it is
    initialized?
    >>>>>
    Thanks a lot.
    -John
    Thu Jan 18 16:01:00 EST 2001:<I> <System Props> weblogic.system.home =Ppg
    Thu Jan 18 16:01:00 EST 2001:<I> <System Props> weblogic.system.name =PpgServer
    Thu Jan 18 16:01:00 EST 2001:<I> <WebLogicServer> Loaded License :D:/weblogic/license/WebLogicLicense.xml
    Thu Jan 18 16:01:00 EST 2001:<I> <WebLogicServer> Server loading fromweblogic.class.path. EJB redeployment enabled.
    registerDriver:driver[className=com.merant.datadirect.jdbc.sqlserver.SQLServerDriver,com.me
    rant.datadirect.jdbc.sqlserver.SQLServerDriver@d071d920]
    skipping:driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@fdd92d]
    spy>> Connection accepted by SQLServer
    spy>> OK (Connection[1])
    getConnection returningdriver[className=com.merant.jdbcspy.SpyDriver,com.merant.jdbcspy.SpyDriver@c
    ee1d920]
    >>>>>
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?
    spy>> OK (PreparedStatement[1])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentriesWHERE A_NA..
    spy>> OK (PreparedStatement[2])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT U_NAME, U_PASSWORD FROM users
    spy>> OK (PreparedStatement[3])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT GM_GROUP, GM_MEMBER FROM groupmembers ORDER BYGM_GROUP
    spy>> OK (PreparedStatement[4])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentriesORDER BY A..
    spy>> java.sql.SQLException: [MERANT][SQLServer JDBCDriver[SQLServer]Login fa..
    java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login
    failed. The maximum simultaneous user count of 5 licenses for this 'Standard
    Edition' server has been exceeded. Additional licenses should be ob
    tained and installed or you should upgrade to a full version.
    atcom.merant.datadirect.jdbc.base.BaseExceptions.getException(BaseExceptions.j
    ava:72)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processErrorToken(TDSReq
    uest.java:401)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processReplyToken(TDSReq
    uest.java:1571)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(T
    DSLoginRequest.java:549)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processTokensInReply(TDS
    Request.java, Compiled Code)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processReply(TDSRequest.
    java:1661)
    atcom.merant.datadirect.jdbc.sqlserver.SQLServerImplConnection.open(SQLServerI
    mplConnection.java:98)
    atcom.merant.datadirect.jdbc.base.BaseConnection.getNewImplConnection(BaseConn
    ection.java:405)
    atcom.merant.datadirect.jdbc.base.BaseConnection.getImplConnection(BaseConnect
    ion.java:333)
    atcom.merant.datadirect.jdbc.base.BaseStatement.getImplConnection(BaseStatemen
    t.java:1223)
    atcom.merant.datadirect.jdbc.base.BaseStatement.getImplStatement(BaseStatement
    .java:1241)
    atcom.merant.datadirect.jdbc.base.BasePreparedStatement.<init>(BasePreparedSta
    tement.java:63)
    atcom.merant.datadirect.jdbc.base.BaseConnection.prepareStatement(BaseConnecti
    on.java:960)
    at com.merant.jdbcspy.SpyConnection.prepareStatement(UnknownSource)
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate.prepare(RDBMSDelegate.java:116)
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:187)
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java
    :912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    atcom.bea.ppg.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    atcom.bea.ppg.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    atweblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    atweblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled
    Code)
    atweblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    atweblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    atweblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Unable to initialize server: com.bea.ppg.rdbmsrealm.RDBMSException:realm initialization failed, Connection.prepareStatement() failed on
    statement "SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY
    A
    _NAME, A_PRINCIPAL", - with nested exception:
    [java.sql.SQLException: [MERANT][SQLServer JDBCDriver[SQLServer]Login failed. The maximum simultaneous user count of 5licenses for this 'Standard Edition' server has been exceeded. Additional
    licenses should be o
    btained and installed or you should upgrade to a full version.]
    fatal initialization exception
    com.bea.ppg.rdbmsrealm.RDBMSException: realm initialization failed,Connection.prepareStatement() failed on statement "SELECT A_NAME,
    A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A_NAME, A_PRINCIPAL", -
    with
    nested exception:
    [java.sql.SQLException: [MERANT][SQLServer JDBCDriver[SQLServer]Login failed. The maximum simultaneous user count of 5licenses for this 'Standard Edition' server has been exceeded. Additional
    licenses should be o
    btained and installed or you should upgrade to a full version.]
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:210)
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java
    :912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    atcom.bea.ppg.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    atcom.bea.ppg.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    atweblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    atweblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled
    Code)
    atweblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    atweblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    atweblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    D:\weblogic>goto finish
    D:\weblogic>cd Ppg
    D:\weblogic\Ppg>ENDLOCAL
    D:\weblogic\Ppg>

  • Problem starting weblogic server

    Can I use third party libraries with the evaluation copy of the weblogic
    server?
    I am having problems starting the weblogic server with third party
    libraries (i.e. oralce's sqlj's translator.zip, runtime.zip and
    classes2.zip). The following exception is thrown when the server is
    initialising:
    Can someone explain what is wrong please?
    Many thanks
    Gilbert Owusu
    15:17:10 GMT 2000:<I> <System Props> weblogic.system.home = C:\weblog
    ic
    Mon Jun 19 15:17:10 GMT 2000:<I> <WebLogicServer> Loaded License :
    C:/weblogic/l
    icense/WebLogicLicense.xml
    Mon Jun 19 15:17:10 GMT 2000:<I> <WebLogicServer> Server loading from
    weblogic.c
    lass.path. EJB redeployment enabled.
    java.lang.Exception: Problem with X509 certificate: fingerprint =
    5ebfaa56b17289
    3f050b19ae79d80547, not before = Fri Apr 28 22:03:47 GMT 2000, not after
    = Sun M
    ay 28 22:03:47 GMT 2000, holder = C=US SP=California L=San Francisco
    O=BEA WebLo
    gic CN=weblogic.beasys.com [email protected] , issuer = C=US
    SP=Califor
    nia L=San Francisco O=WebLogic OU=Security CN=Demo Certificate Authority
    Email=s
    [email protected] , key = modulus length=65 exponent length=3,
    java.lang.Exc
    eption: Certificate expired or not yet valid: fingerprint =
    5ebfaa56b172893f050b
    19ae79d80547, not before = Fri Apr 28 22:03:47 GMT 2000, not after = Sun
    May 28
    22:03:47 GMT 2000, holder = C=US SP=California L=San Francisco O=BEA
    WebLogic CN
    =weblogic.beasys.com [email protected] , issuer = C=US
    SP=California L=
    San Francisco O=WebLogic OU=Security CN=Demo Certificate Authority
    Email=securit
    [email protected] , key = modulus length=65 exponent length=3
    at
    weblogic.t3.srvr.SSLListenThread.insertIntoCAChain(SSLListenThread.ja
    va:206)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java,
    Compile
    d Code)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
    at java.lang.Thread.run(Thread.java:479)
    Mon Jun 19 15:17:16 GMT 2000:<E> <SSLListenThread> Security
    Configuration Proble
    m with SSL server certificate file (C:\weblogic\myserver\democert.pem),
    java.lan
    g.Exception: Problem with X509 certificate: fingerprint =
    5ebfaa56b172893f050b19
    ae79d80547, not before = Fri Apr 28 22:03:47 GMT 2000, not after = Sun
    May 28 22
    :03:47 GMT 2000, holder = C=US SP=California L=San Francisco O=BEA
    WebLogic CN=w
    eblogic.beasys.com [email protected] , issuer = C=US
    SP=California L=Sa
    n Francisco O=WebLogic OU=Security CN=Demo Certificate Authority
    Email=security@
    weblogic.com , key = modulus length=65 exponent length=3,
    java.lang.Exception:
    Certificate expired or not yet valid: fingerprint =
    5ebfaa56b172893f050b19ae79d8
    0547, not before = Fri Apr 28 22:03:47 GMT 2000, not after = Sun May 28
    22:03:47
    GMT 2000, holder = C=US SP=California L=San Francisco O=BEA WebLogic
    CN=weblogi
    c.beasys.com [email protected] , issuer = C=US SP=California
    L=San Fran
    cisco O=WebLogic OU=Security CN=Demo Certificate Authority
    Email=security@weblog
    ic.com , key = modulus length=65 exponent length=3
    Mon Jun 19 15:17:17 GMT 2000:<I> <Security> Not listening for SSL:
    java.io.IOExc
    eption: Security Configuration Problem with SSL server certificate file
    (C:\webl
    ogic\myserver\democert.pem), java.lang.Exception: Problem with X509
    certificate:
    fingerprint = 5ebfaa56b172893f050b19ae79d80547, not before = Fri Apr 28
    22:03:4
    7 GMT 2000, not after = Sun May 28 22:03:47 GMT 2000, holder = C=US
    SP=Californi
    a L=San Francisco O=BEA WebLogic CN=weblogic.beasys.com
    [email protected]
    om , issuer = C=US SP=California L=San Francisco O=WebLogic OU=Security
    CN=Demo
    Certificate Authority [email protected] , key = modulus
    length=65 exp
    onent length=3, java.lang.Exception: Certificate expired or not yet
    valid: finge
    rprint = 5ebfaa56b172893f050b19ae79d80547, not before = Fri Apr 28
    22:03:47 GMT
    2000, not after = Sun May 28 22:03:47 GMT 2000, holder = C=US
    SP=California L=Sa
    n Francisco O=BEA WebLogic CN=weblogic.beasys.com
    [email protected] , i
    ssuer = C=US SP=California L=San Francisco O=WebLogic OU=Security
    CN=Demo Certif
    icate Authority [email protected] , key = modulus length=65
    exponent
    length=3
    Mon Jun 19 15:17:19 GMT 2000:<I> <WebLogicServer> Invoking main-style
    startup we
    blogic.jdbc.common.internal.JdbcStartup
    weblogic.jdbc.common.internal.JdbcStartu
    p
    Mon Jun 19 15:17:19 GMT 2000:<I> <JMS> Beginning startup process
    Mon Jun 19 15:17:19 GMT 2000:<I> <JMS> Init JMS Security
    Mon Jun 19 15:17:20 GMT 2000:<I> <JMS> Initializing from
    weblogic.properties
    Mon Jun 19 15:17:20 GMT 2000:<I> <JMS> Startup process complete. JMS is
    active
    Mon Jun 19 15:17:20 GMT 2000:<I> <JMS> Bound SessionPoolManager as
    weblogic.jms.
    SessionPoolManager
    Mon Jun 19 15:17:20 GMT 2000:<I> <JMS> Bound ConnectionConsumerManager
    as weblog
    ic.jms.ConnectionConsumerManager
    Mon Jun 19 15:17:21 GMT 2000:<I> <WebLogicServer> Invoking main-style
    startup RM
    I Registry weblogic.rmi.internal.RegistryImpl
    Mon Jun 19 15:17:21 GMT 2000:<I> <RMI> Registry started
    Mon Jun 19 15:17:21 GMT 2000:<I> <EJB> Enterprise JavaBeans initializing
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException:
    java.lang.NoClassDefFoundError: sql
    j/runtime/ConnectionContext
    at java.lang.ClassLoader.resolveClass0(Native Method)
    at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)
    at
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
    cClassLoader.java, Compiled Code)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:172)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:146)
    at
    weblogic.ejb.internal.EJBJarLoader.loadClass(EJBJarLoader.java:95)
    at
    weblogic.ejb.internal.EJBHomeImpl.loadClass(EJBHomeImpl.java:617)
    at weblogic.ejb.internal.EJBHomeImpl.setup(EJBHomeImpl.java:533)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.setupBeanHome(EJBDeploymentIm
    pl.java:576)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.deployBeans(EJBDeploymentImpl
    .java, Compiled Code)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.deploy(EJBDeploymentImpl.java
    :335)
    at
    weblogic.ejb.internal.EJBJarDeployment.deploy(EJBJarDeployment.java:2
    31)
    at
    weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java, Comp
    iled Code)
    at
    weblogic.ejb.internal.EJBManagerImpl.deployNew(EJBManagerImpl.java:35
    2)
    at
    weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:319)
    at
    weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at
    weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
    at java.lang.Thread.run(Thread.java:479)
    java.lang.NoClassDefFoundError: sqlj/runtime/ConnectionContext
    at java.lang.ClassLoader.resolveClass0(Native Method)
    at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)
    at
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
    cClassLoader.java, Compiled Code)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:172)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:146)
    at
    weblogic.ejb.internal.EJBJarLoader.loadClass(EJBJarLoader.java:95)
    at
    weblogic.ejb.internal.EJBHomeImpl.loadClass(EJBHomeImpl.java:617)
    at weblogic.ejb.internal.EJBHomeImpl.setup(EJBHomeImpl.java:533)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.setupBeanHome(EJBDeploymentIm
    pl.java:576)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.deployBeans(EJBDeploymentImpl
    .java, Compiled Code)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.deploy(EJBDeploymentImpl.java
    :335)
    at
    weblogic.ejb.internal.EJBJarDeployment.deploy(EJBJarDeployment.java:2
    31)
    at
    weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java, Comp
    iled Code)
    at
    weblogic.ejb.internal.EJBManagerImpl.deployNew(EJBManagerImpl.java:35
    2)
    at
    weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:319)
    at
    weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at
    weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
    at java.lang.Thread.run(Thread.java:479)
    WebLogic Server terminated with an abnormal condition of 1
    Hit return to continue...>>>>>>>>>

    It appears that you have two different problems:
    1 -- you are using an expired certificate. You should download the
    latest version of the evaluation to get a new certificate.
    2 -- you should check out the documentation on using the
    Weblogic.class.path. That is where you should put all of your user
    classes including those that you get from Oracle.
    Thanks,
    Michael
    G Owusu wrote:
    >
    Can I use third party libraries with the evaluation copy of the weblogic
    server?
    I am having problems starting the weblogic server with third party
    libraries (i.e. oralce's sqlj's translator.zip, runtime.zip and
    classes2.zip). The following exception is thrown when the server is
    initialising:
    Can someone explain what is wrong please?
    Many thanks
    Gilbert Owusu
    15:17:10 GMT 2000:<I> <System Props> weblogic.system.home = C:\weblog
    ic
    Mon Jun 19 15:17:10 GMT 2000:<I> <WebLogicServer> Loaded License :
    C:/weblogic/l
    icense/WebLogicLicense.xml
    Mon Jun 19 15:17:10 GMT 2000:<I> <WebLogicServer> Server loading from
    weblogic.c
    lass.path. EJB redeployment enabled.
    java.lang.Exception: Problem with X509 certificate: fingerprint =
    5ebfaa56b17289
    3f050b19ae79d80547, not before = Fri Apr 28 22:03:47 GMT 2000, not after
    = Sun M
    ay 28 22:03:47 GMT 2000, holder = C=US SP=California L=San Francisco
    O=BEA WebLo
    gic CN=weblogic.beasys.com [email protected] , issuer = C=US
    SP=Califor
    nia L=San Francisco O=WebLogic OU=Security CN=Demo Certificate Authority
    Email=s
    [email protected] , key = modulus length=65 exponent length=3,
    java.lang.Exc
    eption: Certificate expired or not yet valid: fingerprint =
    5ebfaa56b172893f050b
    19ae79d80547, not before = Fri Apr 28 22:03:47 GMT 2000, not after = Sun
    May 28
    22:03:47 GMT 2000, holder = C=US SP=California L=San Francisco O=BEA
    WebLogic CN
    =weblogic.beasys.com [email protected] , issuer = C=US
    SP=California L=
    San Francisco O=WebLogic OU=Security CN=Demo Certificate Authority
    Email=securit
    [email protected] , key = modulus length=65 exponent length=3
    at
    weblogic.t3.srvr.SSLListenThread.insertIntoCAChain(SSLListenThread.ja
    va:206)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java,
    Compile
    d Code)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
    at java.lang.Thread.run(Thread.java:479)
    Mon Jun 19 15:17:16 GMT 2000:<E> <SSLListenThread> Security
    Configuration Proble
    m with SSL server certificate file (C:\weblogic\myserver\democert.pem),
    java.lan
    g.Exception: Problem with X509 certificate: fingerprint =
    5ebfaa56b172893f050b19
    ae79d80547, not before = Fri Apr 28 22:03:47 GMT 2000, not after = Sun
    May 28 22
    :03:47 GMT 2000, holder = C=US SP=California L=San Francisco O=BEA
    WebLogic CN=w
    eblogic.beasys.com [email protected] , issuer = C=US
    SP=California L=Sa
    n Francisco O=WebLogic OU=Security CN=Demo Certificate Authority
    Email=security@
    weblogic.com , key = modulus length=65 exponent length=3,
    java.lang.Exception:
    Certificate expired or not yet valid: fingerprint =
    5ebfaa56b172893f050b19ae79d8
    0547, not before = Fri Apr 28 22:03:47 GMT 2000, not after = Sun May 28
    22:03:47
    GMT 2000, holder = C=US SP=California L=San Francisco O=BEA WebLogic
    CN=weblogi
    c.beasys.com [email protected] , issuer = C=US SP=California
    L=San Fran
    cisco O=WebLogic OU=Security CN=Demo Certificate Authority
    Email=security@weblog
    ic.com , key = modulus length=65 exponent length=3
    Mon Jun 19 15:17:17 GMT 2000:<I> <Security> Not listening for SSL:
    java.io.IOExc
    eption: Security Configuration Problem with SSL server certificate file
    (C:\webl
    ogic\myserver\democert.pem), java.lang.Exception: Problem with X509
    certificate:
    fingerprint = 5ebfaa56b172893f050b19ae79d80547, not before = Fri Apr 28
    22:03:4
    7 GMT 2000, not after = Sun May 28 22:03:47 GMT 2000, holder = C=US
    SP=Californi
    a L=San Francisco O=BEA WebLogic CN=weblogic.beasys.com
    [email protected]
    om , issuer = C=US SP=California L=San Francisco O=WebLogic OU=Security
    CN=Demo
    Certificate Authority [email protected] , key = modulus
    length=65 exp
    onent length=3, java.lang.Exception: Certificate expired or not yet
    valid: finge
    rprint = 5ebfaa56b172893f050b19ae79d80547, not before = Fri Apr 28
    22:03:47 GMT
    2000, not after = Sun May 28 22:03:47 GMT 2000, holder = C=US
    SP=California L=Sa
    n Francisco O=BEA WebLogic CN=weblogic.beasys.com
    [email protected] , i
    ssuer = C=US SP=California L=San Francisco O=WebLogic OU=Security
    CN=Demo Certif
    icate Authority [email protected] , key = modulus length=65
    exponent
    length=3
    Mon Jun 19 15:17:19 GMT 2000:<I> <WebLogicServer> Invoking main-style
    startup we
    blogic.jdbc.common.internal.JdbcStartup
    weblogic.jdbc.common.internal.JdbcStartu
    p
    Mon Jun 19 15:17:19 GMT 2000:<I> <JMS> Beginning startup process
    Mon Jun 19 15:17:19 GMT 2000:<I> <JMS> Init JMS Security
    Mon Jun 19 15:17:20 GMT 2000:<I> <JMS> Initializing from
    weblogic.properties
    Mon Jun 19 15:17:20 GMT 2000:<I> <JMS> Startup process complete. JMS is
    active
    Mon Jun 19 15:17:20 GMT 2000:<I> <JMS> Bound SessionPoolManager as
    weblogic.jms.
    SessionPoolManager
    Mon Jun 19 15:17:20 GMT 2000:<I> <JMS> Bound ConnectionConsumerManager
    as weblog
    ic.jms.ConnectionConsumerManager
    Mon Jun 19 15:17:21 GMT 2000:<I> <WebLogicServer> Invoking main-style
    startup RM
    I Registry weblogic.rmi.internal.RegistryImpl
    Mon Jun 19 15:17:21 GMT 2000:<I> <RMI> Registry started
    Mon Jun 19 15:17:21 GMT 2000:<I> <EJB> Enterprise JavaBeans initializing
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException:
    java.lang.NoClassDefFoundError: sql
    j/runtime/ConnectionContext
    at java.lang.ClassLoader.resolveClass0(Native Method)
    at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)
    at
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
    cClassLoader.java, Compiled Code)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:172)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:146)
    at
    weblogic.ejb.internal.EJBJarLoader.loadClass(EJBJarLoader.java:95)
    at
    weblogic.ejb.internal.EJBHomeImpl.loadClass(EJBHomeImpl.java:617)
    at weblogic.ejb.internal.EJBHomeImpl.setup(EJBHomeImpl.java:533)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.setupBeanHome(EJBDeploymentIm
    pl.java:576)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.deployBeans(EJBDeploymentImpl
    .java, Compiled Code)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.deploy(EJBDeploymentImpl.java
    :335)
    at
    weblogic.ejb.internal.EJBJarDeployment.deploy(EJBJarDeployment.java:2
    31)
    at
    weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java, Comp
    iled Code)
    at
    weblogic.ejb.internal.EJBManagerImpl.deployNew(EJBManagerImpl.java:35
    2)
    at
    weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:319)
    at
    weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at
    weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
    at java.lang.Thread.run(Thread.java:479)
    java.lang.NoClassDefFoundError: sqlj/runtime/ConnectionContext
    at java.lang.ClassLoader.resolveClass0(Native Method)
    at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)
    at
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
    cClassLoader.java, Compiled Code)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:172)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:146)
    at
    weblogic.ejb.internal.EJBJarLoader.loadClass(EJBJarLoader.java:95)
    at
    weblogic.ejb.internal.EJBHomeImpl.loadClass(EJBHomeImpl.java:617)
    at weblogic.ejb.internal.EJBHomeImpl.setup(EJBHomeImpl.java:533)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.setupBeanHome(EJBDeploymentIm
    pl.java:576)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.deployBeans(EJBDeploymentImpl
    .java, Compiled Code)
    at
    weblogic.ejb.internal.EJBDeploymentImpl.deploy(EJBDeploymentImpl.java
    :335)
    at
    weblogic.ejb.internal.EJBJarDeployment.deploy(EJBJarDeployment.java:2
    31)
    at
    weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java, Comp
    iled Code)
    at
    weblogic.ejb.internal.EJBManagerImpl.deployNew(EJBManagerImpl.java:35
    2)
    at
    weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:319)
    at
    weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at
    weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
    at java.lang.Thread.run(Thread.java:479)
    WebLogic Server terminated with an abnormal condition of 1
    Hit return to continue...>>>>>>>>>

  • SSL Server startup using RSAPrivateKey

    Hi,
    The CSR for SSL generated the PrivateKey ( xyz-key.der ), no locking password
    was provided. I used Entrust Toolkit and converted it to an RSAPrivateKey. When
    I use this file as Server Keyfile and tried starting the server, it gives an EOF
    Exception. Can anybody please tell, whether WLS support RSA style PrivateKey,
    or does it support only SSLeay PrivateKeys. You may also mail me at the address
    provided. Thanks in advance

    Hi,
    I tried this on WLS 5.1 instead and this is what I got. When I converted the (.der)
    SSLeay into (.pem) SSLeay, it is functioning good. Problem starts with RSAPvtKey
    **** SEE BELOW *****
    Tue Jan 22 16:59:02 GMT+05:30 2002:<I> <WebLogicServer> Server loading from weblogic.class.path.
    EJB
    redeployment enabled.
    java.io.EOFException
    at weblogic.security.Utils.inputByte(Utils.java:126)
    at weblogic.security.ASN1.ASN1Header.inputTag(ASN1Header.java:110)
    at weblogic.security.ASN1.ASN1Header.input(ASN1Header.java:104)
    at weblogic.security.RSAPrivateKey.input(RSAPrivateKey.java:116)
    at weblogic.security.RSAPrivateKey.<init>(RSAPrivateKey.java:85)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java, Compiled
    Code)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:869)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:140)
    at weblogic.Server.main(Server.java, Compiled Code)
    at weblogic.Server.main(Server.java:58)
    at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
    at java.lang.Thread.run(Thread.java:479)
    Tue Jan 22 16:59:05 GMT+05:30 2002:<E> <SSLListenThread> Security Configuration
    Problem with SSL ser
    ver encryption Key (d:\nilanjan files\Weblogic51\myserver\9at271-rsa.pem), java.io.EOFException
    Tue Jan 22 16:59:05 GMT+05:30 2002:<I> <Security> Not listening for SSL: java.io.IOException:
    Securi
    ty Configuration Problem with SSL server encryption Key (d:\nilanjan files\Weblogic51\myserver\9at27
    1-rsa.pem), java.io.EOFException
    Regards
    Nilanjan
    "Nilanjan" <[email protected]> wrote:
    >
    Hi Raola,
    Thanks for replying. Let me tell you what I did.
    1. Generated CSR.
    2. Applied for certificate to my own Netscape CMS.
    3. Got the signed certificate in Base64 Encoded form, and Certificate
    Chain as
    Base64 encoded PKCS#7 form.
    4. Saved the above as 2 separate file with extension (.pem )
    5. Set the filenames against the SSL initialization page using WLS console.
    The
    PrivateKey was the one generated by WLS (SSLeay).
    6. WLC Started giving error for the ServerCertChainFile. Exception was
    like "BadPadding
    or something similar".
    7. Changed the ServerCertChainFile to empty string, and started the Server.
    This seems like a bug in WLS, though )
    8. Server started properly.
    Used entrust Toolkit and converted the SSLeayPrivateKey to RSAPrivateKey
    in PEM
    format extension (.pem).
    9. Changed ServerCert to this new file, ServerCertChain still is blank.
    10. Starting the server gave EOFException.
    Please let me know whether a ServerCertChainFile is necessitated while
    starting
    WLS. If so, what are the supported formats and algorithms for both PrivateKey
    as well as Certificate Chain files.
    I would really appreciate your help.
    Regards
    Nil.
    Roula Korkmaz <[email protected]> wrote:
    Nilanjan Karfa wrote:
    Hi,
    The CSR for SSL generated the PrivateKey ( xyz-key.der ), no lockingpassword
    was provided. I used Entrust Toolkit and converted it to an RSAPrivateKey.When
    I use this file as Server Keyfile and tried starting the server, itgives an EOF
    Exception. Can anybody please tell, whether WLS support RSA style
    PrivateKey,
    or does it support only SSLeay PrivateKeys. You may also mail me atthe address
    provided. Thanks in advanceHi,
    Verify if you have the correct ServerCertificateChainFileName.
    Could you post the complete stack trace you are getting? and how you
    start WLS?
    Roula Korkmaz
    Developer Relations Engineer
    BEA Support

  • 4.51 new InitialContext never returns

    4.51 new InitialContext never returns
    When I do a "new InitialContext" in my client test program, it never
    returns
    when run on solaris or linux, it works fine on NT.
    Another symptom of the same problem is that a LIST command of
    weblogic.Admin works
    on NT but never returns on Solaris or Linux.
    VERSION and SHUTDOWN work on NT, Solaris and Linux.
    also note that on linux with ibm 1.1.8 jdk, I completely re-loaded the
    weblogic
    with only the system password changed in the weblogic.properties file
    (just to
    make sure I did not accidently put something in the properties file to
    cause
    the problem)
    here is the some raw data, I do relaize that some of these combinations
    are not certified (none of the Solaris or Linux combinations worked).
    Sun Ultra10 2.5.1 with jdk1.1.8 no service pack
    Sun Ultra10 2.5.1 with jdk1.1.8 service pack 8
    Sun Ultra10 2.5.1 with jdk1.1.7 service pack 8
    Windows NT 4.0 service pack 6a javasoft jdk1.2.2 weblogic service pack 7
    linux (redhat 6.2 with blackdown jdk1.2.2)
    linux (redhat 6.2 with ibm1.1.8 jdk)
    changes to weblogic.properties:
    weblogic.system.password=syspword
    to startup weblogic:
    export PATH=$PATH:/usr/local/jdk118/bin
    export JDK_HOME=/usr/local/jdk118
    export
    CLASSPATH=./classes:./lib/weblogicaux.jar:./myserver/serverclasses
    ./startWebLogic.sh
    code segment from client program:
    static public Context getInitialContext()
    Context returnValue = null;
    Properties p;
    p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.TengahInitialContextFactory");
    p.put(Context.PROVIDER_URL,"t3://207.112.33.206:7001");
    try
    System.out.println("getting initial context");
    returnValue = new InitialContext(p);
    System.out.println("got initial context");
    catch (NamingException ex)
    System.out.println("exception");
    System.out.println("NamingException " +
    ex.getMessage())
    ex.printStackTrace();
    catch (Exception ex)
    System.out.println("exception");
    return returnValue;
    results of running the client program:
    getting initial context
    the client program never returns
    check linux version:
    [jack@linux01 test]$ uname -a
    Linux linux01.delfour.com 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586
    unknown
    check weblogic version on NT:
    [jack@linux01 test]$ java weblogic.Admin t3://207.112.33.203:7001
    VERSION
    WebLogic Build: 4.5.1 Service Pack 7 02/16/2000 15:17:50 #63218
    check weblogic version on linux:
    [jack@linux01 test]$ java weblogic.Admin t3://localhost:7001 VERSION
    WebLogic Build: 4.5.1 09/30/1999 17:41:18 #53704
    test one: linux client to linux server:
    [jack@linux01 test]$ java weblogic.Admin t3://localhost:7001 PING 1 1
    Sending 1 ping of 1 byte.
    RTT = ~741 milliseconds, or ~741 milliseconds/packet
    test two: linux client to linux server:
    [jack@linux01 test]$ java weblogic.Admin t3://localhost:7001 LIST
    weblogic system bogus
    Setting credentials
    An AuthenticationException occurred that prevented access to the given
    name in the naming service. The username/password you supplied is not
    authorized for thi
    s operation.
    test three: linux client to linux server:
    [jack@linux01 test]$ java weblogic.Admin t3://localhost:7001 LIST
    weblogic syste
    m syspword
    Setting credentials
    after 5 minutes, still no response
    test four: linux client to NT server:
    [jack@linux01 test]$ java weblogic.Admin t3://207.112.33.203:7001 LIST
    weblogic system password
    Setting credentials
    Contents of weblogic
    fileSystem:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WL
    [email protected]:[7001,7001,7002,7002,-1]
    NameBas
    edFailOverHandler (name: weblogic.fileSystem, env:
    weblogic.jndi.Environment@806
    05d5
    ejb:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WLContext
    [email protected]:[7001,7001,7002,7002,-1]
    NameBasedFailO
    verHandler (name: weblogic.ejb, env: weblogic.jndi.Environment@80605d5
    common:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WLCont
    [email protected]:[7001,7001,7002,7002,-1]
    NameBasedFa
    ilOverHandler (name: weblogic.common, env:
    weblogic.jndi.Environment@80605d5
    jdbc:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WLContex
    [email protected]:[7001,7001,7002,7002,-1]
    NameBasedFail
    OverHandler (name: weblogic.jdbc, env: weblogic.jndi.Environment@80605d5
    jts:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WLContext
    [email protected]:[7001,7001,7002,7002,-1]
    NameBasedFailO
    verHandler (name: weblogic.jts, env: weblogic.jndi.Environment@80605d5
    server:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WLCont
    [email protected]:[7001,7001,7002,7002,-1]
    NameBasedFa
    ilOverHandler (name: weblogic.server, env:
    weblogic.jndi.Environment@80605d5
    rmi:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WLContext
    [email protected]:[7001,7001,7002,7002,-1]
    NameBasedFailO
    verHandler (name: weblogic.rmi, env: weblogic.jndi.Environment@80605d5
    jms:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WLContext
    [email protected]:[7001,7001,7002,7002,-1]
    NameBasedFailO
    verHandler (name: weblogic.jms, env: weblogic.jndi.Environment@80605d5
    jndi:
    weblogic.jndi.toolkit.ReplicatedWLContext:weblogic.jndi.toolkit.WLContex
    [email protected]:[7001,7001,7002,7002,-1]
    NameBasedFail
    OverHandler (name: weblogic.jndi, env: weblogic.jndi.Environment@80605d5
    here is the end of the weblogic traces after a single LIST on linux:
    Sun May 07 09:40:34 EDT 2000:<I> <WebLogicServer> Server loading from
    weblogic.c
    lass.path. EJB redeployment enabled.
    Sun May 07 09:40:44 EDT 2000:<I> <WebLogicServer> Event handler log
    started (reg
    id: 1)
    Sun May 07 09:40:44 EDT 2000:<I> <WebLogicServer> Invoking main-style
    startup we
    blogic.jdbc.common.internal.JdbcStartup
    weblogic.jdbc.common.internal.JdbcStartu
    p
    Sun May 07 09:40:48 EDT 2000:<S> <SSLListenThread> 2 certificate(s):
    fingerprint = 88dae49f1a3122e62e7a94a3dc76fbf0, not before = Tue Oct
    26 15:03:
    00 EDT 1999, not after = Tue Oct 24 15:03:00 EDT 2000, holder = C=US
    SP=Californ
    ia L=San Francisco O=WebLogic CN=weblogic.beasys.com
    [email protected]
    , issuer = C=US SP=California L=San Francisco O=WebLogic OU=Security
    CN=Demonstr
    ation Certificate Authority [email protected] , key = modulus =
    65 byte
    Bignum
    value=00959b5668811e78a28a018631455f5bd4f51b0e3e77b79dcb7a4c67c31a8f94b0
    4bce347b731121da27918dd36bce8f1f0b77cd7944ecbd3d517baa3a83dcce8b,
    exponent = 3 b
    yte Bignum value=010001
    fingerprint = f1c530f7211410a2220c7e9d3152b496, not before = Tue Oct
    26 14:18:
    53 EDT 1999, not after = Wed Oct 25 14:18:53 EDT 2000, holder = C=US
    SP=Californ
    ia L=San Francisco O=WebLogic OU=Security CN=Demonstration Certificate
    Authority
    [email protected] , issuer = C=US SP=California L=San
    Francisco O=WebL
    ogic OU=Security CN=Demonstration Certificate Authority
    [email protected]
    om , key = modulus = 65 byte Bignum
    value=00b6743b62ce13992324b18d8061d24457ff90
    5b7e8aaceef6bef802b6f8a1e176f9791d571f14df79e9dd40f1f8e83e9e41048f05f931fe07dc06
    2f19ac20fa93, exponent = 3 byte Bignum value=010001
    Sun May 07 09:40:48 EDT 2000:<I> <SSLListenThread> Using exportable
    strength
    SSL
    Sun May 07 09:40:50 EDT 2000:<I> <JMS> Beginning startup process
    Sun May 07 09:40:50 EDT 2000:<I> <JMS> Init JMS Security
    Sun May 07 09:40:51 EDT 2000:<I> <JMS> Startup process complete. JMS is
    active
    Sun May 07 09:40:51 EDT 2000:<I> <WebLogicServer> Invoking main-style
    startup RM
    I Registry weblogic.rmi.internal.RegistryImpl
    Sun May 07 09:40:51 EDT 2000:<I> <RMI> Registry started
    Sun May 07 09:40:52 EDT 2000:<I> <EJB> 0 EJBs were deployed using .ser
    files.
    Sun May 07 09:40:52 EDT 2000:<I> <EJB> 0 EJBs were deployed using .jar
    files.
    Sun May 07 09:40:53 EDT 2000:<I> <ZAC> ZAC ACLs initialized
    Sun May 07 09:40:53 EDT 2000:<I> <ZAC> ZAC packages stored in local
    directory ex
    ports
    Sun May 07 09:40:54 EDT 2000:<I> <ListenThread> Listening on port: 7001
    Sun May 07 09:40:57 EDT 2000:<I> <SSLListenThread> Listening on port:
    7002
    Sun May 07 09:40:58 EDT 2000:<I> <WebLogicServer> WebLogic Server
    started
    Sun May 07 09:41:09 EDT 2000:<I> <ListenThread> Adding address:
    linux01.delfour.
    com/207.112.33.206 to licensed client list
    Sun May 07 09:41:12 EDT 2000:<I> <RJVM> Creating connection to
    localhost/127.0.0
    .1 -1260680115049870327
    I hope someone can shed some light on this...
    - Rob (jack) Lapensee

    It looks like you are modifying the object you are iterating over while you are iterating... not good. Say your gp only had one element, a LINE_TO. It will run through and call another LINE_TO in the switch, thus when it comes back to the while, there is a newly added point to interpret, so the iterator will never finish. Usually, most components throw a ConcurrentModificationException when this happens for this type of case. I'm not sure why the PathIterator doesn't.
    In short, use a different reference in the loop then the one you are iterating over.
    -JBoeing

  • InvocationTargetException at weblogic.Server.startServerDynamically

    Hi,
    We installed the BEA WebLogic Server on HP-UX 11.0 and it works fine. After that, we installed the BEA Commerce Server but, when we tried to run the StartCommerce.sh command, we received the follow message:
    Thu Oct 05 19:55:13 GMT 2000:<I> <WebLogicServer> Loaded License : /u02/local/weblogic/license/WebLogicLicense.xml
    Thu Oct 05 19:55:13 GMT 2000:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB redeployment enabled.
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.NoClassDefFoundError
    Could anyone help us????
    Thanks in advance,
    German

    seems like a classpath problem to me.
    Pls post this question to commerce server group for better explanation.
    Kumar
    German Faiella wrote:
    Hi,
    We installed the BEA WebLogic Server on HP-UX 11.0 and it works fine. After that, we installed the BEA Commerce Server but, when we tried to run the StartCommerce.sh command, we received the follow message:
    Thu Oct 05 19:55:13 GMT 2000:<I> <WebLogicServer> Loaded License : /u02/local/weblogic/license/WebLogicLicense.xml
    Thu Oct 05 19:55:13 GMT 2000:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB redeployment enabled.
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.NoClassDefFoundError
    Could anyone help us????
    Thanks in advance,
    German

  • SSL Certificate problem with WL 5.1

    "We are still using WLServer 5.1 SP12
    I just installed a new certificate (request generated with WL, signed by our 'local' CA)
    I always get the following message:
    Do Okt 10 15:17:25 CEST 2002:<I> <WebLogicServer> Loaded License : /apps/weblogic/license/WebLogicLicense.xml
    Do Okt 10 15:17:25 CEST 2002:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB redeployment enabled.
    java.lang.StringIndexOutOfBoundsException: String index out of range: 15
    at java.lang.String.charAt(String.java:506)
    at weblogic.security.ASN1.ASN1Utils.parseDateInt(ASN1Utils.java:300)
    at weblogic.security.ASN1.ASN1Utils.inputASN1Date(ASN1Utils.java:292)
    at weblogic.security.X509.input(X509.java:118)
    at weblogic.security.X509.initialize(X509.java:64)
    at weblogic.security.Certificate.<init>(Certificate.java:54)
    at weblogic.security.X509.<init>(X509.java:44)
    at weblogic.t3.srvr.SSLListenThread.insertIntoCAChain(SSLListenThread.java:207)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:318)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:238)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1245)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)

    hi
    Did you solved it?
    If it is may i know how you solved it
    thanks

  • LDAPRealm and Microsoft Site Server (LDAP)

    I have problem setting up the LDAPRealm in Weblogic Commerce 2.0.1 and
    Personalisation Server connecting to a Microsoft Site Server.
    The ldaprealm.properties file is as below:
    weblogic.security.ldaprealm.url=ldap://localhost:389
    weblogic.security.ldaprealm.principal=cn=Administrator
    weblogic.security.ldaprealm.credential=password
    weblogic.security.ldaprealm.ssl=false
    weblogic.security.ldaprealm.authentication=none
    weblogic.security.ldaprealm.userAuthentication=local
    weblogic.security.ldaprealm.version=2
    weblogic.security.ldaprealm.userDN=o=test, ou=Members
    weblogic.security.ldaprealm.userNameAttribute=cn
    weblogic.security.ldaprealm.userPasswordAttribute=userpassword
    weblogic.security.ldaprealm.userCommonNameAttribute=cn
    weblogic.security.ldaprealm.groupDN=o=test, ou=Groups
    weblogic.security.ldaprealm.groupNameAttribute=cn
    weblogic.security.ldaprealm.groupIsContext=true
    weblogic.security.ldaprealm.groupUsernameAttribute=cn
    The server runs and halts at the last line of log:
    Fri Jul 28 11:58:21 GMT 2000:<I> <WebLogicServer> Server loading from
    weblogic.class.path. EJB redeployment enabled.
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> acl size = 211, pos ttl =60,
    neg ttl = 10
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> auth size = 211, pos ttl =
    60, neg ttl = 10
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> group size = 17, pos ttl =
    600, neg ttl = 600
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> perm size = 10000, pos ttl =
    600, neg ttl = 600
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> user size = 10000, pos ttl =
    600, neg ttl = 600
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> getAclOwner("weblogic")
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> rewriting ACL
    "weblogic.jdbc.connectionPool.commercePool"
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> getPermission("reserve")
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> perm: backup HAS reserve
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> getPrincipal("everyone")
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> getGroup("everyone")
    Fri Jul 28 11:58:21 GMT 2000:<D> <LDAPRealm> getGroup("everyone")
    Fri Jul 28 11:58:21 GMT 2000:<D> <LDAPRealm> search("o=telewest, ou=Groups,
    cn=everyone", "cn", "*")
    Fri Jul 28 11:58:21 GMT 2000:<D> <LDAPRealm> lookup("o=telewest, ou=Groups,
    cn=everyone")
    Fri Jul 28 11:58:21 GMT 2000:<D> <LDAPRealm> new JNDI context
    The server halted at that line. Can anyone explain that situation?
    We are sure that we could connect to the LDAP server since we have a JSP
    page connecting to the LDAP using the SUN's jndi-ldap driver. Would that be
    a LDAP version problem, if that is so, how could we set the
    "java.naming.ldap.version=2" environment variable as I have said in my JSP
    page.
    Thanks for answering.

    Yes, sorry by the mistake.
    "ramesh" <[email protected]> wrote:
    I think Johnny is trying to say : "If you change to SP9" or above...
    Try to get a copy of the ldaprealm.properties file from the unzipped
    SP8 and
    above. It is self explanatory from there. The current ldaprealm.properties
    which comes with WLS 5.1 and upto sp7 has been changed in SP8 and above.
    Yes my configuration is also same as his.
    Hope this helps.
    Ramesh
    "Johnny Valdez" <[email protected]> wrote in message
    news:3b44ebb3$[email protected]..
    I recommend you change your service pack to 9, because the 6 has someproblems
    with LDAP...
    if you change to sp6 you could use this
    ### Server type
    server.alias=microsoft
    ### Microsoft Site Server
    # This follows the default Microsoft Site Server (MSS) schema.
    microsoft.server.host=ldapserver.example.com
    microsoft.server.principal=cn=Administrator, ou=Members,o=ExampleMembershipDir
    # microsoft.server.credential=*secret*
    microsoft.user.dn=ou=Members, o=ExampleMembershipDir
    microsoft.user.filter=(&(cn=%u)(objectclass=member))
    microsoft.group.dn=ou=Groups, o=ExampleMembershipDir
    microsoft.group.filter=(&(cn=%g)(objectclass=mgroup))
    create a file ldaprealm.properties with this configuration and saveit
    into the
    Weblogic root directory.
    greetings..
    "Satya Ghattu" <[email protected]> wrote:
    Hello,
    I am trying to use an Microsoft site server as my LDAPRealm with weblogic
    5.1 sp6, but in vain. Is there anybody out there who configured microsoft
    site server with WLS sp6 and lesser? If yes, could you please post
    your
    configuaration properties?
    Thank you,
    -satya

  • LDAPRealm and Microsoft Site Server, server halting at start-up

    I have problem setting up the LDAPRealm in Weblogic Commerce 2.0.1 and
    Personalisation Server connecting to a Microsoft Site Server.
    The ldaprealm.properties file is as below:
    weblogic.security.ldaprealm.url=ldap://localhost:389
    weblogic.security.ldaprealm.principal=cn=Administrator
    weblogic.security.ldaprealm.credential=password
    weblogic.security.ldaprealm.ssl=false
    weblogic.security.ldaprealm.authentication=none
    weblogic.security.ldaprealm.userAuthentication=local
    weblogic.security.ldaprealm.version=2
    weblogic.security.ldaprealm.userDN=o=test, ou=Members
    weblogic.security.ldaprealm.userNameAttribute=cn
    weblogic.security.ldaprealm.userPasswordAttribute=userpassword
    weblogic.security.ldaprealm.userCommonNameAttribute=cn
    weblogic.security.ldaprealm.groupDN=o=test, ou=Groups
    weblogic.security.ldaprealm.groupNameAttribute=cn
    weblogic.security.ldaprealm.groupIsContext=true
    weblogic.security.ldaprealm.groupUsernameAttribute=cn
    The server runs and halts at the last line of log:
    Fri Jul 28 11:58:21 GMT 2000:<I> <WebLogicServer> Server loading from
    weblogic.class.path. EJB redeployment enabled.
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> acl size = 211, pos ttl =60,
    neg ttl = 10
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> auth size = 211, pos ttl =
    60, neg ttl = 10
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> group size = 17, pos ttl =
    600, neg ttl = 600
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> perm size = 10000, pos ttl =
    600, neg ttl = 600
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> user size = 10000, pos ttl =
    600, neg ttl = 600
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> getAclOwner("weblogic")
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> rewriting ACL
    "weblogic.jdbc.connectionPool.commercePool"
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> getPermission("reserve")
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> perm: backup HAS reserve
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> getPrincipal("everyone")
    Fri Jul 28 11:58:21 GMT 2000:<D> <CachingRealm> getGroup("everyone")
    Fri Jul 28 11:58:21 GMT 2000:<D> <LDAPRealm> getGroup("everyone")
    Fri Jul 28 11:58:21 GMT 2000:<D> <LDAPRealm> search("o=telewest, ou=Groups,
    cn=everyone", "cn", "*")
    Fri Jul 28 11:58:21 GMT 2000:<D> <LDAPRealm> lookup("o=telewest, ou=Groups,
    cn=everyone")
    Fri Jul 28 11:58:21 GMT 2000:<D> <LDAPRealm> new JNDI context
    The server halted at that line. Can anyone explain that situation?
    We are sure that we could connect to the LDAP server since we have a JSP
    page connecting to the LDAP using the SUN's jndi-ldap driver. Would that be
    a LDAP version problem, if that is so, how could we set the
    "java.naming.ldap.version=2" environment variable as I have said in my JSP
    page.
    Thanks for answering.

    Yes, sorry by the mistake.
    "ramesh" <[email protected]> wrote:
    I think Johnny is trying to say : "If you change to SP9" or above...
    Try to get a copy of the ldaprealm.properties file from the unzipped
    SP8 and
    above. It is self explanatory from there. The current ldaprealm.properties
    which comes with WLS 5.1 and upto sp7 has been changed in SP8 and above.
    Yes my configuration is also same as his.
    Hope this helps.
    Ramesh
    "Johnny Valdez" <[email protected]> wrote in message
    news:3b44ebb3$[email protected]..
    I recommend you change your service pack to 9, because the 6 has someproblems
    with LDAP...
    if you change to sp6 you could use this
    ### Server type
    server.alias=microsoft
    ### Microsoft Site Server
    # This follows the default Microsoft Site Server (MSS) schema.
    microsoft.server.host=ldapserver.example.com
    microsoft.server.principal=cn=Administrator, ou=Members,o=ExampleMembershipDir
    # microsoft.server.credential=*secret*
    microsoft.user.dn=ou=Members, o=ExampleMembershipDir
    microsoft.user.filter=(&(cn=%u)(objectclass=member))
    microsoft.group.dn=ou=Groups, o=ExampleMembershipDir
    microsoft.group.filter=(&(cn=%g)(objectclass=mgroup))
    create a file ldaprealm.properties with this configuration and saveit
    into the
    Weblogic root directory.
    greetings..
    "Satya Ghattu" <[email protected]> wrote:
    Hello,
    I am trying to use an Microsoft site server as my LDAPRealm with weblogic
    5.1 sp6, but in vain. Is there anybody out there who configured microsoft
    site server with WLS sp6 and lesser? If yes, could you please post
    your
    configuaration properties?
    Thank you,
    -satya

Maybe you are looking for

  • [REPORT] : Help to arrange the row & column.

    Dearest my Collegues. I'm facing difficult in arranging of report. Straight to the point: I've data in 1 ODS like this. Key1     Key2      Flag    Supplier    K1           1            C        Nike K1           2            C        Reebok K1       

  • A good solution to get old contact of Nokia 6230 t...

    Hi, I wanted my contact from my old sim + phone contact to be moved from my Nokia 6230 to the E71. I first tried with Nokia Suite, but the blue tooth connection did not work and I couldn't find my Nokia 6230 cable anymore. In the E71 there is an opti

  • Linking to libgcrypt results in 'libgcrypt.dylib, file is not of required'

    I recently upgraded to Snow Leopard and installed the associated developer tools. I have a Java application that calls a small native library that I wrote via the usual JNI layer. The native library I wrote uses the 'gcrypt and 'gpg-error' libraries.

  • Error in IT0764 Poortwachter - form routine check_generate

    When trying to create a record in infotype 0764 Poortwachter (parallel to an illness record in 2001), we get an error message when trying to save: “Other exception within form routine CHECK_GENERATE” Message no. 5N016 Does anyone have ideas what coul

  • How to shorting a song in itunes

    I am trying to create a animoto video and I need to shorten the minutes of a song in itunes.  How can I perminately shorten the time so the music file from itunes will be less than 4 MB? Thanks