Solved

How do I generate plug-in?

Posted on 2008-06-19
10
4,475 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

13 Experts available now in Live!

Get 1:1 Help Now