OK, I think I found part of the problem. The log was saying something about having to have jaasSecurityManagerService specified as well as SecurityDomainJndiName. So I did, but now I get:
malformed key/value pair
OK, so I got it to the point where it's telling me that
"OJB can't open repository file repository.xml".
Now, the repository.xml is in as many places within the classpath as I can think of putting it. I'm not sure whether OJB can't find it, or can't open it for some reason.