我正在使用 eclipse 来管理我的服务器实例,我想知道是否可以将其他选项/开关添加到启动服务器的命令中。让我知道是否有办法,或者我是否采取了错误的方法......
这是我在应用程序中遇到的错误(使用 Quartz):
Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
我正在使用 eclipse 来管理我的服务器实例,我想知道是否可以将其他选项/开关添加到启动服务器的命令中。让我知道是否有办法,或者我是否采取了错误的方法......
这是我在应用程序中遇到的错误(使用 Quartz):
Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
好的,我很确定这并不容易,我在 eclipse 新闻列表上阅读了有关修改驱动程序配置文件之一的内容:
在<eclipse>\plugins\org.eclipse.jst.server.generic.oc4j_1.5.100.v20070608\servers 文件夹中编辑适当的 oracle.xxxxserverdef 文件
;标签 <programArguments>
(<programArguments>-userThreads</programArguments>)
您可能需要重新定义服务器实例。
我在实现这一点时遇到了一些困难,所以我只是运行(从命令行):
java -jar oc4j.jar -userThreads
我想这就是我应该这样做的方式...... >_<