Re: pulling my hair out re: EJB in tomcat

2001-10-01 Thread mlamb


On Fri, 28 Sep 2001 [EMAIL PROTECTED] wrote:

 Now I just keep getting the java.lang.ClassCastException:
 javax.naming.NameClassPair on the sample's line:

   Object ref  = jndiContext.lookup(interest/Interest);

are you actually getting the classcast there?  or on a subsequent line
where its something like

  InterestHome iHome = (InterestHome) ref;

?  Does doing a

  InterestHome iHome = (InterestHome) PortableRemoteObject.narrow(
  jndiContext.lookup(interest/Interest),
  InterestHome.class);


Unfortunately, it's definitely happening during the lookup.  If the lookup
were to succeed, it would continue t0:
 InterestHome home = (InterestHome)
PortableRemoteObject.narrow(ref, InterestHome.class);
But it's not getting there.

- Marty





importing an existing certificate

2001-09-20 Thread mlamb

Hello all,

I'm in the process of migrating an application from Lotus Domino to Tomcat
4.0.  The new application will reside on the same server as the old
application.  We have recently renewed our certificate with Verisign; the
original request was generated by Domino.  I would like to use the same
certificate for Tomcat.  Is this even possible?  I've been unable to find
any information in the keytool documentation for importing a certificate
that keytool did not itself request.

Thanks,

Marty

Martin Lamb
ROI Computer Services, Inc.
610-873-0300