Hi, A quick followup on the last post. The issue seems to be this sequence ant test ant showcase
which causes problems when running the JAR in the two systems I tested. (not sure why). If I do the following ant clean ant showcase Then I was able to take the showcase war (compiled under JDK 1.6) and run under either Tomcat 5.5/JDK 1.5 or Tomcat 6/JDK 1.6. Maybe the "showcase" task should depend on "clean"? Anyway, not a big deal for a beta. I'd vote +1 if this came up for a vote. WILL On Dec 14, 2007 8:07 PM, Will Glass-Husain <[EMAIL PROTECTED]> wrote: > lHi Nathan! > > Downloaded and took a look around. I really like the showcase web app! > > Here's what I checked. POM seemed good to my eye. Reviewed the text > files. Using JDK 1.5 I compiled, did ant test, ant docs, ant > showcase. Loaded "showcase.war" in Tomcat 5.5/JDK 1.5. No problem so > far. > > Did the same with JDK 1.6. "ant test" and "ant showcase" no problem. > > When deploying the generated file "showcase.war" (compiled with JDK > 1.6) I had some problems. I'm still digging into it. > > (a) running with Tomcat 5.5/JDK 1.5 gave me this exception when deploying. > java.lang.UnsupportedClassVersionError: Bad version number in .class > file (Caused by java.lang.UnsupportedClassVersionError: Bad version > number in .class file)) > > maybe this doesn't matter, though it surprised me. > > (b) Running with Tomcat 6 / JDK 1.6 didn't work either. I have a > funny setup so will try this again. If this works for you it's > probably fine. > > org.apache.commons.logging.LogConfigurationException: User-specified > log class 'org.apache.velocity.tools.test.FilteredLogChuteCommonsLog' > cannot be found or is not useable. > > org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:798) > > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601) > > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333) > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:664) > org.apache.commons.digester.Digester.<init>(Digester.java:308) > > org.apache.velocity.tools.config.XmlFactoryConfiguration.read(XmlFactoryConfiguration.java:77) > > org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:167) > > org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:145) > > org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:88) > > org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:66) > > org.apache.velocity.tools.config.FileFactoryConfiguration.read(FileFactoryConfiguration.java:56) > > org.apache.velocity.tools.config.ConfigurationUtils.getDefaultTools(ConfigurationUtils.java:78) > > org.apache.velocity.tools.view.VelocityView.configure(VelocityView.java:469) > > org.apache.velocity.tools.view.VelocityView.init(VelocityView.java:349) > > org.apache.velocity.tools.view.VelocityView.init(VelocityView.java:284) > > org.apache.velocity.tools.view.VelocityView.<init>(VelocityView.java:182) > > org.apache.velocity.tools.view.VelocityView.<init>(VelocityView.java:174) > > org.apache.velocity.tools.view.ServletUtils.getVelocityView(ServletUtils.java:89) > > org.apache.velocity.tools.view.VelocityViewServlet.getVelocityView(VelocityViewServlet.java:142) > > org.apache.velocity.tools.view.VelocityViewServlet.init(VelocityViewServlet.java:109) > > org.apache.velocity.tools.view.VelocityLayoutServlet.init(VelocityLayoutServlet.java:137) > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > org.apache.ca > > Hope this is useful. > > WILL > > > On Dec 12, 2007 10:03 AM, Nathan Bubna <[EMAIL PROTECTED]> wrote: > > Ok, the docs for VelocityTools 2 are no longer absent nor wrong, > > though they are still incomplete. > > The codebase continues to be very stable and only incrementally improved. > > I think it's time to put a beta out there and hopefully get more > > people to start testing it out. > > > > The distribution files are available here: > > http://people.apache.org/~nbubna/velocity/tools/2.0-beta1/ > > > > Please inspect for problems, kick the tires, try the examples, drop it > > in to your apps, etc. > > > > I'll probably call for a vote sometime next week. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Forio Business Simulations > > Will Glass-Husain > [EMAIL PROTECTED] > www.forio.com > -- Forio Business Simulations Will Glass-Husain [EMAIL PROTECTED] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
