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...
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...
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...
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...
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...
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 "hello there" as my formatable text. The following works...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.