aspose file tools*
The moose likes Websphere and the fly likes [WAS5] ibm http server problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "[WAS5] ibm http server problem" Watch "[WAS5] ibm http server problem" New topic
Author

[WAS5] ibm http server problem

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello
Yesterday I have deployed my application and used the IBMHttp server with default configuration (port 80). I've regenerate the plugin in websphere.
but when I test my application through port 80, I have very often "Internal server error".
If I refresh the page, the error disapear.
There is no trace of this error in the logs.
Sometimes, some pictures are missing, and same solution: F5 (refresh) and hop! the picture is there!
Very strange and very boring.
if you could help me , that's very urgent, thanks
[ July 18, 2003: Message edited by: Jos´┐Ż Garulfo ]
Nagendra Prasad
Ranch Hand

Joined: Jul 11, 2002
Posts: 219
Jose,
We observed similar errors when we were had WebSphere and IBM HTTP Server on different machines.
The following were our observations:
a. The plug-in file had to be FTP'ed or copied across to the machine running the HTTP server.
b. If any patch sets were installed on WebSphere, then the same had to be installed on the HTTP servers as well. There are some shared object libraries which need updating on the HTTP server in most of the patch releases.
I might be able to give you more info if you can give me more details.
best regards,
prasad


Best Regards,<br />Nagendra Prasad.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
thanks
the ibm and was server are on the same machine.
But maybe must I put the plugin.xml generated somewhere in the ibmhttps directories?
I have installed the fixpack .01 on the both servers.
In fact when we restart the http server, during a time everthing is fine, but progressivly, we have more and more error 500.
here is the http.cong if it could help:
/applis/IBMHttpServer/conf/access.conf
ServerType standalone
ServerRoot "/applis/IBMHttpServer/"
PidFile /applis/IBMHttpServer/logs/httpd.pid
ScoreBoardFile /applis/IBMHttpServer/logs/httpd.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 10
MaxClients 150
MaxRequestsPerChild 500
LoadModule env_module libexec/mod_env.so
LoadModule config_log_module libexec/mod_log_config.so
#LoadModule mime_magic_module libexec/mod_mime_magic.so
LoadModule mime_module libexec/mod_mime.so
LoadModule negotiation_module libexec/mod_negotiation.so
# LoadModule status_module libexec/mod_status.so
LoadModule includes_module libexec/mod_include.so
LoadModule autoindex_module libexec/mod_autoindex.so
LoadModule dir_module libexec/mod_dir.so
#LoadModule cgi_module libexec/mod_cgi.so
LoadModule asis_module libexec/mod_asis.so
LoadModule imap_module libexec/mod_imap.so
LoadModule action_module libexec/mod_actions.so
# LoadModule speling_module libexec/mod_speling.so
# LoadModule proxy_module libexec/libproxy.so
LoadModule userdir_module libexec/mod_userdir.so
LoadModule alias_module libexec/mod_alias.so
LoadModule rewrite_module libexec/mod_rewrite.so
LoadModule access_module libexec/mod_access.so
LoadModule auth_module libexec/mod_auth.so
# LoadModule anon_auth_module libexec/mod_auth_anon.so
#LoadModule dbm_auth_module libexec/mod_auth_dbm.so
# LoadModule cern_meta_module libexec/mod_cern_meta.so
# LoadModule expires_module libexec/mod_expires.so
# LoadModule headers_module libexec/mod_headers.so
# LoadModule usertrack_module libexec/mod_usertrack.so
LoadModule unique_id_module libexec/mod_unique_id.so
LoadModule setenvif_module libexec/mod_setenvif.so
#LoadModule vhost_alias_module libexec/mod_vhost_alias.so
ClearModuleList
AddModule mod_so.c
AddModule mod_env.c
AddModule mod_log_config.c
#AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_negotiation.c
# AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
#AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
# AddModule mod_speling.c
# AddModule mod_proxy.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
# AddModule mod_auth_anon.c
#AddModule mod_auth_dbm.c
# AddModule mod_cern_meta.c
# AddModule mod_expires.c
# AddModule mod_headers.c
# AddModule mod_usertrack.c
AddModule mod_unique_id.c
AddModule mod_setenvif.c
#AddModule mod_vhost_alias.c

Port 80
# The following Listen directive is really only needed if you have
# another Listen directive enabled in the config file, but it
# does not cause harm to have it in anyway.
#Listen 80
User nobody
Group nobody
ServerAdmin hotlineapplications@devoteam.com
DocumentRoot "/applis/IBMHttpServer/htdocs/en_US"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/applis/IBMHttpServer/htdocs/en_US">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
UserDir public_html
DirectoryIndex index.html
AccessFileName .htaccess

<Files .htaccess>
Order allow,deny
Deny from all
</Files>

UseCanonicalName On
TypesConfig /applis/IBMHttpServer/conf/mime.types
DefaultType text/plain
#MIMEMagicFile /applis/IBMHttpServer/conf/magic
HostnameLookups Off
ErrorLog /applis/IBMHttpServer/logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /applis/IBMHttpServer/logs/access_log common
ServerSignature On
Alias /WSsamples /applis/WebSphere/AppServer/WSsamples
Alias /IBMWebAS/ /applis/WebSphere/AppServer/web/
Alias /icons/ "/applis/IBMHttpServer/icons/"
<Directory "/applis/IBMHttpServer/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/applis/IBMHttpServer/cgi-bin/"
<Directory "/applis/IBMHttpServer/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
IndexOptions FancyIndexing
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz
AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
AddLanguage it .it
AddLanguage ko .ko
AddLanguage es .es
AddLanguage ja .ja
AddLanguage zh-CN .cn
AddLanguage zh-TW .tw
AddLanguage pt-BR .pt
LanguagePriority en
# N.B.: You can redirect to a script or a document using server-side-includes.
#
# 3) external redirects
#ErrorDocument 402 http://some.other_server.com/subscription_info.html
# N.B.: Many of the environment variables associated with the original
# request will *not* be available to such a script.
#
# The following directives modify normal HTTP response behavior.
# The first directive disables keepalive for Netscape 2.x and browsers that
# spoof it. There are known problems with these browser implementations.
# The second directive is for Microsoft Internet Explorer 4.0b2
# which has a broken HTTP/1.1 implementation and does not properly
# support keepalive when it is used on 301 or 302 (redirect) responses.
#
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
<files apadminred.html>
ErrorDocument 404 /9ainterim.htm
</files>
LoadModule ibm_app_server_http_module /applis/WebSphere/AppServer/bin/mod_ibm_app_server_http.so
WebSpherePluginConfig /applis/WebSphere/AppServer/config/cells/plugin-cfg.xml
Shalini Komarla
Ranch Hand

Joined: Aug 28, 2002
Posts: 59
what about the afpa setting in the httpd.conf file? I did not see any entries for that in the conf file. Generally we keep all afpa related entries commented out, cause that has proven to be quite notorious and has caused us problems in the past.


Regards,<br />Shalini
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [WAS5] ibm http server problem