2 Replies Latest reply on May 23, 2003 11:40 AM by juhalindfors

    Unable to read transaction.interoperability property

    dries.demoor

      Hello,

      I'm runnning my client application on IBM aix 5.1 witht the IBM AIX JDK 1.4.0
      I use Jboss 3.0.4 running on IBM aix 4.3 whith IBM AIX JDK 1.3.1

      I get this error.

      java.io.FileNotFoundException: /home/appldries/Verfkeuken/./config/security.properties (A file or directory in the pa
      th name does not exist.)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:116)
      at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42)
      at at com.sun.enterprise.iiop.POAEJBORB.(POAEJBORB.java:78).null(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:241)
      at org.omg.CORBA.ORB.create_impl(ORB.java:334)
      at org.omg.CORBA.ORB.init(ORB.java:373)
      at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:138)
      at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65)
      at com.sun.enterprise.naming.SerialInitContextFactory.(SerialInitContextFactory.java:31)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:61)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:42)
      at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
      at java.lang.Class.newInstance0(Class.java:340)
      at java.lang.Class.newInstance(Class.java:283)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255)
      at javax.naming.InitialContext.init(InitialContext.java:231)
      at javax.naming.InitialContext.(InitialContext.java:187)
      at be.awe.verfkeukengui.StandaardReceptuurPanel.init(StandaardReceptuurPanel.java:291)
      at be.awe.verfkeukengui.StandaardReceptuurPanel.initGUI(StandaardReceptuurPanel.java:238)
      at be.awe.verfkeukengui.StandaardReceptuurPanel.(StandaardReceptuurPanel.java:49)
      at be.awe.verfkeukengui.MasterFilesJDialog.createClientArea(MasterFilesJDialog.java:81)
      at be.awe.utilgui.BasicJDialog.initGUI(BasicJDialog.java:87)
      at be.awe.verfkeukengui.MasterFilesJDialog.(MasterFilesJDialog.java:50)
      at be.awe.verfkeukengui.VerfkeukenApplication.actionPerformed(VerfkeukenApplication.java:204)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1798)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1851)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:445)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:283)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:319)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1118)
      at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:958)
      at java.awt.Component.processMouseEvent(Component.java:5139)
      at java.awt.Component.processEvent(Component.java:4937)
      at java.awt.Container.processEvent(Container.java:1564)
      at java.awt.Component.dispatchEventImpl(Component.java:3632)
      at java.awt.Container.dispatchEventImpl(Container.java:1621)
      at java.awt.Component.dispatchEvent(Component.java:3460)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3398)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3113)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3043)
      at java.awt.Container.dispatchEventImpl(Container.java:1607)
      at java.awt.Window.dispatchEventImpl(Window.java:1621)
      at java.awt.Component.dispatchEvent(Component.java:3460)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:522)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:227)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:171)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:165)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:125)
      java.io.FileNotFoundException: /home/appldries/Verfkeuken/./config/ejb.properties (A file or directory in the path na
      me does not exist.)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:116)
      at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42)
      at com.sun.enterprise.iiop.J2EEInitializer.(J2EEInitializer.java:54)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:61)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:42)
      at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
      at java.lang.Class.newInstance0(Class.java:340)
      at java.lang.Class.newInstance(Class.java:283)
      at com.sun.corba.ee.internal.Interceptors.PIORB.registerORBInitializers(PIORB.java:377)
      at com.sun.corba.ee.internal.Interceptors.PIORB.parseProperties(PIORB.java:347)
      at com.sun.corba.ee.internal.TxPOA.TxPIORB.parseProperties(TxPIORB.java:116)
      at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:461)
      at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:156)
      at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:336)
      at org.omg.CORBA.ORB.init(ORB.java:374)
      at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:138)
      at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65)
      at com.sun.enterprise.naming.SerialInitContextFactory.(SerialInitContextFactory.java:31)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:61)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:42)
      at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
      at java.lang.Class.newInstance0(Class.java:340)
      at java.lang.Class.newInstance(Class.java:283)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255)
      at javax.naming.InitialContext.init(InitialContext.java:231)
      at javax.naming.InitialContext.(InitialContext.java:187)
      at be.awe.verfkeukengui.StandaardReceptuurPanel.init(StandaardReceptuurPanel.java:291)
      at be.awe.verfkeukengui.StandaardReceptuurPanel.initGUI(StandaardReceptuurPanel.java:238)
      at be.awe.verfkeukengui.StandaardReceptuurPanel.(StandaardReceptuurPanel.java:49)
      at be.awe.verfkeukengui.MasterFilesJDialog.createClientArea(MasterFilesJDialog.java:81)
      at be.awe.utilgui.BasicJDialog.initGUI(BasicJDialog.java:87)
      at be.awe.verfkeukengui.MasterFilesJDialog.(MasterFilesJDialog.java:50)
      at be.awe.verfkeukengui.VerfkeukenApplication.actionPerformed(VerfkeukenApplication.java:204)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1798)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1851)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:445)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:283)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:319)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1118)
      at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:958)
      at java.awt.Component.processMouseEvent(Component.java:5139)
      at java.awt.Component.processEvent(Component.java:4937)
      at java.awt.Container.processEvent(Container.java:1564)
      at java.awt.Component.dispatchEventImpl(Component.java:3632)
      at java.awt.Container.dispatchEventImpl(Container.java:1621)
      at java.awt.Component.dispatchEvent(Component.java:3460)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3398)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3113)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3043)
      at java.awt.Container.dispatchEventImpl(Container.java:1607)
      at java.awt.Window.dispatchEventImpl(Window.java:1621)
      at java.awt.Component.dispatchEvent(Component.java:3460)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:522)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:227)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:171)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:165)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:125)


      The problem is I don't get this error when I run the application on a windows machine. On the place where the error occurs I just do InitialContext context = new InitialContext();

      In the trave there are 2 files mentioned but I cannot find the in the jar files of JBoss.
      I checked the reference implementation of J2EE 1.3 of Sun. There you can find them??

      Can somebody help me with this strang behaviour?


      Kind regards,


      Dries