[jira] Updated: (NANO-70) Make the sample-nanoweb example actually work

jira-yCVjj/[email protected] Thu, 29 Apr 2004 00:47:03 -0400 (EDT)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
The following issue has been updated:

    Updater: Jacob Kjome (mailto:[email protected])
       Date: Thu, 29 Apr 2004 12:45 AM
    Comment:
updated patch to work against new CVS location.  No functional changes between the new patch and the older one.

Jake
    Changes:
             Attachment changed to nanoweb_20040428.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-70&page=history

---------------------------------------------------------------------
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: Thu, 29 Apr 2004 12:45 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