简体   繁体   中英

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). I am running Oracle Weblogic 10gR3 locally.

On the server tab within Eclipse, I click the Start Server button but receive the following error message:

'startWebLogic.cmd' is not recognized as an internal or external command, operable program or batch file.

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.

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. 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.

Maybe your Eclipse is somehow running with a different PATH than your cmd.exe command window?

Jon,

I have solved the problem.

I found this thread which describes problems using Tomcat with Eclipse:

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. I'm unsure how Eclipse got into this state in the first place mind.

Thanks for your help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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