Weblogic.utils.AssertionError in tomcat

We upgraded to weblogic7.0 but got some AssertionErrors in tomcat side, following
is the stack tarce, can anyone throw some light on this?
Thanks
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:74)
at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:258)
at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.jav
a:280)
at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readC
lassDescriptor(ChunkedObjectInputStream.java:361)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:901)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInput
Stream.java:140)
at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:117)
at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.jav
a:106)
at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteR
ef.java:82)
at glog.server.query.ListRetrieverBean_39muu7_EOImpl_WLStub.reset(Unknown
Source)
at glog.client.query.Cache.close(Cache.java:63)
at glog.client.query.Cache.finalize(Cache.java:69)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:81)
at java.lang.ref.Finalizer.access$100(Finalizer.java:12)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:158)

I guess that has something to do with finalizer thread not having correct
context (context classloader or something like that) set.
Just another example why finalizers are evil and should never be used ;-)
Jinsong Hu <[email protected]> wrote:
We upgraded to weblogic7.0 but got some AssertionErrors in tomcat side, following
is the stack tarce, can anyone throw some light on this?
Thanks
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:74)
at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:258)
at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.jav
a:280)
at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readC
lassDescriptor(ChunkedObjectInputStream.java:361)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:901)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInput
Stream.java:140)
at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:117)
at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.jav
a:106)
at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteR
ef.java:82)
at glog.server.query.ListRetrieverBean_39muu7_EOImpl_WLStub.reset(Unknown
Source)
at glog.client.query.Cache.close(Cache.java:63)
at glog.client.query.Cache.finalize(Cache.java:69)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:81)
at java.lang.ref.Finalizer.access$100(Finalizer.java:12)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:158)--
Dimitri

Similar Messages

  • Weblogic.utils.AssertionError when JBuilder 7 + Weblogic

    when i complie the jsp file,the following errors occur:
    java.lang.NullPointerException
    --------------- nested within: ------------------
    "Jsp1.jsp": weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.lang.NullPointerException]
    java.lang.NullPointerException
    --------------- nested within: ------------------
    "Jsp1.jsp": weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.lang.NullPointerException]
    why?

    Maybe one way you can do is to upgrade weblogic to sp4 (or above).
    Before my xx.jsp can compile ok when using jbuilder7 + tomcat, later when i use weblogic 6.1sp1, this error occurs.
    With my coworker's help, just upgrade to sp4, there is no error anymore.
    You guys may try this.

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non clusterable object with jndiName ]

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

  • Weblogic 8.1 SP4 - weblogic.utils.AssertionError has been deprecated???

    Hi All,
    My web application has been running great all these years with WebLogic 7.0 SP2. I am upgrading it to Weblogic 8.1 SP4.
    Few classes have the following code snippet:
    throw new weblogic.utils.AssertionError("impossible case: " + idx);
    Here idx is int.
    This code snippet never gave any trouble with WebLogic 7.0 SP2. Now when I am building the application with WebLogic 8.1 SP4 and JDK 1.4, it gives the following warning at the build time:
    [javac] warning: weblogic.utils.AssertionError in weblogic.utils has been deprecated
    [javac] throw new weblogic.utils.AssertionError("impossible case: " + idx);
    I am trying to identify, if this class has been deprecated in WebLogic 8.1, then what is the alternative class which I can use?
    I searched in all BEA documentations, but did not get any reference.
    Can some one help me, if you know about it.
    I would highly appreciate it.
    Thanks,
    Ashish.

    Hi,
    As you are using WLS8.1 It means your JDK will be JDK1.4 and there is a Bug already available with JDK1.4 for the Same issue ... Please find the below link:
    http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4705373 (For Sun JDK1.4)
    AND
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6373059 (For Sun JDK 1.5.0_05)
    Please try to switch to JRockit JDK.
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)

  • Weblogic.utils.AssertionError: weblogic 8.1 SP4 cluster

    Hi,
    I'm try to run a junit test from eclipse that runs a method in a bean deployed on a WL8.1 SP4 cluster.
    There are other posts for AssertionErrors in the firum but none have this particular error, the only references I could find to it were BEA readme docs for problems solved in WebLogic 7.
    If I move the bean from the cluster and run it on the admin server then happy days so I'm thinking it could be a cluster config problem?
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Only works for colocated objects ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.getServerReference(ServerHelper.java:194)
         at weblogic.jndi.internal.WLEventContextImpl.readExternal(WLEventContextImpl.java:401)
         at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
         at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
         at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:120)
         at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
         at sunlife.us.dc.connectivity.ejb.ConnectivityEditor_7xpdvm_EOImpl_814_WLStub.getDescriptionRefs(Unknown Source)
         at sunlife.us.dc.connectivity.ejb.ProfileEditorBeanTest.testGetDescriptionRefs(ProfileEditorBeanTest.java:66)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Assuming the log entries you care about are generated by your application, and not the infrastructure, you're better off adding millisecond detail to your application log messages. If you're using commons-logging, you can tie this to the WL server log implicitly through configuration, or you could use NonCatalogLogger to explicitly log to the WL server log.

  • Weblogic.utils.AssertionError when getting attributes of EJBComponentMBean

    when i get the attributes of this mbean, i get an assertion error. the
    javadocs do not say anything about this...so how can i prevent this
    assertion error?
    here is the code, and below is the error on weblogic
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, "t3://yscadt207:7001");
    p.put(Context.SECURITY_PRINCIPAL, "weblogic");
    p.put(Context.SECURITY_CREDENTIALS, "weblogic");
    Context ctx = null;
    try {
    ctx = new InitialContext(p);
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    MBeanServer server = home.getMBeanServer();
    Set set = server.queryNames(new
    ObjectName("*:Type=EJBComponent,*"), null);
    System.out.println("found " + set.size() + " mbeans");
    int show = 1;
    int count = 0;
    for(Iterator i = set.iterator(); show > count && i.hasNext();
    count++){
    ObjectName on = (ObjectName)i.next();
    System.out.println(on);
    MBeanInfo info = server.getMBeanInfo(on);
    MBeanAttributeInfo[] attinfo = info.getAttributes();
    for(int j = 0; j < attinfo.length; j++){
    try {
    System.out.println(attinfo[j].getName() + " (" +
    attinfo[j].getType() +
    "): " +
    server.getAttribute(on,
    attinfo[j].getName()));
    } catch(Exception ex){
    System.err.println("error for att " + attinfo[j].getName()
    + " (" + attinfo[j].getType() + "): " + ex);
    ex.printStackTrace();
    } finally {
    if(ctx != null) ctx.close();
    <Feb 23, 2004 10:54:36 AM PST> <Warning> <RMI> <BEA-080003>
    <RuntimeException thrown by rmi server: weblogic.management.
    internal.RemoteMBeanServerImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;)
    javax.management.RuntimeErrorException: Error thrown by the
    getAttribute method of the DynamicMBean for the attribute
    EJBModuleDDEditor.
    >
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD Editing
    is disabled. ]
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBModuleDDEditor(EJBComponent.java:164)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBNames(EJBComponent.java:146)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:177)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:284)
    at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Feb 23, 2004 10:54:36 AM PST> <Error> <Management> <BEA-140001> <An
    error occurred while getting attribute EJBNames on
    MBean
    examples:Application=_appsdir_ejb20_message_ear,Name=ejb20_message.jar,Type=EJBComponent.
    Method: public java.util
    .Set weblogic.management.mbeans.custom.EJBComponent.getEJBNames() throws
    weblogic.ejb20.WLDeploymentException. Exception
    : weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD
    Editing is disabled. ].
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD Editing
    is disabled. ]
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBModuleDDEditor(EJBComponent.java:164)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBNames(EJBComponent.java:146)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:177)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:284)
    at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <Feb 23, 2004 10:54:36 AM PST> <Warning> <RMI> <BEA-080003>
    <RuntimeException thrown by rmi server: weblogic.management.
    internal.RemoteMBeanServerImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;)
    javax.management.RuntimeErrorException: Error thrown by the
    getAttribute method of the DynamicMBean for the attribute
    EJBNames.
    >

    I am also getting the exact same errors.
    In my case it's when I have MC4J connected to WLS8.1SP3 and I am trying to simply look at the deployed EJB's.
    Why has no one answered Simon's question since being posted back in Feb?

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unexpected dbT

    Hi,
    I am using BEA Weblogic 8.1.4 With Database as SQL Server 2000 professional.
    I created Connection pool successfully ,but at start of weblogic server i am getting following exception at server startup while initial deployment of my applicaion EAR.Can somebody help me to find out solution for same.
    Thanks in advance.
    EXCEPTION AT CONSOLE:---weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unexpected dbType: 2 ]
    at weblogic.ejb20.utils.TableVerifier.getSequenceQuery(TableVerifier.java:630)
    at weblogic.ejb20.utils.TableVerifier.verifySequence(TableVerifier.java:522)
    at weblogic.ejb20.utils.TableVerifier.verifyOrCreateOrAlterSequence(TableVerifier.java:334)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.genKeySetup(RDBMSPersistenceManager.java:1196)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:227)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:254)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:211)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1082)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1385)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3315)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2194)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2167)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115)
    at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3082)
    at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
    at weblogic.Server.main(Server.java:32)

    Can you post the full stack trace / error message?
    Also, please send this to [email protected] as well.
    -- Rob
    Kelvin Kok wrote:
    Getting this error weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ] intermitent in Weblogic 7 sp1.
    Anyone facing the same problem?

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ invalid assig

    does any one know why we get this call stack? what does this mean? We didn't change our deployment descriptor but it just comes up suddenly.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ invalid assignment from 'Object' to 'Object' ]
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at weblogic.utils.classfile.expr.LocalVariableExpression.codeAssign(LocalVariableExpression.java:38)
    at weblogic.utils.classfile.expr.AssignStatement.code(AssignStatement.java:28)
    at weblogic.utils.classfile.expr.CompoundStatement.code(CompoundStatement.java:26)
    at weblogic.utils.classfile.CodeAttribute.setCode(CodeAttribute.java:44)
    at weblogic.rmi.internal.StubGenerator.addMethodCode(StubGenerator.java:457)
    at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:125)
    at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:86)
    at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:769)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:810)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:232)
    at weblogic.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:45)
    at weblogic.rmi.cluster.ReplicaAwareRemoteObject.initialize(ReplicaAwareRemoteObject.java:77)
    at weblogic.rmi.cluster.ReplicaAwareRemoteObject.<init>(ReplicaAwareRemoteObject.java:50)
    at weblogic.rmi.cluster.ClusterableRemoteObject.<init>(ClusterableRemoteObject.java:79)
    at weblogic.rmi.cluster.ClusterableRemoteBinderFactory.getStateToBind(ClusterableRemoteBinderFactory.j
    ava:45)
    at weblogic.jndi.internal.WLNamingManager.getReplacement(WLNamingManager.java:180)
    at weblogic.jndi.internal.WLNamingManager.getStateToBind(WLNamingManager.java:154)
    at weblogic.jndi.internal.ServerNamingNode.rebindHere(ServerNamingNode.java:168)
    at weblogic.jndi.internal.BasicNamingNode.rebind(BasicNamingNode.java:382)
    at weblogic.jndi.internal.WLEventContextImpl.rebind(WLEventContextImpl.java:118)
    at weblogic.ejb20.internal.StatelessEJBHome.activate(StatelessEJBHome.java:115)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1096)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:270)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
    at weblogic.j2ee.Application.deploy(Application.java:429)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:241)
    at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:2946)
    at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2864)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1638)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1085)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:337)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:
    430)
    at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:386)
    at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:
    1034)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:340)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:
    430)
    at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:386)
    at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    You should contact [email protected]. That appears to be a WLS bug.
    -- Rob
    Guowei Shieh wrote:
    does any one know why we get this call stack? what does this mean? We didn't change our deployment descriptor but it just comes up suddenly.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ invalid assignment from 'Object' to 'Object' ]
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at weblogic.utils.classfile.expr.LocalVariableExpression.codeAssign(LocalVariableExpression.java:38)
    at weblogic.utils.classfile.expr.AssignStatement.code(AssignStatement.java:28)
    at weblogic.utils.classfile.expr.CompoundStatement.code(CompoundStatement.java:26)
    at weblogic.utils.classfile.CodeAttribute.setCode(CodeAttribute.java:44)
    at weblogic.rmi.internal.StubGenerator.addMethodCode(StubGenerator.java:457)
    at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:125)
    at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:86)
    at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:769)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:810)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:232)
    at weblogic.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:45)
    at weblogic.rmi.cluster.ReplicaAwareRemoteObject.initialize(ReplicaAwareRemoteObject.java:77)
    at weblogic.rmi.cluster.ReplicaAwareRemoteObject.<init>(ReplicaAwareRemoteObject.java:50)
    at weblogic.rmi.cluster.ClusterableRemoteObject.<init>(ClusterableRemoteObject.java:79)
    at weblogic.rmi.cluster.ClusterableRemoteBinderFactory.getStateToBind(ClusterableRemoteBinderFactory.j
    ava:45)
    at weblogic.jndi.internal.WLNamingManager.getReplacement(WLNamingManager.java:180)
    at weblogic.jndi.internal.WLNamingManager.getStateToBind(WLNamingManager.java:154)
    at weblogic.jndi.internal.ServerNamingNode.rebindHere(ServerNamingNode.java:168)
    at weblogic.jndi.internal.BasicNamingNode.rebind(BasicNamingNode.java:382)
    at weblogic.jndi.internal.WLEventContextImpl.rebind(WLEventContextImpl.java:118)
    at weblogic.ejb20.internal.StatelessEJBHome.activate(StatelessEJBHome.java:115)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1096)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:270)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
    at weblogic.j2ee.Application.deploy(Application.java:429)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:241)
    at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:2946)
    at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2864)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1638)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1085)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:337)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:
    430)
    at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:386)
    at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:
    1034)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:340)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:
    430)
    at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:386)
    at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

  • Weblogic.utils.AssertionError

    Hi,
    from a swing application I'm getting this error when connection to a
    WebLogic Server (WL5.1 SP8). Does anyone have I clue what might be a
    reason? Could this probably be related to a threading issue on the
    client side?
    Thanks,
    Daniel
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at weblogic.utils.Debug.assert(Debug.java:63)
    at weblogic.jndi.toolkit.WLContextStub.<init>(WLContextStub.java:40)
    at java.io.ObjectInputStream.allocateNewObject(Native Method)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1201)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:76)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:943)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectIn
    putStreamBase.java:308)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:818)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient
    .java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at weblogic.utils.Debug.assert(Debug.java:63)
    at weblogic.jndi.toolkit.WLContextStub.<init>(WLContextStub.java:40)
    at java.io.ObjectInputStream.allocateNewObject(Native Method)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1201)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:76)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:943)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectIn
    putStreamBase.java:308)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:818)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient
    .java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at weblogic.utils.Debug.assert(Debug.java:63)
    at weblogic.jndi.toolkit.WLContextStub.<init>(WLContextStub.java:40)
    at java.io.ObjectInputStream.allocateNewObject(Native Method)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1201)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:76)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:943)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectIn
    putStreamBase.java:308)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:818)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient
    .java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at weblogic.utils.Debug.assert(Debug.java:63)
    at weblogic.jndi.toolkit.WLContextStub.<init>(WLContextStub.java:40)
    at java.io.ObjectInputStream.allocateNewObject(Native Method)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1201)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:76)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:943)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectIn
    putStreamBase.java:308)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:818)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient
    .java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

    Hi,
    from a swing application I'm getting this error when connection to a
    WebLogic Server (WL5.1 SP8). Does anyone have I clue what might be a
    reason? Could this probably be related to a threading issue on the
    client side?
    Thanks,
    Daniel
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at weblogic.utils.Debug.assert(Debug.java:63)
    at weblogic.jndi.toolkit.WLContextStub.<init>(WLContextStub.java:40)
    at java.io.ObjectInputStream.allocateNewObject(Native Method)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1201)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:76)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:943)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectIn
    putStreamBase.java:308)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:818)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient
    .java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at weblogic.utils.Debug.assert(Debug.java:63)
    at weblogic.jndi.toolkit.WLContextStub.<init>(WLContextStub.java:40)
    at java.io.ObjectInputStream.allocateNewObject(Native Method)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1201)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:76)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:943)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectIn
    putStreamBase.java:308)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:818)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient
    .java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at weblogic.utils.Debug.assert(Debug.java:63)
    at weblogic.jndi.toolkit.WLContextStub.<init>(WLContextStub.java:40)
    at java.io.ObjectInputStream.allocateNewObject(Native Method)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1201)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:76)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:943)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectIn
    putStreamBase.java:308)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:818)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient
    .java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at weblogic.utils.Debug.assert(Debug.java:63)
    at weblogic.jndi.toolkit.WLContextStub.<init>(WLContextStub.java:40)
    at java.io.ObjectInputStream.allocateNewObject(Native Method)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1201)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:76)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInpu
    tStreamBase.java:943)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectIn
    putStreamBase.java:308)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:818)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient
    .java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

  • Weblogic.utils.AssertionError in Ant build ServiceGenTask

    I'm stuck! Any assistance would be appreciated. I receive the following error
    during the Ant
    build: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ com.cardinal.ejb.AvailabilityException
    is not an exception. ]
    It looks like its having a problem with a custom exception class we created, however
    it extends
    exception and compiles fine.
    I'm using wls8.1 trial and jbuilderX trial.
    Any suggestions?

    Hi Scott,
    Not sure, you may want to post the entire trace so we can take a look.
    For a webservice, you probably want to throw a
    javax.xml.rpc.soap.SOAPFaultException exception, see the docs [1] for
    details.
    HTH,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/implement.html#1060749
    Scott Q wrote:
    >
    I'm stuck! Any assistance would be appreciated. I receive the following error
    during the Ant
    build: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ com.cardinal.ejb.AvailabilityException
    is not an exception. ]
    It looks like its having a problem with a custom exception class we created, however
    it extends
    exception and compiles fine.
    I'm using wls8.1 trial and jbuilderX trial.
    Any suggestions?

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]

              Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this
              is what's being thrown. I've been told it's a known bug that has not been patched
              yet, but I figured I would still ask.
              weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found
              on thread ]
                   at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:150)
                   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 weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:98)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
                   at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:384)
                   at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
                   at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:116)
                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:324)
                   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
                   at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
                   at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:430)
                   at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
                   at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:115)
                   at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
                   at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
                   at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub.dispatchSyncNoTranFuture(Unknown
              Source)
                   at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:463)
                   at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1961)
                   at weblogic.jms.client.JMSSession.createTopic(JMSSession.java:1353)
                   at JMSProvider.getTopic(JMSProvider.java:127)
                   at JMSPub.startJMSPubs(JMSPub.java:229)
                   at JMSPub.main(JMSPub.java:138)
              

    I'm not familiar with this problem - but I can make
              a guess at some work-arounds:
              (1) Lookup the destination via a standard JNDI
              context lookup rather than "createTopic()".
              (2) Make sure that the thread calling "createTopic()"
              also previously created a JNDI context.
              Matt Dickens wrote:
              > Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this
              > is what's being thrown. I've been told it's a known bug that has not been patched
              > yet, but I figured I would still ask.
              > -------------------------
              > weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found
              > on thread ]
              >      at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:150)
              >      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 weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:98)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
              >      at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
              >      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:384)
              >      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
              >      at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:116)
              >      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              >      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              >      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              >      at java.lang.reflect.Method.invoke(Method.java:324)
              >      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
              >      at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
              >      at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:430)
              >      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
              >      at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:115)
              >      at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
              >      at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
              >      at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub.dispatchSyncNoTranFuture(Unknown
              > Source)
              >      at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:463)
              >      at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1961)
              >      at weblogic.jms.client.JMSSession.createTopic(JMSSession.java:1353)
              >      at JMSProvider.getTopic(JMSProvider.java:127)
              >      at JMSPub.startJMSPubs(JMSPub.java:229)
              >      at JMSPub.main(JMSPub.java:138)
              

  • Weblogic.utils.AssertionError moving from 6.1sp3 to 6.1sp4

    Has anyone used webstart with 6.1sp4
    I have a Java Webstart (v1.0.1) swing application deployed to a
    weblogic 6.1 sp3 server. This configuration has worked successfully
    for the last 6 months. I am now trying to install sp4 and I get the
    following error. I have recompiled my application and my ejbs. I
    have also tried packaging the full weblogic.jar from sp4 with my
    application. After I return the context using
    weblogic.jndi.WLInitialContextFactory, when I attempt to execute a
    call to an ejb I get this...
    java.util.EmptyStackException
    at weblogic.utils.collections.Stack.pop(Stack.java:82)
    at weblogic.kernel.ResettableThreadLocalStack.pop(ResettableThreadLocalS
    tack.java:79)
    at weblogic.jndi.internal.ThreadEnvironment.pop(ThreadEnvironment.java:1
    8)
    at weblogic.jndi.internal.WLContextImpl.close(WLContextImpl.java:72)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.close(ReadOnlyCon
    textWrapper.java:30)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.closeContext(Unkno
    wn Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.getEventMappings(U
    nknown Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB.ejbCreate(Unkn
    own Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_Impl.ej
    bCreate(ACubeStatelessPOEEJB_a8m3bo_Impl.java:117)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionP
    ool.java:159)
    at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool
    .java:119)
    at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
    va:156)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
    4)
    at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
    ct.java:63)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl.
    handleEvent(ACubeStatelessPOEEJB_a8m3bo_EOImpl.java:69)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl_
    WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ attempt
    to pop from
    an empty stack ] - with nested exception:
    [java.util.EmptyStackException]
    at weblogic.kernel.ResettableThreadLocalStack.pop(ResettableThreadLocalS
    tack.java:81)
    at weblogic.jndi.internal.ThreadEnvironment.pop(ThreadEnvironment.java:1
    8)
    at weblogic.jndi.internal.WLContextImpl.close(WLContextImpl.java:72)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.close(ReadOnlyCon
    textWrapper.java:30)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.closeContext(Unkno
    wn Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.getEventMappings(U
    nknown Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB.ejbCreate(Unkn
    own Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_Impl.ej
    bCreate(ACubeStatelessPOEEJB_a8m3bo_Impl.java:117)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionP
    ool.java:159)
    at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool
    .java:119)
    at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
    va:156)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
    4)
    at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
    ct.java:63)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl.
    handleEvent(ACubeStatelessPOEEJB_a8m3bo_EOImpl.java:69)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl_
    WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    This is fixed in SP5. You coula get a patch over SP4 from support by referring to
    CR093416.
    Jeff Ryan wrote:
    Has anyone used webstart with 6.1sp4
    I have a Java Webstart (v1.0.1) swing application deployed to a
    weblogic 6.1 sp3 server. This configuration has worked successfully
    for the last 6 months. I am now trying to install sp4 and I get the
    following error. I have recompiled my application and my ejbs. I
    have also tried packaging the full weblogic.jar from sp4 with my
    application. After I return the context using
    weblogic.jndi.WLInitialContextFactory, when I attempt to execute a
    call to an ejb I get this...
    java.util.EmptyStackException
    at weblogic.utils.collections.Stack.pop(Stack.java:82)
    at weblogic.kernel.ResettableThreadLocalStack.pop(ResettableThreadLocalS
    tack.java:79)
    at weblogic.jndi.internal.ThreadEnvironment.pop(ThreadEnvironment.java:1
    8)
    at weblogic.jndi.internal.WLContextImpl.close(WLContextImpl.java:72)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.close(ReadOnlyCon
    textWrapper.java:30)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.closeContext(Unkno
    wn Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.getEventMappings(U
    nknown Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB.ejbCreate(Unkn
    own Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_Impl.ej
    bCreate(ACubeStatelessPOEEJB_a8m3bo_Impl.java:117)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionP
    ool.java:159)
    at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool
    .java:119)
    at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
    va:156)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
    4)
    at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
    ct.java:63)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl.
    handleEvent(ACubeStatelessPOEEJB_a8m3bo_EOImpl.java:69)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl_
    WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ attempt
    to pop from
    an empty stack ] - with nested exception:
    [java.util.EmptyStackException]
    at weblogic.kernel.ResettableThreadLocalStack.pop(ResettableThreadLocalS
    tack.java:81)
    at weblogic.jndi.internal.ThreadEnvironment.pop(ThreadEnvironment.java:1
    8)
    at weblogic.jndi.internal.WLContextImpl.close(WLContextImpl.java:72)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.close(ReadOnlyCon
    textWrapper.java:30)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.closeContext(Unkno
    wn Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.getEventMappings(U
    nknown Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB.ejbCreate(Unkn
    own Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_Impl.ej
    bCreate(ACubeStatelessPOEEJB_a8m3bo_Impl.java:117)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionP
    ool.java:159)
    at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool
    .java:119)
    at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
    va:156)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
    4)
    at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
    ct.java:63)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl.
    handleEvent(ACubeStatelessPOEEJB_a8m3bo_EOImpl.java:69)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl_
    WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • WebLogic 8.1 and Tomcat connection problem

    I am using Tomcat 4.0.6 for my JSPs and WebLogic for my EJBs.
    Everything worked fine under WebLogic 6.1 but I am trying
    to upgrade to WebLogic 8.1 and it is not working.
    I can also connect to WebLogic 8.1 from a standalone class
    but not using Tomcat. What is wrong?
    This is the basic code I am using to connect:
    Hashtable ht = new Hashtable(4);
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,"t3://localhost:7009");
    InitialContext ic = new InitialContext(ht);
    Object obj = ic.lookup("NsbInfoHome");
    NsbInfoHome home = ( NsbInfoHome) PortableRemoteObject.
    narrow(obj, NsbInfoHome.class);
    NsbInfo nsbInfo = home.create();
    NsbMemberPrimaryInfo info = nsbInfo.getMemberPrimaryInfo(1);
    And this is the error
    java.lang.NullPointerException
    at weblogic.rmi.internal.StubGenerator.getStubOnClient(StubGenerator.java:694)
    at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:666)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:712)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:486)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:449)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:345)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:308)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
    at javax.naming.InitialContext.init(InitialContext.java:226)
    at javax.naming.InitialContext.<init>(InitialContext.java:202)
    at org.apache.jsp.testWL2$jsp._jspService(testWL2$jsp.java:81)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to
    generate class for weblogic.jndi.internal.ServerNamingNode_WLStub ] -
    with nested exception:
    [java.lang.NullPointerException]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:716)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:486)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:449)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:345)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:308)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
    at javax.naming.InitialContext.init(InitialContext.java:226)
    at javax.naming.InitialContext.<init>(InitialContext.java:202)
    at org.apache.jsp.testWL2$jsp._jspService(testWL2$jsp.java:81)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    Any ideas how to fix this?
    Thanks,
    Dan

    Hi,
    I work under a sligthly different seeting like Dan used (Java Client instead of JSPs, but same context properties), but the problem is exactly the same: weblogic.rmi.internal.StubGenerator.getStubOnClient() results in a NullPointerException.
    What does this method actually do? I provided the weblogic.jar in the client's runtime environment; is it possible that the method asks for something else on the client side that I have to provide (only guessing...)
    PS: I found the error myself. Its the Eclipse 3.0 IDE that won't work together with the factory class of BEA for some obscure reason. Switching to another IDE solved the problem...
    Message was edited by c_web at Dec 1, 2004 6:03 AM

  • Servicegen:  unable to load type library from classloader weblogic.utils.cl

    Hi,
    I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
    Please find the build.xml snapshot, and the stack trace given below.
    Please help me out with this.
    Points to be noted are:-
    1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[NorthBound Interface]]></description>
    <ejb-name>ArcorNBIService</ejb-name>
    <home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
    <remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
    <local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
    <local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
    <ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
    3) Build.xml snapshot:-
         <target name="gen-webservice" depends="init">
              <copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
              <autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
              <autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
              <servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
                   <service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
                        <security enablePasswordAuth="true"/>
                   </service>
              </servicegen>
         </target>
    4) Exception stacktrace:-
    --- Nested Exception ---
    java.lang.AssertionError: java.io.IOException
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
    at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
    at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
    at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
    ... 37 more
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
    inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    ... 38 more
    Total time: 5 seconds

    Hi,
    I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
    Please find the build.xml snapshot, and the stack trace given below.
    Please help me out with this.
    Points to be noted are:-
    1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[NorthBound Interface]]></description>
    <ejb-name>ArcorNBIService</ejb-name>
    <home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
    <remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
    <local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
    <local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
    <ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
    3) Build.xml snapshot:-
         <target name="gen-webservice" depends="init">
              <copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
              <autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
              <autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
              <servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
                   <service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
                        <security enablePasswordAuth="true"/>
                   </service>
              </servicegen>
         </target>
    4) Exception stacktrace:-
    --- Nested Exception ---
    java.lang.AssertionError: java.io.IOException
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
    at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
    at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
    at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
    ... 37 more
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
    inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    ... 38 more
    Total time: 5 seconds

  • Weblogic.utils.NestedRuntimeException

    weblogic.utils.NestedRuntimeException
              --------------- nested within: ------------------
              weblogic.utils.NestedRuntimeException:
              java.lang.NoSuchMethodException:couldn't find getter for 'EJBHomes' on weblogic.management.runtime.EJBComponentRuntimeMBean
              

    weblogic.utils.NestedRuntimeException
              --------------- nested within: ------------------
              weblogic.utils.NestedRuntimeException:
              java.lang.NoSuchMethodException:couldn't find getter for 'EJBHomes' on weblogic.management.runtime.EJBComponentRuntimeMBean
              

Maybe you are looking for

  • Special characters in a feild in oracle table.

    Hi, I want to find out all the special characters in a particular field say name, how am I to do it. Can u please help me. Regards Sridhar

  • Problem in rule generator adapter

    Hi *, Here i've got one problem while creating rule generator adapter to validate my customized field, the class referred by the adapter is simple, which requires a minimum length of the field is 6, however, I have no idea about how to tell Xellerate

  • Images as Hyperlinks independant of Tomcat server

    we are trying to use images as hyperlinks without deploying the images to Tomcat in Web Intelligence. What exactly I am looking for is to either write a code that allows me to do so or place the image folder outside of Tomcat. Any idea or help will b

  • Organizing email- confused!

    Just made the switch from Entourage to Mail and have a simple question which I have not been able to find out clearly from Mail Help: What's the difference between a Mailbox, Folder, Smart Mailbox, and Smart Mailbox Folder?

  • I am unable to add a security device in Firefox 27.

    When I fill in the dialog box for a new device and click Ok, absolutely nothing happens.