This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Websphere and the fly likes a servlet inside jar can not be accessed on web sphere at workplace Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "a servlet inside jar can not be accessed on web sphere at workplace" Watch "a servlet inside jar can not be accessed on web sphere at workplace" New topic
Author

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

Ahmed M. Omar
Ranch Hand

Joined: Mar 02, 2010
Posts: 43
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???
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
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

Joined: Mar 02, 2010
Posts: 43
thank you very much bro , its got worked after updating and reinstalling of the .ear file ... thank you
 
I agree. Here's the link: jrebel
 
subject: a servlet inside jar can not be accessed on web sphere at workplace
 
Similar Threads
Error while defining class due to PARENT_FIRST class loader
My Webspere contains so many errors how to resolve it
My Webspere contains so many errors how to resolve it
Finding path location on server returning null
bad major version at offset=6