Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 69446 invoked by uid 500); 20 Mar 2001 22:09:03 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 69368 invoked from network); 20 Mar 2001 22:09:00 -0000 From: Remy Maucherat X-Authentication-Warning: kali.betaversion.org: nobody set sender to remy@betaversion.org using -f To: tomcat-dev@jakarta.apache.org Subject: Re: Strange problem with URL_PKG_PREFIXES Message-ID: <985126421.3ab7d6154bb25@mail.betaversion.org> Date: Tue, 20 Mar 2001 14:13:41 -0800 (PST) References: <20010313231541.13475.qmail@pop3.ticnet.com> <01a401c0ac18$49202590$82deb018@intalio.com> <000401c0ac3a$13199c20$22f6493f@home> <02d801c0ac46$c4edf070$82deb018@intalio.com> <20010314170652.15053.qmail@pop3.ticnet.com> <984599843.3aafcd23bfa9d@mail.betaversion.org> <20010319154549.401.qmail@pop3.ticnet.com> <00b501c0b0a1$55a34300$82deb018@intalio.com> <20010319225223.32718.qmail@pop3.ticnet.com> <985048654.3ab6a64e1fc04@mail.betaversion.org> <20010320004239.30177.qmail@pop3.ticnet.com> <016601c0b0dd$46fd99e0$82deb018@intalio.com> <20010320202416.5230.qmail@pop3.ticnet.com> In-Reply-To: <20010320202416.5230.qmail@pop3.ticnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.2 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Quoting tttye@ticnet.com: > > Remy Maucherat writes: > > I've updated the object factory for the EJB references. It should now > > attempt to resolve ejb-links using a JNDI lookup. > > I can't really test the feature, so I'm waiting for your feedback and > stack > > traces, if it goes wrong ;-) > > > I finally got all pieces downloaded and compiled the change.... > Now we get an exception on the correct class name...: > > > S_STRESS_31K [true] | org.apache.naming.EjbRef | > javax.naming.NamingException: > cool.models.coop07.java.S_STRESS_31KpsHome > > javax.naming.NamingException: > cool.models.coop07.java.S_STRESS_31KpsHome The exception isn't very clear. It can't load the home interface, right ? To debug that problem, the factory won't fail if loading of the home interface fails or if the type checking fails. If something like that happens, a message will be printed out on the console, but the bean instance will still be returned. However, if the factory can't load the home interface class, your servlet will probably not be able to either (which is a problem). Remy