• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WAS4.0 - Servlet not providing a service!

 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Although I've been working with WAS3.5 for sometime I'm new to WAS4.0 - count hours rather than days.
My problem is described below:
We've just migrated an application from Weblogic 6.1 to WAS4.0. We managed to get the EAR file deployed onto the default server - having removed all other applications and servers. This application has a context root of '/' and we can access the images and static files using: //localhost:9080/...
The application uses the Front Controller architecture with a single servlet (the Controller servlet) in the application. This servlet is mapped to the servlet mapping 'controller'
When we start the server, application and web module we see that the init() method of the servlet is executed. However when we call the servlet using //localhost:9080/controller?EventName=Test there is no response from the servlet. We get a 404 error! The servlet doesn't appear to be servicing requests. The are no errors reported and nothing is written to the log files.
Is there any way we can 'ping' the servlet as in WAS3.5 or any way we can see that the servlet is deployed in the application?
Presumably we can use the Resource Analyser to check that the request is being serviced?
Thanks in advance for the help,
Cheers,
Steve
 
Steve Granton
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
It turns out that we hadn't mapped the servlet using the servlet-mapping tag - though since the servlets are not listed individually in the Admin Console (as they are under the web app in WAS 3.5) then we had to examine the deployment descriptor. We also used Resource Analyzer to see that the servlet wasn't being hit at all.
I hope this helps someone else.
Cheers,
Steve
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic