0 Replies Latest reply on May 19, 2003 6:56 AM by paulgammon

    JNDI problem on AIX 4.3

    paulgammon Newbie

      Hi, I'm having difficulty confirming that JMS is working in my
      3.2.1 JBoss installation on AIX with Java 1.3.1. I have written a
      simple test application that fails looking up OIL2ConnectionFactory.
      The following exception is thrown

      Exception in thread "main" javax.naming.NameNotFoundException: OIL2ConnectionFactory not bound
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:257)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:232)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:135)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
      at javax.naming.InitialContext.lookup(InitialContext.java:359)
      at end_to_end.initialiseJMS(end_to_end.java:57)
      at end_to_end.main(end_to_end.java:16)


      Examing JNDIView in the jmx-console seems to show that a portion of
      the global JNDI namespace is missing. It looks as if the list method
      errored midway through. Below is all that is display

      +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
      +- invokers (class: org.jnp.interfaces.NamingContext)
      | +- olympus (class: org.jnp.interfaces.NamingContext)
      | | +- pooled (class: org.jboss.invocation.pooled.interfaces.PooledInvokerProxy)
      | | +- jrmp (class: org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy)
      | | +- http (class: org.jboss.invocation.http.interfaces.HttpInvokerProxy)
      +- jmx:olympus:rmi (class: org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl)
      +- console (class: org.jnp.interfaces.NamingContext)
      | +- PluginManager (proxy: $Proxy27 implements interface org.jboss.console.manager.PluginManagerMBean)
      +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
      +- UserTransactionSessionFactory (class: org.jboss.tm.usertx.server.UserTransactionSessionFactoryImpl)
      +- jmx (class: org.jnp.interfaces.NamingContext)
      | +- invoker (class: org.jnp.interfaces.NamingContext)
      | | +- RMIAdaptor (proxy: $Proxy21 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor)
      | +- rmi (class: org.jnp.interfaces.NamingContext)
      | | +- RMIAdaptor (class: org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl)
      +- ejb (class: org.jnp.interfaces.NamingContext)
      | +- mgmt (class: org.jnp.interfaces.NamingContext)
      | | +- MEJB (proxy: $Proxy28 implements interface javax.management.j2ee.ManagementHome,interface javax.ejb.Handle)


      I have confirmed that this JBoss installation works in Solaris and HP-UX
      1.3 Java environments so I believe the test application and installation
      are OK. Java 1.4 is not available on AIX 4.3 so this is not an option. I
      have also tried disabling the JIT compiler.

      Any help appreciated.

      Paul Gammon