2 Replies Latest reply: Jul 23, 2012 5:50 AM by 903894 RSS

    Icommand not working.

    750407
      Hi,

      We have a scenario in which we need to do an export of the BAM DO using the icommand. The environment variable is set properly and then the Icommand run .. which asks for the user name and password. I had provided the correct username and password and it is getting stuck after providing the password.
      Nothing is printed in the console.
      The command which i had tried to execute is as below

      icommand  -cmd export -name "/DO/XXDO" -type dataobject -file XXDO.xml+

      I have checked the logs and got the below exception stack trace.

      _2012-06-13 07:22:01.002 SEVERE [10] Controller go Connection failed._
      weblogic.socket.Login.checkLoginSuccess(Login.java:131)
      weblogic.rjvm.t3.MuxableSocketT3.connect(MuxableSocketT3.java:410)
      weblogic.rjvm.t3.ConnectionFactoryT3.createConnection(ConnectionFactoryT3.java:34)
      weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1784)
      weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424)
      weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443)
      weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
      weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
      weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
      weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
      weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
      weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
      weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
      weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:96)
      weblogic.security.auth.Authenticate.authenticate(Authenticate.java:80)
      oracle.bam.common.remoting.BamEjbClient.getSession(BamEjbClient.java:1010)
      oracle.bam.common.remoting.BamEjbClient.getADCSession(BamEjbClient.java:359)
      oracle.bam.common.remoting.BamEjbClient.getADCSession(BamEjbClient.java:564)
      oracle.bam.adc.api.util.Context.<init>(Context.java:239)
      oracle.bam.icommand.ConsoleController.login(ConsoleController.java:361)
      oracle.bam.middleware.icommandengine.Controller.go(Controller.java:222)
      oracle.bam.middleware.icommandengine.Controller.go(Controller.java:186)
      oracle.bam.icommand.ConsoleController.go(ConsoleController.java:183)
      oracle.bam.icommand.Application.main(Application.java:56)


      Seems like a connection issues, does anyone has any idea of this issue.. is there any other alternative using which we can perform the export of the BAM DO,reports,EMS and alerts apart from the Icommands?