Monday 26 August 2013

Error 500: An error occurred while processing request: /ibm/console/applicationServerCollection.do


Hi all,

This is the scenario where I was getting following error while trying to navigate any of the tab from Websphere Administration console.

Error 500: An error occurred while processing request: /ibm/console/applicationServerCollection.do



when I checked the log files I have also got another error:

0000001a WorkSpaceMast E Unable to create temp file for document:

Unable to create temp file for document


Cause:

After Net surfing I figured out the error is mainly because of the permissions issue.
Normally we have different WAS user for start and stop the WAS services. But sometime if we start and stop the services with root user, the permissions of some files getting changed to root.
In this case some files are owned by root user which is preventing the WAS user to write the files to tmp directory which are created while deploying the application.

Solution:

First we check the permissions of the following files ans change the owner to the WAS user:WAS group.
  • <was_install_root>/Appserver/config/temp
  • <was_install_root>/Appserver/logs/ffdc
Or
If possible try to change ownership of everything under <was_install_path>/Appserve to the WAS user:WAS group

In my case it is working fine and hope this will help you to resolve your issue.

Effort only fully releases its reward after a person refuses to quit.”

Regards,
Akhilesh B. Humbe

Monday 5 August 2013

Could not make a connection to the IBM HTTP Administration server on node

Hi all,

I am currently using IBM Http Server v8.0 and configured it with a standalone WebSphere Application Server.I created a web server using WebSphere Application Server (WAS) v8.5 administrative console. And now I am unable to start or stop the IHS web server as well as not getting configuration file (Path :Server >Server Type >Web Server >webserver1 >configuration file ) from the WAS admin console. And getting the error  Could not make a connection to the IBM HTTP Administration server on node while trying this.



Cause:

When you Install the IBM HTTP server, same time it is necessary to configure the IHS Admin Server on the same system.. For previous versions of IBM HTTP Server (IHS), including v7.0 and prior, when you installed IHS it would automatically configure the IHS Admin Server. IHS Admin server working as the communication agent between IHS ans WAS. When you are using IHS on a WebSphere Node (part of a WAS ND Cell), it is not necessary to use the IHS Admin Server, because the WAS node agent does the administration but in case of standalone Websphere application server we need to configure it.

When you install IHS v8.0 it does NOT automatically configure the IHS Admin Server. So, you must do this yourself using one of the following methods. You can use the new Plug-in Configuration Tool (PCT) which is part of the new WebSphere Customization Toolbox (WCT) or you can use the htpasswd.bat in command line Interface.

Note: The cause may be you are configured it properly but the windows services IBM HTTP Administration for Websphere Application server is not started, so first confirm it and then go forword.

I have done this on the Windows operating system using WebSphere Customization Toolbox (WCT) with following steps :

Prerequisite:

When we use an administrative user for installation on a Windows operating system, a Windows service is automatically created to autostart the application server or for that the installer user account must have the following user rights:
  • Act as part of the operating system
  • Log on as a service
For this click on Control Panel > Administrative Tools > Local Security Policy > Local Policies > User Rights Assignments and set the advanced options and then.

  1. Install IBM Installation Manager.
  2. Install your WebSphere Application Server product.
  3. Install IBM HTTP Server or another supported web server.
  4. Install the web server plug-ins.
  5. Install the WebSphere Customization Toolbox.
Procedure:
  1. Open the Websphere Customization Toolbox, and launch the Web Server Plug-ins Configuration Tool.
    Select a Web Server Plug-ins runtime location. If the location of a previously installed web server plug-in that you want to use is not in the list Click Add. Enter a name for the web server plug-in location.


  2. Enter the location or Click Browse, find the location, and click OK.


  3. Click Create.
  4. Select the type of web server that you are configuring, and click Next.


  5. Click Browse to select the configuration file, verify that the web server port is correct, and then click Next when you are finishedSelect the file and not just the directory of the file. Some web servers have two configuration files and require you to browse for each file.
    For IBM HTTP Server: IHS_root/conf/httpd.conf


  6. Select Setup IBM HTTP Server Administration Server. Specify a port number on which the IBM HTTP administration server will communicate and Optionally, select Create a user ID for IBM Server Administration Server authentication and enter a user ID and password to authenticate to the IBM HTTP Server administrative server from the administrative console.Click Next.


  7. Specify the system user ID and group to have write permission to IBM HTTP Server, the IBM HTTP administrative server, and the web server plug-in configuration files. And Set up the IBM HTTP Server Administration Server to run as a Window service if you want. Click Next.


  8. Specify a unique name for the web server definition, and click Next.


  9. In Select the configuration scenario click Browse, find the installation location of WebSphere Application Server (app_server_root), and click OK. Click Next.


  10. Select the profile to configure with the current web server plug-in, and click Next.


  11. Review the summary information, and click Finish.


  12. If a problem occurs and the installation is unsuccessful, examine the logs in the plugins_root/logs directory. Correct any problems and re-configure.
  13. If all goes properly, point your browser to http://Host_name_of_Web_server_machine/snoop to test the web server plug-in.

Hope this will help you to fix the problem.

Effort only fully releases its reward after a person refuses to quit.”

Regards,
Akhilesh B. Humbe









Popular Posts