Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 45708 invoked from network); 17 Feb 2004 04:53:33 -0000 Received: from unknown (HELO hutch.nm.com) (203.103.221.38) by daedalus.apache.org with SMTP; 17 Feb 2004 04:53:33 -0000 Received: from c2.nm.com.au (unverified) by hutch.nm.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Tue, 17 Feb 2004 15:58:29 +1100 MIME-Version: 1.0 Sensitivity: To: cactus-user@jakarta.apache.org Subject: Form Authentication Problem X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 Message-ID: From: ankur.kumar@axa.com.au Date: Tue, 17 Feb 2004 15:53:29 +1100 X-MIMETrack: Serialize by Router on ELAN-MEL/AU/NMHDMZ(Release 5.0.11 |July 24, 2002) at 02/17/2004 03:52:47 PM, Serialize complete at 02/17/2004 03:52:47 PM Content-Type: multipart/alternative; boundary="=_alternative 001ADEC0CA256E3D_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=_alternative 001ADEC0CA256E3D_= Content-Type: text/plain; charset="us-ascii" Hi, I'm using Weblogic Portal Server 7.0 and configured Cactus for unit testing my server-side code. public void begin(WebRequest theRequest){ theRequest.setRedirectorName("ServletRedirectorSecure"); FormAuthentication form = new FormAuthentication("visitor1","password"); java.net.URL url = null; try{ url = new java.net.URL("http://pc23165/eservice/framework/security/login.jsp"); }catch(java.net.MalformedURLException malException){ System.out.println(malException); } form.setSecurityCheckURL(url); theRequest.setAuthentication(form); } But it throws exception and here is stacktrace of exception : javax.servlet.ServletException: Missing service name parameter [Cactus_Service] in HTTP request. Received query string i s []. at org.apache.cactus.server.AbstractWebTestController.getServiceName(AbstractWebTestController.java:208) at org.apache.cactus.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:1 18) Thanks, Ankur ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA. Thank you. ********************************************************************************* --=_alternative 001ADEC0CA256E3D_=--