Hi,
I'm trying to customize the way authentication is done.
I created a class, overriding JDBCRealm which delegates all calls to JDBCRealm. When using it in my server.xml file, I get some annoying exceptions and
TOMCAT won't start.
What am I missing??
Thanks.
I use Tomcat 5.5, with eclipse.
the exceptions:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:616)
at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
... 6 more
working
server.xml:
NOT working
server.xml
my class