wood burning stoves*
The moose likes Websphere and the fly likes WAS 5.0 npt updatiing server plug-ins Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 5.0 npt updatiing server plug-ins" Watch "WAS 5.0 npt updatiing server plug-ins" New topic
Author

WAS 5.0 npt updatiing server plug-ins

Max Tomlinson
Ranch Hand

Joined: Jul 17, 2001
Posts: 365
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
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Max Tomlinson
Ranch Hand

Joined: Jul 17, 2001
Posts: 365
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
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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

Joined: Jul 17, 2001
Posts: 365
/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
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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
 
Don't get me started about those stupid light bulbs.
 
subject: WAS 5.0 npt updatiing server plug-ins