tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@betaversion.org>
Subject Re: Strange problem with URL_PKG_PREFIXES
Date Tue, 20 Mar 2001 22:13:41 GMT
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

Mime
View raw message