1 Reply Latest reply on Oct 1, 2002 8:30 AM by Adrian Brock

    Running MDB Client

    Dinesh Sampangi Newbie

      Hi!
      i get the following exception while running a MDB client.. i'm using jboss 3.0.. is there any additional file called security.properties to be included in the jar file.. if so what are the contents for it..

      pls. help

      regards
      Dinesh B Sampangi
      ----------------------------------------------------------
      C:\jbosstomcat\ejbexam\msgdriven>java Client
      java.io.FileNotFoundException: C:\jbosstomcat\ejbexam\msgdriven\config\security.
      properties (The system cannot find the path specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(Unknown Source)
      at java.io.FileInputStream.(Unknown Source)
      at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
      )
      at com.sun.enterprise.iiop.POAEJBORB.(POAEJBORB.java:78)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.omg.CORBA.ORB.create_impl(Unknown Source)
      at org.omg.CORBA.ORB.init(Unknown Source)
      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.(SerialInitC
      ontextFactory.java:31)
      at java.lang.Class.newInstance0(Native Method)
      at java.lang.Class.newInstance(Unknown Source)
      at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      at javax.naming.InitialContext.init(Unknown Source)
      at javax.naming.InitialContext.(Unknown Source)
      at Client.main(Client.java:11)
      java.io.FileNotFoundException: C:\jbosstomcat\ejbexam\msgdriven\config\ejb.prope
      rties (The system cannot find the path specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(Unknown Source)
      at java.io.FileInputStream.(Unknown Source)
      at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
      )
      at com.sun.enterprise.iiop.J2EEInitializer.(J2EEInitializer.java:5
      4)
      at java.lang.Class.newInstance0(Native Method)
      at java.lang.Class.newInstance(Unknown Source)
      at com.sun.corba.ee.internal.Interceptors.PIORB.registerORBInitializers(
      PIORB.java:377)
      at com.sun.corba.ee.internal.Interceptors.PIORB.parseProperties(PIORB.ja
      va: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.jav
      a:336)
      at org.omg.CORBA.ORB.init(Unknown Source)
      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.(SerialInitC
      ontextFactory.java:31)
      at java.lang.Class.newInstance0(Native Method)
      at java.lang.Class.newInstance(Unknown Source)
      at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      at javax.naming.InitialContext.init(Unknown Source)
      at javax.naming.InitialContext.(Unknown Source)
      at Client.main(Client.java:11)

      Warning: unable to read transaction.interoperability config property
      java.io.FileNotFoundException: C:\jbosstomcat\ejbexam\msgdriven\config\security.
      properties (The system cannot find the path specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(Unknown Source)
      at java.io.FileInputStream.(Unknown Source)
      at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
      )
      at com.sun.enterprise.iiop.security.SecurityMechanismSelector.(S
      ecurityMechanismSelector.java:102)
      at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLS
      ocketFactory.java:211)
      at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(Connecti
      onTable.java:73)
      at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(Connecti
      onTable.java:68)
      at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:7
      0)
      at com.sun.corba.ee.internal.corba.InitialNamingClient.locateObject(Init
      ialNamingClient.java:769)
      at com.sun.corba.ee.internal.corba.InitialNamingClient.getIORUsingHostIn
      fo(InitialNamingClient.java:597)
      at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveCorbaloc(I
      nitialNamingClient.java:573)
      at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingORBIn
      itRef(InitialNamingClient.java:544)
      at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialRefe
      rences(InitialNamingClient.java:1080)
      at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_r
      eferences(InitialNamingClient.java:981)
      at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.ja
      va:2425)
      at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
      a:52)
      at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
      )
      at javax.naming.InitialContext.lookup(Unknown Source)
      at Client.main(Client.java:14)
      Exception in thread "main" javax.naming.CommunicationException: Can't find Seria
      lContextProvider
      at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
      a:63)
      at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
      )
      at javax.naming.InitialContext.lookup(Unknown Source)
      at Client.main(Client.java:14)