• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WAS 5.0 npt updatiing server plug-ins

 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all-
I load a test app (ear file containing the struts-example.war without the static files) into my WAS 5.0.2 server with fileServingEnabled=false.
When I re-gen server plug-ins I don't see my new app.
Can someone please tell me what's going on/wrong?
thanks
Max
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is probably a dumb question but did you remember to copy the plugin-cfg.xml file back over to the HTTP server? This is only necessary if the HTTP server is running on a machine separate from your app server of course, but you didn't describe if that is true.
If you did remember this step, go ahead and post the contents of your new plugin-cfg.xml file and I'll take a look at it.
Kyle
 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kyle-
Good question. I don't know. We had a server upgrade from 5.0.0 to 5.0.2 and this is what I see when I do a find:
./opt/WebSphere/AppServer/bin/wsinstance/configdefaults/cells/plugin-cfg.xml
./opt/WebSphere/AppServer/config/cells/plugin-cfg.xml
./opt/WebSphere/DeploymentManager/config/cells/plugin-cfg.xml
./opt/WebSphere/AppServer1/config/plugin-cfg.xml
./opt/was5/bin/wsinstance/configdefaults/cells/plugin-cfg.xml
./opt/was5/config/cells/plugin-cfg.xml
our webserver is on opt/IBMHTTPD
I am told that there is an admin console bug on 5.0.2 that prevents the console from displaying the latest server-cgf.xml?
Max
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, you need to look in the Apache config file for your web server and find out where it's looking for your plugin config.
Usually in the httpd.conf file you'll see lines like the following:
LoadModule ibm_app_server_http_module "C:\WebSphere\AppServer/bin/mod_ibm_app_server_http.dll"
WebSpherePluginConfig "C:\WebSphere\AppServer/config/cells/plugin-cfg.xml"
However the directory after WebSpherePluginConfig for you will be different. My guess is it will be "./opt/WebSphere/AppServer/config/cells/plugin-cfg.xml"
Now, after finding out WHERE it's looking for the plugin config file, do a GenPluginCfg and then look at the plugin-cfg.xml files to find out which one was updated. Just make sure that either it's the same one that the plugin is pointing at (the one above) or copy the new one over the one the plugin is pointing at.
Kyle
 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
/usr/local/opt/was5/config/cells/plugin-cfg.xml (from httpd.conf)
and that IS the one getting updated (also a notifcation of this goes to sysout BTW)
but if I go into WAS admin and display the server plugin, I do NOT get this copy. I get what looks like an old copy of the plugin-cfg.xml
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, one more question, Max. Do requests get routed by the HTTP server to your new application or is it just that you can't see the changes in the console?
Thanks.
Kyle
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic