I have an application deployed on OC4J. It uses quartz to schedule a job. The job connects to the database through JNDI. The JNDI is defined through Enterprise Manager. When started, the log showed the following error.
Javax.naming.NamingException: Not in an application scope - start Orion with the -userThreads switch if using user-created threads
It turns out that I need to add "-userThreads" to OC4J options to overcome this. I did this through EM > Administration > Server properties, and then add "-userThreads" to OC4J options. The error was gone after a restart.
Wednesday, December 1, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment