tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arieh Markel <Arieh.Mar...@central.sun.com>
Subject Re: Servlet - Jini - Tomcat3.1
Date Wed, 15 Nov 2000 17:16:28 GMT

> From: "Flávio Rodrigo M. de Carvalho" <mcrod@ig.com.br>
> To: "Arieh Markel" <Arieh.Markel@central.sun.com>, 
<tomcat-dev@jakarta.apache.org>
> Subject: Re: Servlet - Jini - Tomcat3.1
> 
> ----- Original Message -----
> >Flavio,
> >It is not clear from your description what you are trying to do.
> >
> >  . does your server issue a query to obtain a Jini service reference from
> >     a lookup server ?
> 
> Exactly, my servlet just make an unicast to receive from the lookup server
> the Registrar (LookupLocator.GETREGISTRAR) . The exception appears after
> that call.
> If it helps, I am trying to connect a servlet to a JavaSpace and
> TransactionManager (mahalo) services.
> 
> >
> >   . are you expecting that the Jini service will upload the WAR over
> >     the net to be incorporated ?
> >
> This I didn't understand... (???)

The fact that an exception of casting happens on a class expected to be 
WARConnection leads me to believe that the code you have is expecting to
have a 'war' file downloaded from over the network.

So my question is if what you intended to do is the following:

  . access an object from the JavaSpace and have that object become/incorporate
    a web-application to the Tomcat container
    
I really can't see how there is a relationship between the Jini Lookup
invocation and the exception thrown.

I wonder if you could post the code (the method) in which this happens.

Arieh


> >
> >Arieh
> 
> 
> 
> 

--
 Arieh Markel		                Sun Microsystems Inc.
 Network Storage                        500 Eldorado Blvd. MS UBRM11-194
 e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
 Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
 (e-mail me with subject SEND PUBLIC KEY to get public key)


Mime
View raw message