cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Virdi,T.J." <TVI...@cerner.com>
Subject Wap example came with Cocoon
Date Wed, 18 Oct 2000 20:48:52 GMT
Hello:
I am having a problem in running wap example (came with cocoon sdk) through
Nokia toolkit 2.0 with tomcat 3.1 although I am able to run that from
browser. Please advise. I tried using localhost with option 1 (the errors
below) and option 2 with machinename:portnumber (errors at the botton) and
came different errors. with localhost uri, I get file not found and with
machinename:portnumber, I get character encoding conversion errors. Any help
is highly appreciated. Thanks,
TJ


The error I get when I use
http://localhost/cocoon/servlets/wap/example-portfolio.xml is:
oadNewContent:
[URL=http://localhost/cocoon/servlets/wap/example-portfolio.xml][post=false]
[enctype=null][postData=null][charSet=null][referrer=false][pevious=false][r
efresh=false][newcontext=true][reloading=true][haveReferrer=false]
URLloader.load:URL Request:
[HeaderList: Accept-Charset: UTF-8, ISO-8859-1, ISO-10646-UCS-2
Accept:
text/vnd.wap.wml,text/vnd.wap.wmlscript,application/vnd.wap.wmlc,application
/vnd.wap.wmlscriptc,text/x-vCard,text/x-vcard,
text/x-vcal,text/x-vCalendar,text/x-vcalendar,image/vnd.wap.wbmp,application
/vnd.wap.wbxml, image/gif, image/jpeg
User-Agent: Nokia-WAP-Toolkit/2.0
]
[HTTPOperation: GET]
[PostData: null][URL:
http://localhost/cocoon/servlets/wap/example-portfolio.xml][HeaderList:
Accept-Charset: UTF-8, ISO-8859-1, ISO-10646-UCS-2
Accept:
text/vnd.wap.wml,text/vnd.wap.wmlscript,application/vnd.wap.wmlc,application
/vnd.wap.wmlscriptc,text/x-vCard,text/x-vcard,
text/x-vcal,text/x-vCalendar,text/x-vcalendar,image/vnd.wap.wbmp,application
/vnd.wap.wbxml, image/gif, image/jpeg
User-Agent: Nokia-WAP-Toolkit/2.0
] HTTP.URLloader: URLresponse: URL Response:[HTTP Status: 404][Mime Type:
text/html][CharSet: ISO-8859-1][HTTP Message: Not Found][Cache Hit: 0][Data
Length: 235][Data:
[3C,21,44,4F,43,54,59,50,45,20,48,54,4D,4C,20,50,55,42,4C,49,43,20,22,2D,2F,
2F,49,45,54,46,2F,2F,44,54,44,20,48,54,4D,4C,20,32,2E,30,2F,2F,45,4E,22,3E,0
A,3C,48,54,4D,4C,3E,3C,48,45,41,44,3E,0A,3C,54,49,54,4C,45,3E,34,30,34,20,4E
,6F,74,20,46,6F,75,6E,64,3C,2F,54,49,54,4C,45,3E,0A,3C,2F,48,45,41,44,3E,3C,
42,4F,44,59,3E,0A,3C,48,31,3E,4E,6F,74,20,46,6F,75,6E,64,3C,2F,48,31,3E,0A,5
4,68,65,20,72,65,71,75,65,73,74,65,64,20,55,52,4C,20,2F,63,6F,63,6F,6F,6E,2F
,73,65,72,76,6C,65,74,73,2F,77,61,70,2F,65,78,61,6D,70,6C,65,2D,70,6F,72,74,
66,6F,6C,69,6F,2E,78,6D,6C,20,77,61,73,20,6E,6F,74,20,66,6F,75,6E,64,20,6F,6
E,20,74,68,69,73,20,73,65,72,76,65,72,2E,3C,50,3E,0A,3C,2F,42,4F,44,59,3E,3C
,2F,48,54,4D,4C,3E,0A]][URL:
http://localhost/cocoon/servlets/wap/example-portfolio.xml][HeaderList:
connection: Keep-Alive
date: Wed, 18 Oct 2000 20:32:45 GMT
transfer-encoding: chunked
content-type: text/html; charset=iso-8859-1
server: IBM_HTTP_Server/1.3.12 Apache/1.3.12 (Win32)
keep-alive: timeout=15, max=100
] An error occured loading
"http://localhost/cocoon/servlets/wap/example-portfolio.xml (Not Found
[404]) 


**************

Also, if I run the same with machine name and port numbe I get the character
encoding conversion error when I use machine name with the port number
(http://machinename:8080/cocoon/servlets/wap/example-portfolio.xml):

loadNewContent:
[URL=http://rpecertxv:8080/cocoon/servlets/wap/example-portfolio.xml][post=f
alse][enctype=null][postData=null][charSet=null][referrer=false][pevious=fal
se][refresh=false][newcontext=true][reloading=true][haveReferrer=false]
URLloader.load:URL Request:
[HeaderList: Accept-Charset: UTF-8, ISO-8859-1, ISO-10646-UCS-2
Accept:
text/vnd.wap.wml,text/vnd.wap.wmlscript,application/vnd.wap.wmlc,application
/vnd.wap.wmlscriptc,text/x-vCard,text/x-vcard,
text/x-vcal,text/x-vCalendar,text/x-vcalendar,image/vnd.wap.wbmp,application
/vnd.wap.wbxml, image/gif, image/jpeg
User-Agent: Nokia-WAP-Toolkit/2.0
]
[HTTPOperation: GET]
[PostData: null][URL:
http://machinename:8080/cocoon/servlets/wap/example-portfolio.xml][HeaderLis
t: Accept-Charset: UTF-8, ISO-8859-1, ISO-10646-UCS-2
Accept:
text/vnd.wap.wml,text/vnd.wap.wmlscript,application/vnd.wap.wmlc,application
/vnd.wap.wmlscriptc,text/x-vCard,text/x-vcard,
text/x-vcal,text/x-vCalendar,text/x-vcalendar,image/vnd.wap.wbmp,application
/vnd.wap.wbxml, image/gif, image/jpeg
User-Agent: Nokia-WAP-Toolkit/2.0
] HTTP.URLloader: URLresponse: URL Response:[HTTP Status: 200][Mime Type:
text/vnd.wap.wml][CharSet: ISO-8859-1][HTTP Message: OK][Cache Hit: 0][Data
Length: 2529][Data:
[3C,3F,78,6D,6C,20,76,65,72,73,69,6F,6E,3D,22,31,2E,30,22,20,65,6E,63,6F,64,
69,6E,67,3D,22,55,54,46,2D,38,22,3F,3E,0A,3C,21,44,4F,43,54,59,50,45,20,77,6
D,6C,20,50,55,42,4C,49,43,20,22,2D,2F,2F,57,41,50,46,4F,52,55,4D,2F,2F,44,54
,44,20,57,4D,4C,20,31,2E,31,2F,2F,45,4E,22,20,22,68,74,74,70,3A,2F,2F,77,77,
77,2E,77,61,70,66,6F,72,75,6D,2E,6F,72,67,2F,44,54,44,2F,77,6D,6C,5F,31,2E,3
1,2E,78,6D,6C,22,3E,0A,3C,77,6D,6C,3E,3C,63,61,72,64,20,69,64,3D,22,69,6E,64
,65,78,22,20,74,69,74,6C,65,3D,22,59,6F,75,72,20,50,6F,72,74,66,6F,6C,69,6F,
22,3E,3C,70,20,61,6C,69,67,6E,3D,22,63,65,6E,74,65,72,22,3E,3C,61,20,68,72,6
5,66,3D,22,23,76,61,6C,75,65,22,3E,56,61,6C,75,65,3C,2F,61,3E,3C,62,72,2F,3E
,3C,61,20,68,72,65,66,3D,22,23,73,74,6F,63,6B,73,22,3E,53,74,6F,63,6B,73,3C,
2F,61,3E,3C,62,72,2F,3E,3C,2F,70,3E,3C,64,6F,20,6C,61,62,65,6C,3D,22,41,62,6
F,75,74,22,20,74,79,70,65,3D,22,61,63,63,65,70,74,22,3E,3C,67,6F,20,68,72,65
,66,3D,22,23,41,62,6F,75,74,22,2F,3E,3C,2F,64,6F,3E,3C,2F,63,61,72,64,3E,3C,
63,61,72,64,20,69,64,3D,22,61,62,6F,75,74,22,20,74,69,74,6C,65,3D,22,41,62,6
F,75,74,22,3E,3C,6F,6E,65,76,65,6E,74,20,74,79,70,65,3D,22,6F,6E,74,69,6D,65
,72,22,3E,3C,70,72,65,76,2F,3E,3C,2F,6F,6E,65,76,65,6E,74,3E,3C,74,69,6D,65,
72,20,76,61,6C,75,65,3D,22,32,35,22,2F,3E,3C,70,20,61,6C,69,67,6E,3D,22,63,6
5,6E,74,65,72,22,3E,3C,62,72,2F,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,0A,20
,20,20,20,20,20,43,6F,70,79,72,69,67,68,74,20,A9,20,31,39,39,39,3C,62,72,2F,
3E,0A,20,20,20,20,20,20,41,70,61,63,68,65,20,53,6F,66,74,77,61,72,65,20,46,6
F,75,6E,64,61,74,69,6F,6E,2E,3C,62,72,2F,3E,0A,20,20,20,20,20,20,41,6C,6C,20
,72,69,67,68,74,73,20,72,65,73,65,72,76,65,64,2E,0A,20,20,20,20,20,3C,2F,73,
6D,61,6C,6C,3E,3C,2F,70,3E,3C,2F,63,61,72,64,3E,3C,63,61,72,64,20,69,64,3D,2
2,76,61,6C,75,65,22,20,74,69,74,6C,65,3D,22,50,6F,72,74,66,6F,6C,69,6F,20,56
,61,6C,75,65,22,3E,3C,70,3E,0A,20,20,20,20,20,54,6F,74,61,6C,20,76,61,6C,75,
65,3A,20,3C,62,3E,24,24,31,32,32,37,38,36,3C,2F,62,3E,3C,62,72,2F,3E,3C,73,6
D,61,6C,6C,3E,28,3C,62,3E,2D,30,2E,32,33,25,3C,2F,62,3E,20,66,72,6F,6D,20,79
,65,73,74,65,72,64,61,79,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,
61,6C,6C,3E,28,3C,62,3E,2B,31,2E,38,32,25,3C,2F,62,3E,20,66,72,6F,6D,20,6C,6
1,73,74,20,77,65,65,6B,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,61
,6C,6C,3E,28,3C,62,3E,2B,31,2E,33,32,25,3C,2F,62,3E,20,66,72,6F,6D,20,6C,61,
73,74,20,6D,6F,6E,74,68,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,6
1,6C,6C,3E,28,3C,62,3E,2B,34,35,2E,30,30,25,3C,2F,62,3E,20,65,76,65,72,29,3C
,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,2F,70,3E,3C,64,6F,20,6C,61,62,65,6C,
3D,22,42,61,63,6B,22,20,74,79,70,65,3D,22,70,72,65,76,22,3E,3C,70,72,65,76,2
F,3E,3C,2F,64,6F,3E,3C,2F,63,61,72,64,3E,3C,63,61,72,64,20,69,64,3D,22,73,74
,6F,63,6B,73,22,20,74,69,74,6C,65,3D,22,59,6F,75,72,20,43,75,72,72,65,6E,74,
20,53,74,6F,63,6B,73,22,3E,3C,70,20,61,6C,69,67,6E,3D,22,63,65,6E,74,65,72,2
2,3E,3C,61,20,68,72,65,66,3D,22,23,4D,61,63,72,6F,73,6F,66,74,22,3E,4D,61,63
,72,6F,73,6F,66,74,3C,2F,61,3E,3C,62,72,2F,3E,3C,61,20,68,72,65,66,3D,22,23,
48,41,4C,22,3E,48,41,4C,3C,2F,61,3E,3C,62,72,2F,3E,3C,61,20,68,72,65,66,3D,2
2,23,52,69,73,6B,61,70,65,22,3E,52,69,73,6B,61,70,65,3C,2F,61,3E,3C,62,72,2F
,3E,3C,61,20,68,72,65,66,3D,22,23,4D,6F,6F,6E,22,3E,4D,6F,6F,6E,3C,2F,61,3E,
3C,62,72,2F,3E,3C,2F,70,3E,3C,64,6F,20,6C,61,62,65,6C,3D,22,42,61,63,6B,22,2
0,74,79,70,65,3D,22,70,72,65,76,22,3E,3C,70,72,65,76,2F,3E,3C,2F,64,6F,3E,3C
,2F,63,61,72,64,3E,3C,63,61,72,64,20,69,64,3D,22,4D,61,63,72,6F,73,6F,66,74,
22,20,74,69,74,6C,65,3D,22,4D,61,63,72,6F,73,6F,66,74,22,3E,3C,70,3E,0A,20,2
0,20,20,51,75,6F,74,65,73,3A,20,33,30,30,3C,62,72,2F,3E,0A,20,20,20,20,56,61
,6C,75,65,3A,20,31,32,30,2E,34,32,24,24,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,
28,3C,62,3E,2D,30,2E,30,34,25,3C,2F,62,3E,20,66,72,6F,6D,20,79,65,73,74,65,7
2,64,61,79,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28
,3C,62,3E,2B,30,2E,34,39,25,3C,2F,62,3E,20,66,72,6F,6D,20,6C,61,73,74,20,77,
65,65,6B,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3
C,62,3E,2D,33,2E,38,39,25,3C,2F,62,3E,20,66,72,6F,6D,20,6C,61,73,74,20,6D,6F
,6E,74,68,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,
3C,62,3E,2B,34,35,39,2E,35,38,25,3C,2F,62,3E,20,65,76,65,72,29,3C,2F,73,6D,6
1,6C,6C,3E,3C,62,72,2F,3E,3C,2F,70,3E,3C,64,6F,20,6C,61,62,65,6C,3D,22,42,61
,63,6B,22,20,74,79,70,65,3D,22,70,72,65,76,22,3E,3C,70,72,65,76,2F,3E,3C,2F,
64,6F,3E,3C,2F,63,61,72,64,3E,3C,63,61,72,64,20,69,64,3D,22,48,41,4C,22,20,7
4,69,74,6C,65,3D,22,48,41,4C,22,3E,3C,70,3E,0A,20,20,20,20,51,75,6F,74,65,73
,3A,20,31,30,30,30,3C,62,72,2F,3E,0A,20,20,20,20,56,61,6C,75,65,3A,20,34,37,
2E,33,34,24,24,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2B,30,2E,33,3
8,25,3C,2F,62,3E,20,66,72,6F,6D,20,79,65,73,74,65,72,64,61,79,29,3C,2F,73,6D
,61,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2B,30,2E,35,39,
25,3C,2F,62,3E,20,66,72,6F,6D,20,6C,61,73,74,20,77,65,65,6B,29,3C,2F,73,6D,6
1,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2D,31,2E,33,34,25
,3C,2F,62,3E,20,66,72,6F,6D,20,6C,61,73,74,20,6D,6F,6E,74,68,29,3C,2F,73,6D,
61,6C,6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2D,33,34,2E,35,3
3,25,3C,2F,62,3E,20,65,76,65,72,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C
,2F,70,3E,3C,64,6F,20,6C,61,62,65,6C,3D,22,42,61,63,6B,22,20,74,79,70,65,3D,
22,70,72,65,76,22,3E,3C,70,72,65,76,2F,3E,3C,2F,64,6F,3E,3C,2F,63,61,72,64,3
E,3C,63,61,72,64,20,69,64,3D,22,52,69,73,6B,61,70,65,22,20,74,69,74,6C,65,3D
,22,52,69,73,6B,61,70,65,22,3E,3C,70,3E,0A,20,20,20,20,51,75,6F,74,65,73,3A,
20,31,33,30,3C,62,72,2F,3E,0A,20,20,20,20,56,61,6C,75,65,3A,20,38,35,2E,34,3
3,24,24,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2D,31,2E,33,34,25,3C
,2F,62,3E,20,66,72,6F,6D,20,79,65,73,74,65,72,64,61,79,29,3C,2F,73,6D,61,6C,
6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2D,31,30,2E,34,39,25,3
C,2F,62,3E,20,66,72,6F,6D,20,6C,61,73,74,20,77,65,65,6B,29,3C,2F,73,6D,61,6C
,6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2B,34,2E,38,39,25,3C,
2F,62,3E,20,66,72,6F,6D,20,6C,61,73,74,20,6D,6F,6E,74,68,29,3C,2F,73,6D,61,6
C,6C,3E,3C,62,72,2F,3E,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2B,35,30,2E,35,38,25
,3C,2F,62,3E,20,65,76,65,72,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,2F,
70,3E,3C,64,6F,20,6C,61,62,65,6C,3D,22,42,61,63,6B,22,20,74,79,70,65,3D,22,7
0,72,65,76,22,3E,3C,70,72,65,76,2F,3E,3C,2F,64,6F,3E,3C,2F,63,61,72,64,3E,3C
,63,61,72,64,20,69,64,3D,22,4D,6F,6F,6E,22,20,74,69,74,6C,65,3D,22,4D,6F,6F,
6E,22,3E,3C,70,3E,0A,20,20,20,20,51,75,6F,74,65,73,3A,20,35,30,30,3C,62,72,2
F,3E,0A,20,20,20,20,56,61,6C,75,65,3A,20,35,36,2E,34,33,24,24,3C,62,72,2F,3E
,3C,73,6D,61,6C,6C,3E,28,3C,62,3E,2B,30,2E,34,34,25,3C,2F,62,3E,20,66,72,6F,
6D,20,79,65,73,74,65,72,64,61,79,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3
C,73,6D,61,6C,6C,3E,28,3C,62,3E,2B,32,2E,33,38,25,3C,2F,62,3E,20,66,72,6F,6D
,20,6C,61,73,74,20,77,65,65,6B,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,
73,6D,61,6C,6C,3E,28,3C,62,3E,2D,30,2E,32,25,3C,2F,62,3E,20,66,72,6F,6D,20,6
C,61,73,74,20,6D,6F,6E,74,68,29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,73
,6D,61,6C,6C,3E,28,3C,62,3E,2B,38,37,2E,30,33,25,3C,2F,62,3E,20,65,76,65,72,
29,3C,2F,73,6D,61,6C,6C,3E,3C,62,72,2F,3E,3C,2F,70,3E,3C,64,6F,20,6C,61,62,6
5,6C,3D,22,42,61,63,6B,22,20,74,79,70,65,3D,22,70,72,65,76,22,3E,3C,70,72,65
,76,2F,3E,3C,2F,64,6F,3E,3C,2F,63,61,72,64,3E,3C,2F,77,6D,6C,3E,0D,0A,3C,21,
2D,2D,20,54,68,69,73,20,70,61,67,65,20,77,61,73,20,73,65,72,76,65,64,20,66,7
2,6F,6D,20,63,61,63,68,65,20,69,6E,20,30,20,6D,69,6C,6C,69,73,65,63,6F,6E,64
,73,20,62,79,20,43,6F,63,6F,6F,6E,20,31,2E,38,20,2D,2D,3E,0D,0A]][URL:
http://machinename:8080/cocoon/servlets/wap/example-portfolio.xml][HeaderLis
t: date: Wed, 18 Oct 2000 20:37:25 GMT
content-language: en
content-type: text/vnd.wap.wml
status: 200
servlet-engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.3.0;
Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)
] WMLHandler.process: charset=ISO-8859-1 (Latin1) Content-type Extension:
null 

Mime
View raw message