Showing posts with label http. Show all posts
Showing posts with label http. Show all posts

Tuesday, June 24, 2014

Error message in the HTTP Server error.log: File does not exist:

Problem Description:
I have deployed an webapplication on Websphere Application server 6.0.2.15. This runs on port 9080.
I have also deployed HTTP server and the plugin and are planning to use the HTTP Server as a proxy for the WAS server.
HTTP server is running on port 8080.

When trying to open following url: http://localhost:8080/myapp/signin.do I am supposed to be forwarded to the Application server where the myapp resources resides. This is not happening. Seems like the HTTP server is looking on its own document root instead of doing the actual forward.
Error message in the HTTP Server error.log:
File does not exist: D:/IBM HTTP Server/htdocs

Solution:
Solution in my case was to manually set the port 8080 in the WAS admin console:
Environment -> Virtual Hosts -> Default host -> Host Aliases

Friday, May 23, 2014

HTTP Server Error Message 'make_sock could not bind to address'

Error Message:
Only one usage of each socket address is normally permitted.  : make_sock could not bind to address 0.0.0.0:80 no listening sockets available, shutting down
Unable to open logs

Problem:

Port 80 is listening by some process.

Solution:

Find which one uses the 0.0.0.0:80 port. Just stop it and keep it free. Then start up apache.

1) 'netstat -noa' will give you the PID of the process that reserves your precious port.

2) 'Ctrl-Alt-Del' and your Windows task manager, if you choose View >Select Colums and check PID, will show you which PID is stealing your port. Stop it.

3) Start HTTP server