jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafal Marciniak" <pr...@wp.pl>
Subject RE: Problem with Cactus on Unix Jboss/Tomcat
Date Tue, 26 Nov 2002 10:41:17 GMT
Hello,
Here is some more logging information about cookie problem,

[26-Nov-2002 10:44:35,293] DEBUG [HttpProcessor[8080][1]]
cactus.TestStatistic (beginStatistic900Aviable:?) - ============BEGIN
[26-Nov-2002 10:44:35,297] DEBUG [HttpProcessor[8080][1]]
cactus.TestStatistic (beginStatistic900Aviable:?) - adding cookie
JSESSIONID with value:D3D415C6A63C8906995C892A5BA4489A
[26-Nov-2002 10:44:35,300] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addCookie([JSESSIONID],
[D3D415C6A63C8906995C892A5BA4489A])
[26-Nov-2002 10:44:35,304] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addCookie([localhost],
[JSESSIONID], [D3D415C6A63C8906995C892A5BA4489A])
[26-Nov-2002 10:44:35,328] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1146) - <setDomain([localhost])
[26-Nov-2002 10:44:35,332] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1152) - >setDomain
[26-Nov-2002 10:44:35,336] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1146) - <setName([JSESSIONID])
[26-Nov-2002 10:44:35,339] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1152) - >setName
[26-Nov-2002 10:44:35,343] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1146) -
<setValue([D3D415C6A63C8906995C892A5BA4489A])
[26-Nov-2002 10:44:35,347] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1152) - >setValue
[26-Nov-2002 10:44:35,351] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addCookie([name = [JSESSIONID],
value = [D3D415C6A63C8906995C892A5BA4489A], domain = [localhost],
path = [null], isSecure = [false], comment = [null], expiryDate =
[null]])
[26-Nov-2002 10:44:35,355] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addCookie
[26-Nov-2002 10:44:35,358] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addCookie
[26-Nov-2002 10:44:35,361] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addCookie
[26-Nov-2002 10:44:35,365] DEBUG [HttpProcessor[8080][1]]
cactus.WebkeeperTest (getUrlPrefix:?) - urlPrefix: testappl.utanet.at
[26-Nov-2002 10:44:35,368] DEBUG [HttpProcessor[8080][1]]
cactus.TestStatistic (beginStatistic900Aviable:?) - setting URL
to: testappl.utanet.at/webkeeper/Controller
[26-Nov-2002 10:44:35,371] DEBUG [HttpProcessor[8080][1]]
cactus.WebkeeperTest (getUrlPrefix:?) - urlPrefix: testappl.utanet.at
[26-Nov-2002 10:44:35,374] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <setURL([testappl.utanet.at],
[/webkeeper], [/Controller], [null], [null])
[26-Nov-2002 10:44:35,378] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1146) - <setProtocol([http])
[26-Nov-2002 10:44:35,381] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1152) - >setProtocol
[26-Nov-2002 10:44:35,385] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1146) - <setServerName([testappl.utanet.at])
[26-Nov-2002 10:44:35,388] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1152) - >setServerName
[26-Nov-2002 10:44:35,392] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1146) - <setContextPath([/webkeeper])
[26-Nov-2002 10:44:35,396] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1152) - >setContextPath
[26-Nov-2002 10:44:35,399] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1146) - <setServletPath([/Controller])
[26-Nov-2002 10:44:35,403] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1152) - >setServletPath
[26-Nov-2002 10:44:35,406] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1146) - <setPathInfo([null])
[26-Nov-2002 10:44:35,410] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1152) - >setPathInfo
[26-Nov-2002 10:44:35,413] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1146) - <setQueryString([null])
[26-Nov-2002 10:44:35,417] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1152) - >setQueryString
[26-Nov-2002 10:44:35,420] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >setURL
[26-Nov-2002 10:44:35,423] DEBUG [HttpProcessor[8080][1]]
cactus.TestStatistic (beginStatistic900Aviable:?) - adding
parameter psid with value 149
[26-Nov-2002 10:44:35,427] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addParameter([psid], [149])
[26-Nov-2002 10:44:35,430] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addParameter([psid], [149], [GET])
[26-Nov-2002 10:44:35,433] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,437] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,440] DEBUG [HttpProcessor[8080][1]]
cactus.TestStatistic (beginStatistic900Aviable:?) - make request
and go to test
[26-Nov-2002 10:44:35,443] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addParameter([Cactus_TestClass],
[at.uta.webapptest.cactus.TestStatistic], [GET])
[26-Nov-2002 10:44:35,447] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,450] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addParameter([Cactus_TestMethod],
[testStatistic900Aviable], [GET])
[26-Nov-2002 10:44:35,453] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,457] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) -
<addParameter([Cactus_AutomaticSession], [true], [GET])
[26-Nov-2002 10:44:35,460] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,464] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1146) - <saveToRequest([simulation URL =
[protocol = [http], host name = [testappl.utanet.at], port =
[-1], context path = [/webkeeper], servlet path = [/Controller],
path info = [null], query string = [null]], automatic session =
[true], cookies = [[name = [JSESSIONID], value =
[D3D415C6A63C8906995C892A5BA4489A], domain = [localhost], path =
[null], isSecure = [false], comment = [null], expiryDate =
[null]]], headers = [], GET parameters = [[[Cactus_TestMethod] =
[[testStatistic900Aviable]]][[Cactus_TestClass] =
[[at.uta.webapptest.cactus.TestStatistic]]][[Cactus_AutomaticSession]
= [[true]]][[psid] = [[149]]]], POST parameters = []])
[26-Nov-2002 10:44:35,467] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) -
<addParameter([Cactus_URL_Protocol], [http], [GET])
[26-Nov-2002 10:44:35,471] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,474] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addParameter([Cactus_URL_Server],
[testappl.utanet.at], [GET])
[26-Nov-2002 10:44:35,478] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,481] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) -
<addParameter([Cactus_URL_ContextPath], [/webkeeper], [GET])
[26-Nov-2002 10:44:35,485] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,488] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) -
<addParameter([Cactus_URL_ServletPath], [/Controller], [GET])
[26-Nov-2002 10:44:35,492] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,495] DEBUG [HttpProcessor[8080][1]]
cactus.ServletURL (aj:1152) - >saveToRequest
[26-Nov-2002 10:44:35,499] DEBUG [HttpProcessor[8080][1]]
client.ServletHttpClient (aj:1215) - <doTest([simulation URL =
[protocol = [http], host name = [testappl.utanet.at], port =
[-1], context path = [/webkeeper], servlet path = [/Controller],
path info = [null], query string = [null]], automatic session =
[true], cookies = [[name = [JSESSIONID], value =
[D3D415C6A63C8906995C892A5BA4489A], domain = [localhost], path =
[null], isSecure = [false], comment = [null], expiryDate =
[null]]], headers = [], GET parameters = [[[Cactus_TestMethod] =
[[testStatistic900Aviable]]][[Cactus_URL_ContextPath] =
[[/webkeeper]]][[Cactus_URL_Server] =
[[testappl.utanet.at]]][[Cactus_URL_ServletPath] =
[[/Controller]]][[Cactus_TestClass] =
[[at.uta.webapptest.cactus.TestStatistic]]][[Cactus_AutomaticSession]
= [[true]]][[psid] = [[149]]][[Cactus_URL_Protocol] = [[http]]]],
POST parameters = []])
[26-Nov-2002 10:44:35,503] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1146) - <addParameter([Cactus_Service],
[CALL_TEST], [GET])
[26-Nov-2002 10:44:35,506] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1152) - >addParameter
[26-Nov-2002 10:44:35,510] DEBUG [HttpProcessor[8080][1]]
client.ConnectionHelperFactory (aj:1174) -
<getConnectionHelper([http://testappl.utanet.at:8080/webapptest/ServletRedirector])
[26-Nov-2002 10:44:35,514] DEBUG [HttpProcessor[8080][1]]
client.ConnectionHelperFactory (aj:1191) - >getConnectionHelper =
[org.apache.cactus.client.HttpClientConnectionHelper@67f4bf]
[26-Nov-2002 10:44:35,518] DEBUG [HttpProcessor[8080][1]]
client.HttpClientConnectionHelper (aj:1215) -
<connect([simulation URL = [protocol = [http], host name =
[testappl.utanet.at], port = [-1], context path = [/webkeeper],
servlet path = [/Controller], path info = [null], query string =
[null]], automatic session = [true], cookies = [[name =
[JSESSIONID], value = [D3D415C6A63C8906995C892A5BA4489A], domain
= [localhost], path = [null], isSecure = [false], comment =
[null], expiryDate = [null]]], headers = [], GET parameters =
[[[Cactus_TestMethod] =
[[testStatistic900Aviable]]][[Cactus_URL_Server] =
[[testappl.utanet.at]]][[Cactus_URL_Protocol] =
[[http]]][[Cactus_Service] =
[[CALL_TEST]]][[Cactus_URL_ServletPath] =
[[/Controller]]][[Cactus_TestClass] =
[[at.uta.webapptest.cactus.TestStatistic]]][[Cactus_URL_ContextPath]
= [[/webkeeper]]][[psid] = [[149]]][[Cactus_AutomaticSession] =
[[true]]]], POST parameters = []])
[26-Nov-2002 10:44:35,522] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) -
<getParameterValuesGet([Cactus_TestMethod])
[26-Nov-2002 10:44:35,526] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@753293]
[26-Nov-2002 10:44:35,530] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) -
<getParameterValuesGet([Cactus_URL_Server])
[26-Nov-2002 10:44:35,533] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@4b800f]
[26-Nov-2002 10:44:35,537] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) -
<getParameterValuesGet([Cactus_URL_Protocol])
[26-Nov-2002 10:44:35,541] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@4478fe]
[26-Nov-2002 10:44:35,545] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) -
<getParameterValuesGet([Cactus_Service])
[26-Nov-2002 10:44:35,548] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@637d45]
[26-Nov-2002 10:44:35,552] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) -
<getParameterValuesGet([Cactus_URL_ServletPath])
[26-Nov-2002 10:44:35,556] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@355c7f]
[26-Nov-2002 10:44:35,559] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) -
<getParameterValuesGet([Cactus_TestClass])
[26-Nov-2002 10:44:35,563] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@4bbe37]
[26-Nov-2002 10:44:35,567] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) -
<getParameterValuesGet([Cactus_URL_ContextPath])
[26-Nov-2002 10:44:35,571] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@354093]
[26-Nov-2002 10:44:35,574] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) - <getParameterValuesGet([psid])
[26-Nov-2002 10:44:35,578] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@22b29a]
[26-Nov-2002 10:44:35,582] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1215) -
<getParameterValuesGet([Cactus_AutomaticSession])
[26-Nov-2002 10:44:35,585] DEBUG [HttpProcessor[8080][1]]
cactus.WebRequest (aj:1232) - >getParameterValuesGet =
[[Ljava.lang.String;@7ba2af]
[26-Nov-2002 10:44:35,589] DEBUG [HttpProcessor[8080][1]]
util.UrlUtil (aj:1174) -
<getPath([http://testappl.utanet.at:8080/webapptest/ServletRedirector?Cactus_TestMethod=testStatistic900Aviable&Cactus_URL_Server=testappl.utanet.at&Cactus_URL_Protocol=http&Cactus_Service=CALL_TEST&Cactus_URL_ServletPath=%2FController&Cactus_TestClass=at.uta.webapptest.cactus.TestStatistic&Cactus_URL_ContextPath=%2Fwebkeeper&psid=149&Cactus_AutomaticSession=true])
[26-Nov-2002 10:44:35,593] DEBUG [HttpProcessor[8080][1]]
util.UrlUtil (aj:1191) - >getPath = [/webapptest/ServletRedirector]
[26-Nov-2002 10:44:35,597] DEBUG [HttpProcessor[8080][1]]
util.UrlUtil (aj:1174) -
<getQuery([http://testappl.utanet.at:8080/webapptest/ServletRedirector?Cactus_TestMethod=testStatistic900Aviable&Cactus_URL_Server=testappl.utanet.at&Cactus_URL_Protocol=http&Cactus_Service=CALL_TEST&Cactus_URL_ServletPath=%2FController&Cactus_TestClass=at.uta.webapptest.cactus.TestStatistic&Cactus_URL_ContextPath=%2Fwebkeeper&psid=149&Cactus_AutomaticSession=true])
[26-Nov-2002 10:44:35,609] DEBUG [HttpProcessor[8080][1]]
util.UrlUtil (aj:1191) - >getQuery =
[Cactus_TestMethod=testStatistic900Aviable&Cactus_URL_Server=testappl.utanet.at&Cactus_URL_Protocol=http&Cactus_Service=CALL_TEST&Cactus_URL_ServletPath=%2FController&Cactus_TestClass=at.uta.webapptest.cactus.TestStatistic&Cactus_URL_ContextPath=%2Fwebkeeper&psid=149&Cactus_AutomaticSession=true]
[26-Nov-2002 10:44:35,615] DEBUG [HttpProcessor[8080][1]]
client.HttpClientConnectionHelper (aj:1215) -
<getCookieString([simulation URL = [protocol = [http], host name
= [testappl.utanet.at], port = [-1], context path = [/webkeeper],
servlet path = [/Controller], path info = [null], query string =
[null]], automatic session = [true], cookies = [[name =
[JSESSIONID], value = [D3D415C6A63C8906995C892A5BA4489A], domain
= [localhost], path = [null], isSecure = [false], comment =
[null], expiryDate = [null]]], headers = [], GET parameters =
[[[Cactus_TestMethod] =
[[testStatistic900Aviable]]][[Cactus_URL_Server] =
[[testappl.utanet.at]]][[Cactus_URL_Protocol] =
[[http]]][[Cactus_Service] =
[[CALL_TEST]]][[Cactus_URL_ServletPath] =
[[/Controller]]][[Cactus_TestClass] =
[[at.uta.webapptest.cactus.TestStatistic]]][[Cactus_URL_ContextPath]
= [[/webkeeper]]][[psid] = [[149]]][[Cactus_AutomaticSession] =
[[true]]]], POST parameters = []],
[http://testappl.utanet.at:8080/webapptest/ServletRedirector?Cactus_TestMethod=testStatistic900Aviable&Cactus_URL_Server=testappl.utanet.at&Cactus_URL_Protocol=http&Cactus_Service=CALL_TEST&Cactus_URL_ServletPath=%2FController&Cactus_TestClass=at.uta.webapptest.cactus.TestStatistic&Cactus_URL_ContextPath=%2Fwebkeeper&psid=149&Cactus_AutomaticSession=true])
[26-Nov-2002 10:44:35,620] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1174) - <getCookiePath([simulation URL =
[protocol = [http], host name = [testappl.utanet.at], port =
[-1], context path = [/webkeeper], servlet path = [/Controller],
path info = [null], query string = [null]], automatic session =
[true], cookies = [[name = [JSESSIONID], value =
[D3D415C6A63C8906995C892A5BA4489A], domain = [localhost], path =
[null], isSecure = [false], comment = [null], expiryDate =
[null]]], headers = [], GET parameters = [[[Cactus_TestMethod] =
[[testStatistic900Aviable]]][[Cactus_URL_Server] =
[[testappl.utanet.at]]][[Cactus_URL_Protocol] =
[[http]]][[Cactus_Service] =
[[CALL_TEST]]][[Cactus_URL_ServletPath] =
[[/Controller]]][[Cactus_TestClass] =
[[at.uta.webapptest.cactus.TestStatistic]]][[Cactus_URL_ContextPath]
= [[/webkeeper]]][[psid] = [[149]]][[Cactus_AutomaticSession] =
[[true]]]], POST parameters = []],
[/webapptest/ServletRedirector?Cactus_TestMethod=testStatistic900Aviable&Cactus_URL_Server=testappl.utanet.at&Cactus_URL_Protocol=http&Cactus_Service=CALL_TEST&Cactus_URL_ServletPath=%2FController&Cactus_TestClass=at.uta.webapptest.cactus.TestStatistic&Cactus_URL_ContextPath=%2Fwebkeeper&psid=149&Cactus_AutomaticSession=true])
[26-Nov-2002 10:44:35,624] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:468) - Cookie validation pah =
[/webkeeper/Controller]
[26-Nov-2002 10:44:35,628] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1191) - >getCookiePath = [/webkeeper/Controller]
[26-Nov-2002 10:44:35,632] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1174) - <getCookieDomain([simulation URL =
[protocol = [http], host name = [testappl.utanet.at], port =
[-1], context path = [/webkeeper], servlet path = [/Controller],
path info = [null], query string = [null]], automatic session =
[true], cookies = [[name = [JSESSIONID], value =
[D3D415C6A63C8906995C892A5BA4489A], domain = [localhost], path =
[null], isSecure = [false], comment = [null], expiryDate =
[null]]], headers = [], GET parameters = [[[Cactus_TestMethod] =
[[testStatistic900Aviable]]][[Cactus_URL_Server] =
[[testappl.utanet.at]]][[Cactus_URL_Protocol] =
[[http]]][[Cactus_Service] =
[[CALL_TEST]]][[Cactus_URL_ServletPath] =
[[/Controller]]][[Cactus_TestClass] =
[[at.uta.webapptest.cactus.TestStatistic]]][[Cactus_URL_ContextPath]
= [[/webkeeper]]][[psid] = [[149]]][[Cactus_AutomaticSession] =
[[true]]]], POST parameters = []], [testappl.utanet.at])
[26-Nov-2002 10:44:35,636] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:398) - Cookie validation domain =
[testappl.utanet.at]
[26-Nov-2002 10:44:35,640] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1191) - >getCookieDomain = [testappl.utanet.at]
[26-Nov-2002 10:44:35,644] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1174) - <getCookiePath([simulation URL =
[protocol = [http], host name = [testappl.utanet.at], port =
[-1], context path = [/webkeeper], servlet path = [/Controller],
path info = [null], query string = [null]], automatic session =
[true], cookies = [[name = [JSESSIONID], value =
[D3D415C6A63C8906995C892A5BA4489A], domain = [localhost], path =
[null], isSecure = [false], comment = [null], expiryDate =
[null]]], headers = [], GET parameters = [[[Cactus_TestMethod] =
[[testStatistic900Aviable]]][[Cactus_URL_Server] =
[[testappl.utanet.at]]][[Cactus_URL_Protocol] =
[[http]]][[Cactus_Service] =
[[CALL_TEST]]][[Cactus_URL_ServletPath] =
[[/Controller]]][[Cactus_TestClass] =
[[at.uta.webapptest.cactus.TestStatistic]]][[Cactus_URL_ContextPath]
= [[/webkeeper]]][[psid] = [[149]]][[Cactus_AutomaticSession] =
[[true]]]], POST parameters = []],
[/webapptest/ServletRedirector?Cactus_TestMethod=testStatistic900Aviable&Cactus_URL_Server=testappl.utanet.at&Cactus_URL_Protocol=http&Cactus_Service=CALL_TEST&Cactus_URL_ServletPath=%2FController&Cactus_TestClass=at.uta.webapptest.cactus.TestStatistic&Cactus_URL_ContextPath=%2Fwebkeeper&psid=149&Cactus_AutomaticSession=true])
[26-Nov-2002 10:44:35,648] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:468) - Cookie validation pah =
[/webkeeper/Controller]
[26-Nov-2002 10:44:35,652] DEBUG [HttpProcessor[8080][1]]
cactus.Cookie (aj:1191) - >getCookiePath = [/webkeeper/Controller]
[26-Nov-2002 10:44:35,657] DEBUG [HttpProcessor[8080][1]]
cactus.TestStatistic (runBare:197) - Exception in test
java.lang.NullPointerException
	at
org.apache.cactus.client.AbstractConnectionHelper.dispatch1_getCookieString(AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):198)
	at
org.apache.cactus.client.AbstractConnectionHelper.around1_getCookieString(AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1218)
	at
org.apache.cactus.client.AbstractConnectionHelper.getCookieString(AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):150)
	at
org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):148)
	at
org.apache.cactus.client.HttpClientConnectionHelper.around24_connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1218)
	at
org.apache.cactus.client.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):106)
	at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):186)
	at
org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)
	at
org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):1218)
	at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):104)
	at
org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.java:260)
	at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
	at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.apache.cactus.server.runner.ServletTestRunner.dispatch92_run(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):161)
	at
org.apache.cactus.server.runner.ServletTestRunner.around92_run(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1218)
	at
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):137)
	at
org.apache.cactus.server.runner.ServletTestRunner.dispatch91_doGet(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):121)
	at
org.apache.cactus.server.runner.ServletTestRunner.around91_doGet(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1149)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
	at java.lang.Thread.run(Thread.java:484)
[26-Nov-2002 10:44:35,670] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1146) -
<addError([testStatistic900Aviable(at.uta.webapptest.cactus.TestStatistic)],
[java.lang.NullPointerException])
[26-Nov-2002 10:44:35,673] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1174) - <replace([null], [&], [&amp;])
[26-Nov-2002 10:44:35,677] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1191) - >replace = [null]
[26-Nov-2002 10:44:35,680] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1174) - <replace([null], [<], [&lt;])
[26-Nov-2002 10:44:35,684] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1191) - >replace = [null]
[26-Nov-2002 10:44:35,701] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1174) - <replace([null], [>], [&gt;])
[26-Nov-2002 10:44:35,704] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1191) - >replace = [null]
[26-Nov-2002 10:44:35,707] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1174) - <replace([null], ["], [&quot;])
[26-Nov-2002 10:44:35,711] DEBUG [HttpProcessor[8080][1]]
runner.XMLFormatter (aj:1191) - >replace = [null]
[26-Nov-2002 10:44:35,722] DEBUG [HttpProcessor[8080][1]]
util.StringUtil (aj:1174) -
<exceptionToString([java.lang.NullPointerException])
[26-Nov-2002 10:44:35,728] DEBUG [HttpProcessor[8080][1]]
util.StringUtil (aj:1191) - >exceptionToString =
[java.lang.NullPointerException
	at
org.apache.cactus.client.AbstractConnectionHelper.dispatch1_getCookieString(AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):198)
	at
org.apache.cactus.client.AbstractConnectionHelper.around1_getCookieString(AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1218)
	at
org.apache.cactus.client.AbstractConnectionHelper.getCookieString(AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):150)
	at
org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):148)
	at
org.apache.cactus.client.HttpClientConnectionHelper.around24_connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1218)
	at
org.apache.cactus.client.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):106)
	at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):186)
	at
org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)
	at
org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):1218)
	at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):104)
	at
org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.java:260)
	at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
	at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.apache.cactus.server.runner.ServletTestRunner.dispatch92_run(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):161)
	at
org.apache.cactus.server.runner.ServletTestRunner.around92_run(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1218)
	at
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):137)
	at
org.apache.cactus.server.runner.ServletTestRunner.dispatch91_doGet(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):121)
	at
org.apache.cactus.server.runner.ServletTestRunner.around91_doGet(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1149)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
	at java.lang.Thread.run(Thread.java:484)
]

Regards,

Rafal Marciniak

> Djien Dobre Rafal,
> 
> Looking at the source code it seems the error has to do with
cookies not
> matching the cookie domain or cookie path. As you do not seem to be
> specifying any domain nor path, this is strange and may be a bug.
> 
> I would need more information. Would you be able to turn on Cactus
> logging and send the client log file?
> 
> Thanks
> 
> Do widzenia
> -Vincent
> 
> PS: I have just committed some code in Cactus to improve the error
> handling so that we get a nice error instead of a NPE ... 
> 
> > -----Original Message-----
> > From: Rafal Marciniak [mailto:proit@wp.pl]
> > Sent: 22 November 2002 06:32
> > To: cactus-user@jakarta.apache.org
> > Subject: Problem with Cactus on Unix Jboss/Tomcat
> > 
> > Hello,
> > 
> > I'm new to cactus ans at the begining I've got some problems,
> > 
> > 1. when I write tests on NT tomcat 4.0.1 everything works fine,
> > but when I'm trying to execute the same tests on unix
> > jboss/tomcat environment I'm getting NullPointerException after
> > finishing begin method and before test method starts. That
> > happenend only when I'm trying to put cookie into WebRequest
> > object in begin method.
> > 
> > theRequest.addCookie("JSESSIONID", WebkeeperTest.sessionId);
> > 
> > All stack trace is listed bellow.
> > 
> > java.lang.NullPointerException at
> > org.apache.cactus.client.AbstractConnectionHelper.dispatch1_getCo
> > okieString
> > (AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspe
> > ct.aj(1k):198) at
> > org.apache.cactus.client.AbstractConnectionHelper.around1_getCook
> > ieString
> > (AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspe
> > ct.aj(1k):1218) at
> > org.apache.cactus.client.AbstractConnectionHelper.getCookieString
> > (AbstractConnectionHelper.java;org/apache/cactus/util/log/LogAspe
> > ct.aj(1k):150) at
> > org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_co
> > nnect
> > (HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAs
> > pect.aj(1k):148) at
> > org.apache.cactus.client.HttpClientConnectionHelper.around24_conn
> > ect
> > (HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAs
> > pect.aj(1k):1218) at
> > org.apache.cactus.client.HttpClientConnectionHelper.connect
> > (HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAs
> > pect.aj(1k):106) at
> > org.apache.cactus.client.AbstractHttpClient.callRunTest
> > (AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj
> > (1k):186) at
> > org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest
> > (AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj
> > (1k):109) at
> > org.apache.cactus.client.AbstractHttpClient.around2_doTest
> > (AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj
> > (1k):1218) at org.apache.cactus.client.AbstractHttpClient.doTest
> > (AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.aj
> > (1k):104) at org.apache.cactus.AbstractWebTestCase.runGenericTest
> > (AbstractWebTestCase.java:260) at
> > ...
> > Could anyone can help why that exception is raised.
> > 
> > 2. Is't possible to write cactus test which will works on one
> > app server and will test application on another app server. If
> > yes, where could I find such as example.
> > 
> > 3. If anyone tested Velocity serlets with cactus, how to do it
> > in simplest way, is there any example of doing it.
> > 
> > I had to say that I've read cactus documentation from
> > jakarta.apache.org and try to search mailing archive but I
> > didn't found answers for my questions,
> > 
> > I'm using:
> > jboss 2.4.4
> > tomcat 4.0.1
> > cactus 1.4.1
> > aspectjrt-1.0.5
> > httpunit 1.4.1
> > 
> > Regards,
> > 
> > Rafal Marciniak
> > 
> >
>
-----------------------------------------------------------------------
> > Prawdziwe okazje nie zdarzają się często!
> > Zobacz pełną ofertę! < http://zakupy.wp.pl >
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:cactus-user-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:cactus-user-
> > help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:  
<mailto:cactus-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:cactus-user-help@jakarta.apache.org>
> 
> 

-----------------------------------------------------------------------
Najwięksi łączą siły! Razem ponad 200 tysięcy AUKCJI.
Zobacz nowe aukcje.wp.pl < http://aukcje.wp.pl >



--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message