Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

[WAS5] ibm http server problem

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
ServerType standalone
ServerRoot "/applis/IBMHttpServer/"
PidFile /applis/IBMHttpServer/logs/
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/
LoadModule config_log_module libexec/
#LoadModule mime_magic_module libexec/
LoadModule mime_module libexec/
LoadModule negotiation_module libexec/
# LoadModule status_module libexec/
LoadModule includes_module libexec/
LoadModule autoindex_module libexec/
LoadModule dir_module libexec/
#LoadModule cgi_module libexec/
LoadModule asis_module libexec/
LoadModule imap_module libexec/
LoadModule action_module libexec/
# LoadModule speling_module libexec/
# LoadModule proxy_module libexec/
LoadModule userdir_module libexec/
LoadModule alias_module libexec/
LoadModule rewrite_module libexec/
LoadModule access_module libexec/
LoadModule auth_module libexec/
# LoadModule anon_auth_module libexec/
#LoadModule dbm_auth_module libexec/
# LoadModule cern_meta_module libexec/
# LoadModule expires_module libexec/
# LoadModule headers_module libexec/
# LoadModule usertrack_module libexec/
LoadModule unique_id_module libexec/
LoadModule setenvif_module libexec/
#LoadModule vhost_alias_module libexec/
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
DocumentRoot "/applis/IBMHttpServer/htdocs/en_US"
<Directory />
Options FollowSymLinks
AllowOverride None
<Directory "/applis/IBMHttpServer/htdocs/en_US">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
UserDir public_html
DirectoryIndex index.html
AccessFileName .htaccess

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

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
ScriptAlias /cgi-bin/ "/applis/IBMHttpServer/cgi-bin/"
<Directory "/applis/IBMHttpServer/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
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
# 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
LoadModule ibm_app_server_http_module /applis/WebSphere/AppServer/bin/
WebSpherePluginConfig /applis/WebSphere/AppServer/config/cells/plugin-cfg.xml
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
    Bookmark Topic Watch Topic
  • New Topic