Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.netfront.net!not-for-mail From: Fender Newsgroups: comp.lang.java.programmer Subject: Liferay and PortletDelegateServlet Date: Tue, 19 Jun 2012 12:07:50 +0200 Organization: Netfront http://www.netfront.net/ Lines: 45 Message-ID: NNTP-Posting-Host: 109.69.6.83 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: adenine.netfront.net 1340100480 47112 109.69.6.83 (19 Jun 2012 10:08:00 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Tue, 19 Jun 2012 10:08:00 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 Xref: csiph.com comp.lang.java.programmer:15408 Hi! I have to deploy a servlet in Liferay bundled Tomcat, I'm trying to use Liferay's PortalDelegateServlet. I have a normal servlet like this: public class WFService extends HttpServlet implements javax.servlet.Servlet { // doGet e doPost } in web.xml i specified this mapping: WFD com.liferay.portal.kernel.servlet.PortalDelegateServlet servlet-class sei.wfd.wfdserver.WFService sub-context WFService 1 Copying generated war in /deploy it is successfully deployed, and it is also visibile from UI and administration. I expect to call my servlet with the following url: http://localhost:8080/delegate/WFService but it throws the following exception: javax.servlet.ServletException: No servlet registred for context WFService com.liferay.portal.kernel.servlet.PortalDelegatorServlet.service(PortalDelegatorServlet.java:79) [...] I searched on the web but it seems I made it right... any suggestion? I'm doing something wrong? Thank you! --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---