IOP00710309: (INTERNAL) Worker thread Thread[p: default-threadpool; w: Idle,5,ORB ThreadGroup 0] caught throwable com.sun.corba.se.impl.orbutil.threadpool

Hi ,
I am seeing this issue while starting my managed server.
com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread run
FINE: "IOP00710309: (INTERNAL) Worker thread Thread[p: default-threadpool; w: Idle,5,ORB ThreadGroup 0] caught throwable com.sun.corba.se.impl.orbutil.threadpool.TimeoutException when requesting work from work queue default-workqueue."
org.omg.CORBA.INTERNAL:   vmcid: SUN  minor code: 309  completed: No
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.workerThreadThrowableFromRequestWork(ORBUtilSystemException.java:6330)
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.workerThreadThrowableFromRequestWork(ORBUtilSystemException.java:6355)
        at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:494
I have searched the net for this but didnt find any resolution. Please help.
Regards,
Rishi

This became bug 6560301. And Sun pointed out that it was my bad in not handling spurious wakeups. Java 6 makes spurious wakeups more likely. (My experience is from "never" to "sometimes".)
More info at:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6560301

Similar Messages

  • RMI-IIOP JNDI lookup returns com.sun.corba.se.internal.iiop.CDRInputStream

    I have two different RMI-IIOP java clients, one is working fine and the other is not. Both are using weblogic.jndi.WLInitialContextFactory from wlclient.jar in WLS 8.1sp5 and JDK 1.4.2_6.
    One java client is a straight-forward java main. JNDI lookup is returning EJBHome_Stub correctly loaded by sun.rmi.server.LoaderHandler$Loader
    The other java client is a complex java program with multiple threads and many jars. A thread does the same JNDI lookup as the simple java client, but the object returned is of type com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1 which has NULL classloader (bootstrap classloader).
    What condition triggered the WebLogic InitialContext to default to com.sun.corba.se.internal.iiop.CDRInputStream?

    Kevin Fung <> writes:
    This is usally symptomatic of an IOR without the corresponding stub
    being loaded, usually because the correct security manager is not
    set. However the client jar bypasses the security manager to try and
    avoid this problem, so I am confused as to why you are seeing this. Do
    you know which object it is accessing? Can you try putting IIOP stubs
    for it in the client?
    andy
    I have two different RMI-IIOP java clients, one is working fine and the other is not. Both are using weblogic.jndi.WLInitialContextFactory from wlclient.jar in WLS 8.1sp5 and JDK 1.4.2_6.
    One java client is a straight-forward java main. JNDI lookup is returning EJBHome_Stub correctly loaded by sun.rmi.server.LoaderHandler$Loader
    The other java client is a complex java program with multiple threads and many jars. A thread does the same JNDI lookup as the simple java client, but the object returned is of type com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1 which has NULL classloader (bootstrap classloader).
    What condition triggered the WebLogic InitialContext to default to com.sun.corba.se.internal.iiop.CDRInputStream?

  • Missing  com.sun.corba.se.internal.iiop.CDRInputStream

    I am trying to test the new OC4J 10.0.3 which supposed to be a J2EE 1.4 compliant.
    I followed the instruction to unzip it, and when I tried to start it I got the error :
    I did a thorugh search for that package in my Java directory and couldnt find a match in either J2SE or J2EE.
    Your help is highly appreciated.
    Starting OC4J...
    05/01/22 02:13:22 Exception in thread "OC4J Launcher" oracle.oc4j.loader.util.An
    notatedNoClassDefFoundError:
    Missing class: com.sun.corba.se.internal.iiop.CDRInputStream
    Dependent class: com.evermind.server.ApplicationContext
    Loader: oc4j:10.1.3
    Code-Source: /D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in boot.xml in D:\Java\Jdev10g\j2ee14\j2e
    e\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    05/01/22 02:13:22 at oracle.oc4j.loader.PolicyClassLoader.handleClassNotFo
    und (PolicyClassLoader.java:1956) [/D:/Java/Jdev10g/j2ee14/j2ee/home/oc4j.jar (f
    rom system property java.class.path), by sun.misc.Launcher$AppClassLoader@14822
    57]
    at oracle.oc4j.loader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1641) [/D:/Java/Jdev10g/j2ee14/j2ee/home/oc4j.jar (from system propert
    y java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
    at oracle.oc4j.loader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1591) [/D:/Java/Jdev10g/j2ee14/j2ee/home/oc4j.jar (from system property java.c
    lass.path), by sun.misc.Launcher$AppClassLoader@1482257]
    at oracle.oc4j.loader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1577) [/D:/Java/Jdev10g/j2ee14/j2ee/home/oc4j.jar (from system property java.c
    lass.path), by sun.misc.Launcher$AppClassLoader@1482257]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre b
    ootstrap, by  jre bootstrap]
    at com.evermind.server.ApplicationContext.<clinit> (ApplicationContext.j
    ava:62) [/D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (from <code-sou
    rce> in boot.xml in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.Application.<init> (Application.java:173) [/D:/Ja
    va/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xm
    l in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.initializeApplications (Applica
    tionServer.java:1403) [/D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (
    from <code-source> in boot.xml in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by
    oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.ja
    va:944) [/D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (from <code-sou
    rce> in boot.xml in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerL
    auncher.java:87) [/D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (from
    <code-source> in boot.xml in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by oc4
    j:10.1.3]
    at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by  jre bootst
    rap]

    Hi
    when i am trying to start the oc4j server, it is throwing me the following error.
    Please give me some solution...
    06/05/19 16:20:40 oracle.classloader.util.AnnotatedClassFormatError: MBeanServer
    EjbHome_StatefulSessionHomeWrapper1 (Unsupported major.minor version 49.0)
    Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
    Loader: system.root:0.0.0
    Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/application-dep
    loyments/admin_ejb/deployment-cache.jar
    Configuration: <ejb> in wrappers
    Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescripto
    r
    Loader: oc4j:10.1.3
    Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-intern
    al.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3
    \OracleAS_1\j2ee\home\oc4j.jar
    This class was compiled for a newer version of the JRE. Expected version
    48.0, found 49.0.
    06/05/19 16:20:40 at oracle.classloader.PolicyClassLoader.findLocalClass (
    PolicyClassLoader.java:1457) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.ja
    r (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@54
    87165]
    at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java
    :167) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system property
    java.class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at oracle.classloader.SearchSequence.getClass (SearchSequence.java:119)
    [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.
    class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1660) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from syste
    m property java.class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1621) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system proper
    ty java.class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1606) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system proper
    ty java.class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:302) [jre b
    ootstrap, by jre.bootstrap]
    at java.lang.Class.forName0 (Native method) [unknown, by unknown]
    at java.lang.Class.forName (Class.java:219) [jre bootstrap, by jre.boots
    trap]
    at com.evermind.server.ejb.deployment.SessionBeanDescriptor.createHomeIn
    stance (SessionBeanDescriptor.java:443) [/C:/product/10.1.3/OracleAS_1/j2ee/home
    /lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10
    .1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstanceCore (EJB
    PackageDeployment.java:1136) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-i
    nternal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\Oracle
    AS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstance (EJBPack
    ageDeployment.java:1189) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-inter
    nal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1
    \j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBPackageDeployment.bindRemoteHome (EJBPacka
    geDeployment.java:533) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-interna
    l.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j
    2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBPackageDeployment.bindHomes (EJBPackageDep
    loyment.java:442) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
    (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\h
    ome\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBContainer.postInit (EJBContainer.java:1010
    ) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-sou
    rce> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), b
    y oc4j:10.1.3]
    at com.evermind.server.ApplicationStateRunning.initializeApplication (Ap
    plicationStateRunning.java:210) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4
    j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\Ora
    cleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.Application.setConfig (Application.java:391) [/C:
    /product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> i
    n META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j
    :10.1.3]
    at com.evermind.server.Application.setConfig (Application.java:308) [/C:
    /product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> i
    n META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j
    :10.1.3]
    at com.evermind.server.ApplicationServer.initializeSystemApplication (Ap
    plicationServer.java:1480) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-int
    ernal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS
    _1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.initializeAutoDeployedApplicati
    ons (ApplicationServer.java:1467) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/o
    c4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\O
    racleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.ja
    va:922) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <co
    de-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.j
    ar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerL
    auncher.java:113) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
    (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\h
    ome\oc4j.jar), by oc4j:10.1.3]
    at java.lang.Thread.run (Thread.java:534) [jre bootstrap, by jre.bootstr
    ap]

  • Exception in thread "Thread-6" java.lang.UnsatisfiedLinkError: no cis

    Hi All,
    I got an error when I run SunONE 7 (final) on Solaris spark)
    as below. I do not get this error when I run SunONE 7 on
    Windows.
    I was access ejbs from a stand-a-lone Java application.
    What was wrong?
    Any information would be appreciated.
    Thanks in advance.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Exception in thread "Thread-6" java.lang.UnsatisfiedLinkError: no cis in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:832)
         at com.iplanet.ias.cis.connection.EndPoint.<clinit>(EndPoint.java:254)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:369)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:316)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(GIOPImpl.java:149)
         at com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(POAORB.java:505)
         at com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(POAImpl.java:157)
         at com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.java:115)
         at com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB.java:115)
         at com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.java:133)
         at com.sun.corba.ee.internal.core.Future.evaluate(Future.java:26)
         at com.sun.corba.ee.internal.corba.ORB.resolveInitialReference(ORB.java:3069)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3004)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:31)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:306)
         at java.lang.Class.newInstance(Class.java:259)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:175)
         at com.sun.ejb.portable.HomeHandleImpl.readObject(HomeHandleImpl.java:60)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
         at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:939)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:850)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:842)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_abstract_interface(CDRInputStream.java:309)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
         at com.sun.ejb.portable.EJBMetaDataImpl.readObject(EJBMetaDataImpl.java:112)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
         at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1075)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:293)
         at examples._CasinoWithLoggingExampleHome_Stub.getEJBMetaData(Unknown Source)
         at com.acelet.s.Envoy.parseContext(Envoy.java:365)
         at com.acelet.s.Envoy.getJndiToRemoteInfoHashtable(Envoy.java:217)
         at com.acelet.s.peekPoke.EnvoyGetJndiToRemoteInfoHashtable.run(EnvoyGetJndiToRemoteInfoHashtable.java:33)
         at java.lang.Thread.run(Thread.java:536)
    Exception in thread "Thread-6" org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor code: 211 completed: Maybe
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:944)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:850)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:842)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_abstract_interface(CDRInputStream.java:309)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
         at com.sun.ejb.portable.EJBMetaDataImpl.readObject(EJBMetaDataImpl.java:112)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
         at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1075)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:293)
         at examples._CasinoWithLoggingExampleHome_Stub.getEJBMetaData(Unknown Source)
         at com.acelet.s.Envoy.parseContext(Envoy.java:365)
         at com.acelet.s.Envoy.getJndiToRemoteInfoHashtable(Envoy.java:217)
         at com.acelet.s.peekPoke.EnvoyGetJndiToRemoteInfoHashtable.run(EnvoyGetJndiToRemoteInfoHashtable.java:33)
         at java.lang.Thread.run(Thread.java:536)
    Cannot get home object for jndi name: examples.CasinoWithLoggingExampleHome
    :java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
         org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor code: 211 completed: Maybe
    Cannot get home object for jndi name: examples.CasinoWithLoggingExampleHome
    Is client jar on CLASSPATH or installed onto Super?
    Cannot get home object for jndi name: examples.CasinoWithLoggingExampleHome
    :java.lang.NullPointerException
    Exception in thread "Thread-6" java.lang.StackOverflowError
         at com.sun.corba.ee.internal.corba.ORB.<init>(ORB.java:263)
         at com.sun.corba.ee.internal.iiop.ORB.<init>(ORB.java:102)
         at com.sun.corba.ee.internal.POA.POAORB.<init>(POAORB.java:126)
         at com.sun.corba.ee.internal.Interceptors.PIORB.<init>(PIORB.java:207)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.<init>(TxPIORB.java:82)
         at com.sun.enterprise.iiop.POAEJBORB.<init>(POAEJBORB.java:122)
         at sun.reflect.GeneratedConstructorAccessor5.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:306)
         at java.lang.Class.newInstance(Class.java:259)
         at org.omg.CORBA.ORB.create_impl(ORB.java:295)
         at org.omg.CORBA.ORB.init(ORB.java:336)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iio

    Nelson_Garcia wrote:
    I think variable ourinfo (type SSRCInfo) has been set to null in class RTCPTransmitter in bye method. This method is executed due to the timeout event logged before the exception...but, why do i get that timeout event if it's supposed to be receiving the stream?You type that like you posted the output you're seeing when you run your program...but you didn't..so there's no way of answering that question.

  • What is the max. count of internal worker-threads in B1iSN 88?

    Hi Experts,
    We have an installation of B1iSN 88 with an ECC 6.0 and 54 SAP Business One installation. The Hardware is 8 Core multi-threads processor. 32GB Memory. Now we have a problem with the queuing of Events. What we have found is that the configuration of the internal worker-threads is set to -1(please see below for the settings). We change the settings to xcl.threads=20 and it improves the queuing. My question is what is the max. count of internal worker-threads per core? so that we can know how many worker will set and if we need to upgrade the CPU to 16 Core..
    # The max. count of internal worker-threads afforded for the internal Scheduler (defaults to 1)
    # The value of 0 means that there is no limit (what in general should not be set up).
    # A negative value means the count of threads per available processor
    xcl.threads=-1
    Regards,
    Wilson

    You're very welcome.
    Yes, they are very nice machines. 
    What a jump in performance when I swapped out the Pentium 4 620 mine had, for the PD 945, and tossed in 4 GB of memory.
    That box will also run the Radeon HD 6570 with no problem too, which is what I put in mine.
    The downside of that model is that there are no settings for ahci or raid.
    I own or have owned every CMT since the d510 with the exception of the dc7900.
    My main PC is now the 8200 Elite CMT which I installed W8.1 on.
    It has an i7-2600 processor and 32 GB of memory, 1 TB SATA III hard drive.
    I threw in a Radeon HD 6670 in that one.
    Best Regards,
    Paul

  • Number of threads used in default

    default execution threads in bea are 25, but when looking through Windows Task Manager we see there are 120 threads being used.
    How do we account for this number? is it for JDBC connections ? where are the other threads comming into picture? can anyone throw some light

    on the console, right click on a server, and select "view execute queues". then click on the default queue. if tasks queue up, and reach the threshold percent, weblogic will add more threads, by the amount specified in Thread Increase, up toa maximum of Thread Maximum. you might want to take a look at why your server is not working fast enough to keep the queue low or empty.
    http://e-docs.bea.com/wls/docs70/perform/WLSTuning.html#1124626

  • Working with threads

    hello all.
    I find some program that will help me in my work.
    but know i don't know how to change it that it will fit my project. i just want to work with thread pool. i find some code that can do this.
    mu problem is that i don't know how to change the task and the run functions in that program because they are interface. and when i do change them I get all the code errors.
    can you give me an example how can i change this code to do some, like that the task will print something or do something else.
    the code is:
    thanks alot!
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package work2;
    import java.util.ArrayList;
    import java.util.List;
    * @author vitaly87
    public class ThreadPool {
    /** Simple thread pool. A task is executed by obtaining a thread from
    * the pool
      /** The thread pool contains instances of {@link ThreadPool.Task}.
      public interface Task {
        /** Performs the task.
         * @throws Throwable The task failed, and the worker thread won't be used again.
        void run() throws Throwable{}
        /** A task, which may be interrupted, if the pool is shutting down.
        public interface InterruptableTask extends Task {
            /** Interrupts the task.
             * @throws Throwable Shutting down the task failed.
            void shutdown() throws Throwable;
        private class Poolable {
            private boolean shuttingDown;
            private Task task;
            private Thread thread;
            Poolable(ThreadGroup pGroup, int pNum) {
                thread = new Thread(pGroup, pGroup.getName() + "-" + pNum){
                    public void run() {
                        while (!isShuttingDown()) {
                            final Task t = getTask();
                            if (t == null) {
                                try {
                                    synchronized (this) {
                                        if (!isShuttingDown()  &&  getTask() == null) {
                                            wait();
                                } catch (InterruptedException e) {
                                    // Do nothing
                            } else {
                                try {
                                    t.run();
                                    resetTask();
                                    repool(Poolable.this);
                                } catch (Throwable e) {
                                    discard(Poolable.this);
                                    resetTask();
                thread.start();
            synchronized void shutdown() {
                shuttingDown = true;
                final Task t = getTask();
                if (t != null  &&  t instanceof InterruptableTask) {
                    try {
                        ((InterruptableTask) t).shutdown();
                    } catch (Throwable th) {
                        // Ignore me
                task = null;
                synchronized (thread) {
                    thread.notify();
            private synchronized boolean isShuttingDown() { return shuttingDown; }
            String getName() { return thread.getName(); }
            private synchronized Task getTask() {
                return task;
            private synchronized void resetTask() {
                task = null;
            synchronized void start(Task pTask) {
                task = pTask;
                synchronized (thread) {
                    thread.notify();
      private final ThreadGroup threadGroup;
      private final int maxSize;
      private final List waitingThreads = new ArrayList();
      private final List runningThreads = new ArrayList();
      private final List waitingTasks = new ArrayList();
      private int num;
      /** Creates a new instance.
       * @param pMaxSize Maximum number of concurrent threads.
       * @param pName Thread group name.
      public ThreadPool(int pMaxSize, String pName) {
        maxSize = pMaxSize;
        threadGroup = new ThreadGroup(pName);
      synchronized void discard(Poolable pPoolable) {
        pPoolable.shutdown();
            runningThreads.remove(pPoolable);
            waitingThreads.remove(pPoolable);
      synchronized void repool(Poolable pPoolable) {
            if (runningThreads.remove(pPoolable)) {
                if (maxSize != 0  &&  runningThreads.size() + waitingThreads.size() >= maxSize) {
                    discard(pPoolable);
                } else {
                    waitingThreads.add(pPoolable);
                    if (waitingTasks.size() > 0) {
                        Task task = (Task) waitingTasks.remove(waitingTasks.size() - 1);
                        startTask(task);
            } else {
                discard(pPoolable);
      /** Starts a task immediately.
       * @param pTask The task being started.
       * @return True, if the task could be started immediately. False, if
       * the maxmimum number of concurrent tasks was exceeded. If so, you
       * might consider to use the {@link #addTask(ThreadPool.Task)} method instead.
      public synchronized boolean startTask(Task pTask) {
        if (maxSize != 0  &&  runningThreads.size() >= maxSize) {
          return false;
            Poolable poolable;
        if (waitingThreads.size() > 0) {
            poolable = (Poolable) waitingThreads.remove(waitingThreads.size()-1);
        } else {
                poolable = new Poolable(threadGroup, num++);
        runningThreads.add(poolable);
            poolable.start(pTask);
        return true;
      /** Adds a task for immediate or deferred execution.
       * @param pTask The task being added.
       * @return True, if the task was started immediately. False, if
       * the task will be executed later.
      public synchronized boolean addTask(Task pTask) {
        if (startTask(pTask)) {
          return true;
        waitingTasks.add(pTask);
        return false;
      /** Closes the pool.
      public synchronized void shutdown() {
            while (!waitingThreads.isEmpty()) {
                Poolable poolable = (Poolable) waitingThreads.remove(waitingThreads.size()-1);
                poolable.shutdown();
            while (!runningThreads.isEmpty()) {
                Poolable poolable = (Poolable) runningThreads.remove(runningThreads.size()-1);
                poolable.shutdown();
      /** Returns the maximum number of concurrent threads.
       * @return Maximum number of threads.
      public int getMaxThreads() { return maxSize; }
      /** Returns the number of threads, which have actually been created,
         * as opposed to the number of currently running threads.
        public synchronized int getNumThreads() { return num; }
    }

    Sounds like you should read up on the [java tutorials |http://java.sun.com/docs/books/tutorial/essential/concurrency/] on threading.
    I found some car parts that will help me drive. And no, I don't know how to put them together to make a car. But I want to drive on the highway! I found some car parts that can do this.

  • I reinstalled microsoft word and now have a copy that will not work that is the default

    I reinstalled microsoft word and now have a copy that will not work that is the default

    I have MS word 2008 for MAC version 12.1
    When I left click the MS word applications that is the default seems to be corrupted as indicated by the message below but when I right click i can select the second MS word application that works.  The message from the left click is
    Process:         Microsoft Word [10367]
    Path:            /Users/geralddowling/Library/Mail Downloads/Microsoft Word.app/Contents/MacOS/Microsoft Word
    Identifier:      com.microsoft.Word
    Version:         ??? (???)
    Build Info:      Unknown-80409~0
    Code Type:       X86 (Native)
    Parent Process:  launchd [128]
    Date/Time:       2011-07-25 17:25:09.413 -0400
    OS Version:      Mac OS X 10.6.7 (10J869)
    Report Version:  6
    Interval Since Last Report:          166920 sec
    Crashes Since Last Report:           5
    Per-App Crashes Since Last Report:   5
    Anonymous UUID:                      1C5621D4-1D85-488D-A24C-CB298759DBC6
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: @executable_path/../Frameworks/MicrosoftComponentPlugin.framework/Versions/12/M icrosoftComponentPlugin
      Referenced from: /Users/geralddowling/Library/Mail Downloads/Microsoft Word.app/Contents/MacOS/Microsoft Word
      Reason: image not found
    Binary Images:
    0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
    Model: iMac10,1, BootROM IM101.00CC.B00, 2 processors, Intel Core 2 Duo, 3.06 GHz, 8 GB, SMC 1.53f13
    Graphics: ATI Radeon HD 4670, ATI Radeon HD 4670, PCIe, 256 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 2.1.14.5
    Bluetooth: Version 2.4.0f1, 2 service, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: ST31000528ASQ, 931.51 GB
    Serial ATA Device: HL-DT-ST DVDRW  GA11N
    USB Device: Keyboard Hub, 0x05ac  (Apple Inc.), 0x1006, 0x24300000
    USB Device: Cruzer Mini, 0x0781  (SanDisk Corporation), 0x5150, 0x24310000
    USB Device: Apple Keyboard, 0x05ac  (Apple Inc.), 0x0220, 0x24320000
    USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8502, 0x24400000
    USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0x26500000
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x04500000
    USB Device: Back-UPS ES 750 FW:841.I3 .D USB FW:I3, 0x051d  (American Power Conversion), 0x0002, 0x06400000
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8215, 0x06110000

  • Uncaught exception : Application Registry.getOrWait for (0x7c802411365c3985) owner died Thread [thread- 86830080,5]

    hi,
    Since yesterday my Blackberry has stopped working. I tried rebooting several tomes but whenever i reboot it and the BB gets hanged
    "Uncaught exception : Application Registry.getOrWait for (0x7c802411365c3985) owner died Thread [thread- 86830080,5]"
    Can any1 help me with the possible solution

    akriti wrote:
    hi,
    Since yesterday my Blackberry has stopped working. I tried rebooting several tomes but whenever i reboot it and the BB gets hanged
    "Uncaught exception : Application Registry.getOrWait for (0x7c802411365c3985) owner died Thread [thread- 86830080,5]"
    Can any1 help me with the possible solution
    Hi akriti,
    Reset your BlackBerry to factory settings. Read this Article.
    How to reset the BlackBerry smartphone to factory defaults
    Hope it helps.
    Good luck!
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

  • Help with "Exception in thread "Thread-4" java.lang.NullPointerException"

    I am new to Java and I am trying a simple bouncing ball example from Stanford. Here is their simple example that works.
    import acm.program.*;
    import acm.graphics.*;
    import java.awt.*;
    public class BouncingBallWorking extends GraphicsProgram {
    /** sets diameter */
    private static final int DIAM_BALL = 30;
    /** amount y velocity is increased each cycle */
    private static final double GRAVITY = 3;
    /** Animation delay or pause time between ball moves */
    private static final int DELAY = 50;
    /** Initial X and Y location ball*/
    private static final double X_START = DIAM_BALL / 2;
    private static final double Y_START = 100;
    private static final double X_VEL = 3;
    private static final double BOUNCE_REDUCE = 0.9;
    private double xVel = X_VEL;
    private double yVel = 0.0;
    private GOval BallA;
    public void run() {
    setup(X_START,Y_START);
    //         Simulation ends when ball goes off right hand
    //         end of screen
    while (BallA.getX() < getWidth()) {
    moveBall(BallA);
    checkForCollision(BallA);
    pause(DELAY);
    private void setup(double X_coor, double Y_coor) {
    BallA = new GOval(X_coor, Y_coor, DIAM_BALL, DIAM_BALL);
    add(BallA);
    private void moveBall(GOval BallObject) {
    yVel += GRAVITY;
    BallObject.move(xVel,yVel);
    private void checkForCollision(GOval BallObject) {
    if(BallObject.getY() > getHeight() - DIAM_BALL){
    yVel = - yVel * BOUNCE_REDUCE;
    double diff = BallObject.getY() - (getHeight() - DIAM_BALL);
    BallObject.move(0, -2 * diff);
    } Now I am trying to modify "setup" so it I can create several balls. I made a simple modification to "setup" and now I am getting an error.
    "Exception in thread "Thread-4" java.lang.NullPointerException
    at BouncingBallNotWorking.run(BouncingBallNotWorking.java:36)
    at acm.program.Program.runHook(Program.java:1592)
    at acm.program.Program.startRun(Program.java:1581)
    at acm.program.AppletStarter.run(Program.java:1939)
    at java.lang.Thread.run(Unknown Source)"
    Can you describe why I am getting an error? Thanks.
    Here is what I changed.
    Before:
         private void setup(double X_coor, double Y_coor) {
              BallA = new GOval(X_coor, Y_coor, DIAM_BALL, DIAM_BALL);
              add(BallA);
         }After:
         private void setup(double X_coor, double Y_coor, GOval BallObject) {
              BallObject = new GOval(X_coor, Y_coor, DIAM_BALL, DIAM_BALL);
              add(BallObject);
         }Here is the complete code.
    * File:BouncingBall.java
    * This program graphically simulates a bouncing ball
    import acm.program.*;
    import acm.graphics.*;
    import java.awt.*;
    public class BouncingBallNotWorking extends GraphicsProgram {
    /** sets diameter */
    private static final int DIAM_BALL = 30;
    /** amount y velocity is increased each cycle */
    private static final double GRAVITY = 3;
    /** Animation delay or pause time between ball moves */
    private static final int DELAY = 50;
    /** Initial X and Y location ball*/
    private static final double X_START = DIAM_BALL / 2;
    private static final double Y_START = 100;
    private static final double X_VEL = 3;
    private static final double BOUNCE_REDUCE = 0.9;
    private double xVel = X_VEL;
    private double yVel = 0.0;
    private GOval BallA;
    public void run() {
    setup(X_START,Y_START, BallA);
    //         Simulation ends when ball goes off right hand
    //         end of screen
    while (BallA.getX() < getWidth()) {
    moveBall(BallA);
    checkForCollision(BallA);
    pause(DELAY);
    private void setup(double X_coor, double Y_coor, GOval BallObject) {
    BallObject = new GOval(X_coor, Y_coor, DIAM_BALL, DIAM_BALL);
    add(BallObject);
    private void moveBall(GOval BallObject) {
    yVel += GRAVITY;
    BallObject.move(xVel,yVel);
    private void checkForCollision(GOval BallObject) {
    if(BallObject.getY() > getHeight() - DIAM_BALL){
    yVel = - yVel * BOUNCE_REDUCE;
    double diff = BallObject.getY() - (getHeight() - DIAM_BALL);
    BallObject.move(0, -2 * diff);
    } Edited by: TiredRyan on Mar 19, 2010 1:47 AM

    TiredRyan wrote:
    That is great! Thanks. I've got two question though.
    1.) Now I want to have 100 bouncing balls. Is the best way to achieve this is through an array of GOvals? I haven't gotten to the lecture on arrays on Stanford's ITunesU site yet so I am not sure what is possible with what I know now.An array would work, or a List. But it doesn't matter much in this case.
    2.) Are references being passed by value only applicable to Java or is that common to object-oriented programming? Also is there a way to force Java to pass in "BallA" instead of the value "null"?I can't say about all OO languages as a whole, but at least C++ can pass by reference.
    And no, there's no way to pass a reference to the BallA variable, so the method would initialize it and it wouldn't be null anymore.
    When you call the method with your BallA variable, the value of the variable is examined and it's passed to the method. So you can't pass the name of a variable where you'd want to store some object you created in the method.
    But you don't need to either, so there's no harm done.

  • Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.con

    Hi everyone,
    Just now i tried to run the 'simple' example in an JAXRPC Security part in the JWSDP 1.4 tutorial but got the following error:
    run-sample:
    [echo] Running the simple.TestClient program....
    [java] Service URL=http://localhost:8080/securesimple/Ping
    [java] Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.configuration.SecurityConfigurationXmlReader.readJAXRPCSecurityConfigurationString(Ljava/lang/String;Z)Lcom/sun/xml/wss/configuration/JAXRPCSecurityConfiguration;
    [java]      at com.sun.xml.rpc.security.SecurityPluginUtil.<init>(SecurityPluginUtil.java:128)
    [java]      at simple.PingPort_Ping_Stub.<clinit>(PingPort_Ping_Stub.java:40)
    [java]      at simple.PingService_Impl.getPing(PingService_Impl.java:68)
    [java]      at simple.TestClient.main(TestClient.java:27)
    Can anybody give me a clue?

    Vishal, thanks a lot for your reply. I used the App Server 2004Q4 beta and got the problem. When I switch to version 8.0.0_01 the things work well.
    But now I'm trying to understand this example and creating my own simple web app using encryption feature. From the files in the example dicrectory I can figure out the security applied at client by examining client stub files generated by the wscompile in the asant gen-client task. But I wonder when security is added to the server side. Is it when we use wsdeploy with the model part specifiedin jaxrpc-ri.xml? What is the procedure to apply the security to the web service?
    The last thing I want to ask is whether the deploytool bundled inside App Server can do the same things as ant task (eg. wsdeploy with some arguments).

  • Exception in thread "Thread-4" java.lang.IllegalAccessError

    Hi All,
    I am getting this error at run-time while trying to run below code
    Exception in thread "Thread-4" java.lang.IllegalAccessError
    CODE:
    ================================
    * FileName : UMAC.java *
    * Program Details : For getting Signed data. *
    * Invoked From : SignedDataImpl.java *
    package sfmsbr.bankapi;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.security.InvalidKeyException;
    import java.security.Key;
    import java.security.KeyPair;
    import java.security.KeyStore;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.security.NoSuchProviderException;
    import java.security.PrivateKey;
    import java.security.PublicKey;
    import java.security.Security;
    import java.security.Signature;
    import java.security.cert.Certificate;
    import java.security.cert.X509Certificate;
    import java.util.Date;
    import java.util.Enumeration;
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.NoSuchPaddingException;
    import com.ibm.misc.BASE64Decoder;
    import com.ibm.misc.BASE64Encoder;
    import sun.security.pkcs.ContentInfo;
    import sun.security.pkcs.PKCS7;
    import sun.security.pkcs.PKCS9Attribute;
    import sun.security.pkcs.PKCS9Attributes;
    import sun.security.pkcs.SignerInfo;
    import com.ibm.security.util.DerOutputStream;
    /*import sun.security.x509.AlgorithmId;*/
    import com.ibm.security.x509.AlgorithmId;
    /*import sun.security.x509.X500Name;*/
    import com.ibm.security.x509.X500Name;
    /*import com.ibm.jsse.IBMJSSEProvider;*/
    import org.apache.harmony.security.asn1.DerInputStream;
    import com.cs.common.Utilities;
    import com.sun.net.ssl.internal.ssl.Provider;
    /*import javax.net.ssl.*;*/
    import sun.security.pkcs.*;
    public class UMAC
    private static String storetype = null;
    private static String storepath = null;
    private static char keyPassword[] = null;
    private static char filePassword[] = null;
    private static String alias = null;
    private static X509Certificate x509 = null;
    private static Certificate certs[] = null;
    private static final String digestAlgorithm = "SHA256";
    private static final String signingAlgorithm = "SHA256withRSA";
    private static Key key = null;
    private static KeyPair pair = null;
    private static KeyStore keystore = null;
    private static PrivateKey priv = null;
    private static PublicKey pub = null;
    private static String signedData = null;
    File certificateFile;
    private static String fileName = "";
    private static final String ALGORITHM = "PBEWithSHA256AndDes";
    private String characterEncoding;
    private Cipher encryptCipher;
    private Cipher decryptCipher;
    private BASE64Encoder base64Encoder = new BASE64Encoder();
    private BASE64Decoder base64Decoder = new BASE64Decoder();
    * Constructor to initialize the Parameters used
    * @param s file name/path
    * @param s1 is file password
    * @param s2 is key password
    * @param s3 is alias name
    * @throws IOException
    public UMAC(String s, String s1, String s2, String s3) throws IOException
    try {
    String dkeyPassword = Utilities.decodeDBPwd(s2);
    String dFilePassword = Utilities.decodeDBPwd(s1);
    keyPassword = (new String(dkeyPassword)).toCharArray();
    filePassword = (new String(dFilePassword)).toCharArray();
    alias = s3;
    fileName = s;
    } catch (Exception e) {
    e.printStackTrace();
    * method will prepare the digital signature for the message received as argument and returns the digital signature
    * @param s the message to prepare signed data
    * @return signed data prepard for the message received
    * @throws NoSuchAlgorithmException
    * @throws InvalidKeyException
    * @throws IllegalBlockSizeException
    * @throws NoSuchProviderException
    * @throws BadPaddingException
    * @throws NoSuchPaddingException
    * @throws Exception
    public String getSingedData(String s) throws NoSuchAlgorithmException, InvalidKeyException, IllegalBlockSizeException, NoSuchProviderException, BadPaddingException, NoSuchPaddingException, Exception
    Security.addProvider(new Provider()); // addProvider(Provider provider).. Adds a provider to the next position available.
    System.out.println("reached here a");
    certificateFile = new File(fileName);
    /*keystore = KeyStore.getInstance("pkcs12", "SunJSSE");*/
    keystore = KeyStore.getInstance("pkcs12", "IBMJCE");
    System.out.println("reached here b");
    BASE64Encoder base64encoder = new BASE64Encoder();
    System.out.println("reached here ba");
    keystore.load(new FileInputStream(certificateFile), filePassword);
    System.out.println("reached here bb");
    Enumeration enumeration = keystore.aliases();
    do {
    if(!enumeration.hasMoreElements())
    break;
    String s1 = enumeration.nextElement().toString();
    if(keystore.isKeyEntry(s1))
    alias = s1;
    } while(true);
    System.out.println("reached here c");
    pair = getPrivateKey(keystore, alias, keyPassword);
    priv = pair.getPrivate();
    String s2 = base64encoder.encode(priv.getEncoded());
    if(keystore.isKeyEntry(alias))
    certs = keystore.getCertificateChain(alias);
    if(certs[0] instanceof X509Certificate)
    x509 = (X509Certificate)certs[0];
    if(certs[certs.length - 1] instanceof X509Certificate)
    x509 = (X509Certificate)certs[certs.length - 1];
    } else
    if(keystore.isCertificateEntry(alias))
    Certificate certificate = keystore.getCertificate(alias);
    if(certificate instanceof X509Certificate)
    x509 = (X509Certificate)certificate;
    certs = (new Certificate[] {
    x509
    } else {
    throw new Exception(alias + " Wrong alias, Please Check");
    AlgorithmId aalgorithmid[] = {
    AlgorithmId.get("SHA256")
    byte abyte0[] = s.getBytes("UTF8");
    System.out.println("reached here d");
    MessageDigest messagedigest = MessageDigest.getInstance("SHA256");
    messagedigest.update(abyte0);
    byte abyte1[] = messagedigest.digest();
    PKCS9Attribute apkcs9attribute[] = {
    new PKCS9Attribute(PKCS9Attribute.CONTENT_TYPE_OID, ContentInfo.DATA_OID), new PKCS9Attribute(PKCS9Attribute.SIGNING_TIME_OID, new Date()), new PKCS9Attribute(PKCS9Attribute.MESSAGE_DIGEST_OID, abyte1)
    PKCS9Attributes pkcs9attributes = new PKCS9Attributes(apkcs9attribute);
    Signature signature = Signature.getInstance("SHA256withRSA", "SunJSSE");
    signature.initSign(priv);
    signature.update(pkcs9attributes.getDerEncoding());
    byte abyte2[] = signature.sign();
    ContentInfo contentinfo = null;
    contentinfo = new ContentInfo(ContentInfo.DATA_OID, null);
    X509Certificate ax509certificate[] = {
    x509
    java.math.BigInteger biginteger = x509.getSerialNumber();
    SignerInfo signerinfo = new SignerInfo(new X500Name(x509.getIssuerDN().getName()), biginteger, AlgorithmId.get("SHA256"), pkcs9attributes, new AlgorithmId(AlgorithmId.RSAEncryption_oid), abyte2, null);
    SignerInfo asignerinfo[] = {
    signerinfo
    PKCS7 pkcs7 = new PKCS7(aalgorithmid, contentinfo, ax509certificate, asignerinfo);
    DerOutputStream deroutputstream = new DerOutputStream();
    pkcs7.encodeSignedData(deroutputstream);
    byte abyte3[] = deroutputstream.toByteArray();
    String s3 = new String(abyte3);
    BASE64Encoder base64encoder1 = new BASE64Encoder();
    String s4 = base64encoder1.encodeBuffer(abyte3);
    BASE64Decoder base64decoder = new BASE64Decoder();
    System.out.println("reached here e");
    byte abyte4[] = base64decoder.decodeBuffer(s4);
    PKCS7 pkcs7_1 = new PKCS7(abyte4);
    SignerInfo asignerinfo1[] = null;
    if(pkcs7_1.getContentInfo().getContentBytes() == null)
    byte abyte5[] = s.getBytes("UTF8");
    asignerinfo1 = pkcs7_1.verify(abyte5);
    } else
    asignerinfo1 = pkcs7.verify();
    if(asignerinfo1 == null) {
    throw new Exception("Signature failed verification, data has been tampered");
    } else {
    Utilities.log(3, "asignerinfo1 is not null Verification OK>>" + new Date(System.currentTimeMillis()), "UMAC", "run");
    return s4;
    * gets the private key for opening the signing file
    * @param keystore1
    * @param s is file path
    * @param ac
    * @return keypair
    * @throws Exception
    public KeyPair getPrivateKey(KeyStore keystore1, String s, char ac[]) throws Exception
    PublicKey publickey;
    System.out.println("inside UMAC.getPrivateKey");
    key = keystore1.getKey(s, ac);
    System.out.println("key --->" +key);
    if(!(key instanceof PrivateKey))
    return null;
    Certificate certificate = keystore1.getCertificate(s);
    publickey = certificate.getPublicKey();
    System.out.println("Returning from UMAC.getPrivateKey : publickey is --->" +publickey);
    return new KeyPair(publickey, (PrivateKey)key);
    ===========================================
    Its compiling properly but at run-time it's showing below error
    OUTPUT:
    ===========================================
    reached here a
    reached here b
    reached here ba
    Exception in thread "Thread-4" java.lang.IllegalAccessError
    at sun.security.util.DerInputStream.init(Unknown Source)
    at sun.security.util.DerInputStream.<init>(Unknown Source)
    at sun.security.rsa.RSAPublicKeyImpl.parseKeyBits(Unknown Source)
    at sun.security.x509.X509Key.decode(X509Key.java:396)
    at sun.security.x509.X509Key.decode(X509Key.java:408)
    at sun.security.rsa.RSAPublicKeyImpl.<init>(Unknown Source)
    at sun.security.rsa.RSAKeyFactory.generatePublic(Unknown Source)
    at sun.security.rsa.RSAKeyFactory.engineGeneratePublic(Unknown Source)
    at java.security.KeyFactory.generatePublic(KeyFactory.java:145)
    at com.ibm.security.x509.X509Key.buildX509Key(X509Key.java:278)
    at com.ibm.security.x509.X509Key.parse(X509Key.java:189)
    at com.ibm.security.x509.X509Key.parse(X509Key.java:215)
    at com.ibm.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:112)
    at com.ibm.security.x509.X509CertInfo.parse(X509CertInfo.java:966)
    at com.ibm.security.x509.X509CertInfo.<init>(X509CertInfo.java:236)
    at com.ibm.security.x509.X509CertInfo.<init>(X509CertInfo.java:222)
    at com.ibm.security.x509.X509CertImpl.parse(X509CertImpl.java:2285)
    at com.ibm.security.x509.X509CertImpl.<init>(X509CertImpl.java:227)
    at com.ibm.security.x509.X509CertImpl.<init>(X509CertImpl.java:213)
    at com.ibm.security.pkcs12.CertBag.decode(CertBag.java:599)
    at com.ibm.security.pkcsutil.PKCSDerObject.decode(PKCSDerObject.java:251)
    at com.ibm.security.pkcs12.CertBag.<init>(CertBag.java:76)
    at com.ibm.security.pkcs12.BasicPFX.getCertificates(BasicPFX.java:1422)
    at com.ibm.security.pkcs12.PFX.getCertificates(PFX.java:549)
    at com.ibm.crypto.provider.PKCS12KeyStore.engineLoad(Unknown Source)
    at java.security.KeyStore.load(KeyStore.java:414)
    at sfmsbr.bankapi.UMAC.getSingedData(UMAC.java:137)
    at sfmsbr.bankapi.SignedDataImpl.getSingedData(SignedDataImpl.java:42)
    at com.cs.sfms.SFMSMessageSender.run(SFMSMessageSender.java:226)
    at java.lang.Thread.run(Thread.java:736)
    18:10:05 10-Feb-2012 AFTER JAVA Execution
    Please share your valuable inputs to resolve this
    Regards,
    Haris

    java version
    java version "1.6.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20110211b (SR12 FP3 +IZ94331))
    IBM J9 VM (build 2.3, J2RE 1.6.0 IBM J9 2.3 AIX ppc-32 j9vmap3223ifx-20101130 (JIT enabled)
    J9VM - 20101129_69669_bHdSMr
    JIT - 20100623_16197ifx1_r8
    GC - 20100211_AA)
    JCL - 20110208
    Regards
    Haris
    Edited by: user12848704 on Feb 10, 2012 3:27 AM

  • SAP NetWeaver 7.01 ABAP Trial Version - Exceptioin in thread "Thread-51"

    Hello All I have tried 4 times to install SAPNW 7.01 ABAP Trial, but failed.
    The InstallShield Wizard returns an error:
    Exceptioin in thread "Thread-51" com.installshield.database.ISSqlException: Table not found CONTROLEVENT in statement [SELECT ActionSequence_FROM ControlEvent WHERE
    Controlid_=51 AND EventType='buttonClicked'] [SELECT ActionSequence_FROM ControlEvent WHERE
    Controlid_=? AND EventType=?] caused by: java.sql.SQLException:
    Table not found CONTROLEVENT in Statement [SELECT ActionSequence_FROM ControlEvent WHERE
    Controlid_=51 AND EventType='buttonClicked']
           at com.installshield.database.TransactionProcessor.query(Unknown Source)
           at com.installshield.database.SQLProcessor.queryIntegers(Unknown Source)
           at com.installshield.database.designtime.ISControlEventDef.getActionSequence(Unknown Source)
           at com.installshield.database.runtime.impl.ISBaseEventImpl.getActionSequence(Unknown Source)
           at com.installshield.event.EventDispatcher.triggerEvent(Unknown Source)
           at com.installshield.event.EventDispatcher$BackgroundEventThread.run(Unknown Source)
    And the C:\SAP\NSP\log.txt:
    (Aug 7, 2009 1:07:26 PM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, An error occurred and product installation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Aug 7, 2009 1:07:26 PM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllInstallationSteps(StepWrapperInstallFiles.java:177)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.install(StepWrapperInstallFiles.java:268)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Aug 7, 2009 1:07:27 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Aug 7, 2009 1:07:27 PM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllUninstallationSteps(StepWrapperInstallFiles.java:192)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.uninstall(StepWrapperInstallFiles.java:313)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    1.- I have installed the Loopback Adapter and
    2.- java_home=C:\Programme\Java\j2re1.4.2_16
    3.- before reinstalling everything, I have executed the RegCleanTool
    4.- I have Windows XP service pack 2
    and still the problem has not resolved.
    I need some help and I hope you can help me.
    Cheers
    Marcos

    Hi,
    I have dropped the NSP database and now I only get the following error after trying to install the trial version again:
    (Aug 7, 2009 2:09:59 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Aug 7, 2009 2:09:59 PM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllUninstallationSteps(StepWrapperInstallFiles.java:192)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.uninstall(StepWrapperInstallFiles.java:313)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Cheers
    Marcos

  • New keyboard shortcut didn't work; neither did resetting default

    I wanted to create a new keyboard shortcut for sending mail, so I used the system prefs pane like the help file said (new application shortcut, select mail, etc). After creating my new shortcut (^X), it initially didn't appear in the Message menu for Mail. I quit Mail and restarted, and voila - but hitting ^X didn't send my message. That's annoying.
    So I figured I'd set the shortcut back, and hit the Restore Default button in the keyboard shortcuts preferences. The listing for the shortcut I created disappeared from the menu, but even after quitting Mail several times, and restarting the machine, Menu - Send still lists ^X as its shortcut. Which would be fine with me, but it still doesn't send my message when I hit ^X.
    My shortcut doesn't work, and resetting the defaults doesn't seem to be resetting what Mail thinks the shortcut is. Any thoughts? I'm on OSX 10.4.7, Mail is 2.1.
    PowerBook G4   Mac OS X (10.4.7)  

    lucke wrote:Perhaps you did some bad things to your grub config while playing with the new kernel?
    No, I did the changes temporarily, but none perminant.
    lucke wrote:Tried booting with kernel26-fallback.img?
    Not yet, I think I will do that tomarrow.
    lucke wrote:How did you play with the new kernel? Using ABS or using classic "make menuconfig && make && make install"? How did the recompilation fail?
    I used the wiki to compile it with ABS. It failed because I forgot to set it to be able to read EXT partitions, which it is located on.

  • Not getting cleared with internal working of JSF

    Hi All,
    I have started with basics of JSF and created some simple apps using netBeans.
    However I am not getting cleared with the exact internal working of JSF i.e. how the things are implemented in JSF libraries: jsf-api and jsf-impl.
    Please advice or share some links on this.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    While creating JSP custom tags, we start from scratch by first creating tag handler class then .tld file for that and finally deploying both these files.
    I am looking for a similar approach for making our own JSF component.
    I don't want to put jsf-impl API into lib directory. Is it possible to make a simple component using jstl standard libraries ?
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Need new HDD for Satellite L300-1BD

    Hey, the HDD in my Toshiba Satellite laptop isn't working anymore. So I'm going to buy a new one today but which one do i need? Like how many inch? And is it a SATA connection or something? Could someone please tell me to what i have to look when I b

  • How to import actions from CS3 to CS4?

    I had a folder full of self-created actions in CS3. Now that I've installed CS4 I see they did not make the transition during install. How do I get them imported into CS4? I can't seem to find them in any Library folders, nor can I get CS3 to run any

  • HR schema

    hi all. i have installed database 11g R1 and as well as 11g R2 but unfortunatly i did not get HR schema i do not know what is the problem plz can anyone guide me or plz provide me HR schemas dump file here is my ID. OS Linux. thanks in advance.

  • Siebel eService - license error in Home Page View

    We installed Siebel CRM v8.0 When we try to log on to eService, get the following error: View 'Home Page View (eService)' is not licensed for this site.(SBL-DAT-00327) Any help on this error is greatly appreciated. Thanks.

  • ICI Error occurred in method CL_BCB_SYSTEM- GET_WORKCENTER_CAPABILITY

    Hi We have integrated CRM 7.0 with a third party vendor. After initiating a call, i have checked the CRM trace and found this following error, "ICI Error occurred in method CL_BCB_SYSTEM->GET_WORKCENTER_CAPABILITY". We have no issues in receiving the