jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ankur.ku...@axa.com.au
Subject Re: Form Authentication is not working in Weblogic Portal 7.0 SP4,need help -- Debug Information
Date Wed, 18 Feb 2004 05:57:57 GMT
0004/02/18 16:31:40:490 EST [DEBUG] ConnectionHelperFactory - 
-<getConnectionHelper([http://pc23165:80/eservice/ServletR
directorSecure], 
[org.apache.cactus.configuration.ServletConfiguration@5d2cc6])
004/02/18 16:31:40:490 EST [DEBUG] ConnectionHelperFactory - 
->getConnectionHelper = [org.apache.cactus.client.connecto
.http.HttpClientConnectionHelper@3ff6d]
004/02/18 16:31:40:490 EST [DEBUG] HttpClientConnectionHelper - 
-<connect([simulation URL = [null], automatic session =
[true], cookies = [], headers = [], GET parameters = [], POST parameters = 
[]], [org.apache.cactus.configuration.Servle
Configuration@5d2cc6])
004/02/18 16:31:40:505 EST [DEBUG] HttpUtil - 
-<addHttpGetParameters([simulation URL = [null], automatic session = [tru
], cookies = [], headers = [], GET parameters = [], POST parameters = []], 
[http://pc23165:80/eservice/ServletRedirecto
Secure])
004/02/18 16:31:40:505 EST [DEBUG] HttpUtil - ->addHttpGetParameters = 
[http://pc23165:80/eservice/ServletRedirectorSec
re]
004/02/18 16:31:40:615 EST [DEBUG] UrlUtil - 
-<getPath([http://pc23165:80/eservice/ServletRedirectorSecure])
004/02/18 16:31:40:615 EST [DEBUG] UrlUtil - ->getPath = 
[/eservice/ServletRedirectorSecure]
004/02/18 16:31:40:615 EST [DEBUG] UrlUtil - 
-<getQuery([http://pc23165:80/eservice/ServletRedirectorSecure])
004/02/18 16:31:40:615 EST [DEBUG] UrlUtil - ->getQuery = []
004/02/18 16:31:40:615 EST [DEBUG] CookieUtil - 
-<createHttpState([simulation URL = [null], automatic session = [true],
cookies = [], headers = [], GET parameters = [], POST parameters = []], 
[http://pc23165:80/eservice/ServletRedirectorSe
ure])
004/02/18 16:31:40:646 EST [DEBUG] CookieUtil - 
-<createHttpClientCookies([simulation URL = [null], automatic session =
[true], cookies = [], headers = [], GET parameters = [], POST parameters = 
[]], [http://pc23165:80/eservice/ServletRedi
ectorSecure])
004/02/18 16:31:40:661 EST [DEBUG] CookieUtil - ->createHttpClientCookies 
= [[Lorg.apache.commons.httpclient.Cookie;@76
418]
004/02/18 16:31:40:661 EST [DEBUG] CookieUtil - ->createHttpState = [[ | | 
]]
18/02/2004 16:31:40> <Info> <HTTP> <101047> 
<[ServletContext(id=502084,name=stockportal,context-path=/eservice)] 
Servle
RedirectorSecure: init>
004/02/18 16:31:40:864 EST [DEBUG] ServletTestRedirector - -<doGet([Http 
Request: /eservice/ServletRedirectorSecure], [
eblogic.servlet.internal.ServletResponseImpl@f5880])
004/02/18 16:31:40:864 EST [DEBUG] ServletTestRedirector - -<doPost([Http 
Request: /eservice/ServletRedirectorSecure],
weblogic.servlet.internal.ServletResponseImpl@f5880])
004/02/18 16:31:40:864 EST [DEBUG] ServletTestRedirector - -------------- 
Start Servlet service
004/02/18 16:31:40:864 EST [DEBUG] ServletImplicitObjects - 
-<setHttpServletRequest([Http Request: /eservice/ServletRed
rectorSecure])
004/02/18 16:31:40:864 EST [DEBUG] ServletImplicitObjects - 
->setHttpServletRequest
004/02/18 16:31:40:864 EST [DEBUG] ServletImplicitObjects - 
-<setHttpServletResponse([weblogic.servlet.internal.Servlet
esponseImpl@f5880])
004/02/18 16:31:40:864 EST [DEBUG] ServletImplicitObjects - 
->setHttpServletResponse
004/02/18 16:31:40:864 EST [DEBUG] ServletImplicitObjects - 
-<setServletContext([ServletContext(id=502084,name=stockpor
al,context-path=/eservice)])
004/02/18 16:31:40:864 EST [DEBUG] ServletImplicitObjects - 
->setServletContext
004/02/18 16:31:40:864 EST [DEBUG] ServletImplicitObjects - 
-<setServletConfig([ServletStub(ServletRedirectorSecure,org
apache.cactus.server.ServletTestRedirector)])
004/02/18 16:31:40:864 EST [DEBUG] ServletImplicitObjects - 
->setServletConfig
004/02/18 16:31:40:880 EST [DEBUG] ServletTestController - 
-<handleRequest([org.apache.cactus.server.ServletImplicitObj
cts@7b468e])
004/02/18 16:31:40:880 EST [DEBUG] ServletUtil - 
-<getQueryStringParameter([], [Cactus_Service])
004/02/18 16:31:40:880 EST [DEBUG] ServletUtil - ->getQueryStringParameter 
= [null]
004/02/18 16:31:40:880 EST [DEBUG] AbstractWebTestController - -Missing 
service name parameter [Cactus_Service] in HTTP
request. Received query string is [].
18/02/2004 16:31:40> <Error> <HTTP> <101018> 
<[ServletContext(id=502084,name=stockportal,context-path=/eservice)] Servl
t failed with ServletException
avax.servlet.ServletException: Missing service name parameter 
[Cactus_Service] in HTTP request. Received query string i
 [].
       at 
org.apache.cactus.server.AbstractWebTestController.getServiceName(AbstractWebTestController.java:171)
       at 
org.apache.cactus.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:8
)
       at 
org.apache.cactus.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController
java:117)
       at 
org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
       at 
org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
       at 
org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:117)
       at 
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
       at 
org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
       at 
org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:117)
       at 
org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
       at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
       at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
       at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
       at 
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
       at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
       at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
       at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
       at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

004/02/18 16:31:40:911 EST [DEBUG] HttpClientConnectionHelper - ->connect 
= [org.apache.commons.httpclient.util.HttpURL
onnection:http://pc23165:80/eservice/ServletRedirectorSecure]
004/02/18 16:31:40:911 EST [DEBUG] FormAuthentication - 
-<getSecurityCheckURL([org.apache.cactus.configuration.ServletC
nfiguration@5d2cc6])
004/02/18 16:31:40:911 EST [DEBUG] FormAuthentication - -Using security 
check URL [http://pc23165/eservice/application?
amespace=security&event=button.login&origin=login.jsp]
004/02/18 16:31:40:911 EST [DEBUG] FormAuthentication - 
->getSecurityCheckURL = [http://pc23165/eservice/application?na
espace=security&event=button.login&origin=login.jsp]
004/02/18 16:31:40:911 EST [DEBUG] ConnectionHelperFactory - 
-<getConnectionHelper([http://pc23165/eservice/application
namespace=security&event=button.login&origin=login.jsp], 
[org.apache.cactus.configuration.ServletConfiguration@5d2cc6])

004/02/18 16:31:40:911 EST [DEBUG] ConnectionHelperFactory - 
->getConnectionHelper = [org.apache.cactus.client.connecto
.http.HttpClientConnectionHelper@555125]
004/02/18 16:31:40:911 EST [DEBUG] WebRequestImpl - 
-<setConfiguration([org.apache.cactus.configuration.ServletConfigur
tion@5d2cc6])
004/02/18 16:31:40:911 EST [DEBUG] WebRequestImpl - ->setConfiguration
004/02/18 16:31:40:911 EST [DEBUG] WebRequestImpl - -<addCookie([null], 
[null])
004/02/18 16:31:40:911 EST [DEBUG] WebRequestImpl - 
-<addCookie([localhost], [null], [null])
004/02/18 16:31:40:911 EST [DEBUG] ChainedRuntimeException - 
-<printStackTrace([java.io.PrintWriter@4276ed])
004/02/18 16:31:40:911 EST [DEBUG] ChainedRuntimeException - 
->printStackTrace
004/02/18 16:31:40:911 EST [DEBUG] ClientTestCaseCaller - -Exception in 
test <org.apache.cactus.util.ChainedRuntimeExce
tion: Failed to authenticate the 
principal>org.apache.cactus.util.ChainedRuntimeException: Failed to 
authenticate the p
incipal
       at 
org.apache.cactus.client.authentication.FormAuthentication.authenticate_aroundBody6(FormAuthentication.java:2
1)
       at 
org.apache.cactus.client.authentication.FormAuthentication.authenticate_aroundBody7$advice(FormAuthentication
java:117)
       at 
org.apache.cactus.client.authentication.FormAuthentication.authenticate(FormAuthentication.java)
       at 
org.apache.cactus.client.authentication.FormAuthentication.configure_aroundBody0(FormAuthentication.java:119)

       at 
org.apache.cactus.client.authentication.FormAuthentication.configure_aroundBody1$advice(FormAuthentication.ja
a:117)
       at 
org.apache.cactus.client.authentication.FormAuthentication.configure(FormAuthentication.java)
       at 
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect_aroundBody0(HttpClientConnectionHe
per.java:89)
       at 
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect_aroundBody1$advice(HttpClientConne
tionHelper.java:188)
       at 
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java)
       at 
org.apache.cactus.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java:165)
       at 
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:83)
       at 
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:18
)
       at 
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
       at 
org.apache.cactus.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:161)
       at 
org.apache.cactus.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:82)
       at 
org.apache.cactus.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.ja
a:188)
       at 
org.apache.cactus.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
       at 
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:152)
       at 
org.apache.cactus.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:207)
       at 
org.apache.cactus.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:125)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at 
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java:288)
       at 
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletTestRunner.java:180)
       at 
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(ServletTestRunner.java:117)
       at 
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
       at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
       at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
       at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
       at 
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
       at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
       at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
       at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
       at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
ava.lang.NullPointerException: missing cookie name
       at org.apache.cactus.Cookie.<init>(Cookie.java:95)
       at 
org.apache.cactus.internal.BaseWebRequest.addCookie_aroundBody20(BaseWebRequest.java:319)
       at 
org.apache.cactus.internal.BaseWebRequest.addCookie_aroundBody21$advice(BaseWebRequest.java:117)
       at 
org.apache.cactus.internal.BaseWebRequest.addCookie(BaseWebRequest.java)
       at 
org.apache.cactus.internal.BaseWebRequest.addCookie_aroundBody18(BaseWebRequest.java:311)
       at 
org.apache.cactus.internal.BaseWebRequest.addCookie_aroundBody19$advice(BaseWebRequest.java:117)
       at 
org.apache.cactus.internal.BaseWebRequest.addCookie(BaseWebRequest.java)
       at 
org.apache.cactus.client.authentication.FormAuthentication.authenticate_aroundBody6(FormAuthentication.java:2
9)
       at 
org.apache.cactus.client.authentication.FormAuthentication.authenticate_aroundBody7$advice(FormAuthentication
java:117)
       at 
org.apache.cactus.client.authentication.FormAuthentication.authenticate(FormAuthentication.java)
       at 
org.apache.cactus.client.authentication.FormAuthentication.configure_aroundBody0(FormAuthentication.java:119)

       at 
org.apache.cactus.client.authentication.FormAuthentication.configure_aroundBody1$advice(FormAuthentication.ja
a:117)
       at 
org.apache.cactus.client.authentication.FormAuthentication.configure(FormAuthentication.java)
       at 
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect_aroundBody0(HttpClientConnectionHe
per.java:89)
       at 
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect_aroundBody1$advice(HttpClientConne
tionHelper.java:188)
       at 
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java)
       at 
org.apache.cactus.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java:165)
       at 
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:83)
       at 
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:18
)
       at 
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
       at 
org.apache.cactus.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:161)
       at 
org.apache.cactus.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:82)
       at 
org.apache.cactus.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.ja
a:188)
       at 
org.apache.cactus.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
       at 
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:152)
       at 
org.apache.cactus.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:207)
       at 
org.apache.cactus.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:125)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at 
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java:288)
       at 
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletTestRunner.java:180)
       at 
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(ServletTestRunner.java:117)
       at 
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
       at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
       at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
       at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
       at 
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
       at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
       at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
       at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
       at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)



*********************************************************************************
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.
*********************************************************************************


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message