• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

a servlet inside jar can not be accessed on web sphere at workplace

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to call a servlet inside a jar file, i put the jar file in the following path :
C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\adminNode01Cell\Workplace.ear\app_engine.war\WEB-INF\lib

and i added the servlet registration and servlet mapping in web.xml at the following path:
Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\adminNode01Cell\Workplace.ear\app_engine.war\WEB-INF

and restarted the Workplace Application

when i type http://[hostname]:[port]/Workplace/[servletUrl]/

the Error 404: SRVE0190E: File not found: /AjaxServlet appears too me on browser


please help ,how can i access this servlet or what is the possible faults which i can make???
 
Ranch Hand
Posts: 446
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you should open open the WAR file and add it to the WEB-INF/lib folder, change web.xml and then add it again to the EAR file. Then reinstall the EAR file. Clean temp folders. Start App server.
 
Ahmed M. Omar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you very much bro , its got worked after updating and reinstalling of the .ear file ... thank you
 
No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic