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
Solved

How do I generate plug-in?

Posted on 2008-06-19
10
4,480 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
  • 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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 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