Hello,
I performed the following steps:
- built a sample GWT application using eclipse,
- used information here:
http://blog.elitecoderz.net/gwt-and-tomcat-create-war-using-eclipse-to-deploy-war-on-tomcat/2009/12/
to make a good war archive
- deployed in tomcat webapps folder and the application works as
expected.
- however I would now like to deploy this application in apache and
have it work via mod_jk and after spending several hours reading
various posts on various forums the solution to this problem still
eludes me.
I have a virtual host defined in Apache:
<VirtualHost *:80>
DocumentRoot D:/WebSites/test_GWT
ServerName test1
ErrorLog "C:\Program Files\Apache Software Foundation
\Apache2.2\logs\test_GWT_logs.log"
JkMount "/mihai_gwt1/" default1
JkMount "/mihai_gwt1/*" default1
</VirtualHost>
and I copied all the contents of the unzipped "war" there, but
all calls to server code fail.
I looked into the mod_jk.log and I see this:
...
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0000 12 34 00 AA 00 A8 35 7C 30 7C 37 7C 68 74 74 70 - .
4....5|0|7|http
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0010 3A 2F 2F 74 65 73 74 31 2F 6D 69 68 61 69 5F 67 - ://
test1/mihai_g
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0020 77 74 31 2F 7C 38 30 39 34 32 30 45 38 38 34 41 -
wt1/|809420E884A
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0030 46 32 41 43 43 32 46 38 41 39 44 44 42 42 35 31 -
F2ACC2F8A9DDBB51
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0040 34 41 46 45 42 7C 63 6F 6D 2E 6D 69 68 61 69 2E -
4AFEB|com.mihai.
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0050 67 77 74 31 2E 63 6C 69 65 6E 74 2E 53 74 6F 63 -
gwt1.client.Stoc
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0060 6B 53 65 72 76 69 63 65 7C 67 65 74 50 72 69 63 -
kService|getPric
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0070 65 73 7C 5B 4C 6A 61 76 61 2E 6C 61 6E 67 2E 53 - es|
[Ljava.lang.S
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0080 74 72 69 6E 67 3B 2F 32 36 30 30 30 31 31 34 32 -
tring;/260001142
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 0090 34 7C 62 61 75 7C 68 6F 77 7C 31 7C 32 7C 33 7C - 4|
bau|how|1|2|3|
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1152): 00a0 34 7C 31 7C 35 7C 35 7C 32 7C 36 7C 37 7C 00 00 - 4|1|
5|5|2|6|7|..
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1336): received from ajp13 pos=0 len=54 max=8192
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1336): 0000 04 01 94 00 09 4E 6F 74 20 46 6F 75 6E 64 00 00
- .....Not.Found..
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1336): 0010 02 A0 01 00 17 74 65 78 74 2F 68 74 6D 6C 3B 63
- .....text/html;c
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1336): 0020 68 61 72 73 65 74 3D 75 74 66 2D 38 00 A0 03 00 -
harset=utf-8....
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(1336): 0030 04 31 30 30 33 00 00 00 00 00 00 00 00 00 00 00 - .
1003...........
[Sat Jun 26 22:16:41.125 2010] [4528:4676] [debug] jk_ajp_common.c
(660): status = 404
...
Can someone help me understand how this is supposed to work?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.