That was it, thanks. -----Original Message----- From: Konstantin Kolinko [mailto:[email protected]] Sent: Tuesday, June 29, 2010 3:34 PM To: Tomcat Users List Subject: Re: LockoutRealm configuration problem
2010/6/30 Robillard, Greg L <[email protected]>: > When LockoutRealm is added to configuration, tomcat will not start and I > receive the following errors. All runs well when the wrapper is not used. > > Apache Tomcat 6.0.20 Server The last released 6.0.x version is 6.0.26. The 6.0.28 release candidate build is at voting now. > <Realm className="org.apache.catalina.realm.LockOutRealm" > failureCount="5" lockOutTime="300" cacheSize="1000" > cacheRemovalWarningTime="3600"> > > <Realm className="org.apache.catalina.realm.DataSourceRealm" > digest="MD5" > > dataSourceName="jdbc/fltwinds" userTable="users" > userNameCol="username" userCredCol="password" > > userRoleTable="users" roleNameCol="role"/> > > <Realm/> The above line should be </Realm> > java.lang.NullPointerException > > at > sun.jkernel.DownloadManager.getBootClassPathEntryForClass(DownloadMana > ger.java:928) > > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:293) > > at > java.lang.ClassLoader.loadClass(ClassLoader.java:300) That is JRE code. I suppose that it is caused by calling ClassLoader.loadClass() with a null className. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
