Java – when security is enabled, launching WebSphere from eclipse hangs

I have a WebSphere Application Server 8.0 0.6, which is installed as part of rad

I need to run the server from eclipse Java EE Kepler or Luna There is no problem disabling administrative security However, once security is enabled, the server will not start completely, or ecplise cannot detect it

The progress bar stops at 23% The last message recorded is "server Server1 open for e-business" However, the state is still "beginning" After a while, I got an error complaining that the server didn't start in 300 seconds It then attempts to stop the server and "stops" indefinitely

The server starts and eclipse doesn't seem to be able to see it I can't access the administration console from eclipse (although I can use a browser), I can't publish or debug applications, and I can't stop the server from eclipse

This happens to Kepler and Luna

The server starts normally in rad or when the startup script starts

I checked start WebSphere server from rad hangs at "server Server1 open for e-business" There is a similar problem: WebSphere in rad hangs on startup, but there is no solution

Update: the problem is the communication between ecipse and WebSphere after WebSphere is started (as wfateem also pointed out)

Eclipse makes a soap call to WebSphere to check the status If administrative security is disabled in was, it will accept soap calls in pure http When security is enabled, only HTTPS is allowed

I checked the communication between eclipse and was using eclipse's built - in TCP - monitor With disabled security, I can see successful soap calls With security enabled, I want to see only binary SSL data However, eclipse is still trying to use HTTP without any success

Eclipse has settings for the was server to indicate that the server is secure, and the user and password used for the call It even has a flag related to SSL communication ("automatically trust the server certificate during SSL handshake") However, for some reason, it has not yet used SSL

I don't have any problems with my old development machine. It was replaced by my current machine a few days ago

Therefore, the current state is that eclipse does not use SSL when communicating with was, even if it knows that the server is secure

Now the question is: Eclipse does not use SSL to communicate with the security server. What did I do wrong?

Solution

If you suspect that there is a problem with SSL, you can try the following solutions

Then change the server connection type in rad in server settings... To manually provide the connection settings and select RMI only

Check if it will be better

As a last resort, you can also try to start the server, then exit rad and restart rad again. It should detect that the server is running But it's not very useful

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>