Bump.

I'm hoping someone might have five minutes to give this a test, so I know if I should file a bug report.

Thanks,

  -- Scott

P.S. Sorry to push, but I'm going offline for the weekend in ninety minutes or so...

Scott Sauyet wrote:
I wrote:

[when I overwrite my WAR file] Tomcat removes everything in the folder
except for lib/wicket-1.1-b3.jar.  Then it doesn't expand the WAR file.
[ ... ]

I will try to isolate a test case tomorrow and then ask if I'm doing something silly before I post a bug.


Okay, I have a simple test of this.  I posted a (1.4MB) zip file to

    http://tinyurl.com/9e4vg

I brought everything down pretty much to bare bones. I may have left a little detritus in the build.xml, but it should be mostly clean.

Here's how to duplicate the problem:

    1. Expand the zip file somewhere.  It will have this structure:

        WicketTest
            etc
                ant2html.xsl
            lib
                build
                    junit-3.8.1.jar
                    servletapi-2.3.jar
                commons-fileupload-1.0.jar
                commons-logging-1.0.4.jar
                concurrent-1.3.4.jar
                log4j-1.2.11.jar
                ognl-2.6.7.jar
                wicket-1.1-b3.jar
            src
                conf
                    web.xml
                java
                    com
                        example
                            HelloWorld.html
                            HelloWorld.java
                            HelloWorldApplication.java
                    commons-logging.properties
                    log4j.properties
                webapp
                    css
                        default.css
                    WEB-INF
            build.properties
            build.xml

2. Update build.properties with your Tomcat location. I'm using Tomcat 5.0.28.

    3. Run "ant clean deploy".

4. Check http://localhost:8080/WicketTest/admin. It should show a "Hello World" page.

    5. Run "ant clean deploy" again.


This should work fine, but when I try to load the page again, I get a 404 error, and I get an ClassNotFoundException in the Tomcat logs, which I've posted at http://scott.sauyet.com/Java/Wicket/exception.txt . When I go to look at the Tomcat webapps directory, the WicketTest folder is there, but all it has in it is WEB-INF/lib/wicket-1.1-b3.jar.

I think this should be simple enough that either someone can point out what I'm doing wrong or I can file a bug on it.

Please let me know what results you have with this.

Thanks,

  -- Scott





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user







-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to