Solved

How do I generate plug-in?

Posted on 2008-06-19
10
4,483 Views
Last Modified: 2013-12-10
I have generated the plugin-cfg on the WAS-6 console for IHS.  The generated plugin-cfg seems to be incomplete (looks very few lines compared to my WAS-5).  Am I missing something? I am pasting the generated plugin-cfg below.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--HTTP server plugin config file for the webserver kmgwinsbs2003Node01Cell.webserver1_node.webserver1 generated on 2008.06.19 at 06:35:01 AM EDT-->
<Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" VHostMatchingCompat="false">
   <Log LogLevel="Error" Name="C:\Program Files\IBM\WebSphere\Plugins/logs/webserver1/http_plugin.log"/>
   <Property Name="ESIEnable" Value="true"/>
   <Property Name="ESIMaxCacheSize" Value="1024"/>
   <Property Name="ESIInvalidationMonitor" Value="false"/>
   <Property Name="ESIEnableToPassCookies" Value="false"/>
   <RequestMetrics armEnabled="false" loggingEnabled="false" rmEnabled="false" traceLevel="HOPS">
      <filters enable="false" type="URI">
         <filterValues enable="false" value="/snoop"/>
         <filterValues enable="false" value="/hitcount"/>
      </filters>
      <filters enable="false" type="SOURCE_IP">
         <filterValues enable="false" value="255.255.255.255"/>
         <filterValues enable="false" value="254.254.254.254"/>
      </filters>
      <filters enable="false" type="JMS">
         <filterValues enable="false" value="destination=aaa:topic=bbb"/>
      </filters>
      <filters enable="false" type="WEB_SERVICES">
         <filterValues enable="false" value="wsdlPort=aaa:op=bbb:nameSpace=ccc"/>
      </filters>
   </RequestMetrics>
</Config>
0
Comment
Question by:royrubio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
10 Comments
 
LVL 41

Expert Comment

by:HonorGod
ID: 21826783
I agree, the information there is much too sparse.

Do you have a stand alone (Base) application server, or are you working
with a Network Deployment environment?

0
 

Author Comment

by:royrubio
ID: 21826908
I have a standalone WAS6.  I started with 6.0.0.1 base.  When I noticed this problem, i decided to apply fix packs which brought it to version 6.0.2.27.  I hoped that it will generate correctly after applying the fix packs, but there was no improvement.  The IHS is also on the same machine.
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 21827718
ok, so from your stand-alone (base) application server,
you are accessing the Administration Console.  Right?

What steps are you using to generate the plugin?  I have a 6.1 server on my
machine at the moment, so it might be slightly different.

From the Admin Consolem
- Expand the Environment section
- Select the "Update global Web server plug-in configuration"
- Click the "OK" button.
0
Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

 

Author Comment

by:royrubio
ID: 21830139
There is no 'Update global Web server plug-in...' in 6.0.  I found a template in the Plugins directory and I am now thinking of manually coding the missing things.  Shall I just do this and leave the problem as it is?  I guess no one is using 6.0 anymore but it's the only one I've got.
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 21830503
I bet I know what happened.  I'm guessing that what you did, during
application deployment is that you didn't map the application to your
webserver.  When this step is skipped, the plugin-cfg.xml tends to be
quite small/short.

We can verify that this is the case by:

point your browser to the WebSphere Application Server port (i.e.,
bypass the webserver), and include the resource information. If you
get to your application fine, then it is deployed, and started.

If you then, try accessing the same resource through the webserver,
and get an error (e.g., 404, or resource not found kind of thing), then
it is highly likely that you didn't map your application/resource to you
webserver.  Let me get to a 6.0 AdminConsole, and find the exact
steps.
0
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 21830577
If you access your AdminConsole, and

- Select/expand the "Applications" section
- Select the "Enterprise Applications" section
- Select (click on) the Application link
- Click on the Target mappings link

I bet that you will only see the name of the server (most likely "server1").
If this is the case, I'm pretty sure that you need to redeploy the application,
this time making sure to specify that the application should be mapped to
both the application server (which happens by default), as well as the web
server.
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 21830597
As far as your comment "Update global Web server plug-in..." is concerned,

- Select/expand the Guided Activities section
- Select the "Routing requests from a Web server to an application server "

and start reading...

Good luck
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 21830898
btw, this page has some excellent information

http://www.IBM.com/support/docview.wss?rs=180&uid=swg21207587
0
 

Author Closing Comment

by:royrubio
ID: 31468707
You hit the right spot.  I missed mapping the app to the web server.  The plugin-cfg looked good after that and everything works.  Thanks.
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 21831665
Excellent!  Glad to hear that it was of help to you.

Thanks for the grade & points.

Good luck & have a great day
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question