webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

ClassCastException exception while Configuring the EJB adapt

  • 1.  ClassCastException exception while Configuring the EJB adapt

    Posted Fri September 20, 2002 05:20 AM

    I have crated one allise settings for EJB adapter. i am using weblogic server 7.0 as my EJB server and integration server 4.6.
    i entered settings attributes as follows:

    Initial Context Factory: weblogic.jndi.WLInitialContextFactory
    Provider URL:
    t3://172.16.4.6:7001
    Security Credentials: password some ****
    Security Principal: username for weblogic server …mypass

    While testing the allise settings i am getting the following error in pop up window:

    error initializing kernel

    and in the integration server console

    the following error

    2002-04-20 15:26:05,398 [B2B HTTP Handler 127.0.0.1] INFO - [BASEJBA.5000.0008]AliasTestImpl.test - ready to getConnection()
    2002-04-20 15:26:05,959 [B2B HTTP Handler 127.0.0.1] DEBUG - [BASEJBA.5000.0005]MyConnection.open - enter, isOpen? false

    java.lang.ClassCastException: iaik.asn1.structures.Name
    at sun.security.pkcs.PKCS7.getCertificate(PKCS7.java:578)
    at sun.security.pkcs.SignerInfo.getCertificate(SignerInfo.java:207)
    at sun.security.pkcs.SignerInfo.verify(SignerInfo.java:333)
    at sun.security.pkcs.PKCS7.verify(PKCS7.java:472)
    at sun.security.pkcs.PKCS7.verify(PKCS7.java:489)
    at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:152)
    at java.util.jar.JarVerifier.processEntry(JarVerifier.java:285)
    at java.util.jar.JarVerifier.update(JarVerifier.java:198)
    at java.util.jar.JarFile.initializeVerifier(JarFile.java:248)
    at java.util.jar.JarFile.getInputStream(JarFile.java:308)
    at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:131)
    at java.net.URL.openStream(URL.java:816)
    at weblogic.common.internal.VersionInfo.getLocalWLPackages(VersionInfo.java:169)
    at weblogic.common.internal.VersionInfo.(VersionInfo.java:34)
    at weblogic.common.internal.VersionInfo.initialize(VersionInfo.java:79)
    at weblogic.kernel.Kernel.initialize(Kernel.java:127)
    at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:104)
    at weblogic.jndi.WLInitialContextFactoryDelegate.(WLInitialContextFactoryDelegate.java:176)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java(Compiled Code))
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.(InitialContext.java:199)
    at com.wm.pkg.ejb.MyConnection.open(Unknown Source)
    at wm.ejb.MyIM.getConnection(Unknown Source)
    at com.wm.pkg.ejb.MyConnection.getOpenConnection(Unknown Source)
    at com.wm.pkg.ejb.AliasTestImpl.test(Unknown Source)
    at com.wm.pkg.imdk.alias.AliasTester.test(Unknown Source)
    at wm.imdk.runtime.IMRuntimeManager.testAlias(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:288)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:688)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:480)
    at com.wm.app.b2b.server.ns.Namespace.invoke(Namespace.java:452)
    at com.wm.util.template.Reporter.invoke(Reporter.java:867)
    at com.wm.util.template.InvokeToken.eval(InvokeToken.java:70)
    at com.wm.util.template.TemplateToken.evalChild(TemplateToken.java(Compiled Code))
    at com.wm.util.template.SwitchToken.evalChild(SwitchToken.java:94)
    at com.wm.util.template.TemplateToken.eval(TemplateToken.java(Compiled Code))
    at com.wm.util.template.SwitchToken.eval(SwitchToken.java:58)
    at com.wm.util.template.IfVarToken.evalChild(IfVarToken.java(Compiled Code))
    at com.wm.util.template.IfVarToken.evalChild(IfVarToken.java(Compiled Code))
    at com.wm.util.template.TemplateToken.eval(TemplateToken.java(Compiled Code))
    at com.wm.util.template.IfVarToken.eval(IfVarToken.java:172)
    at com.wm.util.template.TemplateToken.evalChild(TemplateToken.java(Compiled Code))
    at com.wm.util.template.TemplateToken.eval(TemplateToken.java(Compiled Code))
    at com.wm.util.template.Reporter.reportNoReset(Reporter.java:1167)
    at com.wm.util.template.Reporter.reportToOutput(Reporter.java:1142)
    at com.wm.util.template.Reporter.reportIData(Reporter.java:1031)
    at com.wm.app.b2b.server.HTTPDocHandler._process(HTTPDocHandler.java:477)
    at com.wm.app.b2b.server.HTTPDocHandler.process(HTTPDocHandler.java:109)
    at com.wm.app.b2b.server.HTTPDispatch.run(HTTPDispatch.java:468)
    at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
    at java.lang.Thread.run(Thread.java:498)

    can any one help me out?
    am i missing anything?

    thanks in advance,
    kishore


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: ClassCastException exception while Configuring the EJB adapt

    Posted Fri September 20, 2002 01:05 PM

    At one time I got the ClassCastException error when the adapter config would introspect the EI adapters (jdbc, logger, utility).


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods