tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt" <zkoppanyl...@intland.com>
Subject Resource in context.xml and ObjectFactory
Date Sun, 09 Oct 2005 06:59:58 GMT
Hi,

If I don't use the attribute "factory" in context.xml I get following error:

javax.naming.NamingException: Cannot create resource instance
    at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.
java:132)

<Context debug="0" reloadable="false">
<Resource name="cbrealm/RealmFactory" auth="Container"
		type="cv.security.realm.JNDIRealm"
factory="cv.security.realm.JNDIRealmFactory" />

In tc-5.0.28 I didn't need factory, why is it necessary now?

I use tc-5.5.9 with jdk-1.5.0_05 Windows-XP.

Zsolt



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message