Getting Websphere v7.0 Running with eclipse seems

2020-07-26 03:01发布

问题:

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.