Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dendenners
  • Content: Threads
  • Order by date
  1. dendenners

    accessing a value in css from javascript

    Hi, I'm using script.aculo.us for some effects on a site I'm building. One of the effects I'm using is Effect.highlight(). The actual code for this would be (for example) <span id="back" class="wide-button" onclick="new Effect.Highlight(this, { startcolor: '#ffffff' })"> When this div is...
  2. dendenners

    sending mail from a DMZ

    Hi, I've a linux (Redhat 8) machine on a DMZ. I want to SEND email only from this machine (only to address within our own LAN) and no email has to be received. However, when I try to send email, the following type of error is cropping up in the /var/log/maillog: (the names of the machines have...
  3. dendenners

    Connecting to sqlserver 6.5 from Linux

    Hey there I need to get a data feed from a sqlserver 6.5 database sitting on a NT 4.0 box, and populate a mysql database (on a pc running red hat 8) with this feed. I have a java program that gets the feed running on a machine running windows xp, but this uses a registry-stored ODBC System DSN...
  4. dendenners

    Parsing XML from an inputStream

    Hi there, I want to parse xml from an incoming socket stream. I want my parser to be able to respond individually to discrete xml documents arriving on the same socket (i.e. I can't use the close() method to decide when and where an xml document actually ends). I think the only way of doing this...
  5. dendenners

    writing script output to files and screen via tee

    Hi, I have scripts whose stdout and stderr output I pipe to 2 different files like so: script.sh > /tmp/out 2>/tmp/out_err I would like this output (both stdout and stderr) to also appear on the screen when I run the script. I know I could do script.sh | tee /tmp/out but this would pipe all...
  6. dendenners

    formatting text with spaces using printf

    Hi there, I'm trying to use printf in awk to format some text a certain way. However I'm encountering problems when passing in the text to awk as a shell variable when the variable contains spaces. Say I want to use the text &quot;hello there&quot; as my formatable text. The following works...
  7. dendenners

    weblogic 5.1 dynamic class reloading

    Hello, I'm doing my weblogic development on an aix box with WL 5.1 SP10 (all development is done using expanded classes under weblogic/myserver/servletclasses, for production we use WAR files). Each time I update a class while developing it seems I have to restart the server to get it to refresh...
  8. dendenners

    parsing a cronfile

    Hi, I need to parse a cron file and find out when a specific job will next be executed on my aix box. Has anyone here seen a script to do this, and if not, do people think that awk would be powerful enough to decipher any crontab entry, including ranges, multiple comma-seperated entries and...
  9. dendenners

    finding next execution of a cron job

    Hi there, I have a crontab file with several entries. I would like the job being run by crontab to actually check the crontab file that has executed it to ascertain when exactly the job will be run next. Is there an easy way to do this or as I expect do I have to write a massive script to...
  10. dendenners

    problems re-deploying an ejb to weblogic 5.1

    Hi there, I'm developing ejb's locally, and dropping them onto a remote web server. At the moment I'm debugging a bean, so I'm adding new log messages to it. However, when I view the console output from weblogic, it seems as if weblogic is still reading the very first instance of the bean I...
  11. dendenners

    noclassdeffounderror - what am I missing?

    Hi there, I'm trying to test a class that will eventually run by a servlet on its own. I'm using weblogic to pick up the database connections the class needs from one of its pools. The class runs fine on my win2000 pc, but when I try to run it on an aix machine it gives me a NoClassDefFoundError...
  12. dendenners

    rdist-ing to different directories

    Hi, I have an rdist from an aix machine to a linux box. Does anyone know if it is possible to get rdist to rdist a certain directory to a different directory on the remote machine? i.e. I want to rdist a directory aaaa/bbbb/cccc to a differently named directory xxxxx/yyyyy/zzzzzz on the remote...
  13. dendenners

    oldrdist for linux?

    Hi, I'm trying to get an rdist operation running from an aix machine to a linux machine. It seems that the rdist on the aix box is a little older than the version on the linux box, and attempts to execute the rdist on the linux box with a '-Server' option. The rdist on the linux box recognizes...
  14. dendenners

    preserving whitespace in variables

    Hi, I need to extract the first line from a file, manipulate a section of the line and re-insert it into the file. The problem I'm encountering is that I don't seem to be able to preserve trailing whitespace in the line when I pass it into a variable. At the moment, I'm carving up the line like...
  15. dendenners

    how to get last day of a month

    Hi, I want a shell script function that will take in a month number as an argument and return the last day of that month. I can assume for leap years that the incoming month is in the system's current year. This will not be difficult to do, but I can't think of a concise way to do it. Can anyone...
  16. dendenners

    source control question

    Hi there, I am currently trying to upgrade our (inadquate) source control for the aix scripts we have on our boxes. Currently we are using ms visual sourcesafe as source control. This is fine for out java projects and general documentation because our java build process occurs on windows...
  17. dendenners

    hex conversion methods

    Hi there, I'm having trouble converting a 4 byte hex value into the correct int value that it represents. I was wondering would anyone know where I could find some generic method that takes in a byte array with numerical hex values and returns the calculated int value? Thanks (e.g. if my 4 byte...
  18. dendenners

    changing file permissions on files created by oracle

    Hi there, I have a few pl/sql processes that create some files on the (aix) box that the database is installed on. I want the calling script to delete these files after remotely copying them. However, every file created by utl_file is owned by the oracle uid, and (in my case) has permissions...
  19. dendenners

    using regular expressions in select statements

    Hi there. I would like to check some file names that I receive against values in a database. I have a database table that holds valid file names, and I need to check specific file names against values in this table. However my problem is that some of the files I receive have a timestamp as part...
  20. dendenners

    preserving whitespace in readers/streams

    Hello, I have a process that loads a sql*plus report into an Clob field in an oracle database. I want to display this data 'as is' on a jsp page. I have tried converting the clob to both a stream and a reader and outputting it to the ServletResponse's Reader and OutputStream. My problem is that...

Part and Inventory Search

Back
Top