The ebb and flow of personalized information.  
    Updated: 2/16/02; 4:35:30 PM.

 

Click here to send an email to the editor of this weblog.
Email

Click to see the XML version of this web page.

General Interest

Macintouch
MacOS X Hints
Scripting News
Doc Searls
Hack the Planet
bOing bOing
Jonathon Delacour
Mac Net Journal
mac.scripting.com
SATN.org
2020 Hindsight
Flangy News
My Apple Menu
Dan Bricklin
Kris Amico
Sam Ruby
Josh Lucas
Mark Paschal

Geekware

Apache XML
XML Protocols
XML 1.0 Spec
WSDL
xmlrpc.com
soapware.org
opml.org

Radio

Radio Userland
Andy's Radio Resources
Frontier Scripting Tutorial
Matt's Book
DocServer
Radio Stories
RSS 0.92
RSS 0.91

 
 

Tuesday, January 22, 2002

Naptime

I went looking for a better sleep command for shell scripts and found one called nap.

    #!/usr/bin/perl -w
    # Created by Ben Okopnik on Wed Oct 31 10:45:14 EST 2001

    die "Usage: ", $0 =~ m{([^/]*)$}, " n" unless @ARGV;
    select undef, undef, undef, 0.001 * $ARGV[0]
You can use it in a script like so:

    #!/bin/sh
    # playing games with nap

    loops=5;
    while [ $loops -gt 0 ];
    do for x in - \ | /;
    do printf "%c\b" $x;
    nap 100;
    done;
    loops=`expr $loops - 1`;
    printf "\n"
    done
This came in pretty handy for what I was doing.
11:16:43 PM    

SOAP wrappers on JBoss EJBs

I spent most of the day banging my head on SOAP connections to an EJB deployed inside JBoss. The problem is that soap is deployed as a .war file, which JBoss passes off to Tomcat. The soap code executes in Tomcat, which can't see into the JBoss EJB name space. There are dozens of requests to fix this, and I think each of them eventually gets resolved offline. That's not helping me very much.

This seemed to happen around JBoss 2.2, but unfortunately Mr. Packrat dumped all his old copies of JBoss, rats. I'm going to find a solution eventually.

In the meantime, I seem to have a few problems with returning my errors properly in SOAP. Looks like a bunch of gobblygook.
11:07:36 PM    


© Copyright 2002 Dave Ely.



Click here to visit the Radio UserLand website.

 


January 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Dec   Feb