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

jira-yCVjj/[email protected] Fri, 23 Apr 2004 15:12:05 -0400 (EDT)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Fri, 23 Apr 2004 3:10 PM

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