User Profile

Collapse

Profile Sidebar

Collapse
ndedhia1
ndedhia1
Last Activity: Mar 13 '14, 06:45 PM
Joined: Jan 15 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Why does creating new blowfish-cbc cipher instance hang?

    I have a question regarding blowfish-cbc cipher instance.
    I was wondering if anyone has come across this issue.
    My program will be running fine for hours or even days without this occurring, but every once in a while, it will get stuck on this part:

    Code:
    INFO: Creating new blowfish-cbc cipher instance.
    Jan 31, 2014 3:11:09 PM com.sshtools.j2ssh.transport.cipher.SshCipherFactory new Instance
    INFO: Creating
    ...
    See more | Go to post

  • ndedhia1
    replied to Trying to SSH to a trusted server
    in Java
    Hey Oralloy,
    I have another question regarding blowfish-cbc cipher instance.
    Before I give you the code, I was wondering if you have come across this issue.
    My program will be running fine for hours or even days without this occurring, but every once in a while, it will get stuck on this part:

    Code:
    INFO: Creating new blowfish-cbc cipher instance.
    Jan 31, 2014 3:11:09 PM com.sshtools.j2ssh.transport.cipher.SshCipherFactory
    ...
    See more | Go to post

    Leave a comment:


  • How do I exceed 65536 rows when I am creating an excel file

    I am creating an excel file, using the jxl jar, but I get this error when I go over 65536 rows:

    Code:
    Spreadsheet Generation failed in constructor
    
    class jxl.write.biff.RowsExceededException
    
    The maximum number of rows permitted on a worksheet been exceeded
    
    jxl.write.biff.RowsExceededException: The maximum number of rows permitted on a worksheet been exceeded
    
            at jxl.write.biff.WritableSheetImpl.getRowRecord(WritableSheetImpl.java:813)
    ...
    See more | Go to post

  • How do I connect to a server from my windows box using an id_rsa key file

    I was wondering how I connect to a server, using a password, login and needing to look up a key in an id_rsa file?

    I was able to log into the box before just using the password and login, but security has gotten tighter, so now we need to public/private key.
    I have the keys on my pc in a file called id_rsa and id_rsa.pub.

    Before, I was doing this, which worked:

    Code:
    IgnoreHostKeyVerification
    ...
    See more | Go to post

  • How do I stop focus being stolen from my Microsoft Office Outlook Inbox

    I have a GUI that I created, that updates every time a new line is added to a log file that I am tailing. If the GUI does not have focus, it is supposed to flash in the toolbar, which it does when I have focus on firefox, putty sessions, etc. This works perfectly fine.


    The only time this doesn’t work is when I am looking at my inbox of Microsoft Outlook. The GUI steals focus from Microsoft Outlook, which makes me think...
    See more | Go to post

  • actually, disregard this issue. I am trying to get the GUI i created to stop stealing focus from my Microsoft Outlook, not the other way around.

    thanks
    See more | Go to post

    Leave a comment:


  • I went into the C:\Program Files\Microsoft Office\OFFICE11 folder and created a new shortcut for Outlook.exe. I then went into properties and there was no /recycle switch in the target textbox. Am I missing something because the GUI still steals focus from my inbox when I have focus on the inbox.

    Thanks!
    See more | Go to post

    Leave a comment:


  • when i click on the start button on the lower left hand corner, the shortcut I have is called E-Mail, Microsoft Office Outlook, and when I click on properties, I have a mail setup - outlook box that has three options, e-mail accounts, data files and show profiles. Is the target textbox in one of those?
    See more | Go to post

    Leave a comment:


  • How do I remove the /recycle switch from Microsoft Office Outlook

    I have an issue where I have a GUI that I created, that updates every time a new line is added to a log file that I am tailing. If the GUI does not have focus, it is supposed to flash in the toolbar, which it does when I have focus on firefox, putty sessions, remedy, etc. This works perfectly fine.

    The only time this doesn’t work is when I am looking at my inbox of Microsoft Outlook. The GUI steals focus from Microsoft Outlook....
    See more | Go to post

  • Why does my Jframe GUI only steal focus from Microsoft Outlook?

    Hey guys,

    I created a GUI that updates every time a new line is added to some file. If I have the GUI in the background and have focus on other things such as unix session I have open, firefox, an email that I am writing in Microsft Outlook, the GUI flashes in the taskbar at the bottom of my screen and doesn’t steal focus. That is exactly what I want it to do.



    When I have Microsoft Outlook as the...
    See more | Go to post

  • i dont want to get around what my network admins blocked. They wrote to me in an email that Rexec is being disabled and that i need to make this work using SSH.
    I get what I need to do to work using SSH if i run the shell script via command line, but when i try to run it as a shell script, it dies after the first run. The file that is being appended to, alarmNotificati on.log.orig is updated up to 7:30am, which is when the cronjob is supposed...
    See more | Go to post

    Leave a comment:


  • Unfortunately,
    I am not the network admin where I can configure many things on this box to allow syslog to work and also can not create a shared or mapped hard drive on both boxes.

    I had this working in the past using Rexec, but last week, Rexec was disabled on the destination server so this no longer worked for me giving me a Connection refused error:
    Code:
    $ desktop_SHM.ksh.081611
    server =ics0001,userName=infrap,password=infrap,cmd=/sbt/prod/infra/bin/cattail
    ...
    See more | Go to post

    Leave a comment:


  • A lot of other threads that I have read, in which people are having this same problem, are saying that this is an environmental issue. Is this something I could be doing wrong, because I am not really using any variables?
    I added these two lines to my shell script just to make sure that the file I am writing to has read/write access.
    I am creating an empty file called alarmNotificati on.log.orig and then giving it 777 permission
    ...
    See more | Go to post

    Leave a comment:


  • is there anything you see in the shell script or the way I am running the cronjob that I am doing wrong?
    Is there a ssh switch that I am missing or something that would allow for this to work?
    See more | Go to post

    Leave a comment:


  • the file that i am collecting data from is actually running syslog to capture its content. I need the captured contents also for an app that I am running.
    Can I run syslog on a file and can you give me examples of how this works.

    thanks
    See more | Go to post

    Leave a comment:


  • i havent looked into that and definitely will. Thanks!
    See more | Go to post

    Leave a comment:


  • I need the data in the logs completely real-time. I thought about that solution, but even having it copy over every 1 min is too long of a lag time.
    I believe this can be done the way that i am doing it manually, but I am not understanding why it is dying as a cronjob or dying periodically as a job that is run in the background.
    See more | Go to post

    Leave a comment:


  • That is basically correct.
    If i run the script in the background, it works fine also as long as I dont change directories or run too many other commands on the command prompt. It seems as though even if i am running it in the background, I have to leave that session alone.

    Running the script in the terminal manually definitely works fine alllll day long.

    There is nothing of interest in the /var/log directory....
    See more | Go to post

    Leave a comment:


  • ndedhia1
    started a topic Why does my ksh shell script die unexpectedly?

    Why does my ksh shell script die unexpectedly?

    I have a shell script that ssh over to another box, runs a cattail command on a log file, and redirects the output over a file on a different directory on the local box.
    The name of the shell script is: desktop_SHM.ksh
    Code:
    #!/bin/ksh
    
    ssh infrap@ics0001 '/sbt/prod/infra/bin/cattail /sbt/prod/infra/v2run_dir/log/alarmNotification.log' > /infra/sbt-support/supportTools/hsqldb/ics/tmp/alarmNo
    tification.log.orig
    ...
    See more | Go to post

  • ndedhia1
    started a topic how do i lock a ksh shell script

    how do i lock a ksh shell script

    Hi,
    I have a ksh shell script that accesses databases to drop and create tables and the script also creates text files.
    This shell script is accessed thru a java application that i would like to turn multi-user, but the only way that i can do that is if I can figure out a way to lock the shell script so that only 1 user can access it at a time.
    If 2 or more users access it, then bad things happen when 2 users and trying to drop...
    See more | Go to post
No activity results to display
Show More
Working...