EJB Adaptor - Test Connection fails

I created an Alias from the EJB Adaptor (Admin) page for an EJB running locally on BEA WebLogic server v6.1. As required, I provided the Initial Context factory (weblogic.jndi.WLInitialContextFactory)and the provider URL. I also selected ‘WebLogic6’ as the JNDI Server Type.
When I click on Test button, the test connection fails and I get this message - “testConnFail: AliasTestImpl.test - found null or closed connection”.

On Integration Server console, this is what I see:

[BASEJBA.1000.0014]MyConnection.open - ‘new InitialContext’ threw this: type(java.lang.ClassCastException), msg(iaik.asn1.structures.Name)
ERROR - AliasTestImpl.test - found null or closed connection

Any ideas?

Can you make sure you are using Sun’s JDK1.3 and not the JVM supplied by IS?

I’m sure I’m using Sun’s JDK1.3 and not the JVM supplied by IS.

You need to make sure that you have your weblogic.jar in $WM_HOME/lib/jars directory

In addition you may also need to copy your bean jar to /lib/jars.

I use webMethods IS 6.0. I have copied weblogic.jar to ServerDirectory\lib\system.

(In name Xiaolan)I’ve done it. But my problem occur earlier, direct after configuration on testing connection.