简体   繁体   English

Eclipse WebLogic插件问题-无法启动WebLogic服务器

[英]Eclipse WebLogic Plugin problem - can't start WebLogic server

I am running Eclipse v3.4.1 with weblogic plugin (Oracle Server Tools v1.2.0.200907171310). 我正在运行带weblogic插件的Eclipse v3.4.1(Oracle Server Tools v1.2.0.200907171310)。 I am running Oracle Weblogic 10gR3 locally. 我正在本地运行Oracle Weblogic 10gR3。

On the server tab within Eclipse, I click the Start Server button but receive the following error message: 在Eclipse中的“服务器”选项卡上,单击“启动服务器”按钮,但收到以下错误消息:

'startWebLogic.cmd' is not recognized as an internal or external command, operable program or batch file. 无法将“ startWebLogic.cmd”识别为内部或外部命令,可操作程序或批处理文件。

I think this has somehting to do with my Eclipse environment because when I run the same startup script from outside the IDE on the command line, it runs and starts the server successfully. 我认为这与Eclipse环境有关,因为当我在命令行上从IDE外部运行相同的启动脚本时,它将成功运行并启动服务器。

Has anyone else experienced this problem before? 有没有其他人经历过这个问题?

Thanks in advance 提前致谢

That error message sounds like the one that comes from Windows when you try to run a file, and Windows can't find it. 当您尝试运行文件时,该错误消息听起来像是Windows发出的错误消息,而Windows无法找到它。 For example, see this blog post ; 例如,请参阅此博客文章 or just enter a nonsense command on the cmd.exe command line, and you'll get a similar error message. 或者只需在cmd.exe命令行上输入废话命令,您就会收到类似的错误消息。

Maybe your Eclipse is somehow running with a different PATH than your cmd.exe command window? 也许您的Eclipse以某种方式运行的路径与cmd.exe命令窗口不同?

Jon, 乔恩,

I have solved the problem. 我已经解决了问题。

I found this thread which describes problems using Tomcat with Eclipse: 我发现此线程描述了将Tomcat与Eclipse一起使用时的问题:

http://forums.sun.com/thread.jspa?threadID=5368347 http://forums.sun.com/thread.jspa?threadID=5368347

Anyway, I deleted the pref files as suggested at the bottom of this forum thread. 无论如何,我已按照该论坛主题底部的建议删除了首选项文件。 I then used the wizard in Eclipse to setup a new Server and it now starts/stops perfectly through the IDE. 然后,我使用Eclipse中的向导来设置新服务器,现在它可以通过IDE完美地启动/停止。 I'm unsure how Eclipse got into this state in the first place mind. 我不确定Eclipse首先是如何进入这种状态的。

Thanks for your help. 谢谢你的帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM