[jira] Commented: (NANO-70) Make the sample-nanoweb example actually work
jira-yCVjj/[email protected] Mon, 3 May 2004 02:39:01 -0400 (EDT)
| Newsgroups | gmane.comp.java.nanocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
The following comment has been added to this issue:
Author: Kouhei Mori
Created: Mon, 3 May 2004 2:38 AM
Body:
Original sample-nanoweb work fine with http://localhost:8080/nanocontainer-sample-nanoweb/game/play.groovy or http://localhost:8080/nanocontainer-sample-nanoweb/game/play.nano
See section "100% dynamic" of http://docs.codehaus.org/display/NANO/NanoContainer+NanoWeb
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-70&page=comments#action_19273
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-70
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NANO-70
Summary: Make the sample-nanoweb example actually work
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NanoContainer
Components:
nanoweb
Assignee:
Reporter: Jacob Kjome
Created: Fri, 23 Apr 2004 3:10 PM
Updated: Mon, 3 May 2004 2:38 AM
Description:
When I tried out the sample-nanoweb app, all I got was a lousy exception. I will be attaching a patch to fix both nanoweb and sample-nanoweb that allows everything to work. I find it odd that existing unit testing doesn't fail, but when running in the real world (under Tomcat-5.0.22) it crashes hard. Makes me think there is a bit of blind faith in the unit tests, since a simple test deployment of the sample-nanoweb webapp in Tomcat would have pointed immediately pointed to a problem with the current implementation.
Anyway, if you want to test it before my patch, just check out the latest CVS and build everything. Copy the generated nanocontainer-sample-nanoweb.war into Tomcat's "webapps" directory. Go to...
http://localhost:8080/nanocontainer-sample-nanoweb/game.groovy
or
http://localhost:8080/nanocontainer-sample-nanoweb/game.nano
Watch it blow up.
Now apply my patch, rebuild, delete the old webapp from Tomcat and copy in the new one. Go to either of the URL's above again and watch it work.
Jake
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira