Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-15

SOSSSHJob2JSAdapter job with simulate_shell=yes never ends because it is waiting for a login prompt

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.7.4
    • None

    Description

      SOSSSHJob2JSAdapter job with simulate_shell=yes never ends because it is waiting for a login prompt
      The task must be killed manually.

      The following log is written:

      2012-06-13 09:58:23.090 [info] SCHEDULER-918 state=starting (at=2012-06-13 09:58:23.032)
      2012-06-13 09:58:24.479 [debug6] connecting to database.. .
      2012-06-13 09:58:24.508 [debug6] calling sos.connection.SOSConnection.<init>(267)
      2012-06-13 09:58:24.511 [debug9] .. driver=com.mysql.jdbc.Driver, url=jdbc:mysql://wilma:3305/scheduler, dbuser=scheduler
      2012-06-13 09:58:24.512 [debug6] sos.connection.SOSMySQLConnection.connect(97)
      2012-06-13 09:58:25.349 [debug6] .. successfully connected to jdbc:mysql://wilma:3305/scheduler
      2012-06-13 09:58:25.360 [debug3] DatabaseMajorVersion: 5
      2012-06-13 09:58:25.360 [debug3] DatabaseMinorVersion: 0
      2012-06-13 09:58:25.361 [debug3] DatabaseProductVersion: 5.0.15
      2012-06-13 09:58:25.361 [debug3] Excluded Database Version: false
      2012-06-13 09:58:25.361 [debug3] Untested Database Version: false
      2012-06-13 09:58:25.361 [debug6] calling sos.connection.SOSMySQLConnection.prepare(126)
      2012-06-13 09:58:25.366 [debug6] ..successfully connected to Job Scheduler database.
      2012-06-13 09:58:25.375 [debug] java classpath: /home/test/scheduler.1.3.12/lib/activation.jar:/home/test/scheduler.1.3.12/lib/com.sos.DataExchange-1.6-2137-17060.jar:/home/test/scheduler.1.3.12/lib/com.sos.JSHelper-1.6-2137-17090.jar:/home/test/scheduler.1.3.12/lib/com.sos.JobSchedulerLocalization-1.6-2137-16694.jar:/home/test/scheduler.1.3.12/lib/com.sos.SOSJobSchedulerModel-1.6-2137-17148.jar:/home/test/scheduler.1.3.12/lib/com.sos.VirtualFileSystem-1.6-2137-16992.jar:/home/test/scheduler.1.3.12/lib/com.sos.configuration-1.6-2137-16257.jar:/home/test/scheduler.1.3.12/lib/com.sos.connection-1.6-2137-16253.jar:/home/test/scheduler.1.3.12/lib/com.sos.dailyschedule-1.6-2137-16960.jar:/home/test/scheduler.1.3.12/lib/com.sos.dailyschedule.dialog-1.6-2137-17158.jar:/home/test/scheduler.1.3.12/lib/com.sos.dialog-1.6-2137-17160.jar:/home/test/scheduler.1.3.12/lib/com.sos.ftp.profiles-1.6-2137-7585.jar:/home/test/scheduler.1.3.12/lib/com.sos.ftphistory-1.6-2137-16108.jar:/home/test/scheduler.1.3.12/lib/com.sos.hibernate-1.6-2137-16990.jar:/home/test/scheduler.1.3.12/lib/com.sos.jitl-1.6-2137-16477.jar:/home/test/scheduler.1.3.12/lib/com.sos.jobnet-1.6-2137-17150.jar:/home/test/scheduler.1.3.12/lib/com.sos.jobnet.dataprovider-1.6-2137-16987.jar:/home/test/scheduler.1.3.12/lib/com.sos.ldap-1.6-2137-16431.jar:/home/test/scheduler.1.3.12/lib/com.sos.mail-1.6-2137-14303.jar:/home/test/scheduler.1.3.12/lib/com.sos.marshalling-1.6-2137-14755.jar:/home/test/scheduler.1.3.12/lib/com.sos.net-1.6-2137-17056.jar:/home/test/scheduler.1.3.12/lib/com.sos.scheduler-1.6-2137-17145.jar:/home/test/scheduler.1.3.12/lib/com.sos.scheduler.editor-1.6-0000-00000.jar:/home/test/scheduler.1.3.12/lib/com.sos.schedulerhistory-1.6-2137-16997.jar:/home/test/scheduler.1.3.12/lib/com.sos.schedulerhistory.dialog-1.6-2137-16816.jar:/home/test/scheduler.1.3.12/lib/com.sos.settings-1.6-2137-16211.jar:/home/test/scheduler.1.3.12/lib/com.sos.spooler-1.3.12.2131.jar:/home/test/scheduler.1.3.12/lib/com.sos.textprocessor-1.6-2137-14765.jar:/home/test/scheduler.1.3.12/lib/com.sos.util-1.6-2137-16839.jar:/home/test/scheduler.1.3.12/lib/com.sos.xml-1.6-2137-17054.jar:/home/test/scheduler.1.3.12/lib/commons-codec-1.3.jar:/home/test/scheduler.1.3.12/lib/commons-httpclient-3.0.1.jar:/home/test/scheduler.1.3.12/lib/commons-logging.jar:/home/test/scheduler.1.3.12/lib/commons-net-2.2.jar:/home/test/scheduler.1.3.12/lib/db2jcc.jar:/home/test/scheduler.1.3.12/lib/db2jcc_license_cu.jar:/home/test/scheduler.1.3.12/lib/guava-10.0.jar:/home/test/scheduler.1.3.12/lib/guice-3.0.jar:/home/test/scheduler.1.3.12/lib/guice-servlet-3.0.jar:/home/test/scheduler.1.3.12/lib/jaxen-1.1.1.jar:/home/test/scheduler.1.3.12/lib/jaybird-full-2.1.1.jar:/home/test/scheduler.1.3.12/lib/jce-jdk13-129.jar:/home/test/scheduler.1.3.12/lib/jdom.jar:/home/test/scheduler.1.3.12/lib/joda-time-2.1.jar:/home/test/scheduler.1.3.12/lib/jtds-1.2.2.jar:/home/test/scheduler.1.3.12/lib/jul-to-slf4j-1.6.4.jar:/home/test/scheduler.1.3.12/lib/log4j-1.2.16.jar:/home/test/scheduler.1.3.12/lib/mail.jar:/home/test/scheduler.1.3.12/lib/mysql-connector-java-3.1.8-bin.jar:/home/test/scheduler.1.3.12/lib/ojdbc6.jar:/home/test/scheduler.1.3.12/lib/org.apache.commons.jar:/home/test/scheduler.1.3.12/lib/org.eclipse.wst.xml.xpath2.processor_1.1.0.jar:/home/test/scheduler.1.3.12/lib/postgresql-8.1-404.jdbc3.jar:/home/test/scheduler.1.3.12/lib/saxon9he.jar:/home/test/scheduler.1.3.12/lib/serializer.jar:/home/test/scheduler.1.3.12/lib/sos.hostware.jar:/home/test/scheduler.1.3.12/lib/swt.jar:/home/test/scheduler.1.3.12/lib/trilead-ssh2-build211.jar:/home/test/scheduler.1.3.12/lib/webdavclient4j-core-0.92.jar:/home/test/scheduler.1.3.12/lib/xalan.jar:/home/test/scheduler.1.3.12/lib/xercesImpl.jar:/home/test/scheduler.1.3.12/lib/xml-apis.jar:/home/test/scheduler.1.3.12/lib/hibernate/antlr-2.7.6.jar:/home/test/scheduler.1.3.12/lib/hibernate/commons-collections-3.1.jar:/home/test/scheduler.1.3.12/lib/hibernate/dom4j-1.6.1.jar:/home/test/scheduler.1.3.12/lib/hibernate/hibernate-jpa-2.0-api-1.0.0.Final.jar:/home/test/scheduler.1.3.12/lib/hibernate/hibernate3.jar:/home/test/scheduler.1.3.12/lib/hibernate/javassist-3.12.0.GA.jar:/home/test/scheduler.1.3.12/lib/hibernate/jta-1.1.jar:/home/test/scheduler.1.3.12/lib/hibernate/slf4j-api-1.6.1.jar:/home/test/scheduler.1.3.12/lib/hibernate/slf4j-simple-1.6.1.jar
      2012-06-13 09:58:25.376 [debug] java vm arguments:
      2012-06-13 09:58:25.459 [info] INFO [main] (JobSchedulerJobAdapter.java:140) - LOG_I_0020: JobSchedulerLog4JAppender is configured as log4j-appender
      2012-06-13 09:58:25.496 [debug] DEBUG [main] (VFSFactory.java:197) - VFSFactory::getHandler returns instance of com.sos.VirtualFileSystem.SSH.SOSSSH2TriLeadImpl@738e738e
      2012-06-13 09:58:25.498 [debug] DEBUG [main] (VFSFactory.java:200) - ISOSVFSHandler is part of class ... class com.sos.VirtualFileSystem.SSH.SOSSSH2TriLeadImpl
      2012-06-13 09:58:25.551 [info] INFO [main] (JobSchedulerJobAdapter.java:687) - JSJ_I_0010: JobSchedulerJobAdapter::getNodeName: Current Job is 'sshTest'.
      2012-06-13 09:58:25.555 [debug] DEBUG [main] (JobSchedulerJobAdapter.java:337) - JSJ_D_0070: Number of Parameters found for Job or Order is : 8
      2012-06-13 09:58:25.561 [info] INFO [main] (JobSchedulerJobAdapter.java:687) - JSJ_I_0010: JobSchedulerJobAdapter::getNodeName: Current Job is 'sshTest'.
      2012-06-13 09:58:25.663 [debug] DEBUG [main] (SOSSSHJob2.java:185) - objJSJobUtilities = sos.scheduler.job.SOSSSHJob2JSAdapter
      2012-06-13 09:58:25.665 [debug] DEBUG [main] (SOSSSHJob2.java:208) - SOSSSHJob2::Execute start ...
      2012-06-13 09:58:25.691 [debug] DEBUG [main] (SOSSSHJob2.java:215) - JSOptionsClass
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.auth_file (auth_file): /home/test/.ssh/id_rsa
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.auth_method (auth_method): publickey
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.command (This parameter specifies a command that is to be executed): echo hallo welt
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.command_delimiter (Command delimiter characters are specified using this par): %%
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.command_script (This parameter can be used as an alternative to command,): null
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.command_script_file (This parameter can be used as an alternative to command,): null
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.command_script_param (This parameter contains a parameterstring, which will be): null
      2012-06-13 09:58:25.691 [debug] wilma (192.11.0.61)
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.ignore_error (Should the value true be specified, then execution errors): false
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.ignore_exit_code (This parameter configures one or more exit codes which wi):
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.ignore_signal (Should the value true be specified, then on): false
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.ignore_stderr (This job checks if any output to stderr has been created): false
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.password (This parameter specifies the user account password for au): *****
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.port (This parameter specifies the port number of the SSH serve): 22
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.proxy_host (The value of this parameter is the host name or the IP ad): null
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.proxy_password (This parameter specifies the password for the proxy serve): *****
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.proxy_port (This parameter specifies the port number of the proxy,): null
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.proxy_user (The value of this parameter specifies the user account fo): user
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.simulate_shell (Should the value true be specified for this parameter,): true
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.simulate_shell_inactivity_timeout (If no new characters are written to stdout or stderr afte): 0
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.simulate_shell_login_timeout (If no new characters are written to stdout or stderr afte): 0
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.simulate_shell_prompt_trigger (The expected comman line prompt. Using this prompt the jo): null
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.user (This parameter specifies the user account to be used when): test
      2012-06-13 09:58:25.691 [debug] SOSSSHJobOptions.ignore_hangup_signal (Should the value true be specified, then execution errors): true
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.local_user (Name of local user): test
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.Locale (I18N is for internationalization of Application): en_US
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.CheckNotProcessedOptions (If this Option is set to true, all not processed or recognized options are reported as a warning): false
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.XmlId (This ist the ...): root
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.TestMode (Test Modus schalten ): false
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.Debug (Debug-Modus schalten (true/false)): false
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.DebugLevel (DebugLevel): 0
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.log_filename (Name der Datei mit den Logging-Einträgen): stdout
      2012-06-13 09:58:25.691 [debug] JSOptionsClass.log4j_Property_FileName (Name of the LOG4J Property File): ./log4j.properties
      2012-06-13 09:58:25.691 [debug]
      2012-06-13 09:58:25.851 [debug] DEBUG [main] (SOSSSH2TriLeadImpl.java:191) - Connected to 'wilma' at Port '22'.
      2012-06-13 09:58:26.062 [info] INFO [main] (SOSSSH2TriLeadImpl.java:581) - SOS-SSH-I-040: user test logged in
      2012-06-13 09:58:26.083 [debug] DEBUG [main] (SOSSSH2TriLeadImpl.java:866) - Requesting PTY...
      2012-06-13 09:58:26.085 [debug] DEBUG [main] (SOSSSH2TriLeadImpl.java:868) - Starting shell...
      2012-06-13 09:58:26.088 [debug] DEBUG [main] (SOSSSH2TriLeadImpl.java:878) - Waiting for login prompt...

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: