What I\'m trying to do is to update my database after a period of time. So I\'m using java scheduler and connection pooling. I don\'t know why but my code only working once. It
This error shows that your jdbc resource is not registered! Where did you put your context.xml
?
The context.xml
file must be in the META-INF
directory of the war file. It must not be in the classes directory or in a jar file.
Put the META-INF
directory with the context.xml
in the directory containing the root of the webapp in your source folder tree.