Re: httpmd

Dan Creswell <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Logan, Patrick wrote:
>>> I have tried this with outrigger as well as blitz, writing an entry
>
>> The trace below appears to be a takeIfExists not a write?
>
> You are correct. That app actually does a takeIfExists and then a
> write.
>

Phew - it was late, thought I might be going mad.....

>> And are you using transactions or not?
>
> Not in this case.
>

Okay - not sure why Outrigger is suffering this exception at the
back-end right now - hmmmm

>>> the javaspace. So I did nothing different in the way I started the
>>> jini services, hoping by default they would understand httpmd, as
>>> it wasn't
>
>> Nope :)
>
> Do most people use httpmd at this point? Should they? Would there be a
> problem with just making this available on all the starter kit and
> blitz invocations?
>

Right well httpmd is all about integrity, not really about class
evolution.  You could just generate a digest and tag that to the end of
the .jar name and get the same effects without needing to install httpmd.

>> Can you post the command-line you are using to start outrigger
>> and/or blitz?
>
> That's the rub for me. I've just been doing blitz.sh for blitz or
> launch-all for outrigger, not really caring to this point what those
> scripts do. So I know almost nothing about them yet.
>

Ah, well if you just post the name of the script you're using, that's
sufficient.

>> Maybe the script is invoking start.jar?  If it is and the .config
>> you pass to start.jar contains NonActivatableServiceDescriptors then
>> you should be able to edit the script and add:
>
>> -Djava.protocol.handler.pkgs=net.jini.url
>> to the command-line for start.jar
>
> OK. I guess there is some reason this is not done already in the
> releases.
>

Hmm, wouldn't say there was a solid reason.  But there might well be
some lore around not frightening the user with lots of command-line bits
to wade through for security options they aren't using and are maybe
very scared of.

> I decided to try out httpmd to see how easy it is to use, based on a
> mailing list email I saw (sorry link not close at hand) suggesting
> that the digest number is a good way to make changes to code result in
> a new url.
>
> I guess I am starting to think about a development environment that
> keeps things running as much as possible and tools that cleanup those
> things that need a fresh start. That's a big topic, and this is just
> my first little step -- trying out httpmd.
>

Okay, well I'd say httpmd is probably not the right tool for this job.

>> Hope that helps,
>
> Yes, thanks.
>
> -Patrick
>

Dan.

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.