users@glassfish.java.net

Re: Glassfish v2 and struts 2

From: <glassfish_at_javadesktop.org>
Date: Tue, 25 Sep 2007 05:44:54 PDT

Hi I have asked the question in the Chinese forum,


My struts Web App can run in Resin environment , There is no problem ,

I put All the needed jar file in app_root/WEB_INF/lib ,

 I copy all the app_root file to the GlassFish virtual server doc root directory that I have created,
then I reboot the glassfish , and check the log file(server.log) , there is no any exception or error,
then I visit the webapp index page , there is no error , but when i click the button that invoke struts2 action , problem occurs, I check the vritual server access log file it is here:

"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:48:05 +0800" "GET /welcome.jsp HTTP/1.1" 200 12083
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:48:05 +0800" "GET /js/jquery-1.2.1.pack.js HTTP/1.1" 304 0
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:48:05 +0800" "GET /json/get_detail.action?_=1190515686312 HTTP/1.1" 404 1022
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:53:43 +0800" "GET /welcome.jsp HTTP/1.1" 200 12083
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:53:43 +0800" "GET /js/jquery-1.2.1.pack.js HTTP/1.1" 304 0
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:53:43 +0800" "GET /json/get_detail.action?_=1190516024093 HTTP/1.1" 404 1022
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:45 +0800" "GET /welcome.jsp HTTP/1.1" 200 12083
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:45 +0800" "GET /js/jquery-1.2.1.pack.js HTTP/1.1" 304 0
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:45 +0800" "GET /json/get_detail.action?_=1190516145187 HTTP/1.1" 404 1022
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:45 +0800" "GET /welcome.jsp HTTP/1.1" 200 12083
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:45 +0800" "GET /js/jquery-1.2.1.pack.js HTTP/1.1" 304 0
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:45 +0800" "GET /json/get_detail.action?_=1190516148000 HTTP/1.1" 404 1022
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:50 +0800" "GET /welcome.jsp HTTP/1.1" 200 12083
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:50 +0800" "GET /js/jquery-1.2.1.pack.js HTTP/1.1" 304 0
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:50 +0800" "GET /json/get_detail.action?_=1190516150625 HTTP/1.1" 404 1022
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:50 +0800" "GET /welcome.jsp HTTP/1.1" 200 12083
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:50 +0800" "GET /js/jquery-1.2.1.pack.js HTTP/1.1" 304 0
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:10:55:50 +0800" "GET /json/get_detail.action?_=1190516155453 HTTP/1.1" 404 1022
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:11:01:46 +0800" "GET /welcome.jsp HTTP/1.1" 200 12083
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:11:01:46 +0800" "GET /js/jquery-1.2.1.pack.js HTTP/1.1" 200 27132
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:11:01:46 +0800" "GET /json/get_detail.action?_=1190516507125 HTTP/1.1" 404 1022
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:11:01:56 +0800" "GET /welcome.jsp HTTP/1.1" 200 12083
"192.168.1.88" "NULL-AUTH-USER" "23/Sep/2007:11:01:56 +0800" "GET /json/get_detail.action?_=1190516516546 HTTP/1.1" 404 1022
[Message sent by forum member 'toplinuxsir' (toplinuxsir)]

http://forums.java.net/jive/thread.jspa?messageID=236944