1 Reply Latest reply on Dec 20, 2004 9:31 AM by Darran Lofthouse

    Cofiguring JMS in JBOSS

    abc abc Newbie

      Hi all,

      I am tring to configure JMS in JBOSS but it gives me the following error.

      JNDI API lookup failed: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
      javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
      at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.compiere.apps.AMenu.sendMessage(AMenu.java:639)
      at org.compiere.apps.AMenu.createMenu(AMenu.java:278)
      at org.compiere.apps.AMenu.(AMenu.java:76)
      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:308)
      at java.lang.Class.newInstance(Class.java:261)
      at org.compiere.Compiere.main(Compiere.java:506)

      Plese help me.

      Regards,

      Tejas Deshpande