Two Laptop Bag*
The moose likes Websphere and the fly likes Global Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Global Security" Watch "Global Security" New topic
Author

Global Security

Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Hi All,

After I implement Global security.I am not able to stop server using the userid and password i have given.It reads on console

The server "server1" cannot be reached. It appears to be stopped.
when I checked the log I saw some exceptions


Exception com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: Could not create SOAP Connector to connect to host HostName at port 8880
at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:274)
I tried to change it to 8882 in serverindex ..but could not see any effect.

Any help there.

Thanks,
Ajai
Salomon Zalzman
Greenhorn

Joined: Mar 03, 2005
Posts: 9
Hi Ajay,

I don't think you can change the soap connector port on the fly anyway. You'd need to re-start for the change to take effect.

We might need more info here. Why did you try to change it specifically to 8882. Sounds like you're running WAS base. If so, the default port would be the 8880 as indicated in the error message. Of course it could've been changed by someone.

If you can't shut it down, I assume you are still able to access the admin console. If so you can verify the SOAP port under the server1 EndPoints link (Servers->server1->EndPoints->SOAP_CONNECTOR_ADDRESS).

Disable security from the console and see if it let's you stop it then (Don't know what you've tried so far). If you can't stop it then, the process is probably in an unrecoverable state. If running Windows, kill it from the Task Manager or shutdown the box.

If running Unix, get the process Id (ps -ef | grep java) and a "kill -9" should do it. In Linux you have to kill all of the child threads as well which you could accomplish with something like
ps -ef | grep java | grep server1 | grep -v grep | awk '{print $2}' | xargs kill -9

If you can't get to the console, you can disable security manually. To do this, backup your security.xml file and load it on an editor, search for the very first ocurrance of "enabled=true" and change it to false. If you're able to get to the wsadmin prompt (I doubt it) you can issue a "securityOff" command.

After you bring the process down and disable security, start the process over. This may all be due to the process running in some unstable state. If it does come up, monitor the log files for any errors and work from there.

Hope this helps,

Salomon Zalzman
Versant Corporation
http://www.versant.com
Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Hi Salomon,

Thanks for your reply.

I tried to change the port to 8882 just because 8880 was giving errors ..it was done since I thought port changing might make it work.
Yes I am running base.
I have tried to diable security and make it work but ultimately I have to enable it and it is that time that it gives this error again.

Any advice !!

Thanks,
Ajai
Salomon Zalzman
Greenhorn

Joined: Mar 03, 2005
Posts: 9
Ok, since it works when you disable security, you must have the correct port number so don't be concerned about that.

The other thing I can think of here is to provide the security user Id and password in the soap.client.props. Nonetheless, I find it odd that it isn't letting you shut it down.

Also, when enabling security, make sure that the user authenticates properly by clicking the OK button once you check the "enable global security" checkbox. You should get a message stating that the user was properly authenticated. Make sure not to save the configuration until the user authenticates properly when clicking on the OK button at the bottom of the page.

Good luck,

SZ.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Global Security
 
Similar Threads
Url rewriting
Singleton
how can i know if im running code within eclipse
Tremendous Speech G.W.
Security Constraints in web.xml