Solved

How do I generate plug-in?

Posted on 2008-06-19
10
4,476 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Retrun object in plist format 5 55
logging jar 1 106
Java Uncaught Exception 5 232
Java Exception example issues 11 84
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now