Weblogic.jar vs wlclient.jar problems

Hi,
I have a swing client and am trying to get authentication working correctly.
A problem i am running across occurs when i try to login using empty strings.
new LoginContext("Sample", new SampleCallbackHandler("", "", server));
With weblogic.jar, no exceptions are thrown.
With wlclient.jar, this is thrown: "UsernamePasswordLoginModule Error: NamingException on authenticate, Unhandled exception in lookup"
Is this a bug, or am i doing something wrong? Thanks in advance.
Chetan

Hello Sir
Did u solve the problem
i am also getting the same problem
please help me if u found the solution

Similar Messages

  • Encoding with weblogic.jar or wlclient.jar

    I am using weblogic 9.0 on jrockit 1.5.0_03 I have an application deployed using stateless session EJB’s.
    I have a webstart client that runs on jdk1.5.0_03. When using weblogic.jar on the client side, everything runs fine.
    When using wlclient.jar on the client side, I don’t get data from the server which contains umlauts. The data are lost on the client side.
    In the direction to the server I have no problems, I can store data with umlaut. I tried already setting the default encoding on server (-Dweblogic.webservice.i18n.charset=utf-16) and client (-Dfile.encoding=utf-16), with no success.
    Any help will be appreciated.
    Thanks in advance!

    Hello Sir
    Did u solve the problem
    i am also getting the same problem
    please help me if u found the solution

  • Weblogic 12c wlclient.jar has problems

    Hi Guys,
    I'm trying to sign wlclient.jar with jarsigner & I get this error from eclipse-ant build:
    [signjar] jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: weblogic/jndi/SimpleContext$1.class
    Thanks,
    Prasad

    This seems to be a bug with weblogic 12 c , as I have tried this with both WLS 12c and WLS 10.3.5.0
    I am able to sign the wlclient.jar for WLS 10.3.5.0 but it is failing with the same exception for WLS 12C ,
    you can open a SR with oracle support.
    thanks,
    Sandeep

  • Problem in using wlclient.jar

    Hi
    I am getting a problem while doing jndi lookup .It's throwing No_permission exeption .
    I have figured out that the problem lies in using wlclient.jar as it uses iiop proptocol inside for lookup .
    We do lookup from several servers .One server needs credentials for lookup and another doesn't need .
    So the problem arises when i do a lookup with no credentials(As it's not required for a particular server) after a lookup with credentials(As it's required for that server) . These two lookups happening in same thread .
    There is no problem occuring while using only weblogic.jar .
    I think here the subject associated with a thread doesn't change when i give no credentials .
    I have tried Security.runAs(....
    But it's throwing exception Subjectmanager not installed .
    Any help ..

    Pranab Dash <> writes:
    I would raise a case with support. I can imagine lots of reasons why
    this might be, but its not obvious what is going on.
    andy
    Hi
    I am getting a problem while doing jndi lookup .It's throwing No_permission exeption .
    I have figured out that the problem lies in using wlclient.jar as it uses iiop proptocol inside for lookup .
    We do lookup from several servers .One server needs credentials for lookup and another doesn't need .
    So the problem arises when i do a lookup with no credentials(As it's not required for a particular server) after a lookup with credentials(As it's required for that server) . These two lookups happening in same thread .
    There is no problem occuring while using only weblogic.jar .
    I think here the subject associated with a thread doesn't change when i give no credentials .
    I have tried Security.runAs(....
    But it's throwing exception Subjectmanager not installed .
    Any help ..

  • Exception while a session been lookup on weblogic 10.3.3 using wlclient.jar

    Hi,
    I am upgrading to weblogic 10.3.3.
    I have a client that downloads the required to the client machines using Java web start 6.
    I am using wlclient.jar at the client side.
    When I am trying to lookup for a session bean it is throwing the below exception at the client side.
    java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at com.mbt.expert.server.util._ServerDBQueryObjectRemote_Stub.getExchangeList(Unknown Source)
    at com.mbt.expert.util.DBQueryObject.getExchangeList(DBQueryObject.java:419)
    at com.mbt.expert.view.dialogs.OpenExchangeDialog.actionPerformed(OpenExchangeDialog.java:425)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at com.mbt.expert.view.dialogs.OpenExchangeDialog.displayDialog(OpenExchangeDialog.java:606)
    at com.mbt.expert.mdi.actions.OpenExchangeAction.execute(OpenExchangeAction.java:204)
    at com.mbt.mdi.MDICommand.actionPerformed(MDICommand.java:47)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.corba.se.impl.protocol.gio pmsgheaders.MessageBase.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
    at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
    ... 80 more
    I have checked the server logs and the server is able to receive the request from the client and fetching the required details.
    I am sending these details to the client by adding to a Vector.
    I have observed one more thing, the same is working in other machine which is in another network.
    I have also tried with the other wl*.jar s but giving different exceptions.
    My server classpath consists of weblogic.jar.
    Do I have to include the client jars in my server classpath?
    Please suggest me how to resolve this.
    Please help me here :)

    Thanks for your time, :)
    I have tried all the three wl*client jars, but no use. :(
    Got the same error for wlclient.jar and wlfullclient.jar.
    And for wlt3client.jar I got some different error which is very strange...
    java.lang.AssertionError: Failed to generate class for com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
    at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:213)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:207)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:598)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1033_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:405)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.mbt.expert.mdi.ExpertVariable.getLoginSession(ExpertVariable.java:455)
    at com.mbt.expert.view.dialogs.Login.okPressed(Login.java:187)
    at com.mbt.expert.view.dialogs.Login.keyPressed(Login.java:141)
    at java.awt.Component.processKeyEvent(Unknown Source)
    at javax.swing.JComponent.processKeyEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:795)
    ... 55 more
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)
    at weblogic.utils.classloaders.AugmentableClassLoaderManager.getAugmentableClassLoader(AugmentableClassLoaderManager.java:48)
    at weblogic.rmi.internal.ClientRuntimeDescriptor.findLoader(ClientRuntimeDescriptor.java:254)
    at weblogic.rmi.internal.ClientRuntimeDescriptor.getInterfaces(ClientRuntimeDescriptor.java:132)
    at weblogic.rmi.internal.StubInfo.getInterfaces(StubInfo.java:77)
    at com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub.ensureInitialized(Unknown Source)
    at com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub.<init>(Unknown Source)
    ... 60 more
    Please tell me how can I get rid of this??

  • Principals set empty when wlclient.jar used instead of weblogic.jar

    Hi,
    I have a swing client that makes use of JAAS for security.
    When I use weblogic.jar in classpath the client works perfectly. But if I use wlclient.jar in classpath the LoginContext.login() is working fine, loginContext.getSubject() is working fine, but subject.getPrincipals() is returning a empty set. I will be using this principals to display different screens for different principals. Does any one what the solution is?
    Thanks in advance
    Danny

    With the thin client jars there is no current programmatic way that a client could ever retrieve the principals.
    Thin client uses IIOP internally and so this is currently not possible

  • OOME when doing RMI with wlclient.jar

    Hi,
    I'm calling EJB-components that are hosted on a WLS 8.1 server.
    The client uses wlclient.jar from WLS 9 distribution (WebLogic Server 9.2 Fri Jun 23 20:47:26 EDT 2006 783464) and jre 1.5.0_11.
    I get OOME at the client after doing several hundred EJB calls.
    I have checked that the client code does not leak ejb-references, initial contexts etc. I have also tried to call ejb remove and close the initialcontext and start anew but it does not help, the "com.sun.corba.se.impl.orbutil.CacheTable" still becomes the top heap consumer.
    The outline of how the program proceeds is:
    1. create initial context
    2. lookup ejb home
    3. call the create-method of a stateless session bean
    4. call some ejb business methods several hundred times
    -- here is the OOME, most often not during the ejb call, but when memory is examined the RMI-implementation objects are filling the heap
    5. call ejb remove
    6. close initial context
    So that's the problem. How could I get around this?
    I included some HPROF statistics below. HPROF made the stats immidiately after the OOME . All the top rank rows are related to RMI implementation classes, not application classes.
    Regards,
    Kari
    SITES BEGIN (ordered by live bytes) Tue Oct 06 12:02:10 2009
    percent live alloc'ed stack class
    rank self accum bytes objs bytes objs trace name
    1 10.29% 10.29% 3758560 3614 39151840 37646 310238 byte[]
    2 9.31% 19.60% 3400848 45698 3400848 45698 312167 char[]
    3 5.46% 25.06% 1994432 62326 3528256 110258 312197 com.sun.corba.se.impl.orbutil.CacheTable$Entry
    4 3.21% 28.27% 1172952 8747 1172952 8747 312066 char[]
    5 3.00% 31.27% 1096752 45698 1096752 45698 312166 java.lang.String
    6 2.90% 34.17% 1059688 6869 1089912 7103 310593 byte[]
    7 2.30% 36.47% 838592 26206 2827456 88358 312171 com.sun.corba.se.impl.orbutil.CacheTable$Entry
    8 2.19% 38.65% 798200 25112 798200 25112 306612 char[]
    9 2.02% 40.67% 738552 30773 769344 32056 310605 java.util.HashMap$Entry
    10 1.99% 42.66% 727064 6991 3915184 37646 310235 com.sun.corba.se.impl.encoding.CDROutputStream_1_2
    11 1.84% 44.50% 671712 1294 1196448 3818 312195 com.sun.corba.se.impl.orbutil.CacheTable$Entry[]
    12 1.84% 46.34% 671712 1294 1196448 3818 312196 com.sun.corba.se.impl.orbutil.CacheTable$Entry[]
    13 1.65% 48.00% 604472 6869 625064 7103 310578 com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl
    14 1.65% 49.65% 603792 25158 628680 26195 300952 java.util.HashMap$Entry
    15 1.65% 51.30% 602688 25112 602688 25112 306611 java.lang.String
    16 1.50% 52.80% 549520 6869 568240 7103 310599 com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2
    17 1.50% 54.31% 549520 6869 568240 7103 310587 java.util.HashMap$Entry[]
    18 1.44% 55.74% 524352 4 524352 4 302751 java.util.HashMap$Entry[]
    19 1.26% 57.00% 460632 3387 475592 3497 310457 com.sun.corba.se.impl.interceptors.ClientRequestInfoImpl
    20 1.21% 58.21% 441072 9189 2515152 52399 304085 java.nio.HeapByteBuffer
    21 1.05% 59.27% 385000 6875 397768 7103 310405 com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoImpl
    22 1.03% 60.29% 375120 15630 375120 15630 313808 java.lang.StackTraceElement
    23 1.00% 61.29% 364728 3507 1939496 18649 309771 com.sun.corba.se.impl.encoding.CDRInputStream_1_2
    24 0.96% 62.25% 349696 3877 5040200 58488 310969 char[]
    25 0.90% 63.15% 329712 6869 340944 7103 310231 com.sun.corba.se.impl.encoding.CDROutputObject
    26 0.77% 63.92% 279904 8747 279904 8747 312070 com.sun.corba.se.impl.orbutil.CacheTable$Entry
    27 0.75% 64.67% 275040 6876 365360 9134 304217 char[]
    28 0.75% 65.42% 274760 6869 284120 7103 310586 java.util.HashMap
    29 0.74% 66.16% 271200 3390 289920 3624 310960 java.util.HashMap$Entry[]
    30 0.74% 66.91% 271200 3390 289920 3624 310941 com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2
    31 0.74% 67.65% 271120 3389 287360 3592 311344 java.util.HashMap$Entry[]
    32 0.67% 68.32% 243984 10166 257856 10744 310884 java.util.HashMap$Entry
    33 0.67% 68.99% 243984 10166 257856 10744 310879 com.sun.corba.se.spi.servicecontext.UnknownServiceContext
    34 0.65% 69.64% 239272 2583 908696 10308 300090 char[]
    35 0.60% 70.24% 219808 6869 227296 7103 310799 com.sun.corba.se.impl.encoding.BufferManagerWriteStream
    36 0.60% 70.84% 219808 6869 227296 7103 310584 com.sun.corba.se.spi.servicecontext.ServiceContexts
    37 0.57% 71.42% 209928 8747 209928 8747 312065 java.lang.String
    38 0.56% 71.98% 205776 8574 205776 8574 313784 java.lang.StackTraceElement
    39 0.54% 72.52% 196800 5427 427112 11183 310920 byte[]
    40 0.54% 73.06% 196352 1700 444904 4043 310971 char[]
    41 0.47% 73.53% 172056 7169 172056 7169 312484 java.lang.StackTraceElement
    42 0.47% 73.99% 170000 2125 178800 2235 311358 java.util.HashMap$Entry[]

    Andy Piper wrote:
    Configuration:
    =============
    * Windows 2000 Prof SP3
    * Sun JDK 1.4.1_01 (1.4.2)Incidentally you should be using 1.4.1_03 (or later) in the client if
    you are using wlclient.jar.I tried some combinations of WL and client JDKs,
    even that:
    * WL started under Sun JDK 1.4.2
    * client started under Sun JDK 1.4.2
    * all classes (EJBs, value objects, etc)
    compiled under Sun JDK 1.4.2
    >
    >
    FAIL because of java.rmi.MarshalException
    weblogic.iiop.IIOPInputStream.checkChunk(IIOPInputStream.java:449)
    at
    weblogic.iiop.IIOPInputStream.read_longlong(IIOPInputStream.java:1002)There is known bug with reading longs inside a chunked value. This is
    fixed in SP2 and the relevant CR is CR124377 - you can get a patch for
    SP1 from support.It's realy very nice news for us.
    Thank you very match for help and quick response.
    Best regards,
    Eugene Voytitsky

  • WlClient.jar & JAAS authentication Issues

    If I run the JAAS example (examples/security/jaas) that comes with
    wl8.1 sp1 but use wlclient.jar instead of weblogic.jar, the
    LoginContext.login() method returns a Subject even if I pass in an
    invalid user/password combination. If weblogic.jar is in the
    classpath, a javax.security.auth.login.LoginException is thrown which
    is what I want to happen for invalid credentials. When running with
    wlclient.jar, the code doesn't fail until it actually attempts to
    access the EJB at which point it gets a org.omg.CORBA.NO_PERMISSION.
    I am trying to use JAAS to login from a swing app and I want to use
    wlclient.jar instead of weblogic.jar, but I need to be able to
    determine whether the login was successful without waiting until I
    access a secured EJB. Why does wlclient.jar behave differently than
    weblogic.jar? How can I determine if my login worked if Weblogic is
    going to return a Subject no matter what username/password I pass in?

    Hi,
    I have a similar problem when using wlclient.jar. I am able to authenticate using
    the UsernamePasswordLoginModule (with authOnLogin true), but I get an error when
    invoking a secured EJB:
         UsernamePasswordLoginModule.initialize(), debug enabled
         UsernamePasswordLoginModule.initialize(), authOnLogin enabled
         UsernamePasswordLoginModule.login(), username weblogic
         UsernamePasswordLoginModule.login(), URL t3://localhost:7001
         Logged in
         Invoking EJB
         java.rmi.AccessException: CORBA NO_PERMISSION 0 Maybe; nested exception is:
              org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: Maybe
              at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:95)
              at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    The login is successfull, but I get the org.omg.CORBA.NO_PERMISSION when invoking
    the EJB. If I replace wlclient.jar with weblogic.jar it works fine! But we can't
    use weblogic.jar in our deployed client, because a) it's HUGE, b) it conflicts
    with Ant 1.6.1.
    Any ideas?
    "Memo S" <[email protected]> wrote:
    >
    Here is the answer
    A UsernamePasswordLoginModule LoginModule was added for use by the IIOP
    thin-client.
    This class has the same API as that of the weblogic.security.auth.login.UsernamePasswordLoginModule
    class, but in this implementation, there is a new property called authOnLogin.
    When true, this property forces the login method to perform authentication
    (rather
    than on the first invocation). The default for this new property is false.
    Regards.
    Memo S
    "Ganapathi" <[email protected]> wrote:
    If I run the JAAS example (examples/security/jaas) that comes with
    wl8.1 sp1 but use wlclient.jar instead of weblogic.jar, the
    LoginContext.login() method returns a Subject even if I pass in an
    invalid user/password combination. If weblogic.jar is in the
    classpath, a javax.security.auth.login.LoginException is thrown which
    is what I want to happen for invalid credentials. When running with
    wlclient.jar, the code doesn't fail until it actually attempts to
    access the EJB at which point it gets a org.omg.CORBA.NO_PERMISSION.
    I am trying to use JAAS to login from a swing app and I want to use
    wlclient.jar instead of weblogic.jar, but I need to be able to
    determine whether the login was successful without waiting until I
    access a secured EJB. Why does wlclient.jar behave differently than
    weblogic.jar? How can I determine if my login worked if Weblogic is
    going to return a Subject no matter what username/password I pass in?

  • Weblogic.jws.Policies.class is missing in weblogic.jar and wlfullclient.jar

    Hi,
    I am trying to upgrade Weblogic from 9.1 to 10.3.2 or 10.3.3
    In Weblogic 9.1, our application used weblogic.jar in our classpath.
    After we installed Weblogic 10.3.3, the new weblogic.jar can be found in: <WLS_HOME>\wlserver_10.3\server\lib
    However, some class files are missing and we realized we need to manually generate wlfullclient.jar and use this jar file instead.
    Reference: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html
    The problem is that in Weblogic 10.3.3, the following class files are missing inside weblogic.jar and wlfullclient.jar
    - import weblogic.jws.Policies
    - import weblogic.jws.Policy
    Hence, our application is getting an "The import weblogic.jws.Policies cannot be resolved" error in our code.
    I look inside both weblogic.jar and wlfullclient.jar, weblogic.jws.Policies and weblogic.jws.Policy cannot be found.
    This is not an issue in Weblogic 10.3.2. These two classes can be found in wlfullclient.jar
    Any idea where I can find these class files for Weblogic 10.3.3 or something we are doing is incorrectly?
    Thanks
    Toan

    Hi,
    This missing classes can be found inside the JAR : *"E:\bea10_3_3\wlserver_10.3\server\lib\wseeclient.jar"* As well as inside *"E:\bea10_3_3\wlserver_10.3\server\lib\wls-api.jar"*
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic/webservices/ (WebLogic Wonders Are Here)

  • Question about weblogic 8.x client jar.

    We have some rich client applications that uses our J2EE service hosted on our Weblogic instance using T3. The actual weblogic.jar take about 40Mo. We don't want to add this 40Mo to client applications.
    We see in weblogic 8 lib directory some thin jar (wlclient.jar) but il client uses these jars we have this error (By the way, we use Spring framework 1.0.2):
    DEBUG [main] JndiTemplate$1.doInContext(119) | Looking up JNDI object with name 'com.foo.positionservice.bean.PositionService'
    DEBUG [main] AbstractJndiLocator.lookup(182) | Successfully looked up object with jndiName 'com.foo.positionservice.bean.PositionService': value=[com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000006ac000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000006000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c54000000000000000000000000000000000042454103000004d8000000000000000c726f756e642d726f62696e00010000000000003c636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636500000000020000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c5400000000000000000000000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e7061722d6d736c746573743032001b64000000a80042454108010300000000124d534c4d616e6167656453657276657234000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a303030303030303030303030303030300000000000043331380000000001424541280000001000000000000000004104c46f39b6126a00000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f7061722d6d736c7465737430323a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000000000000000000031896fa3]
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PositionService' defined in (no description): Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Cannot create EJB proxy: EJB home [com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000006ac000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000006000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c54000000000000000000000000000000000042454103000004d8000000000000000c726f756e642d726f62696e00010000000000003c636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636500000000020000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c5400000000000000000000000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e7061722d6d736c746573743032001b64000000a80042454108010300000000124d534c4d616e6167656453657276657234000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a303030303030303030303030303030300000000000043331380000000001424541280000001000000000000000004104c46f39b6126a00000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f7061722d6d736c7465737430323a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000000000000000000031896fa3] has no no-arg create() method
    org.springframework.beans.FatalBeanException: Cannot create EJB proxy: EJB home [com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000006ac000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000006000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c54000000000000000000000000000000000042454103000004d8000000000000000c726f756e642d726f62696e00010000000000003c636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636500000000020000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c5400000000000000000000000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e7061722d6d736c746573743032001b64000000a80042454108010300000000124d534c4d616e6167656453657276657234000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a303030303030303030303030303030300000000000043331380000000001424541280000001000000000000000004104c46f39b6126a00000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f7061722d6d736c7465737430323a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000000000000000000031896fa3] has no no-arg create() method
    It is working fine with weblogic.jar (40Mo)
    Thx,
    -emmanuel

    naveen.g wrote:
    How to get the path of the domain, where my application is running, in a java code?
    For example, my domain path is "D:\bea\user_projects\domains\production". How to get this path dynamically?Please start a new topic instead of resurrecting an old and non-related thread and hijacking others' threads.

  • Wlclient.jar is EXTREMELY slow

    In our continuing adventures to get Tomcat 4.1 talking to a WLS 8.1 server,
    we have made leaps and bounds, including killing a deep, subtle bug within
    Tomcat.
    However, now we've hit a pretty severe performance bump.
    Here's the example:
    + cat sc.java
    import com.pfizer.ecms.ifc.*;
    import com.pfizer.ecms.as.*;
    import javax.rmi.*;
    import javax.naming.*;
    public class sc
    public static void main(String args[])
    throws Exception
    System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    System.setProperty(Context.PROVIDER_URL,
    "t3://eCMSAppServer:7001");
    InitialContext ctx = null;
    ctx = new InitialContext();
    Object o = ctx.lookup("CustomizationSession");
    o = PortableRemoteObject.narrow(o,
    CustomizationSessionHome.class);
    CustomizationSessionHome csth = (CustomizationSessionHome)o;
    o = csth.create();
    CustomizationSession cst =
    (CustomizationSession)PortableRemoteObject.narrow(o,
    CustomizationSession.class);
    System.out.println("Getting cache...");
    long start = System.currentTimeMillis();
    StringCache sc = cst.getStringCache();
    System.out.println("Done..." + (System.currentTimeMillis() -
    start));
    + time java -cp
    C:/bea/weblogic81/server/lib/weblogic.jar;C:/ecms/wls8/AppServerCode;C:/ecms
    /wls8/InterfaceClasses;C:/ecms/Miscellaneous/jars/log4j.jar;. sc
    Getting cache...
    Done...10395
    0.01user 0.01system 0:15.10elapsed 0%CPU (0avgtext+0avgdata
    5456maxresident)k
    0inputs+0outputs (346major+0minor)pagefaults 0swaps
    + time java -cp
    C:/bea/weblogic81/server/lib/wlclient.jar;C:/ecms/wls8/AppServerCode;C:/ecms
    /wls8/InterfaceClasses;C:/ecms/Miscellaneous/jars/log4j.jar;. sc
    Getting cache...
    Done...936157
    0.01user 0.00system 15:39.10elapsed 0%CPU (0avgtext+0avgdata
    5456maxresident)k
    0inputs+0outputs (346major+0minor)pagefaults 0swaps
    The key line in the sample is: StringCache sc = cst.getStringCache()
    This is a large structure, several megabytes, lots of entries (~4000). We
    use it to prepopulate a local cache on our web tier.
    Note that in the first run, the number 10395, in milliseconds, so it's ~10.4
    seconds to transfer this structure. The first run, also note, uses the
    weblogic.jar for its dependent WLS classes.
    Note that in the second run, the number 936157, which is approximately 15.5
    MINUTES to do the EXACT SAME THING. This run uses the wlclient.jar for its
    dependent WLS classes.
    Dare I mention that this 90 TIMES plunge in performance is simply
    unacceptable?
    Of course, wlclient.jar is the only thing that will work with Tomcat,
    weblogic.jar is just vastly more complicated.
    So, I must be missing a "go fast" property or something.
    Is this something with the serialization protocol that makes larges objects
    or collections of objects (which this is), go into some geometric explosion?
    Something that works great for 2 objects, and dies horribly for 2000?
    Pathalogical "nobody ever does that" case?
    I'm DYING to find out what this is.
    Yours in frustration.
    Regards,
    Will Hartung
    ([email protected])

    Will,
    What do you do in getStringCache()?
    Regards,
    Slava Imeshev
    "Will Hartung" <[email protected]> wrote in message
    news:[email protected]...
    In our continuing adventures to get Tomcat 4.1 talking to a WLS 8.1server,
    we have made leaps and bounds, including killing a deep, subtle bug within
    Tomcat.
    However, now we've hit a pretty severe performance bump.
    Here's the example:
    + cat sc.java
    import com.pfizer.ecms.ifc.*;
    import com.pfizer.ecms.as.*;
    import javax.rmi.*;
    import javax.naming.*;
    public class sc
    public static void main(String args[])
    throws Exception
    System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    System.setProperty(Context.PROVIDER_URL,
    "t3://eCMSAppServer:7001");
    InitialContext ctx = null;
    ctx = new InitialContext();
    Object o = ctx.lookup("CustomizationSession");
    o = PortableRemoteObject.narrow(o,
    CustomizationSessionHome.class);
    CustomizationSessionHome csth =(CustomizationSessionHome)o;
    o = csth.create();
    CustomizationSession cst =
    (CustomizationSession)PortableRemoteObject.narrow(o,
    CustomizationSession.class);
    System.out.println("Getting cache...");
    long start = System.currentTimeMillis();
    StringCache sc = cst.getStringCache();
    System.out.println("Done..." +(System.currentTimeMillis() -
    start));
    + time java -cp
    C:/bea/weblogic81/server/lib/weblogic.jar;C:/ecms/wls8/AppServerCode;C:/ecms
    /wls8/InterfaceClasses;C:/ecms/Miscellaneous/jars/log4j.jar;. sc
    Getting cache...
    Done...10395
    0.01user 0.01system 0:15.10elapsed 0%CPU (0avgtext+0avgdata
    5456maxresident)k
    0inputs+0outputs (346major+0minor)pagefaults 0swaps
    + time java -cp
    C:/bea/weblogic81/server/lib/wlclient.jar;C:/ecms/wls8/AppServerCode;C:/ecms
    /wls8/InterfaceClasses;C:/ecms/Miscellaneous/jars/log4j.jar;. sc
    Getting cache...
    Done...936157
    0.01user 0.00system 15:39.10elapsed 0%CPU (0avgtext+0avgdata
    5456maxresident)k
    0inputs+0outputs (346major+0minor)pagefaults 0swaps
    The key line in the sample is: StringCache sc = cst.getStringCache()
    This is a large structure, several megabytes, lots of entries (~4000). We
    use it to prepopulate a local cache on our web tier.
    Note that in the first run, the number 10395, in milliseconds, so it's~10.4
    seconds to transfer this structure. The first run, also note, uses the
    weblogic.jar for its dependent WLS classes.
    Note that in the second run, the number 936157, which is approximately15.5
    MINUTES to do the EXACT SAME THING. This run uses the wlclient.jar for its
    dependent WLS classes.
    Dare I mention that this 90 TIMES plunge in performance is simply
    unacceptable?
    Of course, wlclient.jar is the only thing that will work with Tomcat,
    weblogic.jar is just vastly more complicated.
    So, I must be missing a "go fast" property or something.
    Is this something with the serialization protocol that makes largesobjects
    or collections of objects (which this is), go into some geometricexplosion?
    Something that works great for 2 objects, and dies horribly for 2000?
    Pathalogical "nobody ever does that" case?
    I'm DYING to find out what this is.
    Yours in frustration.
    Regards,
    Will Hartung
    ([email protected])

  • JAAS authentication is not working with IIOP and wlclient.jar

    Hi,
    I'm currently working on a remote client that requires authentication with JAAS.
    The Application server is Weblogic 9.2 MP1.
    The client is deployed with wlclient.jar and the used protocol is iiop.
    I'm also using the default UsernamePasswordLoginModule module for authentication.
    The LoginContext.login goes smoothly but the Principal Set in the obtained Subject object is empty!
    Using the same code with weblogic.jar and t3 protocol the principals are filled(i.e. I can see the groups where the involved user is member).
    Any suggestions ??
    regards,
    Luca

    So, when you execute this, where exactly does it crash/stop, or what is the output you get from those dbms_output lines? Do you know the output of memberOf and are you sure that things will match?

  • Wlclient.jar, usefull or no?

    I have never been able to use the weblogic client jar (wlclient.jar) by itself. For instance, why is the weblogic.jndi.Environment class not in the wlclient.jar? We use this class for JNDI lookups, and context creation, but it is mysteriously absent from wlclient.jar. Therefore, we need to give our clients the full 50+ mb weblogic.jar....which is not that ideal.
    Thanks!

    I have never been able to use the weblogic client jar (wlclient.jar) by itself. For instance, why is the weblogic.jndi.Environment class not in the wlclient.jar? We use this class for JNDI lookups, and context creation, but it is mysteriously absent from wlclient.jar. Therefore, we need to give our clients the full 50+ mb weblogic.jar....which is not that ideal.
    Thanks!

  • Weblogic9.0 wlclient.jar jdk1.5

    I am using weblogic9.0 on jdk 1.5
    I have a client that runs on jdk1.5. I see the following behavior:
    When using weblogic.jar in the client side, everything runs fine. no issues.
    When using wlclient.jar on the client side, I have to re-start weblogic after redeploying my EAR file each time.
    If I do not, I get a "ClassCastException" in the backend and in the client.
    Any help will be appreciated.

    Bhalchandra Gokhale <> writes:
    You should raise a support call. Its not clear from your description
    what is going on. Also its worth trying WLS 9.1 and the latest JDK 5.0 release (_06?)
    andy
    I am using weblogic9.0 on jdk 1.5
    I have a client that runs on jdk1.5. I see the following behavior:
    When using weblogic.jar in the client side, everything runs fine. no issues.
    When using wlclient.jar on the client side, I have to re-start weblogic after redeploying my EAR file each time.
    If I do not, I get a "ClassCastException" in the backend and in the client.
    Any help will be appreciated.

  • Can wlclient.jar be used in clustered environment?

              Can the wlclient.jar be used in a clustered environment? It appears to contain
              code related to clustering. The doco doesn't say that it can't but does explicitly
              say that the weblogic.jar can. Does anybody know?
              

              Ignore my previous response. Yes wlclient.jar supports clustering, transactions,
              security etc. See http://edocs.bea.com/wls/docs81/rmi_iiop/rmiiiop2.html#DevelopingThinClient
              for details.
              S
              "James Olsen" <[email protected]> wrote:
              >
              >Can the wlclient.jar be used in a clustered environment? It appears
              >to contain
              >code related to clustering. The doco doesn't say that it can't but does
              >explicitly
              >say that the weblogic.jar can. Does anybody know?
              

Maybe you are looking for

  • Web Dynpro for ABAP iView can't work

    Hi guys, I've developed an application in web dynpro for abap, it can be accessed from this url: http://pekax110.aaa.com:8001/sap/bc/webdynpro/sap/zsfa_test But when I created an Web Dynpro iview, set the parameters as follows: System: SAP_CRM namesp

  • Implementing multiple page size requirement - extra blank page at the end

    My XMLP report requirement is as follows. - The report is printing a bunch of lines. - Based on data and layout requirement, lines are grouped into page where they belong (due to complex logic for determining which page a line should go to...this is

  • Would you get a macbook air today?

    I heard rumours that there would be new macbook airs on or around March. I am 80% sure about this because intel will release its Ivy core on March which apple planned to use for the new macbook air and pro. I actually planned to get it on Christmas b

  • How to undeploy using telnet Adminstrator Tool in j2ee server

    HI All, I have a problem in undeployment throw Telnet Adminstrator Tool,can any one tell how to undeploy using shell script? Regads, Boopathi M

  • HTTP with RFC destination problem

    Hi, We're doing an SAP R/3 --> XI --> External System scenario. We've had no problems making the SAP R/3 to XI work. For XI to External System, we're using the Plain HTTP adapter with an RFC destination. The Server, Intermediate and Root CA of the Ex