Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 69532 invoked from network); 15 Nov 2000 17:21:13 -0000 Received: from mercury.sun.com (192.9.25.1) by locus.apache.org with SMTP; 15 Nov 2000 17:21:13 -0000 Received: from amon.Central.Sun.COM ([129.147.4.240]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA17744; Wed, 15 Nov 2000 09:20:31 -0800 (PST) Received: from sunray11 (sunray11 [129.147.71.13]) by amon.Central.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with SMTP id KAA08990; Wed, 15 Nov 2000 10:16:28 -0700 (MST) Message-Id: <200011151716.KAA08990@amon.Central.Sun.COM> Date: Wed, 15 Nov 2000 10:16:28 -0700 (MST) From: Arieh Markel Reply-To: Arieh Markel Subject: Re: Servlet - Jini - Tomcat3.1 To: Arieh.Markel@central.sun.com, tomcat-dev@jakarta.apache.org, mcrod@ig.com.br MIME-Version: 1.0 Content-Type: TEXT/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-MD5: c3E3KqH0flrwO7HwaGf7cg== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > From: "Fl=E1vio Rodrigo M. de Carvalho" > To: "Arieh Markel" ,=20 > Subject: Re: Servlet - Jini - Tomcat3.1 >=20 > ----- 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 fr= om > > a lookup server ? >=20 > Exactly, my servlet just make an unicast to receive from the lookup serve= r > 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. >=20 > > > > . 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=20 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/incorpo= rate a web-application to the Tomcat container =20 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 >=20 >=20 >=20 >=20 -- Arieh Markel=09=09 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)