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 ..

Similar Messages

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

  • Problem with using external jar file

    Hi
    I was using mail.jar library for swing application to send and receive emails. It just works perfect when I run with netbeans. But when I run the executable jar file at dist folder it runs but mail related functions doesn't work.What should I do now to make it work with mail features outside netbeans.
    thanks
    vinay
    Edited by: 899657 on Dec 24, 2011 5:07 AM

    899657 wrote:
    No. Because I am running the jar file which is created by netbeansNetbeans creates a 'dist' directory in which it puts your jar and a "dist/lib' directory in which it puts the dependent jars that are added to the project using 'project right mouse click'->Properties->Libraries. I would expect to see this 'dist/lib' directory contain mail.jar and activation.jar and any other jars that your jar needs. Within your program jar's manifest I would expect to see the Class-Path attribute have relative reference these jars ( lib/mail.jar lib/activation.jar ) and for the Main-Class attribute define your main class.
    Given this setup then you should be able to just type -
    java -jar yourjar.jarto run your program.

  • BUG: 11g problem when using orabpel.jar for tasklist page

    Hi,
    Using 11g i created a BC view object to show a BPEL/Workflow tasklist. Using the SOAP_CLIENT method i got this working. When i test my view object with the business component tester it works. When i create a taskflow with a page fragment that has a table based on the view object it is not working. I need to deploy (among others) the orabpel.jar library with the application because my view object implementation depends on it. As soon as i run the application however with the orabpel.jar deployed the browser keeps showing the Loading image but refuses to continue to load. I also do not get any error in the console or the domain and server log files. It looks like there is a problem with some classes in the orabpel.jar that get in the way of weblogic adf libraries.
    Does anybody have experience with 10.1.3 orabpel.jar library in combination with the new 11g weblogic stack? Can i somehow configure class loading in a way that weblogic classes have preference over orabpel.jar classes if they exist? Is there a way to increase logging so i can trace at what point the problem occurs? Any help would be greatly appreciated.
    Kind Regards,
    Andre
    Edited by: AJochems (Redora) on Nov 18, 2008 2:08 PM

    Hi,
    Traced the problem to be related to the use of ADF XML menus. When i remove them the problem disappears. So i have traced the problem although i still do not exactly know what is causing it. Since there are a lot of redundant (probably altered versions) of classes in the orabpel.jar library one of them gets in the way with a weblogic class that is used while rendering the ADF Menu. The problem should be reproducible if you create a menu based on the model of an adf menu and add the orabpel.jar to your deployment.
    Kind Regards,
    Andre

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

  • 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

  • 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

  • Distributing wlclient.jar file - Licensing issues?

    Hi,
    I am working on creating an Eclipse plug-in which will be using wlclient.jar file. This is a open source project and is not used for commercial purpose. May I know if there are any licensing restrictions to distribute wlclient.jar as part of the free eclipse plugin project?
    Thanks

    push

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

  • 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

  • Problem in using Tomahawk 1.1.3 jar with jsf-api.jar & jsf-impl.jar

    Hi All,
    i am facing the problem while using <t:panelTabbedPane> in jsp.APplication has jsf-api.jar and jsf-impl.jar and Tomahawk 1.1.3 jar files in lib folder. This is a Portal Application.While deplyoing on portal server, i am getting following exception
    Nested Exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
    at org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.<clinit>(MyfacesConfig.java:80).
    if any faces problem previously, please help me out in debugging this issue

    Please don't resurrect old topics. Start a new topic for each stand alone question. If necessary put links to the topics you found with search/google.
    Back to the actual problem:java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException The given class is missing in the classpath during runtime. Add that class, or at least the JAR file with that class, to the classpath of the runtime environment, then you're fine.

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

  • Problem using ojdbc14.jar in JDev 11g

    Hi
    I have an application created in 10g.
    I was trying to create the same in 11g and encountered this problem with the ojdbc14.jar.
    The jar has two classes OracleDataSource and OracleConnectionCacheImpl inside the same package.
    OracleConnectionCacheImpl is inherited from OracleDataSource.
    OracleDataSource has a protected variable called m_dataSourceName.
    The child class, OracleConnectionCacheImpl used this variable.
    I have this jar included in my classpath.
    When i run the application, it throws a runtime error.
    Following is the stack trace.
    java.lang.NoSuchFieldError: m_dataSourceName
         at oracle.jdbc.pool.OracleConnectionCacheImpl.(OracleConnectionCacheImpl.java:189)
         at oracle.apps.snw.hubserver.common.XhubConnectionPool.(XhubConnectionPool.java:46) -------------------------------------> from here its my code
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.addConnectionPool(XhubConnectionPoolManager.java:168)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.getConnection(XhubConnectionPoolManager.java:201)
         at oracle.apps.snw.hubserver.util.SystemParameters.reloadAllParameters(SystemParameters.java:294)
         at oracle.apps.snw.hubserver.util.SystemParameters.(SystemParameters.java:34)
         at oracle.apps.snw.hubserver.util.SystemParameters.getInstance(SystemParameters.java:48)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.addConnectionPool(XhubConnectionPoolManager.java:155)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.getConnection(XhubConnectionPoolManager.java:201)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.queryAllLanguages(LanguageQueryBasedNameValueCache.java:125)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.setCacheParameters(LanguageQueryBasedNameValueCache.java:77)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.(LanguageQueryBasedNameValueCache.java:53)
         at oracle.apps.snw.uicommon.TextProvider.populateTextCache(TextProvider.java:100)
         at oracle.apps.snw.uicommon.TextProvider.getTextMessage(TextProvider.java:123)
         at oracle.apps.snw.uicommon.TextProvider.handleGetObject(TextProvider.java:113)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
         at oracle.cabo.ui.data.BundleDataObject.selectValue(Unknown Source)
         at oracle.cabo.ui.data.DataBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    Can anyone tell me why this error occurs?
    I have checked the Oracle JDBC library of JDev 11g and found that it has ojdbc6.jar
    Is there any compatibility problem with this jar migrating from 10g to 11g?
    Found this related link but could not relate it much.
    Please explain
    JDBC problem: java.lang.NoSuchFieldError: CONNECTION_PROPERTY_THIN_NET_CONN
    Thanks

    I guess you can't use ojdbc14.jar that easy. Some dependencies form ojdbc14.jar are not available under 11g. That 's the reason you have ojdbc6.jar under 11g.
    Timo

  • Problem in implementing code using snmp4j.jar

    Hi,
    I am using snmp4j.jar to create a class that will execute SNMP commands such as GET, GETNEXT and GETTABLE.
    The issue I am facing is extremely peculiar. When running the program for the first time, the output is seen correctly. However, in the subsequent executions, the program hangs (at the point where the object of my snmp class is to be created).
    I am unable to understand if some socket/port has been left open in the first run because of which successive executions are not happening. Also, the SNMP session may not be getting closed properly.
    Could someone please help me out with this issue? I am pasting the code snippets here for reference.
    Please do respond with your comments on the same. Thank you.
    import java.io.IOException;
    import java.util.List;
    import java.util.Vector;
    import org.snmp4j.CommunityTarget;
    import org.snmp4j.PDU;
    import org.snmp4j.Snmp;
    import org.snmp4j.event.ResponseEvent;
    import org.snmp4j.mp.SnmpConstants;
    import org.snmp4j.smi.Address;
    import org.snmp4j.smi.GenericAddress;
    import org.snmp4j.smi.OID;
    import org.snmp4j.smi.OctetString;
    import org.snmp4j.smi.VariableBinding;
    import org.snmp4j.transport.DefaultUdpTransportMapping;
    import org.snmp4j.util.DefaultPDUFactory;
    import org.snmp4j.util.TableEvent;
    import org.snmp4j.util.TableUtils;
    public class MySNMP
          *  Class variable declarations
         PDU requestPDU = null;
         Snmp snmp = null;
         CommunityTarget target = null;
         String responseString = null;
          *  Main method; point of execution start.
         public static void main(String[] args) throws IOException
                   snmpUtils obj = new snmpUtils("XX.XX.XX.XX", "public", 1, 1500);
                   String arrGet = obj.snmpGet(".1.3.6.1.2.1.1.1.0");
                   System.out.println("\nGET RESPONSE");
                   System.out.println(arrGet);
                   String arrGetNext = obj.snmpGetNext(".1.3.6.1.2.1.1.1.0");
                   System.out.println("\nGETNEXT RESPONSE");
                   System.out.println(arrGetNext);
                   String[] arr = { ".1.3.6.1.2.1.2.2.1.1.", ".1.3.6.1.2.1.2.2.1.5" };
                   String arrGetTable = obj.snmpGetTable(arr);
                   System.out.println("\nGETTABLE RESPONSE");
                   System.out.println(arrGetTable);
          *  Parameterized constructor
         public MySNMP(String IP, String commString, int version, long timeout)
              // Create an instance of the Snmp class, CommunityTarget class
              try
                   snmp = new Snmp(new DefaultUdpTransportMapping());
              catch (IOException e)
                   e.printStackTrace();
              target = new CommunityTarget();
              Address targetAddress = GenericAddress.parse("udp:" + IP + "/161");
              // Set the address of the target device; This is a mandatory value to be passed by the calling script
              target.setAddress(targetAddress);
               *  Set the version of the target device;
               *  In cases where the version provided is not 1,2 or 3, the default value set is 1 
              if (version == 1)
                   target.setVersion(SnmpConstants.version1);
              else if (version == 2)
                   target.setVersion(SnmpConstants.version2c);
              else if (version == 3)
                   target.setVersion(SnmpConstants.version3);
              // Set the timeout of the target device
              target.setTimeout(timeout);
               *  Set the community string of the target device;
               *  In cases where the community string provided is not null, the default value is set as "public" 
              if (commString == null)
                   target.setCommunity(new OctetString("public"));
              else
                   target.setCommunity(new OctetString(commString));          
          *  SNMP get/getNext operation logic
         public void get(String oid, int pduType) 
              // Create a PDU with the OID and type
              requestPDU = new PDU();
              requestPDU.add(new VariableBinding(new OID(oid)));
              requestPDU.setType(pduType);
              ResponseEvent response = null;
              try
                   // Invoke the listen() method on the Snmp object
                   snmp.listen();
                   // Send the PDU constructed, to the target
                   response = snmp.send(requestPDU, target);
              catch (IOException e)
                   e.printStackTrace();
              // Retrieve the response details and put into an array called "responseArray"
              responseString = new String();
              if (!(response.getResponse() == null))
                   //Extract the response
          *  SNMP GET method API
         public String snmpGet(String oid)
              get(oid, PDU.GET);
              return(responseString);          
          *  SNMP GETNEXT method API
         public String snmpGetNext(String oid) throws IOException
              get(oid, PDU.GETNEXT);
              return(responseString);     
          *  SNMP getTable operation
         public String snmpGetTable(String[] oid)
              // Invoke the listen() method on the Snmp object
              try
                   snmp.listen();
              catch (IOException e)
                   e.printStackTrace();
              // Create a TableUtils
              TableUtils utils = new TableUtils(snmp, new DefaultPDUFactory());
              // Set the lower/upper bounds for the table operation
              OID lowerIndex = null;
              OID upperIndex = null;
              // Create an array of the OID's that need to be checked
              OID[] arr = new OID[oid.length];
              for (int i=0; i<oid.length; i++)
                   arr[i] = new OID(oid);
              // Transfer output to a data structure
              List list = utils.getTable(target, arr, lowerIndex, upperIndex);
              // Dump the response into an array called "responseArray"
              return responseString;

    Hi
    I did some changes in the code and i invoked this for many times it still gives some response to me.
    This program is not hanging.
    import java.io.IOException;
    import java.util.List;
    import org.snmp4j.CommunityTarget;
    import org.snmp4j.PDU;
    import org.snmp4j.Snmp;
    import org.snmp4j.event.ResponseEvent;
    import org.snmp4j.mp.SnmpConstants;
    import org.snmp4j.smi.Address;
    import org.snmp4j.smi.GenericAddress;
    import org.snmp4j.smi.OID;
    import org.snmp4j.smi.OctetString;
    import org.snmp4j.smi.VariableBinding;
    import org.snmp4j.transport.DefaultUdpTransportMapping;
    import org.snmp4j.util.DefaultPDUFactory;
    import org.snmp4j.util.TableUtils;
    public class MySNMP
          *  Class variable declarations
         PDU requestPDU = null;
         Snmp snmp = null;
         CommunityTarget target = null;
         String responseString = null;
         public MySNMP()
          *  Main method; point of execution start.
         public static void main(String[] args) throws IOException
                   //SnmpUtils obj = new SnmpUtils("XX.XX.XX.XX", "public", 1, 1500);
                for(int i = 0; i < 10; i++)
                  MySNMP obj = new MySNMP("MY_IP","public",1,1000);
                   String arrGet = obj.snmpGet(".1.3.6.1.2.1.1.1.0");
                   System.out.println("\nGET RESPONSE");
                   System.out.println(arrGet);
                   String arrGetNext = obj.snmpGetNext(".1.3.6.1.2.1.1.1.0");
                   System.out.println("\nGETNEXT RESPONSE");
                   System.out.println(arrGetNext);
                   String[] arr = { ".1.3.6.1.2.1.2.2.1.1.", ".1.3.6.1.2.1.2.2.1.5" };
                   String arrGetTable = obj.snmpGetTable(arr);
                   System.out.println("\nGETTABLE RESPONSE");
                   System.out.println(arrGetTable);
          *  Parameterized constructor
         public MySNMP(String IP, String commString, int version, long timeout)
              // Create an instance of the Snmp class, CommunityTarget class
              try
                   snmp = new Snmp(new DefaultUdpTransportMapping());
              catch (IOException e)
                   e.printStackTrace();
              target = new CommunityTarget();
              Address targetAddress = GenericAddress.parse("udp:" + IP + "/161");
              // Set the address of the target device; This is a mandatory value to be passed by the calling script
              target.setAddress(targetAddress);
               *  Set the version of the target device;
               *  In cases where the version provided is not 1,2 or 3, the default value set is 1 
              if (version == 1)
                   target.setVersion(SnmpConstants.version1);
              else if (version == 2)
                   target.setVersion(SnmpConstants.version2c);
              else if (version == 3)
                   target.setVersion(SnmpConstants.version3);
              // Set the timeout of the target device
              target.setTimeout(timeout);
               *  Set the community string of the target device;
               *  In cases where the community string provided is not null, the default value is set as "public" 
              if (commString == null)
                   target.setCommunity(new OctetString("public"));
              else
                   target.setCommunity(new OctetString(commString));          
          *  SNMP get/getNext operation logic
         public void get(String oid, int pduType) 
              // Create a PDU with the OID and type
              requestPDU = new PDU();
              requestPDU.add(new VariableBinding(new OID(oid)));
              requestPDU.setType(pduType);
              ResponseEvent response = null;
              try
                   // Invoke the listen() method on the Snmp object
                   snmp.listen();
                   // Send the PDU constructed, to the target
                   response = snmp.send(requestPDU, target);
              catch (IOException e)
                   e.printStackTrace();
              // Retrieve the response details and put into an array called "responseArray"
              PDU responsePdu = response.getResponse();
              if(responsePdu.getErrorStatus() == 0)
                   responseString = responsePdu.toString();
              else
                   System.out.println("ERROR");
              if (!(response.getResponse() == null))
                   //Extract the response
          *  SNMP GET method API
         public String snmpGet(String oid)
              get(oid, PDU.GET);
              return(responseString);          
          *  SNMP GETNEXT method API
         public String snmpGetNext(String oid) throws IOException
              get(oid, PDU.GETNEXT);
              return(responseString);     
          *  SNMP getTable operation
         public String snmpGetTable(String[] oid)
              // Invoke the listen() method on the Snmp object
              try
                   snmp.listen();
              catch (IOException e)
                   e.printStackTrace();
              // Create a TableUtils
              TableUtils utils = new TableUtils(snmp, new DefaultPDUFactory());
              // Set the lower/upper bounds for the table operation
              OID lowerIndex = null;
              OID upperIndex = null;
              // Create an array of the OID's that need to be checked
              OID[] arr = new OID[oid.length];
              for (int i=0; i<oid.length; i++)
                   arr[i] = new OID(oid);
              // Transfer output to a data structure
              List list = utils.getTable(target, arr, lowerIndex, upperIndex);
              // Dump the response into an array called "responseArray"
              return responseString;

Maybe you are looking for

  • Maximum lifetime for user ticket renewal - where to find this setting on member server?

    Hi,   we have set a value of 15 days for the GPO setting "Maximum lifetime for user ticket renewal" under kerberos policy  on a separate policy linked to domain.  The default value on "default domain policy" is 7. RSOP or GPRESULT doesnt show the act

  • Spotlight stuck on Indexing

    I have about 400 Gigs of files on my hard drive and everything was perfectly indexed in Spotlight. I used Entourage Time Machine to save my huge email database to a set of local XML files (tens of thousands of new files). Since then, the little spotl

  • Help option not working in photoshop element

    hi, I have photoshop element 8 installed on windows XP. when i go to help->photoshop element help or press F1 nothing happens. I have uninstalled nad reinstalled it two times. PLZ help

  • How to install intelligent agent

    Can someone please tell me how to install the intelligent agent on the NT server 4.0 platform? I can't install the intelligent agent extension pack due to my intelligent agent hasn't been installed yet. Please help! null

  • Is it legal to copy a layout/theme?

    Our company currently pays a 3rd party to create InDesign documents for us. We are considering hiring somebody full time for this. However, we have a layout and theme that we would like to keep. Can somebody own legal rights to the theme or layout of