Getting Websphere v7.0 Running with eclipse seems to not see the server start

假如想象 提交于 2019-12-12 09:09:08

问题


So I created a Websphere Application Server in Eclipse and pointed it at my WAS_HOME and the profile I created. Whenever I try to start the server, it starts fine and according to the log I see...

[2/22/12 14:16:25:037 EST] 00000000 WsServerImpl  A   WSVR0001I: Server server1 open for e-business

However, Eclipse says it is still waiting to start, typically it sticks at 23%. Eventually it times out saying it couldn't start, however, the instance is still up and running fine.

How do I get it to recognize the running instance?


回答1:


Your workspace folder/name could be the issue.

or for me it was the WAS installation itself. When I moved it to C:\was8 everything started to work properly. The default puts it into c:\Program Files... and that was hanging at 23%




回答2:


a. Please use websphere jre to replace sun hotspot vm to launch the eclipse, like below setting in the eclipse.ini

-vm
D:/IBM/WebSphere/AppServer/java/bin/javaw.exe

b. Please make sure there is not a specail character (like 23%) in the websphere path or eclipse workpsace.




回答3:


Recently, I've got the same problem with Eclipse Luna and Websphere Developer Tools... The problem was the eclipse proxy configuration




回答4:


Increase the initial and max heap sizes of the VM that is loading Eclipse.



来源:https://stackoverflow.com/questions/9401596/getting-websphere-v7-0-running-with-eclipse-seems-to-not-see-the-server-start

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!